From 1aa10304a7244e277b1c9905f4418aed090e9f35 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 3 Jun 2025 12:35:47 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 189193 --- .../Admin/People/PeopleRequestBuilder.cs | 17 + .../Count/CountRequestBuilder.cs | 124 +++ .../Item/ProfileSourceItemRequestBuilder.cs | 230 +++++ .../ProfileSourcesRequestBuilder.cs | 240 +++++ ...rofileSourcesWithSourceIdRequestBuilder.cs | 232 +++++ .../ResourceConnectionItemRequestBuilder.cs | 14 +- .../Item/UpdatableAssetItemRequestBuilder.cs | 14 +- .../ComplianceChangeItemRequestBuilder.cs | 8 +- .../Assignments/AssignmentsRequestBuilder.cs | 6 +- ...nfigurationAssignmentItemRequestBuilder.cs | 6 +- ...cheduledActionForRuleItemRequestBuilder.cs | 6 +- .../ScheduledActionsForRuleRequestBuilder.cs | 6 +- .../DirectoryRequestBuilder.cs | 6 + ...commendationConfigurationRequestBuilder.cs | 230 +++++ .../Items/Item/Copy/CopyRequestBuilder.cs | 4 +- .../RetentionLabelRequestBuilder.cs | 6 +- .../RangeNamespace/RangeRequestBuilder.cs | 6 +- .../Workbook/Tables/Add/AddRequestBuilder.cs | 6 +- .../RangeNamespace/RangeRequestBuilder.cs | 6 +- .../Item/Tables/Add/AddRequestBuilder.cs | 6 +- .../Item/EducationUserItemRequestBuilder.cs | 6 +- .../EmployeeExperienceRequestBuilder.cs | 10 +- .../Roles}/Count/CountRequestBuilder.cs | 29 +- .../Item/EngagementRoleItemRequestBuilder.cs | 234 +++++ .../Item/Members/Count/CountRequestBuilder.cs | 124 +++ .../EngagementRoleMemberItemRequestBuilder.cs | 235 +++++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../Members/Item/User/UserRequestBuilder.cs | 137 +++ .../Item/Members/MembersRequestBuilder.cs | 240 +++++ .../Roles/RolesRequestBuilder.cs} | 89 +- .../Item/ExternalItemItemRequestBuilder.cs | 6 +- .../Item/Schema/SchemaRequestBuilder.cs | 6 +- .../Item/InboundFlowItemRequestBuilder.cs | 6 +- .../Generated/Groups/GroupsRequestBuilder.cs | 6 +- .../ConversationsRequestBuilder.cs | 6 +- .../Item/ConversationItemRequestBuilder.cs | 6 +- .../Threads/Item/Reply/ReplyRequestBuilder.cs | 6 +- .../ConfirmForUserPostRequestBody.cs | 81 ++ .../ConfirmForUserRequestBuilder.cs | 103 ++ .../Item/TimeCardItemRequestBuilder.cs | 6 + .../ConversationThreadItemRequestBuilder.cs | 8 +- .../Threads/Item/Reply/ReplyRequestBuilder.cs | 6 +- .../Identity/IdentityRequestBuilder.cs | 6 - ...kageWorkflowExtensionItemRequestBuilder.cs | 6 +- .../Item/AccessPackageItemRequestBuilder.cs | 8 +- ...essPackagesWithUniqueNameRequestBuilder.cs | 8 +- .../Item/RiskDetectionItemRequestBuilder.cs | 8 +- .../ConfirmSafe/ConfirmSafePostRequestBody.cs | 81 ++ .../ConfirmSafe/ConfirmSafeRequestBuilder.cs | 101 ++ .../RiskyUsers/RiskyUsersRequestBuilder.cs | 14 +- .../Item/Calendars/CalendarsRequestBuilder.cs | 6 + .../Item/Calendars/Delta/DeltaGetResponse.cs | 65 ++ .../Calendars/Delta/DeltaRequestBuilder.cs | 189 ++++ .../Item/Calendars/Delta/DeltaResponse.cs | 28 + .../Me/Calendars/CalendarsRequestBuilder.cs | 6 + .../Me/Calendars/Delta/DeltaGetResponse.cs | 65 ++ .../Me/Calendars/Delta/DeltaRequestBuilder.cs | 189 ++++ .../Me/Calendars/Delta/DeltaResponse.cs | 28 + .../AssignedRolesRequestBuilder.cs | 239 +++++ .../Count/CountRequestBuilder.cs | 124 +++ .../Item/EngagementRoleItemRequestBuilder.cs | 234 +++++ .../Item/Members/Count/CountRequestBuilder.cs | 124 +++ .../EngagementRoleMemberItemRequestBuilder.cs | 234 +++++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../Members/Item/User/UserRequestBuilder.cs | 137 +++ .../Item/Members/MembersRequestBuilder.cs | 238 +++++ .../EmployeeExperienceRequestBuilder.cs | 6 + .../Attachments/AttachmentsRequestBuilder.cs | 14 +- .../Item/MessageItemRequestBuilder.cs | 8 +- .../Registrants/RegistrantsRequestBuilder.cs | 8 +- .../RegistrationRequestBuilder.cs | 14 +- .../Generated/Models/Announcement.cs | 103 -- .../Generated/Models/AppScope.cs | 4 +- .../Generated/Models/Application.cs | 2 +- .../Models/AuditActivityInitiator.cs | 4 +- .../Models/ChangeAnnouncementChangeType.cs | 48 - .../Generated/Models/ChangeItemBase.cs | 178 ---- .../CloudPcOnPremisesConnectionHealthCheck.cs | 2 +- ...nPremisesConnectionHealthCheckErrorType.cs | 4 + ...CloudPcPolicyScheduledApplyActionDetail.cs | 62 ++ .../Generated/Models/CloudPcPolicyTimezone.cs | 140 +++ .../Models/DeviceCompliancePolicy.cs | 2 +- ...rationChoiceSettingCollectionDefinition.cs | 4 +- ...entConfigurationChoiceSettingDefinition.cs | 4 +- ...entConfigurationSimpleSettingDefinition.cs | 8 +- .../Generated/Models/DirectoryObject1.cs | 18 + ...riveRestoreArtifactsBulkAdditionRequest.cs | 2 +- .../Generated/Models/EducationAssignment.cs | 18 + .../Models/EducationAssignmentPointsGrade.cs | 18 + .../Generated/Models/EducationModule.cs | 20 +- .../Generated/Models/EmployeeExperience.cs | 47 +- .../Models/EmployeeExperienceUser.cs | 18 + .../Generated/Models/EngagementRole.cs | 83 ++ ...cs => EngagementRoleCollectionResponse.cs} | 20 +- .../Generated/Models/EngagementRoleMember.cs | 89 ++ .../EngagementRoleMemberCollectionResponse.cs | 64 ++ .../Generated/Models/Entity.cs | 7 +- .../Generated/Models/ExtendedKeyUsage.cs | 4 +- .../Generated/Models/IdentityContainer.cs | 18 - .../IosLobAppProvisioningConfiguration.cs | 4 +- .../Models/MacOsLobAppAssignmentSettings.cs | 2 +- ...lboxRestoreArtifactsBulkAdditionRequest.cs | 2 +- .../Generated/Models/OfferShiftRequest.cs | 8 +- .../Generated/Models/PeopleAdminSettings.cs | 18 + .../Generated/Models/PlannerContainerType.cs | 4 + .../Generated/Models/ProcessContentRequest.cs | 4 +- .../Generated/Models/ProfileSource.cs | 26 +- .../Models/ProfileSourceCollectionResponse.cs | 64 ++ .../Models/ProfileSourceLocalization.cs | 135 +++ .../Models/ProtectedApplicationMetadata.cs | 2 +- .../Models/RecommendationConfiguration.cs | 54 + .../Generated/Models/Report.cs | 2 +- .../Generated/Models/Roadmap.cs | 113 --- .../Models/RoadmapItemDeliveryStage.cs | 28 - .../Generated/Models/ScheduleChangeRequest.cs | 16 +- .../Generated/Models/SearchRequest.cs | 8 +- .../Generated/Models/Security/Alert.cs | 4 +- .../Models/Security/AnalyzedEmail.cs | 18 +- .../Security/AnalyzedEmailAttachment.cs | 8 +- .../Security/AnalyzedEmailDeliveryDetail.cs | 4 +- .../Security/AnalyzedEmailDlpRuleInfo.cs | 4 +- .../Security/AnalyzedEmailRecipientDetail.cs | 4 +- .../Security/AnalyzedEmailSenderDetail.cs | 12 +- .../Models/Security/AnalyzedEmailUrl.cs | 2 +- .../Models/Security/CompromiseIndicator.cs | 4 +- .../Security/DetonationBehaviourDetails.cs | 18 +- .../Models/Security/DetonationDetails.cs | 6 +- .../Models/Security/ThreatDetectionDetail.cs | 6 +- .../Models/Security/TimelineEvent.cs | 12 +- .../Generated/Models/SignIn.cs | 2 +- ...SiteRestoreArtifactsBulkAdditionRequest.cs | 2 +- .../Models/SwapShiftsChangeRequest.cs | 2 +- ...temState.cs => TeamworkInteractionType.cs} | 10 +- .../Generated/Models/TeamworkUserIdentity.cs | 18 + .../Generated/Models/TimeOffRequest.cs | 4 +- .../Models/WindowsDomainJoinConfiguration.cs | 2 +- ...ndowsUniversalAppXAppAssignmentSettings.cs | 2 +- .../Monthly/Summary/SummaryRequestBuilder.cs | 7 +- .../RiskDetectionsRequestBuilder.cs | 8 +- .../ConfirmSafe/ConfirmSafePostRequestBody.cs | 81 ++ .../ConfirmSafe/ConfirmSafeRequestBuilder.cs | 101 ++ .../RiskyUsers/RiskyUsersRequestBuilder.cs | 6 + .../RoleAssignmentsRequestBuilder.cs | 8 +- .../ClaimsPolicyRequestBuilder.cs | 12 +- .../Item/Lists/Item/ListItemRequestBuilder.cs | 8 +- .../Generated/Sites/SitesRequestBuilder.cs | 8 +- .../ConfirmForUserPostRequestBody.cs | 81 ++ .../ConfirmForUserRequestBuilder.cs | 103 ++ .../Item/TimeCardItemRequestBuilder.cs | 6 + .../ConfirmForUserPostRequestBody.cs | 81 ++ .../ConfirmForUserRequestBuilder.cs | 103 ++ .../Item/TimeCardItemRequestBuilder.cs | 6 + .../TimeOffRequestsRequestBuilder.cs | 5 +- ...neIfInteractionIsAllowedPostRequestBody.cs | 90 ++ ...rmineIfInteractionIsAllowedPostResponse.cs | 71 ++ ...ineIfInteractionIsAllowedRequestBuilder.cs | 130 +++ ...DetermineIfInteractionIsAllowedResponse.cs | 28 + .../ConfirmForUserPostRequestBody.cs | 81 ++ .../ConfirmForUserRequestBuilder.cs | 103 ++ .../Item/TimeCardItemRequestBuilder.cs | 6 + .../TeamTemplatesRequestBuilder.cs | 8 +- .../Teamwork/TeamworkRequestBuilder.cs | 6 + .../MultiTenantOrganizationRequestBuilder.cs | 6 +- .../Item/Calendars/CalendarsRequestBuilder.cs | 6 + .../Item/Calendars/Delta/DeltaGetResponse.cs | 65 ++ .../Calendars/Delta/DeltaRequestBuilder.cs | 189 ++++ .../Item/Calendars/Delta/DeltaResponse.cs | 28 + .../Item/Calendars/CalendarsRequestBuilder.cs | 6 + .../Item/Calendars/Delta/DeltaGetResponse.cs | 65 ++ .../Calendars/Delta/DeltaRequestBuilder.cs | 189 ++++ .../Item/Calendars/Delta/DeltaResponse.cs | 28 + .../AssignedRolesRequestBuilder.cs | 239 +++++ .../Count/CountRequestBuilder.cs | 124 +++ .../Item/EngagementRoleItemRequestBuilder.cs} | 79 +- .../Item/Members/Count/CountRequestBuilder.cs | 124 +++ .../EngagementRoleMemberItemRequestBuilder.cs | 234 +++++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../Members/Item/User/UserRequestBuilder.cs | 137 +++ .../Item/Members/MembersRequestBuilder.cs | 238 +++++ .../EmployeeExperienceRequestBuilder.cs | 6 + .../Item/Presence/PresenceRequestBuilder.cs | 8 +- .../Generated/kiota-dom-export.txt | 960 +++++++++++++++--- src/Microsoft.Graph/Generated/kiota-lock.json | 2 +- 189 files changed, 10596 insertions(+), 1042 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DirectoryNamespace/RecommendationConfiguration/RecommendationConfigurationRequestBuilder.cs rename src/Microsoft.Graph/Generated/{Identity/ProductChanges => EmployeeExperience/Roles}/Count/CountRequestBuilder.cs (71%) create mode 100644 src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.cs rename src/Microsoft.Graph/Generated/{Identity/ProductChanges/ProductChangesRequestBuilder.cs => EmployeeExperience/Roles/RolesRequestBuilder.cs} (58%) create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs delete mode 100644 src/Microsoft.Graph/Generated/Models/Announcement.cs delete mode 100644 src/Microsoft.Graph/Generated/Models/ChangeAnnouncementChangeType.cs delete mode 100644 src/Microsoft.Graph/Generated/Models/ChangeItemBase.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcPolicyTimezone.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EngagementRole.cs rename src/Microsoft.Graph/Generated/Models/{ChangeItemBaseCollectionResponse.cs => EngagementRoleCollectionResponse.cs} (75%) create mode 100644 src/Microsoft.Graph/Generated/Models/EngagementRoleMember.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EngagementRoleMemberCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProfileSourceCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProfileSourceLocalization.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RecommendationConfiguration.cs delete mode 100644 src/Microsoft.Graph/Generated/Models/Roadmap.cs delete mode 100644 src/Microsoft.Graph/Generated/Models/RoadmapItemDeliveryStage.cs rename src/Microsoft.Graph/Generated/Models/{ChangeItemState.cs => TeamworkInteractionType.cs} (68%) create mode 100644 src/Microsoft.Graph/Generated/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs rename src/Microsoft.Graph/Generated/{Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilder.cs => Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs} (66%) create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs index 1785152dc03a..68f171eed88a 100644 --- a/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs @@ -4,6 +4,8 @@ using Microsoft.Graph.Beta.Admin.People.NamePronunciation; using Microsoft.Graph.Beta.Admin.People.ProfileCardProperties; using Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings; +using Microsoft.Graph.Beta.Admin.People.ProfileSources; +using Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId; using Microsoft.Graph.Beta.Admin.People.Pronouns; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -43,6 +45,11 @@ public partial class PeopleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + public global::Microsoft.Graph.Beta.Admin.People.ProfileSources.ProfileSourcesRequestBuilder ProfileSources + { + get => new global::Microsoft.Graph.Beta.Admin.People.ProfileSources.ProfileSourcesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. public global::Microsoft.Graph.Beta.Admin.People.Pronouns.PronounsRequestBuilder Pronouns { @@ -136,6 +143,16 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.PeopleAdminSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// + /// A + /// Alternate key of profileSource + public global::Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder ProfileSourcesWithSourceId(string sourceId) + { + if(string.IsNullOrEmpty(sourceId)) throw new ArgumentNullException(nameof(sourceId)); + return new global::Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder(PathParameters, RequestAdapter, sourceId); + } + /// /// Delete navigation property people for admin /// /// A diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..2d4680bca459 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.People.ProfileSources.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.cs new file mode 100644 index 000000000000..98233ddc1fed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.People.ProfileSources.Item +{ + /// + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProfileSourceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfileSourceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a profileSource object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a profileSource object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a profileSource object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a profileSource object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.cs new file mode 100644 index 000000000000..d36e4aa80dcb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.People.ProfileSources.Count; +using Microsoft.Graph.Beta.Admin.People.ProfileSources.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.People.ProfileSources +{ + /// + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// The unique identifier of profileSource + /// A + public global::Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("profileSource%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProfileSourcesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfileSourcesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfileSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new profileSource object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new profileSource object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.People.ProfileSources.ProfileSourcesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.People.ProfileSources.ProfileSourcesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.cs new file mode 100644 index 000000000000..5711056c20d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId +{ + /// + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Alternate key of profileSource + public ProfileSourcesWithSourceIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string sourceId = "") : base(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(sourceId)) PathParameters.Add("sourceId", sourceId); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfileSourcesWithSourceIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a profileSource object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a profileSource object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a profileSource object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a profileSource object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ProfileSource body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs index 7d77eeed7404..5da929630e3c 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public ResourceConnectionItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete an operationalInsightsConnection object. - /// Find more info here + /// Delete a resourceConnection object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a resourceConnection object. - /// Find more info here + /// Read the properties and relationships of an operationalInsightsConnection object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an operationalInsightsConnection object. + /// Delete a resourceConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a resourceConnection object. + /// Read the properties and relationships of an operationalInsightsConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class ResourceConnectionItemRequestBuilderDeleteRequestConfigurat { } /// - /// Read the properties and relationships of a resourceConnection object. + /// Read the properties and relationships of an operationalInsightsConnection object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ResourceConnectionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs index 7b1065bc4a57..3490d9e117c9 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs @@ -59,8 +59,8 @@ public UpdatableAssetItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. - /// Find more info here + /// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action - /// Read the properties of an azureADDevice object. - /// Find more info here + /// Read the properties and relationships of an updatableAsset object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + /// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -149,7 +149,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties of an azureADDevice object. + /// Read the properties and relationships of an updatableAsset object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -207,7 +207,7 @@ public partial class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration { } /// - /// Read the properties of an azureADDevice object. + /// Read the properties and relationships of an updatableAsset object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UpdatableAssetItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs index acd86b035bc8..2951263307f9 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a contentApproval object. - /// Find more info here + /// Read the properties and relationships of a complianceChange object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -132,7 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a contentApproval object. + /// Read the properties and relationships of a complianceChange object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -190,7 +190,7 @@ public partial class ComplianceChangeItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read the properties and relationships of a contentApproval object. + /// Read the properties and relationships of a complianceChange object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ComplianceChangeItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index c3d21ab7a548..7b8592fafa7e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -54,7 +54,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IosLobAppProvisioningConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.IosLobAppProvisioningConfigurations.Item.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs index f1395ed84e0f..ee2a10b4be90 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class IosLobAppProvisioningConfigurationAssignmentItemRequestBuil { } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs index 417de67b97db..46a8f2447bac 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// /// A /// Cancellation token to use when cancelling requests @@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -187,7 +187,7 @@ public partial class DeviceComplianceScheduledActionForRuleItemRequestBuilderDel { } /// - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs index ada77a133926..b32236608d42 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs @@ -54,7 +54,7 @@ public ScheduledActionsForRuleRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public ScheduledActionsForRuleRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.ScheduledActionsForRuleRequestBuilder(rawUrl, RequestAdapter); } /// - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduledActionsForRuleRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs index 949222cde779..3bcf5f10f272 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -16,6 +16,7 @@ using Microsoft.Graph.Beta.DirectoryNamespace.OutboundSharedUserProfiles; using Microsoft.Graph.Beta.DirectoryNamespace.PendingExternalUserProfiles; using Microsoft.Graph.Beta.DirectoryNamespace.PublicKeyInfrastructure; +using Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration; using Microsoft.Graph.Beta.DirectoryNamespace.Recommendations; using Microsoft.Graph.Beta.DirectoryNamespace.SharedEmailDomains; using Microsoft.Graph.Beta.DirectoryNamespace.Subscriptions; @@ -120,6 +121,11 @@ public partial class DirectoryRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DirectoryNamespace.PublicKeyInfrastructure.PublicKeyInfrastructureRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the recommendationConfiguration property of the microsoft.graph.directory entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.RecommendationConfigurationRequestBuilder RecommendationConfiguration + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.RecommendationConfigurationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the recommendations property of the microsoft.graph.directory entity. public global::Microsoft.Graph.Beta.DirectoryNamespace.Recommendations.RecommendationsRequestBuilder Recommendations { diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/RecommendationConfiguration/RecommendationConfigurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/RecommendationConfiguration/RecommendationConfigurationRequestBuilder.cs new file mode 100644 index 000000000000..8880ef3cfa07 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/RecommendationConfiguration/RecommendationConfigurationRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration +{ + /// + /// Provides operations to manage the recommendationConfiguration property of the microsoft.graph.directory entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecommendationConfigurationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RecommendationConfigurationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/recommendationConfiguration{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RecommendationConfigurationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/recommendationConfiguration{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property recommendationConfiguration for directory + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a recommendationConfiguration object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RecommendationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a recommendationConfiguration object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.RecommendationConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.RecommendationConfiguration body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RecommendationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property recommendationConfiguration for directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// Read the properties and relationships of a recommendationConfiguration object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a recommendationConfiguration object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.RecommendationConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.RecommendationConfiguration body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.RecommendationConfigurationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.RecommendationConfigurationRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecommendationConfigurationRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a recommendationConfiguration object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecommendationConfigurationRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecommendationConfigurationRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecommendationConfigurationRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs index 9aeac23524f2..e87c4ca4ed13 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs @@ -35,7 +35,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( { } /// - /// Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress. + /// Create a copy of a driveItem asynchronously. You can optionally copy exclusively the child items, specify a new parent folder, or provide a new name. Once the request is accepted, the operation is queued and processed asynchronously. Use the monitor URL to track progress until the operation completes. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress. + /// Create a copy of a driveItem asynchronously. You can optionally copy exclusively the child items, specify a new parent folder, or provide a new name. Once the request is accepted, the operation is queued and processed asynchronously. Use the monitor URL to track progress until the operation completes. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index a1ba81e79f7f..74544fc7576e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -81,8 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. - /// Find more info here + /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Find more info here /// /// A /// The request body @@ -144,7 +144,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 20f99d8960d6..238960efd808 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Workbook.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index ce0cbf8464bf..63a2476af283 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 4dca4921ec6d..e0fb5032d397 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index b79ef75ce74b..daf0f900f25f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs index b78f50d0ffb9..e0bd98321f3c 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs @@ -118,8 +118,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the relatedContact collection of an educationUser object. - /// Find more info here + /// Update the properties of an educationuser object. + /// Find more info here /// /// A /// The request body @@ -181,7 +181,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the relatedContact collection of an educationUser object. + /// Update the properties of an educationuser object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index a8e9f5f1f990..156ed64d443d 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.EmployeeExperience.LearningCourseActivities; using Microsoft.Graph.Beta.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId; using Microsoft.Graph.Beta.EmployeeExperience.LearningProviders; +using Microsoft.Graph.Beta.EmployeeExperience.Roles; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -49,6 +50,11 @@ public partial class EmployeeExperienceRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.EmployeeExperience.LearningProviders.LearningProvidersRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.RolesRequestBuilder Roles + { + get => new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.RolesRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -102,7 +108,7 @@ public EmployeeExperienceRequestBuilder(string rawUrl, IRequestAdapter requestAd /// Update employeeExperience /// /// A - /// Represents a container that exposes navigation properties for employee experience resources. + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code @@ -146,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action /// A - /// Represents a container that exposes navigation properties for employee experience resources. + /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable diff --git a/src/Microsoft.Graph/Generated/Identity/ProductChanges/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Count/CountRequestBuilder.cs similarity index 71% rename from src/Microsoft.Graph/Generated/Identity/ProductChanges/Count/CountRequestBuilder.cs rename to src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Count/CountRequestBuilder.cs index d3442ca9898c..62e97ca7fbfc 100644 --- a/src/Microsoft.Graph/Generated/Identity/ProductChanges/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Count/CountRequestBuilder.cs @@ -9,7 +9,7 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Identity.ProductChanges.Count +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Count { /// /// Provides operations to count the resources in the collection. @@ -18,19 +18,19 @@ namespace Microsoft.Graph.Beta.Identity.ProductChanges.Count public partial class CountRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges/$count{?%24filter,%24search}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/$count{?%24filter,%24search}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges/$count{?%24filter,%24search}", rawUrl) + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/$count{?%24filter,%24search}", rawUrl) { } /// @@ -40,14 +40,13 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -62,14 +61,13 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -80,12 +78,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] - public global::Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder(rawUrl, RequestAdapter); } /// /// Get the number of the resource @@ -119,7 +116,7 @@ public partial class CountRequestBuilderGetQueryParameters /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilder.cs new file mode 100644 index 000000000000..6d5dd8b75631 --- /dev/null +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilder.cs @@ -0,0 +1,234 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Item +{ + /// + /// Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.MembersRequestBuilder Members + { + get => new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EngagementRoleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EngagementRoleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property roles for employeeExperience + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of roles in Viva Engage. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property roles in employeeExperience + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property roles for employeeExperience + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// A collection of roles in Viva Engage. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property roles in employeeExperience + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of roles in Viva Engage. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..76a8090c9e26 --- /dev/null +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs new file mode 100644 index 000000000000..9ad5971ab4ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.UserRequestBuilder User + { + get => new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.UserRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EngagementRoleMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EngagementRoleMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a Viva Engage role from a user. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property members in employeeExperience + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a Viva Engage role from a user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property members in employeeExperience + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Users who have been assigned this role. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 000000000000..1f1932757949 --- /dev/null +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \employeeExperience\roles\{engagementRole-id}\members\{engagementRoleMember-id}\user\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..c6293c3dfa73 --- /dev/null +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 000000000000..4d77529fff24 --- /dev/null +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \employeeExperience\roles\{engagementRole-id}\members\{engagementRoleMember-id}\user\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.cs new file mode 100644 index 000000000000..0413ebfb8a17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings; +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User +{ + /// + /// Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", rawUrl) + { + } + /// + /// User entity of the member who has been assigned the role. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// User entity of the member who has been assigned the role. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.UserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.UserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// User entity of the member who has been assigned the role. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.cs new file mode 100644 index 000000000000..7b0e10951e21 --- /dev/null +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count; +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// The unique identifier of engagementRoleMember + /// A + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("engagementRoleMember%2Did", position); + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the engagementRoleMember objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Assign a Viva Engage role to a user. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the engagementRoleMember objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Assign a Viva Engage role to a user. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the engagementRoleMember objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/RolesRequestBuilder.cs similarity index 58% rename from src/Microsoft.Graph/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.cs rename to src/Microsoft.Graph/Generated/EmployeeExperience/Roles/RolesRequestBuilder.cs index 100c12b69bb7..3c566f5647ee 100644 --- a/src/Microsoft.Graph/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/RolesRequestBuilder.cs @@ -1,7 +1,7 @@ // #pragma warning disable CS0618 -using Microsoft.Graph.Beta.Identity.ProductChanges.Count; -using Microsoft.Graph.Beta.Identity.ProductChanges.Item; +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Count; +using Microsoft.Graph.Beta.EmployeeExperience.Roles.Item; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -12,65 +12,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Identity.ProductChanges +namespace Microsoft.Graph.Beta.EmployeeExperience.Roles { /// - /// Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. + /// Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProductChangesRequestBuilder : BaseRequestBuilder + public partial class RolesRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] - public global::Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder Count + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder Count { - get => new global::Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder(PathParameters, RequestAdapter); + get => new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. - /// The unique identifier of changeItemBase - /// A - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] - public global::Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder this[string position] + /// Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. + /// The unique identifier of engagementRole + /// A + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("changeItemBase%2Did", position); - return new global::Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder(urlTplParams, RequestAdapter); + urlTplParams.Add("engagementRole%2Did", position); + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public ProductChangesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public RolesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public ProductChangesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public RolesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases. - /// Find more info here + /// Get a list of all the roles that can be assigned in Viva Engage. + /// Find more info here /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -78,24 +75,23 @@ public ProductChangesRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to productChanges for identity + /// Create new navigation property to roles for employeeExperience /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -104,21 +100,20 @@ public ProductChangesRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases. + /// Get a list of all the roles that can be assigned in Viva Engage. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -127,19 +122,18 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to productChanges for identity + /// Create new navigation property to roles for employeeExperience /// /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -152,18 +146,17 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] - public global::Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.EmployeeExperience.Roles.RolesRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.RolesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases. + /// Get a list of all the roles that can be assigned in Viva Engage. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProductChangesRequestBuilderGetQueryParameters + public partial class RolesRequestBuilderGetQueryParameters { /// Include count of items [QueryParameter("%24count")] @@ -230,7 +223,7 @@ public partial class ProductChangesRequestBuilderGetQueryParameters /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProductChangesRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class RolesRequestBuilderGetRequestConfiguration : RequestConfiguration { } /// @@ -238,7 +231,7 @@ public partial class ProductChangesRequestBuilderGetRequestConfiguration : Reque /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ProductChangesRequestBuilderPostRequestConfiguration : RequestConfiguration + public partial class RolesRequestBuilderPostRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs index 27b97e61ffe3..8fc4c33377f0 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalConnectors.ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an externalitem. - /// Find more info here + /// Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + /// Find more info here /// /// A /// The request body @@ -157,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an externalitem. + /// Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs index ab6ac4da6596..e7b366ed06c0 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs @@ -59,8 +59,8 @@ public SchemaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new or update an existing schema for a Microsoft Search connection. - /// Find more info here + /// Update the properties of a schema for an externalConnection. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new or update an existing schema for a Microsoft Search connection. + /// Update the properties of a schema for an externalConnection. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs index d17e6bf9c8ef..541c5ec8014b 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.InboundFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an inboundApiFlow object. - /// Find more info here + /// Update the properties of an inboundFileFlow object. + /// Find more info here /// /// A /// The request body @@ -157,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an inboundApiFlow object. + /// Update the properties of an inboundFileFlow object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs index 9b8d4efa878c..1179573b3a97 100644 --- a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs @@ -108,8 +108,8 @@ public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. - /// Find more info here + /// Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + /// Find more info here /// /// A /// The request body @@ -153,7 +153,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index a125cdcec768..71a3826e0d95 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -78,8 +78,8 @@ public ConversationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index 5fa201adc7ab..b48aade1c1d6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -41,8 +41,8 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Delete conversation. - /// Find more info here + /// Delete a group's conversation object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -88,7 +88,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Conversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete conversation. + /// Delete a group's conversation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index 1c76e37504f4..51a14062b944 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Conversatio await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs new file mode 100644 index 000000000000..a4065a47a60e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfirmForUserPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The userId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ConfirmForUserPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "userId", n => { UserId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("userId", UserId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs new file mode 100644 index 000000000000..937c96d728c9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser +{ + /// + /// Provides operations to call the confirmForUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmForUserRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirmForUser", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirmForUser", rawUrl) + { + } + /// + /// Invoke action confirmForUser + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action confirmForUser + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmForUserRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs index deb0e05ad746..9f656e92b1b3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut; using Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser; using Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak; using Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -32,6 +33,11 @@ public partial class TimeCardItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the confirmForUser method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder ConfirmForUser + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the endBreak method. public global::Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index e0c6396bdb06..02d3b459fedd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -70,8 +70,8 @@ public async Task DeleteAsync(Action - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. - /// Find more info here + /// Get a thread object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -138,7 +138,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Get a thread object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -196,7 +196,7 @@ public partial class ConversationThreadItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Get a thread object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConversationThreadItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index ca59fc0d49c2..a87b0a53f7da 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Threads.Ite await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs index e4c1489b3a3d..aa050be73316 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs @@ -9,7 +9,6 @@ using Microsoft.Graph.Beta.Identity.ContinuousAccessEvaluationPolicy; using Microsoft.Graph.Beta.Identity.CustomAuthenticationExtensions; using Microsoft.Graph.Beta.Identity.IdentityProviders; -using Microsoft.Graph.Beta.Identity.ProductChanges; using Microsoft.Graph.Beta.Identity.UserFlowAttributes; using Microsoft.Graph.Beta.Identity.UserFlows; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -75,11 +74,6 @@ public partial class IdentityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Identity.IdentityProviders.IdentityProvidersRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. - public global::Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder ProductChanges - { - get => new global::Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder(PathParameters, RequestAdapter); - } /// Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. public global::Microsoft.Graph.Beta.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder UserFlowAttributes { diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs index 7b3c0eab58d1..ade621fa8bb6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public CustomAccessPackageWorkflowExtensionItemRequestBuilder(string rawUrl, IRe { } /// - /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. - /// Find more info here + /// Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CustomAccessPackageWorkflowExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + /// Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index 8c61865a3e11..a5a5c4f8c8bc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. - /// Find more info here + /// Retrieve the properties and relationships of an accessPackage object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -185,7 +185,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Retrieve the properties and relationships of an accessPackage object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +243,7 @@ public partial class AccessPackageItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Retrieve the properties and relationships of an accessPackage object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs index b5ef0913ad50..8d14d6b544de 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs @@ -72,8 +72,8 @@ public async Task DeleteAsync(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. - /// Find more info here + /// Retrieve the properties and relationships of an accessPackage object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Retrieve the properties and relationships of an accessPackage object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -198,7 +198,7 @@ public partial class AccessPackagesWithUniqueNameRequestBuilderDeleteRequestConf { } /// - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Retrieve the properties and relationships of an accessPackage object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs index cfa3f2bdebb2..0e3991df402b 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties of a riskDetection object. - /// Find more info here + /// Retrieve the properties of a collection of riskDetection objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a riskDetection object. + /// Retrieve the properties of a collection of riskDetection objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class RiskDetectionItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties of a riskDetection object. + /// Retrieve the properties of a collection of riskDetection objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskDetectionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.cs new file mode 100644 index 000000000000..407749cb0333 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfirmSafePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The userIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UserIds + { + get { return BackingStore?.Get?>("userIds"); } + set { BackingStore?.Set("userIds", value); } + } +#nullable restore +#else + public List UserIds + { + get { return BackingStore?.Get>("userIds"); } + set { BackingStore?.Set("userIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ConfirmSafePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "userIds", n => { UserIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("userIds", UserIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.cs new file mode 100644 index 000000000000..201fa7ea32c6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe +{ + /// + /// Provides operations to call the confirmSafe method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmSafeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmSafeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityProtection/riskyUsers/confirmSafe", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmSafeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityProtection/riskyUsers/confirmSafe", rawUrl) + { + } + /// + /// Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmSafeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs index 65b0db4cfbd9..6fd9f3999218 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised; +using Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe; using Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Count; using Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Dismiss; using Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Item; @@ -27,6 +28,11 @@ public partial class RiskyUsersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.ConfirmCompromisedRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the confirmSafe method. + public global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder ConfirmSafe + { + get => new global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Count.CountRequestBuilder Count { @@ -66,8 +72,8 @@ public RiskyUsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve the properties and relationships of a collection of riskyUser objects. - /// Find more info here + /// Retrieve the properties and relationships of a riskyUser object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -115,7 +121,7 @@ public RiskyUsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of a collection of riskyUser objects. + /// Retrieve the properties and relationships of a riskyUser object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +171,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.RiskyUsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of a collection of riskyUser objects. + /// Retrieve the properties and relationships of a riskyUser object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskyUsersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs index 348a3772d5cb..f7e07800a100 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Count; +using Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta; using Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Item; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -25,6 +26,11 @@ public partial class CalendarsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. /// The unique identifier of calendar /// A diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs new file mode 100644 index 000000000000..e0c5e1f6aede --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Calendar.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs new file mode 100644 index 000000000000..7bdd4c4419be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs new file mode 100644 index 000000000000..d4c2320b9a41 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs index 91b9c2e4d5f0..f8a6ad07cd65 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.Calendars.Count; +using Microsoft.Graph.Beta.Me.Calendars.Delta; using Microsoft.Graph.Beta.Me.Calendars.Item; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -25,6 +26,11 @@ public partial class CalendarsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Calendars.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the calendars property of the microsoft.graph.user entity. /// The unique identifier of calendar /// A diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaGetResponse.cs new file mode 100644 index 000000000000..aa687b87c487 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Calendars.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Calendar.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs new file mode 100644 index 000000000000..214505c96ce2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Calendars.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaResponse.cs new file mode 100644 index 000000000000..61b1f40cc7bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Calendars.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs new file mode 100644 index 000000000000..f350e2c1e6e1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count; +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles +{ + /// + /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedRolesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + /// The unique identifier of engagementRole + /// A + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("engagementRole%2Did", position); + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedRolesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedRolesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of all the roles assigned to a user in Viva Engage. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to assignedRoles for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of all the roles assigned to a user in Viva Engage. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to assignedRoles for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of all the roles assigned to a user in Viva Engage. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedRolesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedRolesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedRolesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..42bb23bee197 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs new file mode 100644 index 000000000000..d9890b946900 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs @@ -0,0 +1,234 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item +{ + /// + /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder Members + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EngagementRoleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EngagementRoleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property assignedRoles for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents the collection of Viva Engage roles assigned to a user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property assignedRoles in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property assignedRoles for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// Represents the collection of Viva Engage roles assigned to a user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property assignedRoles in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents the collection of Viva Engage roles assigned to a user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..528e6c5699f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs new file mode 100644 index 000000000000..c682d9824100 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs @@ -0,0 +1,234 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder User + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EngagementRoleMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EngagementRoleMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property members for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property members in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property members for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property members in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Users who have been assigned this role. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 000000000000..ea4946410508 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \me\employeeExperience\assignedRoles\{engagementRole-id}\members\{engagementRoleMember-id}\user\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..e3d999c00a4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 000000000000..5a0c8c95d376 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \me\employeeExperience\assignedRoles\{engagementRole-id}\members\{engagementRoleMember-id}\user\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs new file mode 100644 index 000000000000..65186e4fc882 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings; +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User +{ + /// + /// Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", rawUrl) + { + } + /// + /// User entity of the member who has been assigned the role. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// User entity of the member who has been assigned the role. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// User entity of the member who has been assigned the role. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs new file mode 100644 index 000000000000..4b72065f9fae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count; +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// The unique identifier of engagementRoleMember + /// A + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("engagementRoleMember%2Did", position); + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to members for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to members for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Users who have been assigned this role. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index 4673dba85bbf..cb34c712a2bb 100644 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles; using Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivities; using Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -20,6 +21,11 @@ namespace Microsoft.Graph.Beta.Me.EmployeeExperience [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class EmployeeExperienceRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder AssignedRoles + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. public global::Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder LearningCourseActivities { diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index c658d0f4e3ec..1cd343bf8aa4 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -60,8 +60,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of attachment objects. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + /// Find more info here /// /// A /// The request body @@ -110,7 +110,7 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. + /// Retrieve a list of attachment objects attached to a message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. /// /// A /// The request body @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. + /// Retrieve a list of attachment objects attached to a message. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AttachmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 43eacb5e2462..ee63894582da 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -160,8 +160,8 @@ public async Task DeleteAsync(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -228,7 +228,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -286,7 +286,7 @@ public partial class MessageItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs index d7b82db644a0..04b49b282b40 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs @@ -56,8 +56,8 @@ public RegistrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get a list of the externalMeetingRegistrants of an onlineMeeting. - /// Find more info here + /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public RegistrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MeetingRegistrantBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the externalMeetingRegistrants of an onlineMeeting. + /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -161,7 +161,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.OnlineMeetings.Item.Registration.Registrants.RegistrantsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the externalMeetingRegistrants of an onlineMeeting. + /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RegistrantsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs index da450f3e18a6..d76a25a50aa0 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs @@ -49,8 +49,8 @@ public RegistrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Disable and delete the externalMeetingRegistration of an onlineMeeting. - /// Find more info here + /// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -73,8 +73,8 @@ public async Task DeleteAsync(Action - /// Get the externalMeetingRegistration details associated with an onlineMeeting. - /// Find more info here + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MeetingRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Disable and delete the externalMeetingRegistration of an onlineMeeting. + /// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -144,7 +144,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the externalMeetingRegistration details associated with an onlineMeeting. + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -205,7 +205,7 @@ public partial class RegistrationRequestBuilderDeleteRequestConfiguration : Requ { } /// - /// Get the externalMeetingRegistration details associated with an onlineMeeting. + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RegistrationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/Announcement.cs b/src/Microsoft.Graph/Generated/Models/Announcement.cs deleted file mode 100644 index 3b5576f738e3..000000000000 --- a/src/Microsoft.Graph/Generated/Models/Announcement.cs +++ /dev/null @@ -1,103 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class Announcement : global::Microsoft.Graph.Beta.Models.ChangeItemBase, IParsable - #pragma warning restore CS1591 - { - /// Change announcement date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - public DateTimeOffset? AnnouncementDateTime - { - get { return BackingStore?.Get("announcementDateTime"); } - set { BackingStore?.Set("announcementDateTime", value); } - } - /// The changeType property - public global::Microsoft.Graph.Beta.Models.ChangeAnnouncementChangeType? ChangeType - { - get { return BackingStore?.Get("changeType"); } - set { BackingStore?.Set("changeType", value); } - } - /// Change impact URL. Supports $filter (eq, ne, in) and $orderby. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ImpactLink - { - get { return BackingStore?.Get("impactLink"); } - set { BackingStore?.Set("impactLink", value); } - } -#nullable restore -#else - public string ImpactLink - { - get { return BackingStore?.Get("impactLink"); } - set { BackingStore?.Set("impactLink", value); } - } -#endif - /// Indicates whether the customer needs to take any action for this change. Supports $filter (eq, ne). - public bool? IsCustomerActionRequired - { - get { return BackingStore?.Get("isCustomerActionRequired"); } - set { BackingStore?.Set("isCustomerActionRequired", value); } - } - /// Date on which the change rolls out. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - public DateTimeOffset? TargetDateTime - { - get { return BackingStore?.Get("targetDateTime"); } - set { BackingStore?.Set("targetDateTime", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public Announcement() : base() - { - OdataType = "#microsoft.graph.announcement"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.Models.Announcement CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.Announcement(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "announcementDateTime", n => { AnnouncementDateTime = n.GetDateTimeOffsetValue(); } }, - { "changeType", n => { ChangeType = n.GetEnumValue(); } }, - { "impactLink", n => { ImpactLink = n.GetStringValue(); } }, - { "isCustomerActionRequired", n => { IsCustomerActionRequired = n.GetBoolValue(); } }, - { "targetDateTime", n => { TargetDateTime = n.GetDateTimeOffsetValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteDateTimeOffsetValue("announcementDateTime", AnnouncementDateTime); - writer.WriteEnumValue("changeType", ChangeType); - writer.WriteStringValue("impactLink", ImpactLink); - writer.WriteBoolValue("isCustomerActionRequired", IsCustomerActionRequired); - writer.WriteDateTimeOffsetValue("targetDateTime", TargetDateTime); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AppScope.cs b/src/Microsoft.Graph/Generated/Models/AppScope.cs index 577187fb5805..cbcefac8ef1b 100644 --- a/src/Microsoft.Graph/Generated/Models/AppScope.cs +++ b/src/Microsoft.Graph/Generated/Models/AppScope.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class AppScope : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// Provides the display name of the app-specific resource represented by the app scope. Provided for display purposes since appScopeId is often an immutable, non-human-readable ID. Read only. + /// Provides the display name of the app-specific resource represented by the app scope. Read only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -28,7 +28,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Describes the type of app-specific resource represented by the app scope. For display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read only. + /// Describes the type of app-specific resource represented by the app scope. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Type diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index 35dfd4975f63..415d90cab8af 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -274,7 +274,7 @@ public string GroupMembershipClaims set { BackingStore?.Set("homeRealmDiscoveryPolicies", value); } } #endif - /// Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + /// Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique across Microsoft Entra ID. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? IdentifierUris diff --git a/src/Microsoft.Graph/Generated/Models/AuditActivityInitiator.cs b/src/Microsoft.Graph/Generated/Models/AuditActivityInitiator.cs index 4105ae09445a..d35feee21a94 100644 --- a/src/Microsoft.Graph/Generated/Models/AuditActivityInitiator.cs +++ b/src/Microsoft.Graph/Generated/Models/AuditActivityInitiator.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// If the actor initiating the activity is an app, this property indicates all its identification information including appId, displayName, servicePrincipalId, and servicePrincipalName. + /// If the resource initiating the activity is an app, this property indicates all the app related information like appId and name. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.AppIdentity? App @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// If the actor initiating the activity is a user, this property indicates their identification information including their id, displayName, and userPrincipalName. + /// If the resource initiating the activity is a user, this property Indicates all the user related information like user ID and userPrincipalName. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.AuditUserIdentity? User diff --git a/src/Microsoft.Graph/Generated/Models/ChangeAnnouncementChangeType.cs b/src/Microsoft.Graph/Generated/Models/ChangeAnnouncementChangeType.cs deleted file mode 100644 index 2a47844aa92b..000000000000 --- a/src/Microsoft.Graph/Generated/Models/ChangeAnnouncementChangeType.cs +++ /dev/null @@ -1,48 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Graph.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum ChangeAnnouncementChangeType - #pragma warning restore CS1591 - { - [EnumMember(Value = "breakingChange")] - #pragma warning disable CS1591 - BreakingChange, - #pragma warning restore CS1591 - [EnumMember(Value = "deprecation")] - #pragma warning disable CS1591 - Deprecation, - #pragma warning restore CS1591 - [EnumMember(Value = "endOfSupport")] - #pragma warning disable CS1591 - EndOfSupport, - #pragma warning restore CS1591 - [EnumMember(Value = "featureChange")] - #pragma warning disable CS1591 - FeatureChange, - #pragma warning restore CS1591 - [EnumMember(Value = "other")] - #pragma warning disable CS1591 - Other, - #pragma warning restore CS1591 - [EnumMember(Value = "retirement")] - #pragma warning disable CS1591 - Retirement, - #pragma warning restore CS1591 - [EnumMember(Value = "securityIncident")] - #pragma warning disable CS1591 - SecurityIncident, - #pragma warning restore CS1591 - [EnumMember(Value = "uxChange")] - #pragma warning disable CS1591 - UxChange, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/src/Microsoft.Graph/Generated/Models/ChangeItemBase.cs b/src/Microsoft.Graph/Generated/Models/ChangeItemBase.cs deleted file mode 100644 index 7ce46061595b..000000000000 --- a/src/Microsoft.Graph/Generated/Models/ChangeItemBase.cs +++ /dev/null @@ -1,178 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ChangeItemBase : global::Microsoft.Graph.Beta.Models.Entity, IParsable - #pragma warning restore CS1591 - { - /// Specifies the Microsoft Entra service name to which this item belongs. Supports $filter (eq, ne, in) and $orderby. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ChangeItemService - { - get { return BackingStore?.Get("changeItemService"); } - set { BackingStore?.Set("changeItemService", value); } - } -#nullable restore -#else - public string ChangeItemService - { - get { return BackingStore?.Get("changeItemService"); } - set { BackingStore?.Set("changeItemService", value); } - } -#endif - /// Description of the new feature or change announcement. Supports $filter (eq, ne, in, startswith) and $orderby. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Description - { - get { return BackingStore?.Get("description"); } - set { BackingStore?.Set("description", value); } - } -#nullable restore -#else - public string Description - { - get { return BackingStore?.Get("description"); } - set { BackingStore?.Set("description", value); } - } -#endif - /// Link to the feature or change documentation. Supports $filter (any with eq). -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? DocumentationUrls - { - get { return BackingStore?.Get?>("documentationUrls"); } - set { BackingStore?.Set("documentationUrls", value); } - } -#nullable restore -#else - public List DocumentationUrls - { - get { return BackingStore?.Get>("documentationUrls"); } - set { BackingStore?.Set("documentationUrls", value); } - } -#endif - /// A short description of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ShortDescription - { - get { return BackingStore?.Get("shortDescription"); } - set { BackingStore?.Set("shortDescription", value); } - } -#nullable restore -#else - public string ShortDescription - { - get { return BackingStore?.Get("shortDescription"); } - set { BackingStore?.Set("shortDescription", value); } - } -#endif - /// Microsoft Entra-specific tags. Example values: Top announcement - entraroadmaphighlightproductnews, New release highlight - entraroadmaphighlightnewfeature. Supports $filter (any with eq). -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? SystemTags - { - get { return BackingStore?.Get?>("systemTags"); } - set { BackingStore?.Set("systemTags", value); } - } -#nullable restore -#else - public List SystemTags - { - get { return BackingStore?.Get>("systemTags"); } - set { BackingStore?.Set("systemTags", value); } - } -#endif - /// Identity and Access Management (IAM) related tags. Example values: External Identities, Reliability and Resilience. Supports $filter (any with eq). -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Tags - { - get { return BackingStore?.Get?>("tags"); } - set { BackingStore?.Set("tags", value); } - } -#nullable restore -#else - public List Tags - { - get { return BackingStore?.Get>("tags"); } - set { BackingStore?.Set("tags", value); } - } -#endif - /// Title of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Title - { - get { return BackingStore?.Get("title"); } - set { BackingStore?.Set("title", value); } - } -#nullable restore -#else - public string Title - { - get { return BackingStore?.Get("title"); } - set { BackingStore?.Set("title", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.Models.ChangeItemBase CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); - return mappingValue switch - { - "#microsoft.graph.announcement" => new global::Microsoft.Graph.Beta.Models.Announcement(), - "#microsoft.graph.roadmap" => new global::Microsoft.Graph.Beta.Models.Roadmap(), - _ => new global::Microsoft.Graph.Beta.Models.ChangeItemBase(), - }; - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "changeItemService", n => { ChangeItemService = n.GetStringValue(); } }, - { "description", n => { Description = n.GetStringValue(); } }, - { "documentationUrls", n => { DocumentationUrls = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "shortDescription", n => { ShortDescription = n.GetStringValue(); } }, - { "systemTags", n => { SystemTags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "title", n => { Title = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("changeItemService", ChangeItemService); - writer.WriteStringValue("description", Description); - writer.WriteCollectionOfPrimitiveValues("documentationUrls", DocumentationUrls); - writer.WriteStringValue("shortDescription", ShortDescription); - writer.WriteCollectionOfPrimitiveValues("systemTags", SystemTags); - writer.WriteCollectionOfPrimitiveValues("tags", Tags); - writer.WriteStringValue("title", Title); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs index 2da889849afd..0a19632624fd 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs @@ -91,7 +91,7 @@ public DateTimeOffset? EndDateTime get { return BackingStore?.Get("endDateTime"); } set { BackingStore?.Set("endDateTime", value); } } - /// The type of error that occurred during this health check. + /// The type of error that occurred during this health check. For the list of possible values, see cloudPcOnPremisesConnectionHealthCheckErrorType. public global::Microsoft.Graph.Beta.Models.CloudPcOnPremisesConnectionHealthCheckErrorType? ErrorType { get { return BackingStore?.Get("errorType"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs index 5d864ae42881..6fd1a549f8c4 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs @@ -200,6 +200,10 @@ public enum CloudPcOnPremisesConnectionHealthCheckErrorType #pragma warning disable CS1591 ResourceAvailabilityCheckDeploymentQuotaLimitReached, #pragma warning restore CS1591 + [EnumMember(Value = "resourceAvailabilityCheckMissingRegistrationForLocation")] + #pragma warning disable CS1591 + ResourceAvailabilityCheckMissingRegistrationForLocation, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckTransientServiceError")] #pragma warning disable CS1591 ResourceAvailabilityCheckTransientServiceError, diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs index f2e164e66078..5c63ea9819bf 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs @@ -27,6 +27,38 @@ public string CronScheduleExpression get { return BackingStore?.Get("cronScheduleExpression"); } set { BackingStore?.Set("cronScheduleExpression", value); } } +#endif + /// Indicates IT Admins can set an end date to define the last scheduler run before this time. If not set, the scheduler runs continuously. There is no time zone information at this time; it needs to be coordinated with timezone, for example, '2025-02-01 00:00:00' with 'China Standard Time' means the scheduling rule takes effect before Feb 01 2025 00:00:00 GMT+0800 (China Standard Time). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EndDateTime + { + get { return BackingStore?.Get("endDateTime"); } + set { BackingStore?.Set("endDateTime", value); } + } +#nullable restore +#else + public string EndDateTime + { + get { return BackingStore?.Get("endDateTime"); } + set { BackingStore?.Set("endDateTime", value); } + } +#endif + /// Indicates IT Admins can see when the next automatic regular apply is executed. It needs to be coordinated with timezone, for example, '2025-01-01 00:00:00' with 'China Standard Time' means the next task executes at Jan 01 2025 00:00:00 GMT+0800 (China Standard Time). Read-Only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? NextRunDateTime + { + get { return BackingStore?.Get("nextRunDateTime"); } + set { BackingStore?.Set("nextRunDateTime", value); } + } +#nullable restore +#else + public string NextRunDateTime + { + get { return BackingStore?.Get("nextRunDateTime"); } + set { BackingStore?.Set("nextRunDateTime", value); } + } #endif /// The percentage of Cloud PCs to keep available. Administrators can set this property to a value from 0 to 99. Cloud PCs are reprovisioned only when there are no active and connected Cloud PC users. Frontline shared only. public int? ReservePercentage @@ -34,6 +66,28 @@ public int? ReservePercentage get { return BackingStore?.Get("reservePercentage"); } set { BackingStore?.Set("reservePercentage", value); } } + /// Indicates IT Admins can set a start date to define the first scheduler run after this time. If not set, the default is the current time. There is no time zone information at this time, it needs to be coordinated with timezone, for example, '2025-01-01 00:00:00' with 'China Standard Time' means the scheduling rule takes effect after Jan 01 2025 00:00:00 GMT+0800 (China Standard Time). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } +#nullable restore +#else + public string StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } +#endif + /// The timezone property + public global::Microsoft.Graph.Beta.Models.CloudPcPolicyTimezone? Timezone + { + get { return BackingStore?.Get("timezone"); } + set { BackingStore?.Set("timezone", value); } + } /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -53,7 +107,11 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "cronScheduleExpression", n => { CronScheduleExpression = n.GetStringValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetStringValue(); } }, + { "nextRunDateTime", n => { NextRunDateTime = n.GetStringValue(); } }, { "reservePercentage", n => { ReservePercentage = n.GetIntValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetStringValue(); } }, + { "timezone", n => { Timezone = n.GetEnumValue(); } }, }; } /// @@ -65,7 +123,11 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteStringValue("cronScheduleExpression", CronScheduleExpression); + writer.WriteStringValue("endDateTime", EndDateTime); + writer.WriteStringValue("nextRunDateTime", NextRunDateTime); writer.WriteIntValue("reservePercentage", ReservePercentage); + writer.WriteStringValue("startDateTime", StartDateTime); + writer.WriteEnumValue("timezone", Timezone); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcPolicyTimezone.cs b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyTimezone.cs new file mode 100644 index 000000000000..5e14d473e3bb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyTimezone.cs @@ -0,0 +1,140 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcPolicyTimezone + #pragma warning restore CS1591 + { + [EnumMember(Value = "gmt")] + #pragma warning disable CS1591 + Gmt, + #pragma warning restore CS1591 + [EnumMember(Value = "bit")] + #pragma warning disable CS1591 + Bit, + #pragma warning restore CS1591 + [EnumMember(Value = "nut")] + #pragma warning disable CS1591 + Nut, + #pragma warning restore CS1591 + [EnumMember(Value = "hst")] + #pragma warning disable CS1591 + Hst, + #pragma warning restore CS1591 + [EnumMember(Value = "mit")] + #pragma warning disable CS1591 + Mit, + #pragma warning restore CS1591 + [EnumMember(Value = "akst")] + #pragma warning disable CS1591 + Akst, + #pragma warning restore CS1591 + [EnumMember(Value = "pst")] + #pragma warning disable CS1591 + Pst, + #pragma warning restore CS1591 + [EnumMember(Value = "mst")] + #pragma warning disable CS1591 + Mst, + #pragma warning restore CS1591 + [EnumMember(Value = "east")] + #pragma warning disable CS1591 + East, + #pragma warning restore CS1591 + [EnumMember(Value = "est")] + #pragma warning disable CS1591 + Est, + #pragma warning restore CS1591 + [EnumMember(Value = "ast")] + #pragma warning disable CS1591 + Ast, + #pragma warning restore CS1591 + [EnumMember(Value = "nst")] + #pragma warning disable CS1591 + Nst, + #pragma warning restore CS1591 + [EnumMember(Value = "art")] + #pragma warning disable CS1591 + Art, + #pragma warning restore CS1591 + [EnumMember(Value = "gst")] + #pragma warning disable CS1591 + Gst, + #pragma warning restore CS1591 + [EnumMember(Value = "azot")] + #pragma warning disable CS1591 + Azot, + #pragma warning restore CS1591 + [EnumMember(Value = "cet")] + #pragma warning disable CS1591 + Cet, + #pragma warning restore CS1591 + [EnumMember(Value = "cat")] + #pragma warning disable CS1591 + Cat, + #pragma warning restore CS1591 + [EnumMember(Value = "eat")] + #pragma warning disable CS1591 + Eat, + #pragma warning restore CS1591 + [EnumMember(Value = "get")] + #pragma warning disable CS1591 + Get, + #pragma warning restore CS1591 + [EnumMember(Value = "pkt")] + #pragma warning disable CS1591 + Pkt, + #pragma warning restore CS1591 + [EnumMember(Value = "ist")] + #pragma warning disable CS1591 + Ist, + #pragma warning restore CS1591 + [EnumMember(Value = "bst")] + #pragma warning disable CS1591 + Bst, + #pragma warning restore CS1591 + [EnumMember(Value = "tha")] + #pragma warning disable CS1591 + Tha, + #pragma warning restore CS1591 + [EnumMember(Value = "cst")] + #pragma warning disable CS1591 + Cst, + #pragma warning restore CS1591 + [EnumMember(Value = "jst")] + #pragma warning disable CS1591 + Jst, + #pragma warning restore CS1591 + [EnumMember(Value = "acst")] + #pragma warning disable CS1591 + Acst, + #pragma warning restore CS1591 + [EnumMember(Value = "pgt")] + #pragma warning disable CS1591 + Pgt, + #pragma warning restore CS1591 + [EnumMember(Value = "sbt")] + #pragma warning disable CS1591 + Sbt, + #pragma warning restore CS1591 + [EnumMember(Value = "fjt")] + #pragma warning disable CS1591 + Fjt, + #pragma warning restore CS1591 + [EnumMember(Value = "tot")] + #pragma warning disable CS1591 + Tot, + #pragma warning restore CS1591 + [EnumMember(Value = "lint")] + #pragma warning disable CS1591 + Lint, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs b/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs index d1090bda124f..ca9bcef92485 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs @@ -137,7 +137,7 @@ public List RoleScopeTagIds set { BackingStore?.Set("roleScopeTagIds", value); } } #endif - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ScheduledActionsForRule diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs index 5bf8a0af1cc9..0d119f2ee8a7 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationChoiceSettingCollectionDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationChoiceSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Maximum number of choices in the collection + /// Maximum number of choices in the collection. Valid values 1 to 100 public int? MaximumCount { get { return BackingStore?.Get("maximumCount"); } set { BackingStore?.Set("maximumCount", value); } } - /// Minimum number of choices in the collection + /// Minimum number of choices in the collection. Valid values 1 to 100 public int? MinimumCount { get { return BackingStore?.Get("minimumCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs index 3986995248ec..f52f86e1480c 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationChoiceSettingDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Default option for choice setting + /// Default option for the choice setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DefaultOptionId @@ -28,7 +28,7 @@ public string DefaultOptionId set { BackingStore?.Set("defaultOptionId", value); } } #endif - /// Options for the setting that can be selected + /// Options for the setting that can be selected. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Options diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs index 9edac36a142c..709accd708a9 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSimpleSettingDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Default setting value for this setting. + /// Default setting value for this setting #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingValue? DefaultValue @@ -28,7 +28,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("defaultValue", value); } } #endif - /// list of child settings that depend on this setting. + /// list of child settings that depend on this setting #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DependedOnBy @@ -44,7 +44,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("dependedOnBy", value); } } #endif - /// list of parent settings this setting is dependent on. + /// list of parent settings this setting is dependent on #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DependentOn @@ -60,7 +60,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("dependentOn", value); } } #endif - /// Definition of the value for this setting. + /// Definition of the value for this setting #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingValueDefinition? ValueDefinition diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs index 37a31de2928b..d9d044cd7c3b 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs @@ -267,6 +267,22 @@ public partial class DirectoryObject1 : global::Microsoft.Graph.Beta.Models.Enti get { return BackingStore?.Get("publicKeyInfrastructure"); } set { BackingStore?.Set("publicKeyInfrastructure", value); } } +#endif + /// The recommendationConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RecommendationConfiguration? RecommendationConfiguration + { + get { return BackingStore?.Get("recommendationConfiguration"); } + set { BackingStore?.Set("recommendationConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RecommendationConfiguration RecommendationConfiguration + { + get { return BackingStore?.Get("recommendationConfiguration"); } + set { BackingStore?.Set("recommendationConfiguration", value); } + } #endif /// List of recommended improvements to improve tenant posture. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -366,6 +382,7 @@ public override IDictionary> GetFieldDeserializers() { "outboundSharedUserProfiles", n => { OutboundSharedUserProfiles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.OutboundSharedUserProfile.CreateFromDiscriminatorValue)?.AsList(); } }, { "pendingExternalUserProfiles", n => { PendingExternalUserProfiles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PendingExternalUserProfile.CreateFromDiscriminatorValue)?.AsList(); } }, { "publicKeyInfrastructure", n => { PublicKeyInfrastructure = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PublicKeyInfrastructureRoot.CreateFromDiscriminatorValue); } }, + { "recommendationConfiguration", n => { RecommendationConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RecommendationConfiguration.CreateFromDiscriminatorValue); } }, { "recommendations", n => { Recommendations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Recommendation.CreateFromDiscriminatorValue)?.AsList(); } }, { "sharedEmailDomains", n => { SharedEmailDomains = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SharedEmailDomain.CreateFromDiscriminatorValue)?.AsList(); } }, { "subscriptions", n => { Subscriptions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CompanySubscription.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -396,6 +413,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("outboundSharedUserProfiles", OutboundSharedUserProfiles); writer.WriteCollectionOfObjectValues("pendingExternalUserProfiles", PendingExternalUserProfiles); writer.WriteObjectValue("publicKeyInfrastructure", PublicKeyInfrastructure); + writer.WriteObjectValue("recommendationConfiguration", RecommendationConfiguration); writer.WriteCollectionOfObjectValues("recommendations", Recommendations); writer.WriteCollectionOfObjectValues("sharedEmailDomains", SharedEmailDomains); writer.WriteCollectionOfObjectValues("subscriptions", Subscriptions); diff --git a/src/Microsoft.Graph/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.cs b/src/Microsoft.Graph/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.cs index d1dc446fa6ee..af6e59e2ecc6 100644 --- a/src/Microsoft.Graph/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DriveRestoreArtifactsBulkAdditionRequest : global::Microsoft.Graph.Beta.Models.RestoreArtifactsBulkRequestBase, IParsable #pragma warning restore CS1591 { - /// The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + /// The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DirectoryObjectIds diff --git a/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs b/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs index 8f641bab29b4..8f2f45a80ad3 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs @@ -225,6 +225,22 @@ public string FeedbackResourcesFolderUrl get { return BackingStore?.Get("instructions"); } set { BackingStore?.Set("instructions", value); } } +#endif + /// Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } +#nullable restore +#else + public string LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } #endif /// Who last modified the assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -403,6 +419,7 @@ public override IDictionary> GetFieldDeserializers() { "gradingCategory", n => { GradingCategory = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EducationGradingCategory.CreateFromDiscriminatorValue); } }, { "gradingScheme", n => { GradingScheme = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EducationGradingScheme.CreateFromDiscriminatorValue); } }, { "instructions", n => { Instructions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EducationItemBody.CreateFromDiscriminatorValue); } }, + { "languageTag", n => { LanguageTag = n.GetStringValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "moduleUrl", n => { ModuleUrl = n.GetStringValue(); } }, @@ -437,6 +454,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("gradingCategory", GradingCategory); writer.WriteObjectValue("gradingScheme", GradingScheme); writer.WriteObjectValue("instructions", Instructions); + writer.WriteStringValue("languageTag", LanguageTag); writer.WriteStringValue("moduleUrl", ModuleUrl); writer.WriteStringValue("notificationChannelUrl", NotificationChannelUrl); writer.WriteCollectionOfObjectValues("resources", Resources); diff --git a/src/Microsoft.Graph/Generated/Models/EducationAssignmentPointsGrade.cs b/src/Microsoft.Graph/Generated/Models/EducationAssignmentPointsGrade.cs index 885537fd61a8..47a8d3d66197 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAssignmentPointsGrade.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAssignmentPointsGrade.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models public partial class EducationAssignmentPointsGrade : global::Microsoft.Graph.Beta.Models.EducationAssignmentGrade, IParsable #pragma warning restore CS1591 { + /// The grade letter from the grading scheme that corresponds to the given number of points. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Grade + { + get { return BackingStore?.Get("grade"); } + set { BackingStore?.Set("grade", value); } + } +#nullable restore +#else + public string Grade + { + get { return BackingStore?.Get("grade"); } + set { BackingStore?.Set("grade", value); } + } +#endif /// Number of points a teacher gives to this submission object. public float? Points { @@ -43,6 +59,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "grade", n => { Grade = n.GetStringValue(); } }, { "points", n => { Points = n.GetFloatValue(); } }, }; } @@ -54,6 +71,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteStringValue("grade", Grade); writer.WriteFloatValue("points", Points); } } diff --git a/src/Microsoft.Graph/Generated/Models/EducationModule.cs b/src/Microsoft.Graph/Generated/Models/EducationModule.cs index e0a90890347c..4eb6e6bdd89b 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationModule.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationModule.cs @@ -66,12 +66,28 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Indicates whether the module is pinned or not. + /// Indicates whether the module is pinned. public bool? IsPinned { get { return BackingStore?.Get("isPinned"); } set { BackingStore?.Set("isPinned", value); } } + /// Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } +#nullable restore +#else + public string LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } +#endif /// The last user that modified the module. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -155,6 +171,7 @@ public override IDictionary> GetFieldDeserializers() { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "isPinned", n => { IsPinned = n.GetBoolValue(); } }, + { "languageTag", n => { LanguageTag = n.GetStringValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "resources", n => { Resources = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EducationModuleResource.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -173,6 +190,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteBoolValue("isPinned", IsPinned); + writer.WriteStringValue("languageTag", LanguageTag); writer.WriteCollectionOfObjectValues("resources", Resources); } } diff --git a/src/Microsoft.Graph/Generated/Models/EmployeeExperience.cs b/src/Microsoft.Graph/Generated/Models/EmployeeExperience.cs index a3c9ddb9779f..547a926e22e1 100644 --- a/src/Microsoft.Graph/Generated/Models/EmployeeExperience.cs +++ b/src/Microsoft.Graph/Generated/Models/EmployeeExperience.cs @@ -2,7 +2,6 @@ #pragma warning disable CS0618 using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; using System.Collections.Generic; using System.IO; using System; @@ -12,16 +11,8 @@ namespace Microsoft.Graph.Beta.Models /// Represents a container that exposes navigation properties for employee experience resources. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EmployeeExperience : IAdditionalDataHolder, IBackedModel, IParsable + public partial class EmployeeExperience : global::Microsoft.Graph.Beta.Models.Entity, IParsable { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } /// A collection of communities in Viva Engage. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -102,36 +93,28 @@ public IDictionary AdditionalData set { BackingStore?.Set("learningProviders", value); } } #endif - /// The OdataType property + /// A collection of roles in Viva Engage. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public string? OdataType + public List? Roles { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } + get { return BackingStore?.Get?>("roles"); } + set { BackingStore?.Set("roles", value); } } #nullable restore #else - public string OdataType + public List Roles { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } + get { return BackingStore?.Get>("roles"); } + set { BackingStore?.Set("roles", value); } } #endif - /// - /// Instantiates a new and sets the default values. - /// - public EmployeeExperience() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } /// /// Creates a new instance of the appropriate class based on discriminator value /// /// A /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Graph.Beta.Models.EmployeeExperience CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.Models.EmployeeExperience CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); return new global::Microsoft.Graph.Beta.Models.EmployeeExperience(); @@ -140,32 +123,32 @@ public EmployeeExperience() /// The deserialization information for the current model /// /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() + public override IDictionary> GetFieldDeserializers() { - return new Dictionary> + return new Dictionary>(base.GetFieldDeserializers()) { { "communities", n => { Communities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Community.CreateFromDiscriminatorValue)?.AsList(); } }, { "engagementAsyncOperations", n => { EngagementAsyncOperations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EngagementAsyncOperation.CreateFromDiscriminatorValue)?.AsList(); } }, { "goals", n => { Goals = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Goals.CreateFromDiscriminatorValue); } }, { "learningCourseActivities", n => { LearningCourseActivities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LearningCourseActivity.CreateFromDiscriminatorValue)?.AsList(); } }, { "learningProviders", n => { LearningProviders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LearningProvider.CreateFromDiscriminatorValue)?.AsList(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "roles", n => { Roles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// /// Serializes information the current object /// /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) + public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); writer.WriteCollectionOfObjectValues("communities", Communities); writer.WriteCollectionOfObjectValues("engagementAsyncOperations", EngagementAsyncOperations); writer.WriteObjectValue("goals", Goals); writer.WriteCollectionOfObjectValues("learningCourseActivities", LearningCourseActivities); writer.WriteCollectionOfObjectValues("learningProviders", LearningProviders); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); + writer.WriteCollectionOfObjectValues("roles", Roles); } } } diff --git a/src/Microsoft.Graph/Generated/Models/EmployeeExperienceUser.cs b/src/Microsoft.Graph/Generated/Models/EmployeeExperienceUser.cs index 9a39967b928a..2f97f4328847 100644 --- a/src/Microsoft.Graph/Generated/Models/EmployeeExperienceUser.cs +++ b/src/Microsoft.Graph/Generated/Models/EmployeeExperienceUser.cs @@ -13,6 +13,22 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class EmployeeExperienceUser : global::Microsoft.Graph.Beta.Models.Entity, IParsable { + /// Represents the collection of Viva Engage roles assigned to a user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AssignedRoles + { + get { return BackingStore?.Get?>("assignedRoles"); } + set { BackingStore?.Set("assignedRoles", value); } + } +#nullable restore +#else + public List AssignedRoles + { + get { return BackingStore?.Get>("assignedRoles"); } + set { BackingStore?.Set("assignedRoles", value); } + } +#endif /// The learningCourseActivities property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -47,6 +63,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "assignedRoles", n => { AssignedRoles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue)?.AsList(); } }, { "learningCourseActivities", n => { LearningCourseActivities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LearningCourseActivity.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -58,6 +75,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("assignedRoles", AssignedRoles); writer.WriteCollectionOfObjectValues("learningCourseActivities", LearningCourseActivities); } } diff --git a/src/Microsoft.Graph/Generated/Models/EngagementRole.cs b/src/Microsoft.Graph/Generated/Models/EngagementRole.cs new file mode 100644 index 000000000000..ce2c17ffa7f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EngagementRole.cs @@ -0,0 +1,83 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Represents a Viva Engage role and its members + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRole : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// The name of the role. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Users who have been assigned this role. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("members"); } + set { BackingStore?.Set("members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("members"); } + set { BackingStore?.Set("members", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.EngagementRole CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EngagementRole(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("members", Members); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ChangeItemBaseCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/EngagementRoleCollectionResponse.cs similarity index 75% rename from src/Microsoft.Graph/Generated/Models/ChangeItemBaseCollectionResponse.cs rename to src/Microsoft.Graph/Generated/Models/EngagementRoleCollectionResponse.cs index 4b099738ed5a..b8acaa3164a2 100644 --- a/src/Microsoft.Graph/Generated/Models/ChangeItemBaseCollectionResponse.cs +++ b/src/Microsoft.Graph/Generated/Models/EngagementRoleCollectionResponse.cs @@ -9,34 +9,34 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class ChangeItemBaseCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + public partial class EngagementRoleCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Value + public List? Value { - get { return BackingStore?.Get?>("value"); } + get { return BackingStore?.Get?>("value"); } set { BackingStore?.Set("value", value); } } #nullable restore #else - public List Value + public List Value { - get { return BackingStore?.Get>("value"); } + get { return BackingStore?.Get>("value"); } set { BackingStore?.Set("value", value); } } #endif /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse(); + return new global::Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse(); } /// /// The deserialization information for the current model @@ -46,7 +46,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -57,7 +57,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); + writer.WriteCollectionOfObjectValues("value", Value); } } } diff --git a/src/Microsoft.Graph/Generated/Models/EngagementRoleMember.cs b/src/Microsoft.Graph/Generated/Models/EngagementRoleMember.cs new file mode 100644 index 000000000000..ddca59edd6f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EngagementRoleMember.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Entity to represent the assignment of a role to a user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMember : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// The timestamp when the role was assigned to the user. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// User entity of the member who has been assigned the role. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.User? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.User User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// The Microsoft Entra ID of the user who has the role assigned. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.EngagementRoleMember CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EngagementRoleMember(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("user", User); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EngagementRoleMemberCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/EngagementRoleMemberCollectionResponse.cs new file mode 100644 index 000000000000..d343319e707c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EngagementRoleMemberCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EngagementRoleMemberCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 50c61a413b6c..e68a0d0537fe 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -218,7 +218,6 @@ public Entity() "#microsoft.graph.androidWorkProfileTrustedRootCertificate" => new global::Microsoft.Graph.Beta.Models.AndroidWorkProfileTrustedRootCertificate(), "#microsoft.graph.androidWorkProfileVpnConfiguration" => new global::Microsoft.Graph.Beta.Models.AndroidWorkProfileVpnConfiguration(), "#microsoft.graph.androidWorkProfileWiFiConfiguration" => new global::Microsoft.Graph.Beta.Models.AndroidWorkProfileWiFiConfiguration(), - "#microsoft.graph.announcement" => new global::Microsoft.Graph.Beta.Models.Announcement(), "#microsoft.graph.anonymousGuestConversationMember" => new global::Microsoft.Graph.Beta.Models.AnonymousGuestConversationMember(), "#microsoft.graph.aospDeviceOwnerCertificateProfileBase" => new global::Microsoft.Graph.Beta.Models.AospDeviceOwnerCertificateProfileBase(), "#microsoft.graph.aospDeviceOwnerCompliancePolicy" => new global::Microsoft.Graph.Beta.Models.AospDeviceOwnerCompliancePolicy(), @@ -384,7 +383,6 @@ public Entity() "#microsoft.graph.certificateBasedAuthConfiguration" => new global::Microsoft.Graph.Beta.Models.CertificateBasedAuthConfiguration(), "#microsoft.graph.certificateBasedAuthPki" => new global::Microsoft.Graph.Beta.Models.CertificateBasedAuthPki(), "#microsoft.graph.certificateConnectorDetails" => new global::Microsoft.Graph.Beta.Models.CertificateConnectorDetails(), - "#microsoft.graph.changeItemBase" => new global::Microsoft.Graph.Beta.Models.ChangeItemBase(), "#microsoft.graph.changeTrackedEntity" => new global::Microsoft.Graph.Beta.Models.ChangeTrackedEntity(), "#microsoft.graph.channel" => new global::Microsoft.Graph.Beta.Models.Channel(), "#microsoft.graph.chat" => new global::Microsoft.Graph.Beta.Models.Chat(), @@ -729,6 +727,7 @@ public Entity() "#microsoft.graph.embeddedSIMActivationCodePoolAssignment" => new global::Microsoft.Graph.Beta.Models.EmbeddedSIMActivationCodePoolAssignment(), "#microsoft.graph.embeddedSIMDeviceState" => new global::Microsoft.Graph.Beta.Models.EmbeddedSIMDeviceState(), "#microsoft.graph.emergencyCallEvent" => new global::Microsoft.Graph.Beta.Models.EmergencyCallEvent(), + "#microsoft.graph.employeeExperience" => new global::Microsoft.Graph.Beta.Models.EmployeeExperience(), "#microsoft.graph.employeeExperienceUser" => new global::Microsoft.Graph.Beta.Models.EmployeeExperienceUser(), "#microsoft.graph.encryptedAwsStorageBucketFinding" => new global::Microsoft.Graph.Beta.Models.EncryptedAwsStorageBucketFinding(), "#microsoft.graph.encryptedAzureStorageAccountFinding" => new global::Microsoft.Graph.Beta.Models.EncryptedAzureStorageAccountFinding(), @@ -738,6 +737,8 @@ public Entity() "#microsoft.graph.endUserNotification" => new global::Microsoft.Graph.Beta.Models.EndUserNotification(), "#microsoft.graph.endUserNotificationDetail" => new global::Microsoft.Graph.Beta.Models.EndUserNotificationDetail(), "#microsoft.graph.engagementAsyncOperation" => new global::Microsoft.Graph.Beta.Models.EngagementAsyncOperation(), + "#microsoft.graph.engagementRole" => new global::Microsoft.Graph.Beta.Models.EngagementRole(), + "#microsoft.graph.engagementRoleMember" => new global::Microsoft.Graph.Beta.Models.EngagementRoleMember(), "#microsoft.graph.enhancedPersonalizationSetting" => new global::Microsoft.Graph.Beta.Models.EnhancedPersonalizationSetting(), "#microsoft.graph.enrollmentConfigurationAssignment" => new global::Microsoft.Graph.Beta.Models.EnrollmentConfigurationAssignment(), "#microsoft.graph.enrollmentProfile" => new global::Microsoft.Graph.Beta.Models.EnrollmentProfile(), @@ -1476,6 +1477,7 @@ public Entity() "#microsoft.graph.readingAssignmentSubmission" => new global::Microsoft.Graph.Beta.Models.ReadingAssignmentSubmission(), "#microsoft.graph.recommendation" => new global::Microsoft.Graph.Beta.Models.Recommendation(), "#microsoft.graph.recommendationBase" => new global::Microsoft.Graph.Beta.Models.RecommendationBase(), + "#microsoft.graph.recommendationConfiguration" => new global::Microsoft.Graph.Beta.Models.RecommendationConfiguration(), "#microsoft.graph.recordOperation" => new global::Microsoft.Graph.Beta.Models.RecordOperation(), "#microsoft.graph.recycleBin" => new global::Microsoft.Graph.Beta.Models.RecycleBin(), "#microsoft.graph.recycleBinItem" => new global::Microsoft.Graph.Beta.Models.RecycleBinItem(), @@ -1506,7 +1508,6 @@ public Entity() "#microsoft.graph.riskyServicePrincipalHistoryItem" => new global::Microsoft.Graph.Beta.Models.RiskyServicePrincipalHistoryItem(), "#microsoft.graph.riskyUser" => new global::Microsoft.Graph.Beta.Models.RiskyUser(), "#microsoft.graph.riskyUserHistoryItem" => new global::Microsoft.Graph.Beta.Models.RiskyUserHistoryItem(), - "#microsoft.graph.roadmap" => new global::Microsoft.Graph.Beta.Models.Roadmap(), "#microsoft.graph.roleAssignment" => new global::Microsoft.Graph.Beta.Models.RoleAssignment(), "#microsoft.graph.roleDefinition" => new global::Microsoft.Graph.Beta.Models.RoleDefinition(), "#microsoft.graph.roleManagementAlert" => new global::Microsoft.Graph.Beta.Models.RoleManagementAlert(), diff --git a/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs b/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs index e014674b4efa..c707acecbacf 100644 --- a/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs +++ b/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs @@ -22,7 +22,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. + /// Extended Key Usage Name #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -38,7 +38,7 @@ public string Name set { BackingStore?.Set("name", value); } } #endif - /// The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. + /// Extended Key Usage Object Identifier #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ObjectIdentifier diff --git a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs index 85ff09166d8e..c89a6d4009ca 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs @@ -180,22 +180,6 @@ public string OdataType get { return BackingStore?.Get("@odata.type"); } set { BackingStore?.Set("@odata.type", value); } } -#endif - /// Represents entry point for Microsoft Entra product changes and planned new features. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ProductChanges - { - get { return BackingStore?.Get?>("productChanges"); } - set { BackingStore?.Set("productChanges", value); } - } -#nullable restore -#else - public List ProductChanges - { - get { return BackingStore?.Get>("productChanges"); } - set { BackingStore?.Set("productChanges", value); } - } #endif /// Represents entry point for identity userflow attributes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -265,7 +249,6 @@ public virtual IDictionary> GetFieldDeserializers() { "customAuthenticationExtensions", n => { CustomAuthenticationExtensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CustomAuthenticationExtension.CreateFromDiscriminatorValue)?.AsList(); } }, { "identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityProviderBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "productChanges", n => { ProductChanges = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "userFlowAttributes", n => { UserFlowAttributes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityUserFlowAttribute.CreateFromDiscriminatorValue)?.AsList(); } }, { "userFlows", n => { UserFlows = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityUserFlow.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -287,7 +270,6 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("customAuthenticationExtensions", CustomAuthenticationExtensions); writer.WriteCollectionOfObjectValues("identityProviders", IdentityProviders); writer.WriteStringValue("@odata.type", OdataType); - writer.WriteCollectionOfObjectValues("productChanges", ProductChanges); writer.WriteCollectionOfObjectValues("userFlowAttributes", UserFlowAttributes); writer.WriteCollectionOfObjectValues("userFlows", UserFlows); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs index 2b513be40e6f..e9016e01e014 100644 --- a/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IosLobAppProvisioningConfiguration : global::Microsoft.Graph.Beta.Models.Entity, IParsable { - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Assignments @@ -83,7 +83,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Optional profile expiration date and time. + /// Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. public DateTimeOffset? ExpirationDateTime { get { return BackingStore?.Get("expirationDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs index dd567b05e3bf..555d45a12a1c 100644 --- a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MacOsLobAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// Whether or not to uninstall the app when device is removed from Intune. + /// When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. public bool? UninstallOnDeviceRemoval { get { return BackingStore?.Get("uninstallOnDeviceRemoval"); } diff --git a/src/Microsoft.Graph/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.cs b/src/Microsoft.Graph/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.cs index fc110d4eb431..16e216a9e5dc 100644 --- a/src/Microsoft.Graph/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class MailboxRestoreArtifactsBulkAdditionRequest : global::Microsoft.Graph.Beta.Models.RestoreArtifactsBulkRequestBase, IParsable #pragma warning restore CS1591 { - /// The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + /// The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DirectoryObjectIds diff --git a/src/Microsoft.Graph/Generated/Models/OfferShiftRequest.cs b/src/Microsoft.Graph/Generated/Models/OfferShiftRequest.cs index fd7f8b9484c5..6166d6510e9b 100644 --- a/src/Microsoft.Graph/Generated/Models/OfferShiftRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/OfferShiftRequest.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class OfferShiftRequest : global::Microsoft.Graph.Beta.Models.ScheduleChangeRequest, IParsable #pragma warning restore CS1591 { - /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + /// The date and time when the recipient approved or declined the request. public DateTimeOffset? RecipientActionDateTime { get { return BackingStore?.Get("recipientActionDateTime"); } set { BackingStore?.Set("recipientActionDateTime", value); } } - /// Custom message sent by recipient of the offer shift request. + /// The message sent by the recipient regarding the request. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RecipientActionMessage @@ -34,7 +34,7 @@ public string RecipientActionMessage set { BackingStore?.Set("recipientActionMessage", value); } } #endif - /// User id of the recipient of the offer shift request. + /// The recipient's user ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RecipientUserId @@ -50,7 +50,7 @@ public string RecipientUserId set { BackingStore?.Set("recipientUserId", value); } } #endif - /// User id of the sender of the offer shift request. + /// The sender's shift ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SenderShiftId diff --git a/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs b/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs index c09c6173ea0e..387b6ac58613 100644 --- a/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs @@ -75,6 +75,22 @@ public partial class PeopleAdminSettings : global::Microsoft.Graph.Beta.Models.E get { return BackingStore?.Get>("profilePropertySettings"); } set { BackingStore?.Set("profilePropertySettings", value); } } +#endif + /// A collection of profile source settings configured by an administrator in an organization. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProfileSources + { + get { return BackingStore?.Get?>("profileSources"); } + set { BackingStore?.Set("profileSources", value); } + } +#nullable restore +#else + public List ProfileSources + { + get { return BackingStore?.Get>("profileSources"); } + set { BackingStore?.Set("profileSources", value); } + } #endif /// Administrator settings that manage the support of pronouns in an organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -114,6 +130,7 @@ public override IDictionary> GetFieldDeserializers() { "namePronunciation", n => { NamePronunciation = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.NamePronunciationSettings.CreateFromDiscriminatorValue); } }, { "profileCardProperties", n => { ProfileCardProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfileCardProperty.CreateFromDiscriminatorValue)?.AsList(); } }, { "profilePropertySettings", n => { ProfilePropertySettings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting.CreateFromDiscriminatorValue)?.AsList(); } }, + { "profileSources", n => { ProfileSources = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfileSource.CreateFromDiscriminatorValue)?.AsList(); } }, { "pronouns", n => { Pronouns = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PronounsSettings.CreateFromDiscriminatorValue); } }, }; } @@ -129,6 +146,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("namePronunciation", NamePronunciation); writer.WriteCollectionOfObjectValues("profileCardProperties", ProfileCardProperties); writer.WriteCollectionOfObjectValues("profilePropertySettings", ProfilePropertySettings); + writer.WriteCollectionOfObjectValues("profileSources", ProfileSources); writer.WriteObjectValue("pronouns", Pronouns); } } diff --git a/src/Microsoft.Graph/Generated/Models/PlannerContainerType.cs b/src/Microsoft.Graph/Generated/Models/PlannerContainerType.cs index 62b957708922..cd4c5174e87b 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerContainerType.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerContainerType.cs @@ -36,6 +36,10 @@ public enum PlannerContainerType #pragma warning disable CS1591 TeamsChannel, #pragma warning restore CS1591 + [EnumMember(Value = "onlineMeeting")] + #pragma warning disable CS1591 + OnlineMeeting, + #pragma warning restore CS1591 [EnumMember(Value = "plannerTask")] #pragma warning disable CS1591 PlannerTask, diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs index fda1f381a306..68e7ca51f505 100644 --- a/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs @@ -37,7 +37,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// A collection of content entries to be processed. Each entry contains the content itself and its metadata. Required. + /// A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ContentEntries @@ -85,7 +85,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The protectedAppMetadata property + /// Metadata about the protected application making the request. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.ProtectedApplicationMetadata? ProtectedAppMetadata diff --git a/src/Microsoft.Graph/Generated/Models/ProfileSource.cs b/src/Microsoft.Graph/Generated/Models/ProfileSource.cs index fd56c658ef3b..da0ae568c124 100644 --- a/src/Microsoft.Graph/Generated/Models/ProfileSource.cs +++ b/src/Microsoft.Graph/Generated/Models/ProfileSource.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ProfileSource : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The displayName property + /// Name of the profile source intended to inform users about the profile source name. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -28,7 +28,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The kind property + /// Type of the profile source. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Kind @@ -44,7 +44,23 @@ public string Kind set { BackingStore?.Set("kind", value); } } #endif - /// The sourceId property + /// Alternative localized labels specified by an administrator. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Localizations + { + get { return BackingStore?.Get?>("localizations"); } + set { BackingStore?.Set("localizations", value); } + } +#nullable restore +#else + public List Localizations + { + get { return BackingStore?.Get>("localizations"); } + set { BackingStore?.Set("localizations", value); } + } +#endif + /// Profile source identifier used as an alternate key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SourceId @@ -60,7 +76,7 @@ public string SourceId set { BackingStore?.Set("sourceId", value); } } #endif - /// The webUrl property + /// Web URL of the profile source that directs users to the page view of profile data. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? WebUrl @@ -96,6 +112,7 @@ public override IDictionary> GetFieldDeserializers() { { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "kind", n => { Kind = n.GetStringValue(); } }, + { "localizations", n => { Localizations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfileSourceLocalization.CreateFromDiscriminatorValue)?.AsList(); } }, { "sourceId", n => { SourceId = n.GetStringValue(); } }, { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; @@ -110,6 +127,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("kind", Kind); + writer.WriteCollectionOfObjectValues("localizations", Localizations); writer.WriteStringValue("sourceId", SourceId); writer.WriteStringValue("webUrl", WebUrl); } diff --git a/src/Microsoft.Graph/Generated/Models/ProfileSourceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ProfileSourceCollectionResponse.cs new file mode 100644 index 000000000000..66dcbb052d52 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProfileSourceCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProfileSourceCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ProfileSourceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ProfileSourceCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfileSource.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProfileSourceLocalization.cs b/src/Microsoft.Graph/Generated/Models/ProfileSourceLocalization.cs new file mode 100644 index 000000000000..2d371e02a2e9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProfileSourceLocalization.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProfileSourceLocalization : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Localized display name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Language locale. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } +#nullable restore +#else + public string LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Localized profile source URL. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProfileSourceLocalization() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ProfileSourceLocalization CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ProfileSourceLocalization(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "languageTag", n => { LanguageTag = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("languageTag", LanguageTag); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("webUrl", WebUrl); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs b/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs index e422cf42a81c..6e6827558104 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ProtectedApplicationMetadata : global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata, IParsable #pragma warning restore CS1591 { - /// For internal use only. Don't use. + /// The Entra client (application) ID. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PolicyLocation? ApplicationLocation diff --git a/src/Microsoft.Graph/Generated/Models/RecommendationConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RecommendationConfiguration.cs new file mode 100644 index 000000000000..d84eac12bfdb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RecommendationConfiguration.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RecommendationConfiguration : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Indicates whether notifications for recommendations are enabled. + public bool? IsNotificationEnabled + { + get { return BackingStore?.Get("isNotificationEnabled"); } + set { BackingStore?.Set("isNotificationEnabled", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.RecommendationConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RecommendationConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isNotificationEnabled", n => { IsNotificationEnabled = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isNotificationEnabled", IsNotificationEnabled); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Report.cs b/src/Microsoft.Graph/Generated/Models/Report.cs index 671ff1089cbf..e0e6ffe84f58 100644 --- a/src/Microsoft.Graph/Generated/Models/Report.cs +++ b/src/Microsoft.Graph/Generated/Models/Report.cs @@ -22,7 +22,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The http content that has the data + /// Report content; details vary by report type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public byte[]? Content diff --git a/src/Microsoft.Graph/Generated/Models/Roadmap.cs b/src/Microsoft.Graph/Generated/Models/Roadmap.cs deleted file mode 100644 index e9c46f898508..000000000000 --- a/src/Microsoft.Graph/Generated/Models/Roadmap.cs +++ /dev/null @@ -1,113 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class Roadmap : global::Microsoft.Graph.Beta.Models.ChangeItemBase, IParsable - #pragma warning restore CS1591 - { - /// Indicates the category with which this item is associated. Supports $filter (eq, ne, in) and $orderby. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Category - { - get { return BackingStore?.Get("category"); } - set { BackingStore?.Set("category", value); } - } -#nullable restore -#else - public string Category - { - get { return BackingStore?.Get("category"); } - set { BackingStore?.Set("category", value); } - } -#endif - /// The changeItemState property - public global::Microsoft.Graph.Beta.Models.ChangeItemState? ChangeItemState - { - get { return BackingStore?.Get("changeItemState"); } - set { BackingStore?.Set("changeItemState", value); } - } - /// The deliveryStage property - public global::Microsoft.Graph.Beta.Models.RoadmapItemDeliveryStage? DeliveryStage - { - get { return BackingStore?.Get("deliveryStage"); } - set { BackingStore?.Set("deliveryStage", value); } - } - /// Link to the feature page in the Microsoft Entra admin center. Supports $filter (eq, ne, in) and $orderby. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GotoLink - { - get { return BackingStore?.Get("gotoLink"); } - set { BackingStore?.Set("gotoLink", value); } - } -#nullable restore -#else - public string GotoLink - { - get { return BackingStore?.Get("gotoLink"); } - set { BackingStore?.Set("gotoLink", value); } - } -#endif - /// Feature planned release date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - public DateTimeOffset? PublishedDateTime - { - get { return BackingStore?.Get("publishedDateTime"); } - set { BackingStore?.Set("publishedDateTime", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public Roadmap() : base() - { - OdataType = "#microsoft.graph.roadmap"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.Models.Roadmap CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.Roadmap(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "category", n => { Category = n.GetStringValue(); } }, - { "changeItemState", n => { ChangeItemState = n.GetEnumValue(); } }, - { "deliveryStage", n => { DeliveryStage = n.GetEnumValue(); } }, - { "gotoLink", n => { GotoLink = n.GetStringValue(); } }, - { "publishedDateTime", n => { PublishedDateTime = n.GetDateTimeOffsetValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("category", Category); - writer.WriteEnumValue("changeItemState", ChangeItemState); - writer.WriteEnumValue("deliveryStage", DeliveryStage); - writer.WriteStringValue("gotoLink", GotoLink); - writer.WriteDateTimeOffsetValue("publishedDateTime", PublishedDateTime); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RoadmapItemDeliveryStage.cs b/src/Microsoft.Graph/Generated/Models/RoadmapItemDeliveryStage.cs deleted file mode 100644 index 64dd755323e4..000000000000 --- a/src/Microsoft.Graph/Generated/Models/RoadmapItemDeliveryStage.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Graph.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum RoadmapItemDeliveryStage - #pragma warning restore CS1591 - { - [EnumMember(Value = "privatePreview")] - #pragma warning disable CS1591 - PrivatePreview, - #pragma warning restore CS1591 - [EnumMember(Value = "publicPreview")] - #pragma warning disable CS1591 - PublicPreview, - #pragma warning restore CS1591 - [EnumMember(Value = "ga")] - #pragma warning disable CS1591 - Ga, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/src/Microsoft.Graph/Generated/Models/ScheduleChangeRequest.cs b/src/Microsoft.Graph/Generated/Models/ScheduleChangeRequest.cs index b538ddf5c5bc..70621e1e1e04 100644 --- a/src/Microsoft.Graph/Generated/Models/ScheduleChangeRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/ScheduleChangeRequest.cs @@ -12,19 +12,19 @@ namespace Microsoft.Graph.Beta.Models public partial class ScheduleChangeRequest : global::Microsoft.Graph.Beta.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { - /// The assignedTo property + /// Indicates who the request is assigned to. Possible values are: sender, recipient, manager, system, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.ScheduleChangeRequestActor? AssignedTo { get { return BackingStore?.Get("assignedTo"); } set { BackingStore?.Set("assignedTo", value); } } - /// The managerActionDateTime property + /// The date and time when the manager approved or declined the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? ManagerActionDateTime { get { return BackingStore?.Get("managerActionDateTime"); } set { BackingStore?.Set("managerActionDateTime", value); } } - /// The managerActionMessage property + /// The message sent by the manager regarding the scheduleChangeRequest. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ManagerActionMessage @@ -40,7 +40,7 @@ public string ManagerActionMessage set { BackingStore?.Set("managerActionMessage", value); } } #endif - /// The managerUserId property + /// The user ID of the manager who approved or declined the scheduleChangeRequest. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ManagerUserId @@ -56,13 +56,13 @@ public string ManagerUserId set { BackingStore?.Set("managerUserId", value); } } #endif - /// The senderDateTime property + /// The date and time when the sender sent the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? SenderDateTime { get { return BackingStore?.Get("senderDateTime"); } set { BackingStore?.Set("senderDateTime", value); } } - /// The senderMessage property + /// The message sent by the sender of the scheduleChangeRequest. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SenderMessage @@ -78,7 +78,7 @@ public string SenderMessage set { BackingStore?.Set("senderMessage", value); } } #endif - /// The senderUserId property + /// The user ID of the sender of the scheduleChangeRequest. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SenderUserId @@ -94,7 +94,7 @@ public string SenderUserId set { BackingStore?.Set("senderUserId", value); } } #endif - /// The state property + /// The state of the scheduleChangeRequest. Possible values are: pending, approved, declined, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.ScheduleChangeState? State { get { return BackingStore?.Get("state"); } diff --git a/src/Microsoft.Graph/Generated/Models/SearchRequest.cs b/src/Microsoft.Graph/Generated/Models/SearchRequest.cs index aba10a3edfb6..474c11873012 100644 --- a/src/Microsoft.Graph/Generated/Models/SearchRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/SearchRequest.cs @@ -69,7 +69,7 @@ public List AggregationFilters set { BackingStore?.Set("collapseProperties", value); } } #endif - /// Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional. + /// Contains the connection to be targeted. Respects the following format: /external/connections/connectionid where connectionid is the ConnectionId defined in the connectors administration. Note: contentSource is only applicable when entityType=externalItem. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ContentSources @@ -107,7 +107,7 @@ public bool? EnableTopResults set { BackingStore?.Set("entityTypes", value); } } #endif - /// Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. + /// Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft 365 Copilot connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax : label_title.Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Fields @@ -209,7 +209,7 @@ public string Region set { BackingStore?.Set("resultTemplateOptions", value); } } #endif - /// Indicates the kind of contents to be searched when a search is performed using application permissions. Optional. + /// Indicates the kind of content to be searched when a search is performed using application permissions. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.SharePointOneDriveOptions? SharePointOneDriveOptions @@ -263,7 +263,7 @@ public List StoredFields set { BackingStore?.Set("stored_fields", value); } } #endif - /// Indicates whether to trim away the duplicate SharePoint files from search results. Default value is false. Optional. + /// Indicates whether to trim away the duplicate SharePoint files from search results. The default value is false. Optional. public bool? TrimDuplicates { get { return BackingStore?.Get("trimDuplicates"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs index a4746e498639..50f4161e4e3e 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs @@ -136,7 +136,7 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The customDetails property + /// User defined custom fields with string values. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Security.Dictionary? CustomDetails @@ -168,7 +168,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. + /// Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. public global::Microsoft.Graph.Beta.Models.Security.DetectionSource? DetectionSource { get { return BackingStore?.Get("detectionSource"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmail.cs index 22efe92ce218..5ff1370c2bfc 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmail.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmail.cs @@ -76,7 +76,7 @@ public string BulkComplaintLevel set { BackingStore?.Set("bulkComplaintLevel", value); } } #endif - /// The clientType property + /// Shows the type of client that sent the message (for example, REST). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ClientType @@ -146,7 +146,7 @@ public string DistributionList set { BackingStore?.Set("distributionList", value); } } #endif - /// The dlpRules property + /// Data loss prevention rules configured in purview. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DlpRules @@ -194,7 +194,7 @@ public string EmailClusterId set { BackingStore?.Set("exchangeTransportRules", value); } } #endif - /// The forwardingDetail property + /// Email smtp forwarding details. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ForwardingDetail @@ -210,7 +210,7 @@ public string ForwardingDetail set { BackingStore?.Set("forwardingDetail", value); } } #endif - /// The inboundConnectorFormattedName property + /// Custom instructions name that defines organizational mail flow and how the email was routed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? InboundConnectorFormattedName @@ -376,7 +376,7 @@ public string PolicyAction set { BackingStore?.Set("policyAction", value); } } #endif - /// The policyType property + /// Type of policy configured that defines the delivery action on email. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyType @@ -392,7 +392,7 @@ public string PolicyType set { BackingStore?.Set("policyType", value); } } #endif - /// The primaryOverrideSource property + /// Shows the organization or user setting that altered the intended delivery location of the message (allowed instead of blocked, or blocked instead of allowed). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrimaryOverrideSource @@ -408,7 +408,7 @@ public string PrimaryOverrideSource set { BackingStore?.Set("primaryOverrideSource", value); } } #endif - /// The recipientDetail property + /// Details of the recipients. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Security.AnalyzedEmailRecipientDetail? RecipientDetail @@ -510,7 +510,7 @@ public string Subject set { BackingStore?.Set("subject", value); } } #endif - /// The threatDetectionDetails property + /// Information about threats detected in the email. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ThreatDetectionDetails @@ -542,7 +542,7 @@ public string Subject set { BackingStore?.Set("threatTypes", value); } } #endif - /// The timelineEvents property + /// Delivery and post-delivery events that happened to the email. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? TimelineEvents diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAttachment.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAttachment.cs index deaf91a914ea..cd87049fcade 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAttachment.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAttachment.cs @@ -37,7 +37,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("detonationDetails", value); } } #endif - /// The fileExtension property + /// Extension of the file. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? FileExtension @@ -69,7 +69,7 @@ public string FileName set { BackingStore?.Set("fileName", value); } } #endif - /// The fileSize property + /// Size of the file. public int? FileSize { get { return BackingStore?.Get("fileSize"); } @@ -91,7 +91,7 @@ public string FileType set { BackingStore?.Set("fileType", value); } } #endif - /// The malwareFamily property + /// The threat name associated with the threat type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? MalwareFamily @@ -139,7 +139,7 @@ public string Sha256 set { BackingStore?.Set("sha256", value); } } #endif - /// The tenantAllowBlockListDetailInfo property + /// Details of entries in tenant allow/block list configured by tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantAllowBlockListDetailInfo diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDeliveryDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDeliveryDetail.cs index 6b1f0f52f6ef..929482b690ce 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDeliveryDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDeliveryDetail.cs @@ -27,7 +27,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The latestThreats property + /// Latest known threat on the email. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? LatestThreats @@ -65,7 +65,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The originalThreats property + /// Threats identified at the time of delivery. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OriginalThreats diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.cs index bbf35001b74e..a6f9ba09c269 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The name property + /// Name of the the data loss prevention rule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The ruleId property + /// Unique identifier of the data loss prevention rule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RuleId diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailRecipientDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailRecipientDetail.cs index 1a8d6f9011b4..d7e72f58eaca 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailRecipientDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailRecipientDetail.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The ccRecipients property + /// Recipient address in the cc field. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CcRecipients @@ -37,7 +37,7 @@ public List CcRecipients set { BackingStore?.Set("ccRecipients", value); } } #endif - /// The domainName property + /// Domain name of the recipient. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DomainName diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailSenderDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailSenderDetail.cs index bd0d69147b86..33935fe5ff21 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailSenderDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailSenderDetail.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The displayName property + /// Display name of sender from address. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -37,13 +37,13 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The domainCreationDateTime property + /// Date and time of creation of the sender domain. public DateTimeOffset? DomainCreationDateTime { get { return BackingStore?.Get("domainCreationDateTime"); } set { BackingStore?.Set("domainCreationDateTime", value); } } - /// The domainName property + /// Registered name of the domain. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DomainName @@ -59,7 +59,7 @@ public string DomainName set { BackingStore?.Set("domainName", value); } } #endif - /// The domainOwner property + /// Owner of the domain. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DomainOwner @@ -107,7 +107,7 @@ public string Ipv4 set { BackingStore?.Set("ipv4", value); } } #endif - /// The location property + /// Location of the domain. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Location @@ -139,7 +139,7 @@ public string MailFromAddress set { BackingStore?.Set("mailFromAddress", value); } } #endif - /// The mailFromDomainName property + /// Domain name of sender mail from address. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? MailFromDomainName diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailUrl.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailUrl.cs index e1ebf19e5ae1..c387f3cec1d6 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailUrl.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailUrl.cs @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The tenantAllowBlockListDetailInfo property + /// Details of entries in tenant allow/block list configured by tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantAllowBlockListDetailInfo diff --git a/src/Microsoft.Graph/Generated/Models/Security/CompromiseIndicator.cs b/src/Microsoft.Graph/Generated/Models/Security/CompromiseIndicator.cs index d738e91ec20c..6ef59956e117 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/CompromiseIndicator.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/CompromiseIndicator.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The value property + /// Indicator. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Value @@ -53,7 +53,7 @@ public string Value set { BackingStore?.Set("value", value); } } #endif - /// The verdict property + /// .The possible values are: none, malware, phish, siteUnavailable, spam, decryptionFailed, unsupportedUriScheme, unsupportedFileType, undefined, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.Security.VerdictCategory? Verdict { get { return BackingStore?.Get("verdict"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetonationBehaviourDetails.cs b/src/Microsoft.Graph/Generated/Models/Security/DetonationBehaviourDetails.cs index 6c3278a47b3d..6f063a3dfd7f 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DetonationBehaviourDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DetonationBehaviourDetails.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models.Security public partial class DetonationBehaviourDetails : IAdditionalDataHolder, IBackedModel, IParsable #pragma warning restore CS1591 { - /// The actionStatus property + /// The status of the action performed during detonation (e.g., 'Successful', 'Failed', 'Blocked'). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ActionStatus @@ -37,7 +37,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The behaviourCapability property + /// Categorizes the capability or type of behavior observed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BehaviourCapability @@ -53,7 +53,7 @@ public string BehaviourCapability set { BackingStore?.Set("behaviourCapability", value); } } #endif - /// The behaviourGroup property + /// Groups related behaviors together for classification purposes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BehaviourGroup @@ -69,7 +69,7 @@ public string BehaviourGroup set { BackingStore?.Set("behaviourGroup", value); } } #endif - /// The details property + /// More contextual information about the observed behavior or action. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Details @@ -85,7 +85,7 @@ public string Details set { BackingStore?.Set("details", value); } } #endif - /// The eventDateTime property + /// The date and time when the behavior or action was observed during detonation. public DateTimeOffset? EventDateTime { get { return BackingStore?.Get("eventDateTime"); } @@ -107,7 +107,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The operation property + /// The specific operation or action that was performed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Operation @@ -123,7 +123,7 @@ public string Operation set { BackingStore?.Set("operation", value); } } #endif - /// The processId property + /// The unique identifier of the process involved in the behavior. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ProcessId @@ -139,7 +139,7 @@ public string ProcessId set { BackingStore?.Set("processId", value); } } #endif - /// The processName property + /// The name of the process that performed or was involved in the behavior. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ProcessName @@ -155,7 +155,7 @@ public string ProcessName set { BackingStore?.Set("processName", value); } } #endif - /// The target property + /// The target of the operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Target diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs b/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs index 603903d95266..aba5acbd3084 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs @@ -27,7 +27,7 @@ public DateTimeOffset? AnalysisDateTime } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The compromiseIndicators property + /// Represents indicators and its associated verdict that suggests whether an email is compromised. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CompromiseIndicators @@ -43,7 +43,7 @@ public DateTimeOffset? AnalysisDateTime set { BackingStore?.Set("compromiseIndicators", value); } } #endif - /// The detonationBehaviourDetails property + /// Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Security.DetonationBehaviourDetails? DetonationBehaviourDetails @@ -91,7 +91,7 @@ public DateTimeOffset? AnalysisDateTime set { BackingStore?.Set("detonationObservables", value); } } #endif - /// The detonationScreenshotUri property + /// Show any screenshots that were captured during detonation. No screenshots are captured if the URL opens into a link that directly downloads a file. However, you see the downloaded file in the detonation chain. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DetonationScreenshotUri diff --git a/src/Microsoft.Graph/Generated/Models/Security/ThreatDetectionDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/ThreatDetectionDetail.cs index 5576256e0a77..8401e5ac237f 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/ThreatDetectionDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/ThreatDetectionDetail.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The confidenceLevel property + /// Indicates the confidence level in the threat detection. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ConfidenceLevel @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The priorityAccountProtection property + /// Indicates if the account has priority protection enabled. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PriorityAccountProtection @@ -69,7 +69,7 @@ public string PriorityAccountProtection set { BackingStore?.Set("priorityAccountProtection", value); } } #endif - /// The threats property + /// Lists the detected threats. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Threats diff --git a/src/Microsoft.Graph/Generated/Models/Security/TimelineEvent.cs b/src/Microsoft.Graph/Generated/Models/Security/TimelineEvent.cs index 6987f426e76f..95738968e2ae 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/TimelineEvent.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/TimelineEvent.cs @@ -21,13 +21,13 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The eventDateTime property + /// The date and time when the event occurred. public DateTimeOffset? EventDateTime { get { return BackingStore?.Get("eventDateTime"); } set { BackingStore?.Set("eventDateTime", value); } } - /// The eventDetails property + /// Additional details or context about the event. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? EventDetails @@ -43,7 +43,7 @@ public string EventDetails set { BackingStore?.Set("eventDetails", value); } } #endif - /// The eventResult property + /// The outcome or result of the event, such as delivery location or action taken. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? EventResult @@ -59,13 +59,13 @@ public string EventResult set { BackingStore?.Set("eventResult", value); } } #endif - /// The eventSource property + /// The origin or actor that triggered the event. The possible values are: system, admin, user, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.Security.EventSource? EventSource { get { return BackingStore?.Get("eventSource"); } set { BackingStore?.Set("eventSource", value); } } - /// The eventThreats property + /// Collection of threats identified or associated with this event. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? EventThreats @@ -81,7 +81,7 @@ public List EventThreats set { BackingStore?.Set("eventThreats", value); } } #endif - /// The eventType property + /// The type of event that occurred. The possible values are: originalDelivery, systemTimeTravel, dynamicDelivery, userUrlClick, reprocessed, zap, quarantineRelease, air, unknown, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.Security.TimelineEventType? EventType { get { return BackingStore?.Get("eventType"); } diff --git a/src/Microsoft.Graph/Generated/Models/SignIn.cs b/src/Microsoft.Graph/Generated/Models/SignIn.cs index 2635bb02d593..d08fb7ff6313 100644 --- a/src/Microsoft.Graph/Generated/Models/SignIn.cs +++ b/src/Microsoft.Graph/Generated/Models/SignIn.cs @@ -907,7 +907,7 @@ public string TokenIssuerName set { BackingStore?.Set("tokenProtectionStatusDetails", value); } } #endif - /// A unique base64 encoded request identifier used to track tokens issued by Microsoft Entra ID as they're redeemed at resource providers. + /// A unique base64-encoded request identifier used to track tokens issued by Microsoft Entra ID as they're redeemed at resource providers. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UniqueTokenIdentifier diff --git a/src/Microsoft.Graph/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.cs b/src/Microsoft.Graph/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.cs index baf9a2464156..3f7db21ed9db 100644 --- a/src/Microsoft.Graph/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class SiteRestoreArtifactsBulkAdditionRequest : global::Microsoft.Graph.Beta.Models.RestoreArtifactsBulkRequestBase, IParsable #pragma warning restore CS1591 { - /// The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + /// The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SiteIds diff --git a/src/Microsoft.Graph/Generated/Models/SwapShiftsChangeRequest.cs b/src/Microsoft.Graph/Generated/Models/SwapShiftsChangeRequest.cs index c1f8cab11d3a..f8e167ee0e9d 100644 --- a/src/Microsoft.Graph/Generated/Models/SwapShiftsChangeRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/SwapShiftsChangeRequest.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class SwapShiftsChangeRequest : global::Microsoft.Graph.Beta.Models.OfferShiftRequest, IParsable #pragma warning restore CS1591 { - /// Shift ID for the recipient user with whom the request is to swap. + /// The recipient's Shift ID #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RecipientShiftId diff --git a/src/Microsoft.Graph/Generated/Models/ChangeItemState.cs b/src/Microsoft.Graph/Generated/Models/TeamworkInteractionType.cs similarity index 68% rename from src/Microsoft.Graph/Generated/Models/ChangeItemState.cs rename to src/Microsoft.Graph/Generated/Models/TeamworkInteractionType.cs index 06f711ef185d..cc55bb41a7da 100644 --- a/src/Microsoft.Graph/Generated/Models/ChangeItemState.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamworkInteractionType.cs @@ -5,16 +5,12 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public enum ChangeItemState + public enum TeamworkInteractionType #pragma warning restore CS1591 { - [EnumMember(Value = "available")] + [EnumMember(Value = "createChat")] #pragma warning disable CS1591 - Available, - #pragma warning restore CS1591 - [EnumMember(Value = "comingSoon")] - #pragma warning disable CS1591 - ComingSoon, + CreateChat, #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 diff --git a/src/Microsoft.Graph/Generated/Models/TeamworkUserIdentity.cs b/src/Microsoft.Graph/Generated/Models/TeamworkUserIdentity.cs index d38009e0b38f..ab0973d7b77a 100644 --- a/src/Microsoft.Graph/Generated/Models/TeamworkUserIdentity.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamworkUserIdentity.cs @@ -18,6 +18,22 @@ public partial class TeamworkUserIdentity : global::Microsoft.Graph.Beta.Models. get { return BackingStore?.Get("userIdentityType"); } set { BackingStore?.Set("userIdentityType", value); } } + /// User principal name (UPN) of the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#nullable restore +#else + public string UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -44,6 +60,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "userIdentityType", n => { UserIdentityType = n.GetEnumValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// @@ -55,6 +72,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteEnumValue("userIdentityType", UserIdentityType); + writer.WriteStringValue("userPrincipalName", UserPrincipalName); } } } diff --git a/src/Microsoft.Graph/Generated/Models/TimeOffRequest.cs b/src/Microsoft.Graph/Generated/Models/TimeOffRequest.cs index 5d43175a7b76..c2014e267247 100644 --- a/src/Microsoft.Graph/Generated/Models/TimeOffRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/TimeOffRequest.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class TimeOffRequest : global::Microsoft.Graph.Beta.Models.ScheduleChangeRequest, IParsable #pragma warning restore CS1591 { - /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + /// The date and time the time off ends in ISO 8601 format and in UTC time. public DateTimeOffset? EndDateTime { get { return BackingStore?.Get("endDateTime"); } set { BackingStore?.Set("endDateTime", value); } } - /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + /// The date and time the time off starts in ISO 8601 format and in UTC time. public DateTimeOffset? StartDateTime { get { return BackingStore?.Get("startDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs b/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs index 553a99d50268..2c70cedc1465 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs @@ -51,7 +51,7 @@ public int? ComputerNameSuffixRandomCharCount get { return BackingStore?.Get("computerNameSuffixRandomCharCount"); } set { BackingStore?.Set("computerNameSuffixRandomCharCount", value); } } - /// Reference to device configurations required for network connectivity + /// Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? NetworkAccessConfigurations diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs index 66edc6980bb4..8cc1dab1237a 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsUniversalAppXAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// Whether or not to use device execution context for Windows Universal AppX mobile app. + /// If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } diff --git a/src/Microsoft.Graph/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilder.cs index d21d54faec74..39ab0494f9d8 100644 --- a/src/Microsoft.Graph/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilder.cs @@ -54,7 +54,8 @@ public SummaryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Summary of all usage insights on apps registered in the tenant for a specified period. + /// Get a list of monthly insightSummary objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,7 @@ public SummaryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.InsightSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Summary of all usage insights on apps registered in the tenant for a specified period. + /// Get a list of monthly insightSummary objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -105,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Summary of all usage insights on apps registered in the tenant for a specified period. + /// Get a list of monthly insightSummary objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SummaryRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs index fabc71343544..e74b3c0eadd5 100644 --- a/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs @@ -48,8 +48,8 @@ public RiskDetectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Retrieve the properties of a riskDetection object. - /// Find more info here + /// Retrieve the properties of a collection of riskDetection objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -97,7 +97,7 @@ public RiskDetectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of a riskDetection object. + /// Retrieve the properties of a collection of riskDetection objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +147,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.RiskDetections.RiskDetectionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties of a riskDetection object. + /// Retrieve the properties of a collection of riskDetection objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskDetectionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.cs b/src/Microsoft.Graph/Generated/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.cs new file mode 100644 index 000000000000..ddeb939ff9d4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfirmSafePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The userIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UserIds + { + get { return BackingStore?.Get?>("userIds"); } + set { BackingStore?.Set("userIds", value); } + } +#nullable restore +#else + public List UserIds + { + get { return BackingStore?.Get>("userIds"); } + set { BackingStore?.Set("userIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ConfirmSafePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "userIds", n => { UserIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("userIds", UserIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.cs new file mode 100644 index 000000000000..5e7076e9f51e --- /dev/null +++ b/src/Microsoft.Graph/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe +{ + /// + /// Provides operations to call the confirmSafe method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmSafeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmSafeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/riskyUsers/confirmSafe", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmSafeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/riskyUsers/confirmSafe", rawUrl) + { + } + /// + /// Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmSafeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RiskyUsers/RiskyUsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/RiskyUsers/RiskyUsersRequestBuilder.cs index 38f8f0841a37..540403a2f47a 100644 --- a/src/Microsoft.Graph/Generated/RiskyUsers/RiskyUsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RiskyUsers/RiskyUsersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised; +using Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe; using Microsoft.Graph.Beta.RiskyUsers.Count; using Microsoft.Graph.Beta.RiskyUsers.Dismiss; using Microsoft.Graph.Beta.RiskyUsers.Item; @@ -27,6 +28,11 @@ public partial class RiskyUsersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.ConfirmCompromisedRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the confirmSafe method. + public global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder ConfirmSafe + { + get => new global::Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.RiskyUsers.Count.CountRequestBuilder Count { diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs index 623cd558c3c0..66a97ef0ef91 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -56,8 +56,8 @@ public RoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. - /// Find more info here + /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public RoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentMultiple.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -161,7 +161,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleAssignments.RoleAssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RoleAssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs index 2ac15b318344..5718782d0b17 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs @@ -59,8 +59,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update a customClaimsPolicy object. - /// Find more info here + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Find more info here /// /// A /// The request body @@ -85,8 +85,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update a customClaimsPolicy object. - /// Find more info here + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Find more info here /// /// A /// The request body @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a customClaimsPolicy object. + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. /// /// A /// The request body @@ -152,7 +152,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return requestInfo; } /// - /// Update a customClaimsPolicy object. + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 025d02f908ed..e5cd16dccf8a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Return the metadata for a list. - /// Find more info here + /// Get the list of richLongRunningOperations associated with a list. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -184,7 +184,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Return the metadata for a list. + /// Get the list of richLongRunningOperations associated with a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -242,7 +242,7 @@ public partial class ListItemRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Return the metadata for a list. + /// Get the list of richLongRunningOperations associated with a list. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ListItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index 92dac91f6517..d0e588dfc9d5 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -78,8 +78,8 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. - /// Find more info here + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SitesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs new file mode 100644 index 000000000000..babc340cc591 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfirmForUserPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The userId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ConfirmForUserPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "userId", n => { UserId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("userId", UserId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs new file mode 100644 index 000000000000..2337123629be --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser +{ + /// + /// Provides operations to call the confirmForUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmForUserRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeCards/{timeCard%2Did}/confirmForUser", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeCards/{timeCard%2Did}/confirmForUser", rawUrl) + { + } + /// + /// Invoke action confirmForUser + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action confirmForUser + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmForUserRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs index 2e72628ee630..aa45b6527790 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ClockOut; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.StartBreak; using Microsoft.Kiota.Abstractions.Extensions; @@ -32,6 +33,11 @@ public partial class TimeCardItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the confirmForUser method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder ConfirmForUser + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the endBreak method. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs new file mode 100644 index 000000000000..157d5b8f0930 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfirmForUserPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The userId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ConfirmForUserPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "userId", n => { UserId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("userId", UserId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs new file mode 100644 index 000000000000..cab06ba5b9c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser +{ + /// + /// Provides operations to call the confirmForUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmForUserRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirmForUser", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirmForUser", rawUrl) + { + } + /// + /// Invoke action confirmForUser + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action confirmForUser + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmForUserRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs index 4acc25ef4d74..661013aff366 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ClockOut; using Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser; using Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.EndBreak; using Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.StartBreak; using Microsoft.Kiota.Abstractions.Extensions; @@ -32,6 +33,11 @@ public partial class TimeCardItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the confirmForUser method. + public global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder ConfirmForUser + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the endBreak method. public global::Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs index 19679f1e003a..e788a6a16204 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs @@ -78,7 +78,8 @@ public TimeOffRequestsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to timeOffRequests for teams + /// Create instance of a timeoffrequest object. + /// Find more info here /// /// A /// The request body @@ -122,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to timeOffRequests for teams + /// Create instance of a timeoffrequest object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostRequestBody.cs new file mode 100644 index 000000000000..f24166848f5e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DetermineIfInteractionIsAllowedPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The interactionType property + public global::Microsoft.Graph.Beta.Models.TeamworkInteractionType? InteractionType + { + get { return BackingStore?.Get("interactionType"); } + set { BackingStore?.Set("interactionType", value); } + } + /// The users property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Users + { + get { return BackingStore?.Get?>("users"); } + set { BackingStore?.Set("users", value); } + } +#nullable restore +#else + public List Users + { + get { return BackingStore?.Get>("users"); } + set { BackingStore?.Set("users", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DetermineIfInteractionIsAllowedPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "interactionType", n => { InteractionType = n.GetEnumValue(); } }, + { "users", n => { Users = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Identity.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("interactionType", InteractionType); + writer.WriteCollectionOfObjectValues("users", Users); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostResponse.cs new file mode 100644 index 000000000000..d78e1eccb091 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostResponse.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DetermineIfInteractionIsAllowedPostResponse : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The value property + public bool? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public DetermineIfInteractionIsAllowedPostResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "value", n => { Value = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("value", Value); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilder.cs new file mode 100644 index 000000000000..793396b79cf6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed +{ + /// + /// Provides operations to call the determineIfInteractionIsAllowed method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DetermineIfInteractionIsAllowedRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DetermineIfInteractionIsAllowedRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/determineIfInteractionIsAllowed", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DetermineIfInteractionIsAllowedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/determineIfInteractionIsAllowed", rawUrl) + { + } + /// + /// Determine if a specified Microsoft Teams interaction is allowed between the signed-in user and specified users. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsDetermineIfInteractionIsAllowedPostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsDetermineIfInteractionIsAllowedPostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Determine if a specified Microsoft Teams interaction is allowed between the signed-in user and specified users. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsDetermineIfInteractionIsAllowedPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Determine if a specified Microsoft Teams interaction is allowed between the signed-in user and specified users. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedResponse.cs new file mode 100644 index 000000000000..a59931e7ca1f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed +{ + [Obsolete("This class is obsolete. Use DetermineIfInteractionIsAllowedPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DetermineIfInteractionIsAllowedResponse : global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs new file mode 100644 index 000000000000..2156fb70d9a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfirmForUserPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The userId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ConfirmForUserPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "userId", n => { UserId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("userId", UserId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs new file mode 100644 index 000000000000..5830904dbd37 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser +{ + /// + /// Provides operations to call the confirmForUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmForUserRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeCards/{timeCard%2Did}/confirmForUser", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeCards/{timeCard%2Did}/confirmForUser", rawUrl) + { + } + /// + /// Invoke action confirmForUser + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action confirmForUser + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmForUserRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs index 413417bef5bd..68595b944188 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ClockOut; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.StartBreak; using Microsoft.Kiota.Abstractions.Extensions; @@ -32,6 +33,11 @@ public partial class TimeCardItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the confirmForUser method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder ConfirmForUser + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the endBreak method. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs index e8691f5a364e..ec05f67e2122 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs @@ -54,8 +54,8 @@ public TeamTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List the teamTemplateDefinition objects associated with a teamTemplate. - /// Find more info here + /// Get the list of teamTemplate objects that are available for a tenant. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public TeamTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List the teamTemplateDefinition objects associated with a teamTemplate. + /// Get the list of teamTemplate objects that are available for a tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.TeamTemplatesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List the teamTemplateDefinition objects associated with a teamTemplate. + /// Get the list of teamTemplate objects that are available for a tenant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamTemplatesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamworkRequestBuilder.cs index 3d4dd0da60b0..10891eff4a8d 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamworkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamworkRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Teamwork.DeletedChats; using Microsoft.Graph.Beta.Teamwork.DeletedTeams; +using Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed; using Microsoft.Graph.Beta.Teamwork.Devices; using Microsoft.Graph.Beta.Teamwork.SendActivityNotificationToRecipients; using Microsoft.Graph.Beta.Teamwork.TeamTemplates; @@ -35,6 +36,11 @@ public partial class TeamworkRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.DeletedTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the determineIfInteractionIsAllowed method. + public global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder DetermineIfInteractionIsAllowed + { + get => new global::Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the devices property of the microsoft.graph.teamwork entity. public global::Microsoft.Graph.Beta.Teamwork.Devices.DevicesRequestBuilder Devices { diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs index 490d893b408f..377f98a9d322 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs @@ -71,8 +71,8 @@ public MultiTenantOrganizationRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MultiTenantOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a multi-tenant organization. - /// Find more info here + /// Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + /// Find more info here /// /// A /// The request body @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a multi-tenant organization. + /// Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs index 444855fd65cf..5c8572914e83 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Count; +using Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta; using Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Item; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -25,6 +26,11 @@ public partial class CalendarsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. /// The unique identifier of calendar /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs new file mode 100644 index 000000000000..6ecf4813b28a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Calendar.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs new file mode 100644 index 000000000000..f29a1a9fdbdb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs new file mode 100644 index 000000000000..da7574d06672 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/CalendarsRequestBuilder.cs index b354d59bd17b..40f5d5ae97c8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/CalendarsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/CalendarsRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.Calendars.Count; +using Microsoft.Graph.Beta.Users.Item.Calendars.Delta; using Microsoft.Graph.Beta.Users.Item.Calendars.Item; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -25,6 +26,11 @@ public partial class CalendarsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Calendars.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the calendars property of the microsoft.graph.user entity. /// The unique identifier of calendar /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaGetResponse.cs new file mode 100644 index 000000000000..ffebf53078f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Calendars.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Calendar.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.cs new file mode 100644 index 000000000000..15292c60d95e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Calendars.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaResponse.cs new file mode 100644 index 000000000000..ab53d21421ac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Calendars.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs new file mode 100644 index 000000000000..e159f47eafb7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles +{ + /// + /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedRolesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + /// The unique identifier of engagementRole + /// A + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("engagementRole%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedRolesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedRolesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of all the roles assigned to a user in Viva Engage. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to assignedRoles for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of all the roles assigned to a user in Viva Engage. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to assignedRoles for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of all the roles assigned to a user in Viva Engage. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedRolesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedRolesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedRolesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..3bd597f3adc5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs similarity index 66% rename from src/Microsoft.Graph/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs index 598f1a5f432b..61aec1b7355c 100644 --- a/src/Microsoft.Graph/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -10,37 +11,41 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Identity.ProductChanges.Item +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item { /// - /// Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. + /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChangeItemBaseItemRequestBuilder : BaseRequestBuilder + public partial class EngagementRoleItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder Members + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); + } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public ChangeItemBaseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges/{changeItemBase%2Did}{?%24expand,%24select}", pathParameters) + public EngagementRoleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public ChangeItemBaseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges/{changeItemBase%2Did}{?%24expand,%24select}", rawUrl) + public EngagementRoleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}", rawUrl) { } /// - /// Delete navigation property productChanges for identity + /// Delete navigation property assignedRoles for users /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -58,20 +63,19 @@ public async Task DeleteAsync(Action - /// Represents entry point for Microsoft Entra product changes and planned new features. + /// Represents the collection of Viva Engage roles assigned to a user. /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -79,24 +83,23 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property productChanges in identity + /// Update the navigation property assignedRoles in users /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -105,14 +108,13 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property productChanges for identity + /// Delete navigation property assignedRoles for users /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -127,18 +129,17 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents entry point for Microsoft Entra product changes and planned new features. + /// Represents the collection of Viva Engage roles assigned to a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -147,19 +148,18 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property productChanges in identity + /// Update the navigation property assignedRoles in users /// /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action>? requestConfiguration = default) + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action> requestConfiguration = default) + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRole body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -172,26 +172,25 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - [Obsolete("What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15")] - public global::Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder(rawUrl, RequestAdapter); } /// /// Configuration for the request such as headers, query parameters, and middleware options. /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + public partial class EngagementRoleItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration { } /// - /// Represents entry point for Microsoft Entra product changes and planned new features. + /// Represents the collection of Viva Engage roles assigned to a user. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChangeItemBaseItemRequestBuilderGetQueryParameters + public partial class EngagementRoleItemRequestBuilderGetQueryParameters { /// Expand related entities #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -219,7 +218,7 @@ public partial class ChangeItemBaseItemRequestBuilderGetQueryParameters /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChangeItemBaseItemRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class EngagementRoleItemRequestBuilderGetRequestConfiguration : RequestConfiguration { } /// @@ -227,7 +226,7 @@ public partial class ChangeItemBaseItemRequestBuilderGetRequestConfiguration : R /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ChangeItemBaseItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + public partial class EngagementRoleItemRequestBuilderPatchRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..31637ff96b60 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs new file mode 100644 index 000000000000..0f0f0c53405b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs @@ -0,0 +1,234 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder User + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EngagementRoleMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EngagementRoleMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property members for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property members in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property members for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property members in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Users who have been assigned this role. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 000000000000..6bf285be78ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \users\{user-id}\employeeExperience\assignedRoles\{engagementRole-id}\members\{engagementRoleMember-id}\user\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..55603c46748b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 000000000000..5b0eecca028c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \users\{user-id}\employeeExperience\assignedRoles\{engagementRole-id}\members\{engagementRoleMember-id}\user\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs new file mode 100644 index 000000000000..474e0697767e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User +{ + /// + /// Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", rawUrl) + { + } + /// + /// User entity of the member who has been assigned the role. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// User entity of the member who has been assigned the role. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// User entity of the member who has been assigned the role. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs new file mode 100644 index 000000000000..dd3d440ffb46 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + /// The unique identifier of engagementRoleMember + /// A + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("engagementRoleMember%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to members for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Users who have been assigned this role. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to members for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EngagementRoleMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Users who have been assigned this role. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index 6b3df6ec002e..d490badcc653 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles; using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivities; using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId; using Microsoft.Kiota.Abstractions.Extensions; @@ -20,6 +21,11 @@ namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class EmployeeExperienceRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder AssignedRoles + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder LearningCourseActivities { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index fea6fb26a72a..c02690b83a7d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -87,8 +87,8 @@ public async Task DeleteAsync(Action - /// Get a user's presence information. - /// Find more info here + /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -154,7 +154,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a user's presence information. + /// Set a presence status message for a user. An optional expiration date and time can be supplied. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -212,7 +212,7 @@ public partial class PresenceRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get a user's presence information. + /// Set a presence status message for a user. An optional expiration date and time can be supplied. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PresenceRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index fb6e3da4a50e..c2eaa79baf10 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -1337,6 +1337,8 @@ Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|namePronunciatio Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PeopleAdminSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PeopleAdminSettings Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|profileCardProperties:global.Microsoft.Graph.Beta.Admin.People.ProfileCardProperties.ProfileCardPropertiesRequestBuilder Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|profilePropertySettings:global.Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder +Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|profileSources:global.Microsoft.Graph.Beta.Admin.People.ProfileSources.ProfileSourcesRequestBuilder +Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|profileSourcesWithSourceId(sourceId:string):global.Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|pronouns:global.Microsoft.Graph.Beta.Admin.People.Pronouns.PronounsRequestBuilder Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -1430,6 +1432,65 @@ Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySetting Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ProfilePropertySetting; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfileSource +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ProfileSource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfileSource +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ProfileSource; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::[ProfileSourceId:string]:global.Microsoft.Graph.Beta.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.People.ProfileSources.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfileSourceCollectionResponse +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ProfileSource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfileSource +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ProfileSource; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfileSources.ProfileSourcesRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; sourceId?:string):void +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfileSource +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ProfileSource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfileSource +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ProfileSource; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder Microsoft.Graph.Beta.Admin.People.Pronouns.pronounsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.People.Pronouns.pronounsRequestBuilder.pronounsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.People.Pronouns.pronounsRequestBuilder.pronounsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -51019,6 +51080,7 @@ Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|outboun Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DirectoryObject1; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject1 Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|pendingExternalUserProfiles:global.Microsoft.Graph.Beta.DirectoryNamespace.PendingExternalUserProfiles.PendingExternalUserProfilesRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|publicKeyInfrastructure:global.Microsoft.Graph.Beta.DirectoryNamespace.PublicKeyInfrastructure.PublicKeyInfrastructureRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|recommendationConfiguration:global.Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.RecommendationConfigurationRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|recommendations:global.Microsoft.Graph.Beta.DirectoryNamespace.Recommendations.RecommendationsRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|sharedEmailDomains:global.Microsoft.Graph.Beta.DirectoryNamespace.SharedEmailDomains.SharedEmailDomainsRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|subscriptions:global.Microsoft.Graph.Beta.DirectoryNamespace.Subscriptions.SubscriptionsRequestBuilder @@ -51710,6 +51772,21 @@ Microsoft.Graph.Beta.DirectoryNamespace.PublicKeyInfrastructure.publicKeyInfrast Microsoft.Graph.Beta.DirectoryNamespace.PublicKeyInfrastructure.publicKeyInfrastructureRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.PublicKeyInfrastructure.publicKeyInfrastructureRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PublicKeyInfrastructureRoot; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.PublicKeyInfrastructure.publicKeyInfrastructureRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.PublicKeyInfrastructure.PublicKeyInfrastructureRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder.recommendationConfigurationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder.recommendationConfigurationRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder.recommendationConfigurationRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder.recommendationConfigurationRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder.recommendationConfigurationRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecommendationConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.RecommendationConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecommendationConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.RecommendationConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.recommendationConfigurationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.RecommendationConfiguration.RecommendationConfigurationRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.Recommendations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.Recommendations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.DirectoryNamespace.Recommendations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -78970,6 +79047,7 @@ Microsoft.Graph.Beta.EmployeeExperience.employeeExperienceRequestBuilder::|publi Microsoft.Graph.Beta.EmployeeExperience.employeeExperienceRequestBuilder::|public|learningCourseActivitiesWithExternalcourseActivityId(externalcourseActivityId:string):global.Microsoft.Graph.Beta.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder Microsoft.Graph.Beta.EmployeeExperience.employeeExperienceRequestBuilder::|public|learningProviders:global.Microsoft.Graph.Beta.EmployeeExperience.LearningProviders.LearningProvidersRequestBuilder Microsoft.Graph.Beta.EmployeeExperience.employeeExperienceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EmployeeExperience; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EmployeeExperience +Microsoft.Graph.Beta.EmployeeExperience.employeeExperienceRequestBuilder::|public|roles:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.RolesRequestBuilder Microsoft.Graph.Beta.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EmployeeExperience; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.EmployeeExperience.employeeExperienceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.EmployeeExperienceRequestBuilder @@ -79316,6 +79394,144 @@ Microsoft.Graph.Beta.EmployeeExperience.LearningProviders.learningProvidersReque Microsoft.Graph.Beta.EmployeeExperience.LearningProviders.learningProvidersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.EmployeeExperience.LearningProviders.learningProvidersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.LearningProvider; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.EmployeeExperience.LearningProviders.learningProvidersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.LearningProviders.LearningProvidersRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|members:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.MembersRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|user:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.UserRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.userRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.User.UserRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::[EngagementRoleMemberId:string]:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.MembersRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder.rolesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::[EngagementRoleId:string]:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.EmployeeExperience.Roles.Count.CountRequestBuilder +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.EmployeeExperience.Roles.rolesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.EmployeeExperience.Roles.RolesRequestBuilder Microsoft.Graph.Beta.External.AuthorizationSystems.authorizationSystemsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.External.AuthorizationSystems.authorizationSystemsRequestBuilder.authorizationSystemsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.External.AuthorizationSystems.authorizationSystemsRequestBuilder.authorizationSystemsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -108833,6 +109049,21 @@ Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmReq Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TimeCard Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|UserId:string +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder.confirmForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TimeCard +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AtApprovedLocation:bool? Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore @@ -108875,6 +109106,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemReques Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirmForUser:global.Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -112096,56 +112328,11 @@ Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|customAuthenticati Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityContainer Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|identityProviders:global.Microsoft.Graph.Beta.Identity.IdentityProviders.IdentityProvidersRequestBuilder Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.IdentityContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityContainer -Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|productChanges:global.Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.IdentityContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|userFlowAttributes:global.Microsoft.Graph.Beta.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|userFlows:global.Microsoft.Graph.Beta.Identity.UserFlows.UserFlowsRequestBuilder Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.IdentityRequestBuilder -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChangeItemBase -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChangeItemBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChangeItemBase -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChangeItemBase; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::[ChangeItemBaseId:string]:global.Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChangeItemBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChangeItemBase -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChangeItemBase; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder Microsoft.Graph.Beta.Identity.UserFlowAttributes.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Identity.UserFlowAttributes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Identity.UserFlowAttributes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -126566,6 +126753,21 @@ Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.confirmCom Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.ConfirmCompromisedPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.ConfirmCompromisedPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.ConfirmCompromisedRequestBuilder +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|UserIds:List +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder.confirmSafeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -126663,6 +126865,7 @@ Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.riskyUsersRequestBuilder.risk Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.riskyUsersRequestBuilder.riskyUsersRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.riskyUsersRequestBuilder::[RiskyUserId:string]:global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Item.RiskyUserItemRequestBuilder Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.riskyUsersRequestBuilder::|public|confirmCompromised:global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmCompromised.ConfirmCompromisedRequestBuilder +Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.riskyUsersRequestBuilder::|public|confirmSafe:global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.riskyUsersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.riskyUsersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.riskyUsersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.Count.CountRequestBuilder @@ -132260,6 +132463,7 @@ Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::[ Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CalendarCollectionResponse Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Calendar Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -132274,6 +132478,29 @@ Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder: Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaResponse-->global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -135364,6 +135591,7 @@ Microsoft.Graph.Beta.Me.Calendars.calendarsRequestBuilder::[CalendarId:string]:g Microsoft.Graph.Beta.Me.Calendars.calendarsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Calendars.calendarsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Calendars.calendarsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Calendars.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Calendars.calendarsRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaRequestBuilder Microsoft.Graph.Beta.Me.Calendars.calendarsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CalendarCollectionResponse Microsoft.Graph.Beta.Me.Calendars.calendarsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Calendar Microsoft.Graph.Beta.Me.Calendars.calendarsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -135378,6 +135606,29 @@ Microsoft.Graph.Beta.Me.Calendars.Count.CountRequestBuilder::|public|constructor Microsoft.Graph.Beta.Me.Calendars.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Me.Calendars.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Calendars.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Calendars.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaResponse +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaResponse-->global.Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.Calendars.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaResponse Microsoft.Graph.Beta.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Me.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -143892,12 +144143,151 @@ Microsoft.Graph.Beta.Me.Drives.Item.DriveItemRequestBuilder::|public|constructor Microsoft.Graph.Beta.Me.Drives.Item.DriveItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Drive Microsoft.Graph.Beta.Me.Drives.Item.DriveItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Drives.Item.DriveItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Drives.Item.DriveItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::[EngagementRoleId:string]:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|user:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::[EngagementRoleMemberId:string]:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|assignedRoles:global.Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -162891,17 +163281,6 @@ Microsoft.Graph.Beta.Models.androidWorkProfileWiFiConfiguration::|public|Seriali Microsoft.Graph.Beta.Models.androidWorkProfileWiFiConfiguration::|public|Ssid:string Microsoft.Graph.Beta.Models.androidWorkProfileWiFiConfiguration::|public|WiFiSecurityType:global.Microsoft.Graph.Beta.Models.AndroidWiFiSecurityType? Microsoft.Graph.Beta.Models.androidWorkProfileWiFiConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AndroidWorkProfileWiFiConfiguration -Microsoft.Graph.Beta.Models.announcement-->global.Microsoft.Graph.Beta.Models.ChangeItemBase -Microsoft.Graph.Beta.Models.announcement::|public|AnnouncementDateTime:DateTimeOffset? -Microsoft.Graph.Beta.Models.announcement::|public|ChangeType:global.Microsoft.Graph.Beta.Models.ChangeAnnouncementChangeType? -Microsoft.Graph.Beta.Models.announcement::|public|constructor():void -Microsoft.Graph.Beta.Models.announcement::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.announcement::|public|ImpactLink:string -Microsoft.Graph.Beta.Models.announcement::|public|IsCustomerActionRequired:bool? -Microsoft.Graph.Beta.Models.announcement::|public|OdataType:string -Microsoft.Graph.Beta.Models.announcement::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.announcement::|public|TargetDateTime:DateTimeOffset? -Microsoft.Graph.Beta.Models.announcement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Announcement Microsoft.Graph.Beta.Models.anonymousGuestConversationMember-->global.Microsoft.Graph.Beta.Models.ConversationMember Microsoft.Graph.Beta.Models.anonymousGuestConversationMember::|public|AnonymousGuestId:string Microsoft.Graph.Beta.Models.anonymousGuestConversationMember::|public|constructor():void @@ -168190,41 +168569,12 @@ Microsoft.Graph.Beta.Models.challengingWord::|public|Serialize(writer:ISerializa Microsoft.Graph.Beta.Models.challengingWord::|public|Word:string Microsoft.Graph.Beta.Models.challengingWord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChallengingWord Microsoft.Graph.Beta.Models.challengingWord~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0000-breakingChange -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0001-deprecation -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0002-endOfSupport -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0003-featureChange -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0004-other -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0005-retirement -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0006-securityIncident -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0007-uxChange -Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0008-unknownFutureValue Microsoft.Graph.Beta.Models.changeAssignmentsActionResult-->global.Microsoft.Graph.Beta.Models.DeviceActionResult Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|public|DeviceAssignmentItems:List Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|public|OdataType:string Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChangeAssignmentsActionResult -Microsoft.Graph.Beta.Models.changeItemBase-->global.Microsoft.Graph.Beta.Models.Entity -Microsoft.Graph.Beta.Models.changeItemBase::|public|ChangeItemService:string -Microsoft.Graph.Beta.Models.changeItemBase::|public|Description:string -Microsoft.Graph.Beta.Models.changeItemBase::|public|DocumentationUrls:List -Microsoft.Graph.Beta.Models.changeItemBase::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.changeItemBase::|public|OdataType:string -Microsoft.Graph.Beta.Models.changeItemBase::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.changeItemBase::|public|ShortDescription:string -Microsoft.Graph.Beta.Models.changeItemBase::|public|SystemTags:List -Microsoft.Graph.Beta.Models.changeItemBase::|public|Tags:List -Microsoft.Graph.Beta.Models.changeItemBase::|public|Title:string -Microsoft.Graph.Beta.Models.changeItemBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChangeItemBase -Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse::|public|Value:List -Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse -Microsoft.Graph.Beta.Models.changeItemState::0000-available -Microsoft.Graph.Beta.Models.changeItemState::0001-comingSoon -Microsoft.Graph.Beta.Models.changeItemState::0002-unknownFutureValue Microsoft.Graph.Beta.Models.changeTrackedEntity-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.changeTrackedEntity::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.changeTrackedEntity::|public|CreatedDateTime:DateTimeOffset? @@ -169850,27 +170200,28 @@ Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::004 Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0045-resourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0046-resourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0047-resourceAvailabilityCheckDeploymentQuotaLimitReached -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0048-resourceAvailabilityCheckTransientServiceError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0049-resourceAvailabilityCheckUnknownError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0050-permissionCheckNoSubscriptionReaderRole -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0051-permissionCheckNoResourceGroupOwnerRole -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0052-permissionCheckNoVNetContributorRole -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0053-permissionCheckNoResourceGroupNetworkContributorRole -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0054-permissionCheckNoWindows365NetworkUserRole -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0055-permissionCheckNoWindows365NetworkInterfaceContributorRole -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0056-permissionCheckTransientServiceError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0057-permissionCheckUnknownError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0058-udpConnectivityCheckStunUrlNotAllowListed -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0059-udpConnectivityCheckTurnUrlNotAllowListed -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0060-udpConnectivityCheckUrlsNotAllowListed -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0061-udpConnectivityCheckUnknownError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0062-internalServerErrorDeploymentCanceled -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0063-internalServerErrorAllocateResourceFailed -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0064-internalServerErrorVMDeploymentTimeout -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0065-internalServerErrorUnableToRunDscScript -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0066-ssoCheckKerberosConfigurationError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0067-internalServerUnknownError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0068-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0048-resourceAvailabilityCheckMissingRegistrationForLocation +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0049-resourceAvailabilityCheckTransientServiceError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0050-resourceAvailabilityCheckUnknownError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0051-permissionCheckNoSubscriptionReaderRole +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0052-permissionCheckNoResourceGroupOwnerRole +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0053-permissionCheckNoVNetContributorRole +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0054-permissionCheckNoResourceGroupNetworkContributorRole +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0055-permissionCheckNoWindows365NetworkUserRole +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0056-permissionCheckNoWindows365NetworkInterfaceContributorRole +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0057-permissionCheckTransientServiceError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0058-permissionCheckUnknownError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0059-udpConnectivityCheckStunUrlNotAllowListed +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0060-udpConnectivityCheckTurnUrlNotAllowListed +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0061-udpConnectivityCheckUrlsNotAllowListed +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0062-udpConnectivityCheckUnknownError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0063-internalServerErrorDeploymentCanceled +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0064-internalServerErrorAllocateResourceFailed +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0065-internalServerErrorVMDeploymentTimeout +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0066-internalServerErrorUnableToRunDscScript +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0067-ssoCheckKerberosConfigurationError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0068-internalServerUnknownError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0069-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheck~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionStatus::0000-pending Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionStatus::0001-running @@ -169958,14 +170309,50 @@ Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionStatus::0002-failed Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionStatus::0003-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|CronScheduleExpression:string +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|EndDateTime:string Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|NextRunDateTime:string Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|OdataType:string Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|ReservePercentage:int? Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|StartDateTime:string +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|Timezone:global.Microsoft.Graph.Beta.Models.CloudPcPolicyTimezone? Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail Microsoft.Graph.Beta.Models.cloudPcPolicySettingType::0000-region Microsoft.Graph.Beta.Models.cloudPcPolicySettingType::0001-singleSignOn Microsoft.Graph.Beta.Models.cloudPcPolicySettingType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0000-gmt +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0001-bit +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0002-nut +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0003-hst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0004-mit +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0005-akst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0006-pst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0007-mst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0008-east +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0009-est +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0010-ast +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0011-nst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0012-art +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0013-gst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0014-azot +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0015-cet +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0016-cat +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0017-eat +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0018-get +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0019-pkt +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0020-ist +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0021-bst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0022-tha +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0023-cst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0024-jst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0025-acst +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0026-pgt +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0027-sbt +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0028-fjt +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0029-tot +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0030-lint +Microsoft.Graph.Beta.Models.cloudPcPolicyTimezone::0031-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcPowerState::0000-running Microsoft.Graph.Beta.Models.cloudPcPowerState::0001-poweredOff Microsoft.Graph.Beta.Models.cloudPcPowerState::0002-unknownFutureValue @@ -177998,6 +178385,7 @@ Microsoft.Graph.Beta.Models.directoryObject1::|public|OnPremisesSynchronization: Microsoft.Graph.Beta.Models.directoryObject1::|public|OutboundSharedUserProfiles:List Microsoft.Graph.Beta.Models.directoryObject1::|public|PendingExternalUserProfiles:List Microsoft.Graph.Beta.Models.directoryObject1::|public|PublicKeyInfrastructure:global.Microsoft.Graph.Beta.Models.PublicKeyInfrastructureRoot +Microsoft.Graph.Beta.Models.directoryObject1::|public|RecommendationConfiguration:global.Microsoft.Graph.Beta.Models.RecommendationConfiguration Microsoft.Graph.Beta.Models.directoryObject1::|public|Recommendations:List Microsoft.Graph.Beta.Models.directoryObject1::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.directoryObject1::|public|SharedEmailDomains:List @@ -179344,6 +179732,7 @@ Microsoft.Graph.Beta.Models.educationAssignment::|public|Grading:global.Microsof Microsoft.Graph.Beta.Models.educationAssignment::|public|GradingCategory:global.Microsoft.Graph.Beta.Models.EducationGradingCategory Microsoft.Graph.Beta.Models.educationAssignment::|public|GradingScheme:global.Microsoft.Graph.Beta.Models.EducationGradingScheme Microsoft.Graph.Beta.Models.educationAssignment::|public|Instructions:global.Microsoft.Graph.Beta.Models.EducationItemBody +Microsoft.Graph.Beta.Models.educationAssignment::|public|LanguageTag:string Microsoft.Graph.Beta.Models.educationAssignment::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.educationAssignment::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.educationAssignment::|public|ModuleUrl:string @@ -179411,6 +179800,7 @@ Microsoft.Graph.Beta.Models.educationAssignmentIndividualRecipient::|static|publ Microsoft.Graph.Beta.Models.educationAssignmentPointsGrade-->global.Microsoft.Graph.Beta.Models.EducationAssignmentGrade Microsoft.Graph.Beta.Models.educationAssignmentPointsGrade::|public|constructor():void Microsoft.Graph.Beta.Models.educationAssignmentPointsGrade::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.educationAssignmentPointsGrade::|public|Grade:string Microsoft.Graph.Beta.Models.educationAssignmentPointsGrade::|public|OdataType:string Microsoft.Graph.Beta.Models.educationAssignmentPointsGrade::|public|Points:float? Microsoft.Graph.Beta.Models.educationAssignmentPointsGrade::|public|Serialize(writer:ISerializationWriter):void @@ -179654,6 +180044,7 @@ Microsoft.Graph.Beta.Models.educationModule::|public|Description:string Microsoft.Graph.Beta.Models.educationModule::|public|DisplayName:string Microsoft.Graph.Beta.Models.educationModule::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.educationModule::|public|IsPinned:bool? +Microsoft.Graph.Beta.Models.educationModule::|public|LanguageTag:string Microsoft.Graph.Beta.Models.educationModule::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.educationModule::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.educationModule::|public|OdataType:string @@ -180286,25 +180677,24 @@ Microsoft.Graph.Beta.Models.employeeCollectionResponse::|public|GetFieldDeserial Microsoft.Graph.Beta.Models.employeeCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.employeeCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.employeeCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EmployeeCollectionResponse -Microsoft.Graph.Beta.Models.employeeExperience::|public|AdditionalData:IDictionary -Microsoft.Graph.Beta.Models.employeeExperience::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.employeeExperience-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.employeeExperience::|public|Communities:List -Microsoft.Graph.Beta.Models.employeeExperience::|public|constructor():void Microsoft.Graph.Beta.Models.employeeExperience::|public|EngagementAsyncOperations:List Microsoft.Graph.Beta.Models.employeeExperience::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.employeeExperience::|public|Goals:global.Microsoft.Graph.Beta.Models.Goals Microsoft.Graph.Beta.Models.employeeExperience::|public|LearningCourseActivities:List Microsoft.Graph.Beta.Models.employeeExperience::|public|LearningProviders:List Microsoft.Graph.Beta.Models.employeeExperience::|public|OdataType:string +Microsoft.Graph.Beta.Models.employeeExperience::|public|Roles:List Microsoft.Graph.Beta.Models.employeeExperience::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.employeeExperience::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EmployeeExperience Microsoft.Graph.Beta.Models.employeeExperienceUser-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|AssignedRoles:List Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|LearningCourseActivities:List Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|OdataType:string Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.employeeExperienceUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EmployeeExperienceUser -Microsoft.Graph.Beta.Models.employeeExperience~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.employeeOrgData::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.employeeOrgData::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.employeeOrgData::|public|constructor():void @@ -180530,6 +180920,31 @@ Microsoft.Graph.Beta.Models.engagementAsyncOperationCollectionResponse::|public| Microsoft.Graph.Beta.Models.engagementAsyncOperationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EngagementAsyncOperationCollectionResponse Microsoft.Graph.Beta.Models.engagementAsyncOperationType::0000-createCommunity Microsoft.Graph.Beta.Models.engagementAsyncOperationType::0001-unknownFutureValue +Microsoft.Graph.Beta.Models.engagementRole-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.engagementRole::|public|DisplayName:string +Microsoft.Graph.Beta.Models.engagementRole::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.engagementRole::|public|Members:List +Microsoft.Graph.Beta.Models.engagementRole::|public|OdataType:string +Microsoft.Graph.Beta.Models.engagementRole::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.engagementRole::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.Models.engagementRoleCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.engagementRoleCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.engagementRoleCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.engagementRoleCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.engagementRoleCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse +Microsoft.Graph.Beta.Models.engagementRoleMember-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.engagementRoleMember::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.engagementRoleMember::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.engagementRoleMember::|public|OdataType:string +Microsoft.Graph.Beta.Models.engagementRoleMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.engagementRoleMember::|public|User:global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.Models.engagementRoleMember::|public|UserId:string +Microsoft.Graph.Beta.Models.engagementRoleMember::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.Models.engagementRoleMemberCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.engagementRoleMemberCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.engagementRoleMemberCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.engagementRoleMemberCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.engagementRoleMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse Microsoft.Graph.Beta.Models.engagementUploadSession-->global.Microsoft.Graph.Beta.Models.UploadSession Microsoft.Graph.Beta.Models.engagementUploadSession::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.engagementUploadSession::|public|Id:string @@ -183970,7 +184385,6 @@ Microsoft.Graph.Beta.Models.identityContainer::|public|CustomAuthenticationExten Microsoft.Graph.Beta.Models.identityContainer::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.identityContainer::|public|IdentityProviders:List Microsoft.Graph.Beta.Models.identityContainer::|public|OdataType:string -Microsoft.Graph.Beta.Models.identityContainer::|public|ProductChanges:List Microsoft.Graph.Beta.Models.identityContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.identityContainer::|public|UserFlowAttributes:List Microsoft.Graph.Beta.Models.identityContainer::|public|UserFlows:List @@ -197947,6 +198361,7 @@ Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|NamePronunciation:globa Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|OdataType:string Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|ProfileCardProperties:List Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|ProfilePropertySettings:List +Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|ProfileSources:List Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|Pronouns:global.Microsoft.Graph.Beta.Models.PronounsSettings Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.peopleAdminSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PeopleAdminSettings @@ -198764,7 +199179,8 @@ Microsoft.Graph.Beta.Models.plannerContainerType::0003-project Microsoft.Graph.Beta.Models.plannerContainerType::0004-driveItem Microsoft.Graph.Beta.Models.plannerContainerType::0005-user Microsoft.Graph.Beta.Models.plannerContainerType::0006-teamsChannel -Microsoft.Graph.Beta.Models.plannerContainerType::0007-plannerTask +Microsoft.Graph.Beta.Models.plannerContainerType::0007-onlineMeeting +Microsoft.Graph.Beta.Models.plannerContainerType::0008-plannerTask Microsoft.Graph.Beta.Models.plannerCreationSourceKind::0000-none Microsoft.Graph.Beta.Models.plannerCreationSourceKind::0001-external Microsoft.Graph.Beta.Models.plannerCreationSourceKind::0002-publication @@ -201860,6 +202276,7 @@ Microsoft.Graph.Beta.Models.profileSource-->global.Microsoft.Graph.Beta.Models.E Microsoft.Graph.Beta.Models.profileSource::|public|DisplayName:string Microsoft.Graph.Beta.Models.profileSource::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.profileSource::|public|Kind:string +Microsoft.Graph.Beta.Models.profileSource::|public|Localizations:List Microsoft.Graph.Beta.Models.profileSource::|public|OdataType:string Microsoft.Graph.Beta.Models.profileSource::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.profileSource::|public|SourceId:string @@ -201876,6 +202293,22 @@ Microsoft.Graph.Beta.Models.profileSourceAnnotation::|public|Serialize(writer:IS Microsoft.Graph.Beta.Models.profileSourceAnnotation::|public|SourceId:string Microsoft.Graph.Beta.Models.profileSourceAnnotation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProfileSourceAnnotation Microsoft.Graph.Beta.Models.profileSourceAnnotation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.profileSourceCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.profileSourceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.profileSourceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.profileSourceCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.profileSourceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProfileSourceCollectionResponse +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|constructor():void +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|DisplayName:string +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|LanguageTag:string +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|OdataType:string +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.profileSourceLocalization::|public|WebUrl:string +Microsoft.Graph.Beta.Models.profileSourceLocalization::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProfileSourceLocalization +Microsoft.Graph.Beta.Models.profileSourceLocalization~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.program-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.program::|public|Controls:List Microsoft.Graph.Beta.Models.program::|public|Description:string @@ -202855,6 +203288,12 @@ Microsoft.Graph.Beta.Models.recommendationCollectionResponse::|public|GetFieldDe Microsoft.Graph.Beta.Models.recommendationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.recommendationCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.recommendationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RecommendationCollectionResponse +Microsoft.Graph.Beta.Models.recommendationConfiguration-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.recommendationConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.recommendationConfiguration::|public|IsNotificationEnabled:bool? +Microsoft.Graph.Beta.Models.recommendationConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.recommendationConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.recommendationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RecommendationConfiguration Microsoft.Graph.Beta.Models.recommendationFeatureAreas::0000-users Microsoft.Graph.Beta.Models.recommendationFeatureAreas::0001-groups Microsoft.Graph.Beta.Models.recommendationFeatureAreas::0002-devices @@ -204348,21 +204787,6 @@ Microsoft.Graph.Beta.Models.riskyUserHistoryItemCollectionResponse::|public|GetF Microsoft.Graph.Beta.Models.riskyUserHistoryItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.riskyUserHistoryItemCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.riskyUserHistoryItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RiskyUserHistoryItemCollectionResponse -Microsoft.Graph.Beta.Models.roadmap-->global.Microsoft.Graph.Beta.Models.ChangeItemBase -Microsoft.Graph.Beta.Models.roadmap::|public|Category:string -Microsoft.Graph.Beta.Models.roadmap::|public|ChangeItemState:global.Microsoft.Graph.Beta.Models.ChangeItemState? -Microsoft.Graph.Beta.Models.roadmap::|public|constructor():void -Microsoft.Graph.Beta.Models.roadmap::|public|DeliveryStage:global.Microsoft.Graph.Beta.Models.RoadmapItemDeliveryStage? -Microsoft.Graph.Beta.Models.roadmap::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.roadmap::|public|GotoLink:string -Microsoft.Graph.Beta.Models.roadmap::|public|OdataType:string -Microsoft.Graph.Beta.Models.roadmap::|public|PublishedDateTime:DateTimeOffset? -Microsoft.Graph.Beta.Models.roadmap::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.roadmap::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Roadmap -Microsoft.Graph.Beta.Models.roadmapItemDeliveryStage::0000-privatePreview -Microsoft.Graph.Beta.Models.roadmapItemDeliveryStage::0001-publicPreview -Microsoft.Graph.Beta.Models.roadmapItemDeliveryStage::0002-ga -Microsoft.Graph.Beta.Models.roadmapItemDeliveryStage::0003-unknownFutureValue Microsoft.Graph.Beta.Models.roleAssignment-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.roleAssignment::|public|Description:string Microsoft.Graph.Beta.Models.roleAssignment::|public|DisplayName:string @@ -216152,6 +216576,8 @@ Microsoft.Graph.Beta.Models.teamworkHostedContent::|public|GetFieldDeserializers Microsoft.Graph.Beta.Models.teamworkHostedContent::|public|OdataType:string Microsoft.Graph.Beta.Models.teamworkHostedContent::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.teamworkHostedContent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TeamworkHostedContent +Microsoft.Graph.Beta.Models.teamworkInteractionType::0000-createChat +Microsoft.Graph.Beta.Models.teamworkInteractionType::0001-unknownFutureValue Microsoft.Graph.Beta.Models.teamworkLoginStatus::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.teamworkLoginStatus::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.teamworkLoginStatus::|public|constructor():void @@ -216382,6 +216808,7 @@ Microsoft.Graph.Beta.Models.teamworkUserIdentity::|public|GetFieldDeserializers( Microsoft.Graph.Beta.Models.teamworkUserIdentity::|public|OdataType:string Microsoft.Graph.Beta.Models.teamworkUserIdentity::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.teamworkUserIdentity::|public|UserIdentityType:global.Microsoft.Graph.Beta.Models.TeamworkUserIdentityType? +Microsoft.Graph.Beta.Models.teamworkUserIdentity::|public|UserPrincipalName:string Microsoft.Graph.Beta.Models.teamworkUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TeamworkUserIdentity Microsoft.Graph.Beta.Models.teamworkUserIdentityType::0000-aadUser Microsoft.Graph.Beta.Models.teamworkUserIdentityType::0001-onPremiseAadUser @@ -241605,6 +242032,21 @@ Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.confirmCompromisedRequestBuil Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.ConfirmCompromisedPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.ConfirmCompromisedPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.ConfirmCompromisedRequestBuilder +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|public|UserIds:List +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder.confirmSafeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.confirmSafeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder Microsoft.Graph.Beta.RiskyUsers.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RiskyUsers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.RiskyUsers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -241702,6 +242144,7 @@ Microsoft.Graph.Beta.RiskyUsers.riskyUsersRequestBuilder.riskyUsersRequestBuilde Microsoft.Graph.Beta.RiskyUsers.riskyUsersRequestBuilder.riskyUsersRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RiskyUsers.riskyUsersRequestBuilder::[RiskyUserId:string]:global.Microsoft.Graph.Beta.RiskyUsers.Item.RiskyUserItemRequestBuilder Microsoft.Graph.Beta.RiskyUsers.riskyUsersRequestBuilder::|public|confirmCompromised:global.Microsoft.Graph.Beta.RiskyUsers.ConfirmCompromised.ConfirmCompromisedRequestBuilder +Microsoft.Graph.Beta.RiskyUsers.riskyUsersRequestBuilder::|public|confirmSafe:global.Microsoft.Graph.Beta.RiskyUsers.ConfirmSafe.ConfirmSafeRequestBuilder Microsoft.Graph.Beta.RiskyUsers.riskyUsersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.RiskyUsers.riskyUsersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.RiskyUsers.riskyUsersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.RiskyUsers.Count.CountRequestBuilder @@ -277033,6 +277476,21 @@ Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBu Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TimeCard Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|UserId:string +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder.confirmForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TimeCard +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AtApprovedLocation:bool? Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore @@ -277075,6 +277533,7 @@ Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuild Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirmForUser:global.Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -281311,6 +281770,21 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCar Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TimeCard Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|UserId:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder.confirmForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TimeCard +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AtApprovedLocation:bool? Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore @@ -281353,6 +281827,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCar Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirmForUser:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -283327,6 +283802,33 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.DeletedTeamItemRequestBuilder::| Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.DeletedTeamItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.DeletedTeamItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DeletedTeam; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.DeletedTeamItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.DeletedTeamItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|InteractionType:global.Microsoft.Graph.Beta.Models.TeamworkInteractionType? +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|Users:List +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|Value:bool? +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostResponse +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilder.determineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilder::|public|PostAsDetermineIfInteractionIsAllowedPostResponseAsync(body:global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostResponse +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedResponse +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedResponse-->global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedPostResponse +Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.determineIfInteractionIsAllowedResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedResponse Microsoft.Graph.Beta.Teamwork.Devices.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.Devices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Teamwork.Devices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -287394,6 +287896,21 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TimeCard Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|public|UserId:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder.confirmForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TimeCard +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.confirmForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AtApprovedLocation:bool? Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore @@ -287436,6 +287953,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirmForUser:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.ConfirmForUser.ConfirmForUserRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -287833,6 +288351,7 @@ Microsoft.Graph.Beta.Teamwork.teamworkRequestBuilder::|public|constructor(pathPa Microsoft.Graph.Beta.Teamwork.teamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teamwork.teamworkRequestBuilder::|public|deletedChats:global.Microsoft.Graph.Beta.Teamwork.DeletedChats.DeletedChatsRequestBuilder Microsoft.Graph.Beta.Teamwork.teamworkRequestBuilder::|public|deletedTeams:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.DeletedTeamsRequestBuilder +Microsoft.Graph.Beta.Teamwork.teamworkRequestBuilder::|public|determineIfInteractionIsAllowed:global.Microsoft.Graph.Beta.Teamwork.DetermineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder Microsoft.Graph.Beta.Teamwork.teamworkRequestBuilder::|public|devices:global.Microsoft.Graph.Beta.Teamwork.Devices.DevicesRequestBuilder Microsoft.Graph.Beta.Teamwork.teamworkRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Teamwork Microsoft.Graph.Beta.Teamwork.teamworkRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Teamwork; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Teamwork @@ -297957,6 +298476,7 @@ Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.calendarsRequestBu Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CalendarCollectionResponse Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Calendar Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.calendarsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -297971,6 +298491,29 @@ Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Count.CountRequest Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaResponse +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaResponse-->global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaResponse Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -301061,6 +301604,7 @@ Microsoft.Graph.Beta.Users.Item.Calendars.calendarsRequestBuilder::[CalendarId:s Microsoft.Graph.Beta.Users.Item.Calendars.calendarsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Calendars.calendarsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Calendars.calendarsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Calendars.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Calendars.calendarsRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaRequestBuilder Microsoft.Graph.Beta.Users.Item.Calendars.calendarsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CalendarCollectionResponse Microsoft.Graph.Beta.Users.Item.Calendars.calendarsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Calendar; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Calendar Microsoft.Graph.Beta.Users.Item.Calendars.calendarsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -301075,6 +301619,29 @@ Microsoft.Graph.Beta.Users.Item.Calendars.Count.CountRequestBuilder::|public|con Microsoft.Graph.Beta.Users.Item.Calendars.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Users.Item.Calendars.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Calendars.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Calendars.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaResponse +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaResponse-->global.Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.Calendars.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaResponse Microsoft.Graph.Beta.Users.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Users.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Users.Item.Calendars.Item.AllowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -309587,12 +310154,151 @@ Microsoft.Graph.Beta.Users.Item.Drives.Item.DriveItemRequestBuilder::|public|con Microsoft.Graph.Beta.Users.Item.Drives.Item.DriveItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Drive Microsoft.Graph.Beta.Users.Item.Drives.Item.DriveItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Drives.Item.DriveItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Drives.Item.DriveItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder.assignedRolesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::[EngagementRoleId:string]:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleCollectionResponse +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.assignedRolesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRole +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRole; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.EngagementRoleItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|user:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder.userRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.userRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.User.UserRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::[EngagementRoleMemberId:string]:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Item.EngagementRoleMemberItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EngagementRoleMember +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.EngagementRoleMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.Item.Members.MembersRequestBuilder Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder.employeeExperienceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|assignedRoles:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles.AssignedRolesRequestBuilder Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index e0f4c1ee3cab..240ff7a07173 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "FEF89BF48F124FE416878DA170A3D71C29A6293C5C344106B60D0C3E704CA4C4D69EEE323E8909BF9D4EE529317D010590DDD21F2D7272C2A0ED07E2C8609C75", + "descriptionHash": "A0D8C64ECA1AD6FAD05801E1D1891D991FA26D34D364FF9D1674B4BAD2E7FDE530A941C57F0267D1D622FBDA72519FA587698E0421C9E3A44E2993ACFDD536C7", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.27.0",