diff --git a/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index a277d43a2fb..7e73c9f78c6 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 8e6ff8b40f4..ed06bfdb498 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 4824f280115..17b1930b884 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Retrieve a conversationMember from a chat or channel. - /// Find more info here + /// Retrieve a conversationMember from a chat. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a conversationMember from a chat or channel. + /// Retrieve a conversationMember from a chat. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class ConversationMemberItemRequestBuilderDeleteRequestConfigurat { } /// - /// Retrieve a conversationMember from a chat or channel. + /// Retrieve a conversationMember from a chat. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConversationMemberItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs index 0901966f00a..3d5892ddfcd 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs @@ -72,7 +72,7 @@ public OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// Find more info here /// /// A @@ -121,7 +121,7 @@ public OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -171,7 +171,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Communications.OnlineMeetings.OnlineMeetingsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OnlineMeetingsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 45e999ab817..925244d8143 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 5ea52329380..80748f6a0b3 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index f093ec44078..7bddaa58a12 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 577a6168b0c..27c34e3c82a 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index 82af7a6ec3b..2d6f30af037 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs @@ -126,7 +126,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Read properties and relationships of the deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -150,7 +150,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Update the properties of a deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 1d709a789d2..a1928e3edba 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -63,8 +63,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsInformationProtection object. - /// Find more info here + /// Read properties and relationships of the managedAppPolicy object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsInformationProtection object. + /// Read properties and relationships of the managedAppPolicy object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -189,7 +189,7 @@ public partial class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read properties and relationships of the windowsInformationProtection object. + /// Read properties and relationships of the managedAppPolicy object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppPolicyItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs index 6e7d0ae8cd1..f8c1e3db894 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the managedAppPolicy objects. - /// Find more info here + /// List properties and relationships of the windowsInformationProtection objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppPolicy objects. + /// List properties and relationships of the windowsInformationProtection objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppPolicies.ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppPolicy objects. + /// List properties and relationships of the windowsInformationProtection objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppPoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index c878d34d973..3ca3fc016b7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -75,8 +75,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppRegistration object. - /// Find more info here + /// Read properties and relationships of the iosManagedAppRegistration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -143,7 +143,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppRegistration object. + /// Read properties and relationships of the iosManagedAppRegistration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -201,7 +201,7 @@ public partial class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the managedAppRegistration object. + /// Read properties and relationships of the iosManagedAppRegistration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppRegistrationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index ddc4c6e32de..a22129d7dd6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -60,8 +60,8 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// List properties and relationships of the iosManagedAppRegistration objects. - /// Find more info here + /// List properties and relationships of the androidManagedAppRegistration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosManagedAppRegistration objects. + /// List properties and relationships of the androidManagedAppRegistration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosManagedAppRegistration objects. + /// List properties and relationships of the androidManagedAppRegistration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppRegistrationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs index f16e11a0cdf..1a06c8e97f0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs @@ -54,8 +54,8 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// List properties and relationships of the managedEBookAssignment objects. - /// Find more info here + /// List properties and relationships of the iosVppEBookAssignment objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedEBookAssignment objects. + /// List properties and relationships of the iosVppEBookAssignment objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedEBooks.Item.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedEBookAssignment objects. + /// List properties and relationships of the iosVppEBookAssignment objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs index 5d92308132f..8fc1e4fd855 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs @@ -35,8 +35,8 @@ public ManagedEBookAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Deletes a managedEBookAssignment. - /// Find more info here + /// Deletes a iosVppEBookAssignment. + /// 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(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a iosVppEBookAssignment object. - /// Find more info here + /// Update the properties of a managedEBookAssignment object. + /// Find more info here /// /// A /// The request body @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a managedEBookAssignment. + /// Deletes a iosVppEBookAssignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a iosVppEBookAssignment object. + /// Update the properties of a managedEBookAssignment object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs index e1062f6f1d2..82bb6bccc65 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -163,7 +163,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -221,7 +221,7 @@ public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderDelete { } /// - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs index 1f4919cc9c4..53aee67f7b0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs @@ -149,8 +149,8 @@ public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Deletes a microsoftStoreForBusinessApp. - /// Find more info here + /// Deletes a androidStoreApp. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -172,8 +172,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsMicrosoftEdgeApp object. - /// Find more info here + /// Read properties and relationships of the webApp object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -196,8 +196,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windowsMicrosoftEdgeApp object. - /// Find more info here + /// Update the properties of a iosLobApp object. + /// Find more info here /// /// A /// The request body @@ -222,7 +222,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a microsoftStoreForBusinessApp. + /// Deletes a androidStoreApp. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +241,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsMicrosoftEdgeApp object. + /// Read properties and relationships of the webApp object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +260,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsMicrosoftEdgeApp object. + /// Update the properties of a iosLobApp object. /// /// A /// The request body @@ -299,7 +299,7 @@ public partial class MobileAppItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Read properties and relationships of the windowsMicrosoftEdgeApp object. + /// Read properties and relationships of the webApp object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs index bfb72fbfb7a..d51bac264e6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs @@ -150,8 +150,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List properties and relationships of the mobileLobApp objects. - /// Find more info here + /// List properties and relationships of the managedIOSStoreApp objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -174,8 +174,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windowsMobileMSI object. - /// Find more info here + /// Create a new microsoftStoreForBusinessApp object. + /// Find more info here /// /// A /// The request body @@ -200,7 +200,7 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the mobileLobApp objects. + /// List properties and relationships of the managedIOSStoreApp objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -219,7 +219,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windowsMobileMSI object. + /// Create a new microsoftStoreForBusinessApp object. /// /// A /// The request body @@ -250,7 +250,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.MobileAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the mobileLobApp objects. + /// List properties and relationships of the managedIOSStoreApp objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index 97fcdb896c6..f35c2f6930d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// List properties and relationships of the windows81CompliancePolicy objects. - /// Find more info here + /// List properties and relationships of the windows10CompliancePolicy objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windows81CompliancePolicy object. - /// Find more info here + /// Create a new windows10MobileCompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the windows81CompliancePolicy objects. + /// List properties and relationships of the windows10CompliancePolicy objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windows81CompliancePolicy object. + /// Create a new windows10MobileCompliancePolicy object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceCompliancePolicies.DeviceCompliancePoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the windows81CompliancePolicy objects. + /// List properties and relationships of the windows10CompliancePolicy objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceCompliancePoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs index 2cabba22935..1597b72606b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs @@ -89,8 +89,8 @@ public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Deletes a windowsPhone81CompliancePolicy. - /// Find more info here + /// Deletes a androidWorkProfileCompliancePolicy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,8 +112,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosCompliancePolicy object. - /// Find more info here + /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -136,8 +136,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windowsPhone81CompliancePolicy object. - /// Find more info here + /// Update the properties of a windows81CompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -162,7 +162,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a windowsPhone81CompliancePolicy. + /// Deletes a androidWorkProfileCompliancePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosCompliancePolicy object. + /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +200,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsPhone81CompliancePolicy object. + /// Update the properties of a windows81CompliancePolicy object. /// /// A /// The request body @@ -239,7 +239,7 @@ public partial class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the iosCompliancePolicy object. + /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs index 9222844c613..e64ec5c40b6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// List properties and relationships of the deviceConfiguration objects. - /// Find more info here + /// List properties and relationships of the macOSGeneralDeviceConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new macOSDeviceFeaturesConfiguration object. - /// Find more info here + /// Create a new androidWorkProfileCustomConfiguration object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the deviceConfiguration objects. + /// List properties and relationships of the macOSGeneralDeviceConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new macOSDeviceFeaturesConfiguration object. + /// Create a new androidWorkProfileCustomConfiguration object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceConfigurations.DeviceConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the deviceConfiguration objects. + /// List properties and relationships of the macOSGeneralDeviceConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs index e5b2caa3f34..d517f21090d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs @@ -78,8 +78,8 @@ public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Deletes a iosDeviceFeaturesConfiguration. - /// Find more info here + /// Deletes a windows10CustomConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -101,8 +101,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. - /// Find more info here + /// Read properties and relationships of the iosUpdateConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -135,8 +135,8 @@ public async Task DeleteAsync(Action - /// Update the properties of a iosGeneralDeviceConfiguration object. - /// Find more info here + /// Update the properties of a windowsPhone81GeneralConfiguration object. + /// Find more info here /// /// A /// The request body @@ -161,7 +161,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a iosDeviceFeaturesConfiguration. + /// Deletes a windows10CustomConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. + /// Read properties and relationships of the iosUpdateConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a iosGeneralDeviceConfiguration object. + /// Update the properties of a windowsPhone81GeneralConfiguration object. /// /// A /// The request body @@ -238,7 +238,7 @@ public partial class DeviceConfigurationItemRequestBuilderDeleteRequestConfigura { } /// - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. + /// Read properties and relationships of the iosUpdateConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs index ce9a5f3a974..0112614231e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt { } /// - /// List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. - /// Find more info here + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceEnrollmentConfigurations.DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs index 6cfb012c3f6..a786eb1d074 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. - /// Find more info here + /// Read properties and relationships of the deviceEnrollmentConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -100,8 +100,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceEnrollmentLimitConfiguration object. - /// Find more info here + /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Find more info here /// /// A /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Read properties and relationships of the deviceEnrollmentConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -164,7 +164,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceEnrollmentLimitConfiguration object. + /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. /// /// A /// The request body @@ -203,7 +203,7 @@ public partial class DeviceEnrollmentConfigurationItemRequestBuilderDeleteReques { } /// - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Read properties and relationships of the deviceEnrollmentConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs index 60f644ac83b..4df1aad3bfe 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs @@ -392,7 +392,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Read properties and relationships of the deviceManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -426,7 +426,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Update the properties of a deviceManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index 3f7aaf0dd54..6f987545bec 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs @@ -41,8 +41,8 @@ public RoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Deletes a roleDefinition. - /// Find more info here + /// Deletes a deviceAndAppManagementRoleDefinition. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a roleDefinition object. - /// Find more info here + /// Update the properties of a deviceAndAppManagementRoleDefinition object. + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a roleDefinition. + /// Deletes a deviceAndAppManagementRoleDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a roleDefinition object. + /// Update the properties of a deviceAndAppManagementRoleDefinition object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index e12fee92bcd..40ba12a11d4 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index fe3a851f4f5..d24c3b8bb2d 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index baf5f36f813..0f40fc84d8b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index ca2c3034f49..f6bfe9cf604 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 46c829556fb..2f7a0aaf6c1 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 3ed345e9fa9..40edde0f254 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 781007b21ed..a57d5cb2aba 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index b641789c585..49857e0f781 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 9f51a3a3d4d..a1a10684dd0 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 5b7117ac2cb..555b935f7a4 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body 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 6b24a9b153f..0d65f45b3fe 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.Models.ExternalConnectors.ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new externalItem object. - /// Find more info here + /// Update the properties of an externalItem object. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new externalItem object. + /// Update the properties of an externalItem object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 57963a19abb..add907229cc 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 1f4e06c777f..68aae9c7837 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 253dc882cf0..49b9154a8a9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// 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 5559ddb44ef..e65d4c4c07a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -42,7 +42,7 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Delete conversation. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// 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 0e2344a3ec1..026d20bb5fd 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.Groups.Item.Conversations.It 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/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index e779f6455f4..d81b3ba8c91 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..a144cec4d09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..da591bfec7c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Groups/Item/Team/Channels/Item/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..f87d36eee43 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Groups.Item.Team.Channels.Item.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..6200478a971 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Add/AddResponse.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.Groups.Item.Team.Channels.Item.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostResponse, 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.Groups.Item.Team.Channels.Item.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..9615b1ff145 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add; +using Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count; +using Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item; +using Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers for groups + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers for groups + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Groups.Item.Team.Channels.Item.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7cb7f147afc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers.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}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/$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}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/$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.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.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.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/Groups/Item/Team/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..5aa9dcad8fb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers for groups + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers in groups + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers for groups + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers in groups + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..8979708516f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..e5ba1445f42 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..d6149c459b7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Channels.Item.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..55d12c31beb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/AllMembers/Remove/RemoveResponse.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.Groups.Item.Team.Channels.Item.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostResponse, 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.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs index bd0c7cffa1b..aa3183a1b71 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Archive; using Microsoft.Graph.Groups.Item.Team.Channels.Item.CompleteMigration; using Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Groups.Item.Team.Channels.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChannelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..b8a6ebb9ae7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..689928c6072 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..57d1a52a8e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..efc8fe0edc7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Add/AddResponse.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.Groups.Item.Team.PrimaryChannel.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostResponse, 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.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..025293c4cd4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add; +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count; +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item; +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers for groups + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers for groups + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Groups.Item.Team.PrimaryChannel.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..aa13e69d53f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers.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}/groups/{group%2Did}/team/primaryChannel/allMembers/$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}/groups/{group%2Did}/team/primaryChannel/allMembers/$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.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.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.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/Groups/Item/Team/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..0e817ddaa1b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers for groups + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers in groups + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers for groups + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers in groups + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..37c24be7bfa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..475ac68976e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..af4876d1610 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.PrimaryChannel.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..f16e437c68b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/AllMembers/Remove/RemoveResponse.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.Groups.Item.Team.PrimaryChannel.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostResponse, 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.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 3094ad347de..e007fd4a73e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Archive; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..df14a2a0b25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Schedule.DayNotes.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}/groups/{group%2Did}/team/schedule/dayNotes/$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}/groups/{group%2Did}/team/schedule/dayNotes/$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.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.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.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/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.cs new file mode 100644 index 00000000000..b0f9e4ce3f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count; +using Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.DayNotes +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// The unique identifier of dayNote + /// A + public global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dayNote%2Did", position); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The day notes in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to dayNotes for groups + /// + /// 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// 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 dayNotes for groups + /// + /// 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.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilderGetQueryParameters + { + /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs new file mode 100644 index 00000000000..0e6980bc0fb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.DayNotes.Item +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dayNotes for groups + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dayNotes in groups + /// + /// 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dayNotes for groups + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The day notes in the schedule. + /// + /// 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 dayNotes in groups + /// + /// 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.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilderGetQueryParameters + { + /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs index 30056ba0482..8eaacff8707 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes; using Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests; using Microsoft.Graph.Groups.Item.Team.Schedule.OpenShiftChangeRequests; using Microsoft.Graph.Groups.Item.Team.Schedule.OpenShifts; @@ -7,6 +8,7 @@ using Microsoft.Graph.Groups.Item.Team.Schedule.Share; using Microsoft.Graph.Groups.Item.Team.Schedule.Shifts; using Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards; using Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons; using Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffRequests; using Microsoft.Graph.Groups.Item.Team.Schedule.TimesOff; @@ -28,6 +30,11 @@ namespace Microsoft.Graph.Groups.Item.Team.Schedule [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduleRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder DayNotes + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests { @@ -63,6 +70,11 @@ public partial class ScheduleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs new file mode 100644 index 00000000000..265b3f5d1d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.ClockIn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockInPostRequestBody() + { + 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.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs new file mode 100644 index 00000000000..d2f31d2b189 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.ClockIn +{ + /// + /// Provides operations to call the clockIn method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockInRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/clockIn", 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 ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/clockIn", rawUrl) + { + } + /// + /// Clock in to start a timeCard. + /// 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.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clock in to start a timeCard. + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a1022d84398 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.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}/groups/{group%2Did}/team/schedule/timeCards/$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}/groups/{group%2Did}/team/schedule/timeCards/$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.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.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.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/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs new file mode 100644 index 00000000000..d17a4832a01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockOutPostRequestBody() + { + 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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs new file mode 100644 index 00000000000..4503ae5593a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut +{ + /// + /// Provides operations to call the clockOut method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockOutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/clockOut", 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 ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) + { + } + /// + /// Invoke action clockOut + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action clockOut + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs new file mode 100644 index 00000000000..1bafad4b586 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.Item.Confirm +{ + /// + /// Provides operations to call the confirm method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirm", 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 ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) + { + } + /// + /// Confirm a timeCard. + /// 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 PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm a timeCard. + /// + /// 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 ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, 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.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs new file mode 100644 index 00000000000..28ca5d345c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndBreakPostRequestBody() + { + 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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs new file mode 100644 index 00000000000..b278c860d24 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak +{ + /// + /// Provides operations to call the endBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/endBreak", 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 EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) + { + } + /// + /// Invoke action endBreak + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action endBreak + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs new file mode 100644 index 00000000000..88f1d3f776d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StartBreakPostRequestBody() + { + 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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs new file mode 100644 index 00000000000..8be93196248 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak +{ + /// + /// Provides operations to call the startBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/startBreak", 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 StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) + { + } + /// + /// Invoke action startBreak + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action startBreak + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : 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 new file mode 100644 index 00000000000..98e3ac5b0f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -0,0 +1,253 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards.Item +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockOut method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirm method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the endBreak method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the startBreak method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property timeCards for groups + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property timeCards in groups + /// + /// 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property timeCards for groups + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time cards in the schedule. + /// + /// 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 timeCards in groups + /// + /// 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.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilderGetQueryParameters + { + /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.cs new file mode 100644 index 00000000000..0c3b6eaa460 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Groups.Item.Team.Schedule.TimeCards +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockIn method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// The unique identifier of timeCard + /// A + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("timeCard%2Did", position); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The time cards in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to timeCards for groups + /// + /// 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// 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 timeCards for groups + /// + /// 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.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilderGetQueryParameters + { + /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 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 56c1c896e66..1fbdcab07c0 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 @@ -139,7 +139,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. @@ -197,7 +197,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/Posts/PostsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs index 74c419b5efd..ee06d8bf9d1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs @@ -54,8 +54,8 @@ public PostsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. - /// Find more info here + /// Get the posts of the specified thread. 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 /// /// A /// Cancellation token to use when cancelling requests @@ -78,7 +78,7 @@ public PostsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PostsRequestBuilderGetQueryParameters 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 09770ecb86d..ede64072ada 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.Groups.Item.Threads.Item.Rep 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/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index 8ff00f1b707..abad2ca180a 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an ipNamedLocation object. - /// Find more info here + /// Update the properties of a countryNamedLocation object. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an ipNamedLocation object. + /// Update the properties of a countryNamedLocation object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index c3573ad76e9..7ca2f1f71a7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. - /// Find more info here + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + /// Find more info here /// /// A /// The request body @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfig { } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomCalloutExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs index df96d30528c..48e8c21df21 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs @@ -86,8 +86,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an existing history item for an existing user activity. - /// Find more info here + /// Create a new or replace an existing history item for an existing user activity. + /// Find more info here /// /// A /// The request body @@ -150,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Delete an existing history item for an existing user activity. + /// Create a new or replace an existing history item for an existing user activity. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs index bf6e4509359..12097058656 100644 --- a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs @@ -54,7 +54,7 @@ public AgreementAcceptancesRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Retrieve the signed-in user's agreementAcceptance objects. + /// Allows the signed-in user to retrieve their agreementAcceptance objects. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public AgreementAcceptancesRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the signed-in user's agreementAcceptance objects. + /// Allows the signed-in user to retrieve their agreementAcceptance objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the signed-in user's agreementAcceptance objects. + /// Allows the signed-in user to retrieve their agreementAcceptance objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AgreementAcceptancesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index dc2f5f7e7ed..0dcaf394b61 100644 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index d4f9f45df39..94556224293 100644 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified user, group, service principal, organizational contact, device, or directory object. This method is transitive. + /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. /// /// A /// The request body @@ -59,7 +59,7 @@ public CheckMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified user, group, service principal, organizational contact, device, or directory object. This method is transitive. + /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. /// /// A /// The request body @@ -85,7 +85,7 @@ public CheckMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified user, group, service principal, organizational contact, device, or directory object. This method is transitive. + /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs index 992e8d73a7e..1ed9bebeb1b 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs @@ -84,8 +84,8 @@ public EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because thestart and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: - /// Find more info here + /// Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because thestart and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: + /// Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index f5a4098e4e9..6689baa1573 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..98176f7c390 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..521a7260425 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..840eaf371bb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..927b87dacbe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse, 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..3c8db0397eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add; +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count; +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..2be95636875 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.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/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/$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/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/$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.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.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/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..90a6627b510 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..34ba38af86f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..3afc061ddf2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..6ab7c1bbf78 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..6e99c8b1663 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse, 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.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index a7bc87ccb1b..9759dedcd20 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChannelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..439e02b2f1a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..1cb06ff87df --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..d12870210fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..5b9ddab76e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse, 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..6af69ea3957 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add; +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count; +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..8f83d3da0a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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/joinedTeams/{team%2Did}/primaryChannel/allMembers/$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/joinedTeams/{team%2Did}/primaryChannel/allMembers/$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.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.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/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..23d4f5e72cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..ca19dade5af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..c9b22cc0e70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..aa1df3f51f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..f34852fda0f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse, 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.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 18fde2f59c9..d945c5d7db2 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..3f1cff89125 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.DayNotes.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/joinedTeams/{team%2Did}/schedule/dayNotes/$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/joinedTeams/{team%2Did}/schedule/dayNotes/$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.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.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.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/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs new file mode 100644 index 00000000000..217887a2265 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.DayNotes +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// The unique identifier of dayNote + /// A + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dayNote%2Did", position); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The day notes in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// 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 dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilderGetQueryParameters + { + /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs new file mode 100644 index 00000000000..a212642e880 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.DayNotes.Item +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dayNotes 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dayNotes 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The day notes in the schedule. + /// + /// 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 dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilderGetQueryParameters + { + /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs index d8ed48f74fb..4c0cfc24778 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts; @@ -7,6 +8,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff; @@ -28,6 +30,11 @@ namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduleRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder DayNotes + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests { @@ -63,6 +70,11 @@ public partial class ScheduleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons { diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs new file mode 100644 index 00000000000..14787a9b517 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockInPostRequestBody() + { + 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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs new file mode 100644 index 00000000000..b151529c614 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn +{ + /// + /// Provides operations to call the clockIn method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockInRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", 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 ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", rawUrl) + { + } + /// + /// Clock in to start a timeCard. + /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clock in to start a timeCard. + /// + /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..54846eb65bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.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/joinedTeams/{team%2Did}/schedule/timeCards/$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/joinedTeams/{team%2Did}/schedule/timeCards/$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.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.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.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/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs new file mode 100644 index 00000000000..d3a6a210a72 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockOutPostRequestBody() + { + 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs new file mode 100644 index 00000000000..d8b14dda22f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut +{ + /// + /// Provides operations to call the clockOut method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockOutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", 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 ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) + { + } + /// + /// Invoke action clockOut + /// + /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action clockOut + /// + /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs new file mode 100644 index 00000000000..67d75ac3a64 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm +{ + /// + /// Provides operations to call the confirm method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", 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 ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) + { + } + /// + /// Confirm a timeCard. + /// 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 PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm a timeCard. + /// + /// 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 ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs new file mode 100644 index 00000000000..e776adea52f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndBreakPostRequestBody() + { + 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs new file mode 100644 index 00000000000..a7b0c67fb1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak +{ + /// + /// Provides operations to call the endBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", 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 EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) + { + } + /// + /// Invoke action endBreak + /// + /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action endBreak + /// + /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs new file mode 100644 index 00000000000..d380f0b7c2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StartBreakPostRequestBody() + { + 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs new file mode 100644 index 00000000000..aa453250567 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak +{ + /// + /// Provides operations to call the startBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", 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 StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) + { + } + /// + /// Invoke action startBreak + /// + /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action startBreak + /// + /// 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs new file mode 100644 index 00000000000..22343b2d11c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -0,0 +1,253 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards.Item +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockOut method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirm method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the endBreak method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the startBreak method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property timeCards 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property timeCards 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time cards in the schedule. + /// + /// 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 timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilderGetQueryParameters + { + /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs new file mode 100644 index 00000000000..e44b849ebf3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.JoinedTeams.Item.Schedule.TimeCards +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockIn method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// The unique identifier of timeCard + /// A + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("timeCard%2Did", position); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The time cards in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// 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 timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilderGetQueryParameters + { + /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs index 0b1930b8c2c..7112652a04f 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -112,8 +112,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the writable properties of a mailSearchFolder object. - /// Find more info here + /// Update the properties of mailfolder object. + /// Find more info here /// /// A /// The request body @@ -176,7 +176,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the writable properties of a mailSearchFolder object. + /// Update the properties of mailfolder object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 58f71c22b59..1c3a06b6d63 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -154,8 +154,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an eventMessage object. - /// Find more info here + /// Update the properties of a message object. + /// Find more info here /// /// A /// The request body @@ -218,7 +218,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index ce46a22a0c0..831b583b763 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -81,8 +81,8 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an eventMessage object. - /// Find more info here + /// Update the properties of a message object. + /// Find more info here /// /// A /// Binary request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// Binary request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index d065a97ed73..3d72eea4ea1 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageCollectionResponse.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 draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,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 draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs index 8b126146bdc..ee9685f038f 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// Find more info here /// /// A @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index 6fb9fbee96f..048c51c1c50 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// Find more info here /// /// A @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. + /// Update the properties of the specified onlineMeeting object. For the list of properties that support updating, see the Request body section. /// Find more info here /// /// A @@ -169,7 +169,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. + /// Update the properties of the specified onlineMeeting object. For the list of properties that support updating, see the Request body section. /// /// A /// The request body @@ -227,7 +227,7 @@ public partial class OnlineMeetingItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OnlineMeetingItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs index 6646539f5c1..ccdfdb45a63 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs @@ -72,7 +72,7 @@ public OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// Find more info here /// /// A @@ -122,7 +122,7 @@ public OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -172,7 +172,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OnlineMeetingsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AllowedLobbyAdmitterRoles.cs b/src/Microsoft.Graph/Generated/Models/AllowedLobbyAdmitterRoles.cs new file mode 100644 index 00000000000..2afc44546fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AllowedLobbyAdmitterRoles.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AllowedLobbyAdmitterRoles + #pragma warning restore CS1591 + { + [EnumMember(Value = "organizerAndCoOrganizersAndPresenters")] + #pragma warning disable CS1591 + OrganizerAndCoOrganizersAndPresenters, + #pragma warning restore CS1591 + [EnumMember(Value = "organizerAndCoOrganizers")] + #pragma warning disable CS1591 + OrganizerAndCoOrganizers, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index cb78a688bb3..f9906e8992b 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -394,7 +394,7 @@ public bool? Oauth2RequirePostResponse set { BackingStore?.Set("optionalClaims", value); } } #endif - /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this application. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Owners diff --git a/src/Microsoft.Graph/Generated/Models/Certification.cs b/src/Microsoft.Graph/Generated/Models/Certification.cs index 22395f1bea3..b2d8e488b1d 100644 --- a/src/Microsoft.Graph/Generated/Models/Certification.cs +++ b/src/Microsoft.Graph/Generated/Models/Certification.cs @@ -49,7 +49,7 @@ public bool? IsCertifiedByMicrosoft get { return BackingStore?.Get("isCertifiedByMicrosoft"); } set { BackingStore?.Set("isCertifiedByMicrosoft", value); } } - /// Indicates whether the application has been self-attested by the application developer or the publisher. + /// Indicates whether the application developer or publisher completed Publisher Attestation. public bool? IsPublisherAttested { get { return BackingStore?.Get("isPublisherAttested"); } diff --git a/src/Microsoft.Graph/Generated/Models/ChangeTrackedEntity.cs b/src/Microsoft.Graph/Generated/Models/ChangeTrackedEntity.cs index 8e8376d1c67..ac8c5770dd2 100644 --- a/src/Microsoft.Graph/Generated/Models/ChangeTrackedEntity.cs +++ b/src/Microsoft.Graph/Generated/Models/ChangeTrackedEntity.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class ChangeTrackedEntity : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// Identity of the creator of the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif /// 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 public DateTimeOffset? CreatedDateTime { @@ -51,6 +67,7 @@ public DateTimeOffset? LastModifiedDateTime var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.dayNote" => new global::Microsoft.Graph.Models.DayNote(), "#microsoft.graph.offerShiftRequest" => new global::Microsoft.Graph.Models.OfferShiftRequest(), "#microsoft.graph.openShift" => new global::Microsoft.Graph.Models.OpenShift(), "#microsoft.graph.openShiftChangeRequest" => new global::Microsoft.Graph.Models.OpenShiftChangeRequest(), @@ -59,6 +76,7 @@ public DateTimeOffset? LastModifiedDateTime "#microsoft.graph.shift" => new global::Microsoft.Graph.Models.Shift(), "#microsoft.graph.shiftPreferences" => new global::Microsoft.Graph.Models.ShiftPreferences(), "#microsoft.graph.swapShiftsChangeRequest" => new global::Microsoft.Graph.Models.SwapShiftsChangeRequest(), + "#microsoft.graph.timeCard" => new global::Microsoft.Graph.Models.TimeCard(), "#microsoft.graph.timeOff" => new global::Microsoft.Graph.Models.TimeOff(), "#microsoft.graph.timeOffReason" => new global::Microsoft.Graph.Models.TimeOffReason(), "#microsoft.graph.timeOffRequest" => new global::Microsoft.Graph.Models.TimeOffRequest(), @@ -74,6 +92,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, @@ -87,6 +106,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("createdBy", CreatedBy); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index c0461ca0d8f..b0bbe3e8060 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class Channel : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AllMembers + { + get { return BackingStore?.Get?>("allMembers"); } + set { BackingStore?.Set("allMembers", value); } + } +#nullable restore +#else + public List AllMembers + { + get { return BackingStore?.Get>("allMembers"); } + set { BackingStore?.Set("allMembers", value); } + } +#endif /// Read only. Timestamp at which the channel was created. public DateTimeOffset? CreatedDateTime { @@ -230,6 +246,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "allMembers", n => { AllMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, @@ -255,6 +272,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("allMembers", AllMembers); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); diff --git a/src/Microsoft.Graph/Generated/Models/ChatRestrictions.cs b/src/Microsoft.Graph/Generated/Models/ChatRestrictions.cs index 649ee198b23..fd7f9f0d68c 100644 --- a/src/Microsoft.Graph/Generated/Models/ChatRestrictions.cs +++ b/src/Microsoft.Graph/Generated/Models/ChatRestrictions.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The allowTextOnly property + /// Indicates whether only text is allowed in the meeting chat. Optional. public bool? AllowTextOnly { get { return BackingStore?.Get("allowTextOnly"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicy.cs b/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicy.cs index 5b535a7f2b4..c65121690a8 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicy.cs @@ -43,6 +43,22 @@ public string AlternateResourceUrl get { return BackingStore?.Get>("assignments"); } set { BackingStore?.Set("assignments", value); } } +#endif + /// The autopatch property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch? Autopatch + { + get { return BackingStore?.Get("autopatch"); } + set { BackingStore?.Set("autopatch", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch Autopatch + { + get { return BackingStore?.Get("autopatch"); } + set { BackingStore?.Set("autopatch", value); } + } #endif /// The display name of the Cloud PC group that the Cloud PCs reside in. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -238,6 +254,7 @@ public override IDictionary> GetFieldDeserializers() { { "alternateResourceUrl", n => { AlternateResourceUrl = n.GetStringValue(); } }, { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "autopatch", n => { Autopatch = n.GetObjectValue(global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch.CreateFromDiscriminatorValue); } }, { "cloudPcGroupDisplayName", n => { CloudPcGroupDisplayName = n.GetStringValue(); } }, { "cloudPcNamingTemplate", n => { CloudPcNamingTemplate = n.GetStringValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, @@ -264,6 +281,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("alternateResourceUrl", AlternateResourceUrl); writer.WriteCollectionOfObjectValues("assignments", Assignments); + writer.WriteObjectValue("autopatch", Autopatch); writer.WriteStringValue("cloudPcGroupDisplayName", CloudPcGroupDisplayName); writer.WriteStringValue("cloudPcNamingTemplate", CloudPcNamingTemplate); writer.WriteStringValue("description", Description); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicyAutopatch.cs b/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicyAutopatch.cs new file mode 100644 index 00000000000..2be1af8332d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicyAutopatch.cs @@ -0,0 +1,99 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcProvisioningPolicyAutopatch : 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); } + } + /// The autopatchGroupId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AutopatchGroupId + { + get { return BackingStore?.Get("autopatchGroupId"); } + set { BackingStore?.Set("autopatchGroupId", value); } + } +#nullable restore +#else + public string AutopatchGroupId + { + get { return BackingStore?.Get("autopatchGroupId"); } + set { BackingStore?.Set("autopatchGroupId", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// 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 + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcProvisioningPolicyAutopatch() + { + 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.Models.CloudPcProvisioningPolicyAutopatch CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autopatchGroupId", n => { AutopatchGroupId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = 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("autopatchGroupId", AutopatchGroupId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfirmedBy.cs b/src/Microsoft.Graph/Generated/Models/ConfirmedBy.cs new file mode 100644 index 00000000000..cf8a0860728 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfirmedBy.cs @@ -0,0 +1,29 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum ConfirmedBy + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "manager")] + #pragma warning disable CS1591 + Manager = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 8, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DayNote.cs b/src/Microsoft.Graph/Generated/Models/DayNote.cs new file mode 100644 index 00000000000..d1f8046b2fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DayNote.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DayNote : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable + #pragma warning restore CS1591 + { + /// The date of the day note. + public Date? DayNoteDate + { + get { return BackingStore?.Get("dayNoteDate"); } + set { BackingStore?.Set("dayNoteDate", value); } + } + /// The draft version of this day note that is viewable by managers. Only contentType text is supported. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? DraftDayNote + { + get { return BackingStore?.Get("draftDayNote"); } + set { BackingStore?.Set("draftDayNote", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody DraftDayNote + { + get { return BackingStore?.Get("draftDayNote"); } + set { BackingStore?.Set("draftDayNote", value); } + } +#endif + /// The shared version of this day note that is viewable by both employees and managers. Only contentType text is supported. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? SharedDayNote + { + get { return BackingStore?.Get("sharedDayNote"); } + set { BackingStore?.Set("sharedDayNote", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody SharedDayNote + { + get { return BackingStore?.Get("sharedDayNote"); } + set { BackingStore?.Set("sharedDayNote", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DayNote() : base() + { + OdataType = "#microsoft.graph.dayNote"; + } + /// + /// 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.Models.DayNote CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DayNote(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "dayNoteDate", n => { DayNoteDate = n.GetDateValue(); } }, + { "draftDayNote", n => { DraftDayNote = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "sharedDayNote", n => { SharedDayNote = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteDateValue("dayNoteDate", DayNoteDate); + writer.WriteObjectValue("draftDayNote", DraftDayNote); + writer.WriteObjectValue("sharedDayNote", SharedDayNote); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DayNoteCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/DayNoteCollectionResponse.cs new file mode 100644 index 00000000000..cc2b148f3b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DayNoteCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DayNoteCollectionResponse : global::Microsoft.Graph.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.Models.DayNoteCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DayNoteCollectionResponse(); + } + /// + /// 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.Models.DayNote.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/Device.cs b/src/Microsoft.Graph/Generated/Models/Device.cs index 55c17cb26c6..d3595698016 100644 --- a/src/Microsoft.Graph/Generated/Models/Device.cs +++ b/src/Microsoft.Graph/Generated/Models/Device.cs @@ -446,7 +446,7 @@ public List SystemLabels set { BackingStore?.Set("transitiveMemberOf", value); } } #endif - /// Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud-only joined devices), ServerAd (on-premises domain joined devices joined to Microsoft Entra ID). For more information, see Introduction to device management in Microsoft Entra ID. + /// Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud-only joined devices), ServerAd (on-premises domain joined devices joined to Microsoft Entra ID). For more information, see Introduction to device management in Microsoft Entra ID. Supports $filter (eq, ne, not, in). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TrustType diff --git a/src/Microsoft.Graph/Generated/Models/DeviceConfigurationDeviceStatus.cs b/src/Microsoft.Graph/Generated/Models/DeviceConfigurationDeviceStatus.cs index c0afe79a20a..e1074861621 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceConfigurationDeviceStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceConfigurationDeviceStatus.cs @@ -7,10 +7,11 @@ using System; namespace Microsoft.Graph.Models { + /// + /// Support for this Entity is being deprecated starting May 2026 & will no longer be supported. + /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 public partial class DeviceConfigurationDeviceStatus : global::Microsoft.Graph.Models.Entity, IParsable - #pragma warning restore CS1591 { /// The DateTime when device compliance grace period expires public DateTimeOffset? ComplianceGracePeriodExpirationDateTime diff --git a/src/Microsoft.Graph/Generated/Models/DeviceConfigurationState.cs b/src/Microsoft.Graph/Generated/Models/DeviceConfigurationState.cs index 6bd57ab248d..a83373fbc8d 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceConfigurationState.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceConfigurationState.cs @@ -8,7 +8,7 @@ namespace Microsoft.Graph.Models { /// - /// Device Configuration State for a given device. + /// Support for this Entity is being deprecated starting May 2026 & will no longer be supported. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationState : global::Microsoft.Graph.Models.Entity, IParsable diff --git a/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs b/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs index 052b2097452..6bc62a9401e 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs @@ -8,7 +8,7 @@ namespace Microsoft.Graph.Models { /// - /// Device Enrollment Configuration that restricts the types of devices a user can enroll + /// Default Device Enrollment Platform Restrictions Configuration that restricts the types of devices a user can enroll /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentPlatformRestrictionsConfiguration : global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration, IParsable diff --git a/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentType.cs b/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentType.cs index 37e6bc46d42..10846bc6156 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentType.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentType.cs @@ -22,7 +22,7 @@ public enum DeviceEnrollmentType /// Apple bulk enrollment without user challenge. (DEP, Apple Configurator, Mobile Config) [EnumMember(Value = "appleBulkWithoutUser")] AppleBulkWithoutUser, - /// Windows 10 Azure AD Join. + /// Windows 10 Entra ID (Azure AD) Join. [EnumMember(Value = "windowsAzureADJoin")] WindowsAzureADJoin, /// Windows 10 Bulk enrollment through ICD with certificate. @@ -31,19 +31,19 @@ public enum DeviceEnrollmentType /// Windows 10 automatic enrollment. (Add work account) [EnumMember(Value = "windowsAutoEnrollment")] WindowsAutoEnrollment, - /// Windows 10 bulk Azure AD Join. + /// Windows 10 bulk Entra ID (Azure AD) Join. [EnumMember(Value = "windowsBulkAzureDomainJoin")] WindowsBulkAzureDomainJoin, /// Windows 10 Co-Management triggered by AutoPilot or Group Policy. [EnumMember(Value = "windowsCoManagement")] WindowsCoManagement, - /// Windows 10 Azure AD Join using Device Auth. + /// Windows 10 Entra ID (Azure AD) Join using Device Auth. [EnumMember(Value = "windowsAzureADJoinUsingDeviceAuth")] WindowsAzureADJoinUsingDeviceAuth, - /// Device managed by Apple user enrollment + /// Indicates the device is enrolled via Apple User Enrollment with Company Portal. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities [EnumMember(Value = "appleUserEnrollment")] AppleUserEnrollment, - /// Device managed by Apple user enrollment with service account + /// Indicates the device is enrolled via Apple User Enrollment with Company Portal using a device enrollment manager user. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities [EnumMember(Value = "appleUserEnrollmentWithServiceAccount")] AppleUserEnrollmentWithServiceAccount, } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs index 81367b0d678..3b585dc5c66 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs @@ -7,11 +7,10 @@ using System; namespace Microsoft.Graph.Models { - /// - /// Singleton entity that acts as a container for all device management functionality. - /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 public partial class DeviceManagement : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 { /// Apple push notification certificate. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 1b3b94ff05b..d424091b2cd 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -257,6 +257,7 @@ public Entity() "#microsoft.graph.customExtensionStageSetting" => new global::Microsoft.Graph.Models.CustomExtensionStageSetting(), "#microsoft.graph.customSecurityAttributeDefinition" => new global::Microsoft.Graph.Models.CustomSecurityAttributeDefinition(), "#microsoft.graph.dataPolicyOperation" => new global::Microsoft.Graph.Models.DataPolicyOperation(), + "#microsoft.graph.dayNote" => new global::Microsoft.Graph.Models.DayNote(), "#microsoft.graph.defaultManagedAppProtection" => new global::Microsoft.Graph.Models.DefaultManagedAppProtection(), "#microsoft.graph.delegatedAdminAccessAssignment" => new global::Microsoft.Graph.Models.DelegatedAdminAccessAssignment(), "#microsoft.graph.delegatedAdminCustomer" => new global::Microsoft.Graph.Models.DelegatedAdminCustomer(), @@ -863,6 +864,7 @@ public Entity() "#microsoft.graph.threatAssessmentRequest" => new global::Microsoft.Graph.Models.ThreatAssessmentRequest(), "#microsoft.graph.threatAssessmentResult" => new global::Microsoft.Graph.Models.ThreatAssessmentResult(), "#microsoft.graph.thumbnailSet" => new global::Microsoft.Graph.Models.ThumbnailSet(), + "#microsoft.graph.timeCard" => new global::Microsoft.Graph.Models.TimeCard(), "#microsoft.graph.timeOff" => new global::Microsoft.Graph.Models.TimeOff(), "#microsoft.graph.timeOffReason" => new global::Microsoft.Graph.Models.TimeOffReason(), "#microsoft.graph.timeOffRequest" => new global::Microsoft.Graph.Models.TimeOffRequest(), diff --git a/src/Microsoft.Graph/Generated/Models/ManagedDeviceOwnerType.cs b/src/Microsoft.Graph/Generated/Models/ManagedDeviceOwnerType.cs index 1776af2f32f..8b65a9cfc9a 100644 --- a/src/Microsoft.Graph/Generated/Models/ManagedDeviceOwnerType.cs +++ b/src/Microsoft.Graph/Generated/Models/ManagedDeviceOwnerType.cs @@ -7,14 +7,17 @@ namespace Microsoft.Graph.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum ManagedDeviceOwnerType { - /// Unknown. + /// Unknown device owner type. [EnumMember(Value = "unknown")] Unknown, - /// Owned by company. + /// Corporate device owner type. [EnumMember(Value = "company")] Company, - /// Owned by person. + /// Personal device owner type. [EnumMember(Value = "personal")] Personal, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, } } diff --git a/src/Microsoft.Graph/Generated/Models/MeetingLiveShareOptions.cs b/src/Microsoft.Graph/Generated/Models/MeetingLiveShareOptions.cs new file mode 100644 index 00000000000..049a1729b29 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MeetingLiveShareOptions.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MeetingLiveShareOptions + #pragma warning restore CS1591 + { + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs b/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs index b25a6d5e382..bdb1e803688 100644 --- a/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs +++ b/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs @@ -24,12 +24,30 @@ public bool? AllowAttendeeToEnableMic get { return BackingStore?.Get("allowAttendeeToEnableMic"); } set { BackingStore?.Set("allowAttendeeToEnableMic", value); } } + /// Indicates whether breakout rooms are enabled for the meeting. + public bool? AllowBreakoutRooms + { + get { return BackingStore?.Get("allowBreakoutRooms"); } + set { BackingStore?.Set("allowBreakoutRooms", value); } + } + /// Specifies the users who can admit from the lobby. Possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. + public global::Microsoft.Graph.Models.AllowedLobbyAdmitterRoles? AllowedLobbyAdmitters + { + get { return BackingStore?.Get("allowedLobbyAdmitters"); } + set { BackingStore?.Set("allowedLobbyAdmitters", value); } + } /// Specifies who can be a presenter in a meeting. public global::Microsoft.Graph.Models.OnlineMeetingPresenters? AllowedPresenters { get { return BackingStore?.Get("allowedPresenters"); } set { BackingStore?.Set("allowedPresenters", value); } } + /// Indicates whether live share is enabled for the meeting. Possible values are: enabled, disabled, unknownFutureValue. + public global::Microsoft.Graph.Models.MeetingLiveShareOptions? AllowLiveShare + { + get { return BackingStore?.Get("allowLiveShare"); } + set { BackingStore?.Set("allowLiveShare", value); } + } /// Specifies the mode of the meeting chat. public global::Microsoft.Graph.Models.MeetingChatMode? AllowMeetingChat { @@ -42,6 +60,12 @@ public bool? AllowParticipantsToChangeName get { return BackingStore?.Get("allowParticipantsToChangeName"); } set { BackingStore?.Set("allowParticipantsToChangeName", value); } } + /// Indicates whether PowerPoint live is enabled for the meeting. + public bool? AllowPowerPointSharing + { + get { return BackingStore?.Get("allowPowerPointSharing"); } + set { BackingStore?.Set("allowPowerPointSharing", value); } + } /// Indicates whether recording is enabled for the meeting. public bool? AllowRecording { @@ -60,6 +84,12 @@ public bool? AllowTranscription get { return BackingStore?.Get("allowTranscription"); } set { BackingStore?.Set("allowTranscription", value); } } + /// Indicates whether whiteboard is enabled for the meeting. + public bool? AllowWhiteboard + { + get { return BackingStore?.Get("allowWhiteboard"); } + set { BackingStore?.Set("allowWhiteboard", value); } + } /// The attendance reports of an online meeting. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -108,7 +138,7 @@ public bool? AllowTranscription set { BackingStore?.Set("chatInfo", value); } } #endif - /// The chatRestrictions property + /// Specifies the configuration settings for meeting chat restrictions. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.ChatRestrictions? ChatRestrictions @@ -280,11 +310,16 @@ public override IDictionary> GetFieldDeserializers() { { "allowAttendeeToEnableCamera", n => { AllowAttendeeToEnableCamera = n.GetBoolValue(); } }, { "allowAttendeeToEnableMic", n => { AllowAttendeeToEnableMic = n.GetBoolValue(); } }, + { "allowBreakoutRooms", n => { AllowBreakoutRooms = n.GetBoolValue(); } }, + { "allowLiveShare", n => { AllowLiveShare = n.GetEnumValue(); } }, { "allowMeetingChat", n => { AllowMeetingChat = n.GetEnumValue(); } }, { "allowParticipantsToChangeName", n => { AllowParticipantsToChangeName = n.GetBoolValue(); } }, + { "allowPowerPointSharing", n => { AllowPowerPointSharing = n.GetBoolValue(); } }, { "allowRecording", n => { AllowRecording = n.GetBoolValue(); } }, { "allowTeamworkReactions", n => { AllowTeamworkReactions = n.GetBoolValue(); } }, { "allowTranscription", n => { AllowTranscription = n.GetBoolValue(); } }, + { "allowWhiteboard", n => { AllowWhiteboard = n.GetBoolValue(); } }, + { "allowedLobbyAdmitters", n => { AllowedLobbyAdmitters = n.GetEnumValue(); } }, { "allowedPresenters", n => { AllowedPresenters = n.GetEnumValue(); } }, { "attendanceReports", n => { AttendanceReports = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MeetingAttendanceReport.CreateFromDiscriminatorValue)?.AsList(); } }, { "audioConferencing", n => { AudioConferencing = n.GetObjectValue(global::Microsoft.Graph.Models.AudioConferencing.CreateFromDiscriminatorValue); } }, @@ -312,12 +347,17 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteBoolValue("allowAttendeeToEnableCamera", AllowAttendeeToEnableCamera); writer.WriteBoolValue("allowAttendeeToEnableMic", AllowAttendeeToEnableMic); + writer.WriteBoolValue("allowBreakoutRooms", AllowBreakoutRooms); + writer.WriteEnumValue("allowedLobbyAdmitters", AllowedLobbyAdmitters); writer.WriteEnumValue("allowedPresenters", AllowedPresenters); + writer.WriteEnumValue("allowLiveShare", AllowLiveShare); writer.WriteEnumValue("allowMeetingChat", AllowMeetingChat); writer.WriteBoolValue("allowParticipantsToChangeName", AllowParticipantsToChangeName); + writer.WriteBoolValue("allowPowerPointSharing", AllowPowerPointSharing); writer.WriteBoolValue("allowRecording", AllowRecording); writer.WriteBoolValue("allowTeamworkReactions", AllowTeamworkReactions); writer.WriteBoolValue("allowTranscription", AllowTranscription); + writer.WriteBoolValue("allowWhiteboard", AllowWhiteboard); writer.WriteCollectionOfObjectValues("attendanceReports", AttendanceReports); writer.WriteObjectValue("audioConferencing", AudioConferencing); writer.WriteObjectValue("chatInfo", ChatInfo); diff --git a/src/Microsoft.Graph/Generated/Models/ParentalControlSettings.cs b/src/Microsoft.Graph/Generated/Models/ParentalControlSettings.cs index 1635c735d15..96a35b5ef2b 100644 --- a/src/Microsoft.Graph/Generated/Models/ParentalControlSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/ParentalControlSettings.cs @@ -37,7 +37,7 @@ public List CountriesBlockedForMinors set { BackingStore?.Set("countriesBlockedForMinors", value); } } #endif - /// Specifies the legal age group rule that applies to users of the app. Can be set to one of the following values: ValueDescriptionAllowDefault. Enforces the legal minimum. This means parental consent is required for minors in the European Union and Korea.RequireConsentForPrivacyServicesEnforces the user to specify date of birth to comply with COPPA rules. RequireConsentForMinorsRequires parental consent for ages below 18, regardless of country minor rules.RequireConsentForKidsRequires parental consent for ages below 14, regardless of country minor rules.BlockMinorsBlocks minors from using the app. + /// Specifies the legal age group rule that applies to users of the app. Can be set to one of the following values: ValueDescriptionAllowDefault. Enforces the legal minimum. This means parental consent is required for minors in the European Union and Korea.RequireConsentForPrivacyServicesEnforces the user to specify date of birth to comply with COPPA rules. RequireConsentForMinorsRequires parental consent for ages below 18, regardless of country/region minor rules.RequireConsentForKidsRequires parental consent for ages below 14, regardless of country/region minor rules.BlockMinorsBlocks minors from using the app. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? LegalAgeGroupRule diff --git a/src/Microsoft.Graph/Generated/Models/Schedule.cs b/src/Microsoft.Graph/Generated/Models/Schedule.cs index 58917f505e9..7ead0bbc848 100644 --- a/src/Microsoft.Graph/Generated/Models/Schedule.cs +++ b/src/Microsoft.Graph/Generated/Models/Schedule.cs @@ -12,12 +12,34 @@ namespace Microsoft.Graph.Models public partial class Schedule : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The day notes in the schedule. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DayNotes + { + get { return BackingStore?.Get?>("dayNotes"); } + set { BackingStore?.Set("dayNotes", value); } + } +#nullable restore +#else + public List DayNotes + { + get { return BackingStore?.Get>("dayNotes"); } + set { BackingStore?.Set("dayNotes", value); } + } +#endif /// Indicates whether the schedule is enabled for the team. Required. public bool? Enabled { get { return BackingStore?.Get("enabled"); } set { BackingStore?.Set("enabled", value); } } + /// Indicates whether copied shifts include activities from the original shift. + public bool? IsActivitiesIncludedWhenCopyingShiftsEnabled + { + get { return BackingStore?.Get("isActivitiesIncludedWhenCopyingShiftsEnabled"); } + set { BackingStore?.Set("isActivitiesIncludedWhenCopyingShiftsEnabled", value); } + } /// The offer requests for shifts in the schedule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -132,6 +154,12 @@ public string ProvisionStatusCode set { BackingStore?.Set("shifts", value); } } #endif + /// Indicates the start day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + public global::Microsoft.Graph.Models.DayOfWeekObject? StartDayOfWeek + { + get { return BackingStore?.Get("startDayOfWeek"); } + set { BackingStore?.Set("startDayOfWeek", value); } + } /// The swap requests for shifts in the schedule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -154,12 +182,44 @@ public bool? SwapShiftsRequestsEnabled get { return BackingStore?.Get("swapShiftsRequestsEnabled"); } set { BackingStore?.Set("swapShiftsRequestsEnabled", value); } } + /// The time cards in the schedule. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TimeCards + { + get { return BackingStore?.Get?>("timeCards"); } + set { BackingStore?.Set("timeCards", value); } + } +#nullable restore +#else + public List TimeCards + { + get { return BackingStore?.Get>("timeCards"); } + set { BackingStore?.Set("timeCards", value); } + } +#endif /// Indicates whether time clock is enabled for the schedule. public bool? TimeClockEnabled { get { return BackingStore?.Get("timeClockEnabled"); } set { BackingStore?.Set("timeClockEnabled", value); } } + /// The time clock location settings for this schedule. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeClockSettings? TimeClockSettings + { + get { return BackingStore?.Get("timeClockSettings"); } + set { BackingStore?.Set("timeClockSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeClockSettings TimeClockSettings + { + get { return BackingStore?.Get("timeClockSettings"); } + set { BackingStore?.Set("timeClockSettings", value); } + } +#endif /// The set of reasons for a time off in the schedule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -230,7 +290,7 @@ public string TimeZone set { BackingStore?.Set("timeZone", value); } } #endif - /// The workforceIntegrationIds property + /// The IDs for the workforce integrations associated with this schedule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? WorkforceIntegrationIds @@ -264,7 +324,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "dayNotes", n => { DayNotes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue)?.AsList(); } }, { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "isActivitiesIncludedWhenCopyingShiftsEnabled", n => { IsActivitiesIncludedWhenCopyingShiftsEnabled = n.GetBoolValue(); } }, { "offerShiftRequests", n => { OfferShiftRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OfferShiftRequest.CreateFromDiscriminatorValue)?.AsList(); } }, { "offerShiftRequestsEnabled", n => { OfferShiftRequestsEnabled = n.GetBoolValue(); } }, { "openShiftChangeRequests", n => { OpenShiftChangeRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OpenShiftChangeRequest.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -274,9 +336,12 @@ public override IDictionary> GetFieldDeserializers() { "provisionStatusCode", n => { ProvisionStatusCode = n.GetStringValue(); } }, { "schedulingGroups", n => { SchedulingGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SchedulingGroup.CreateFromDiscriminatorValue)?.AsList(); } }, { "shifts", n => { Shifts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Shift.CreateFromDiscriminatorValue)?.AsList(); } }, + { "startDayOfWeek", n => { StartDayOfWeek = n.GetEnumValue(); } }, { "swapShiftsChangeRequests", n => { SwapShiftsChangeRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SwapShiftsChangeRequest.CreateFromDiscriminatorValue)?.AsList(); } }, { "swapShiftsRequestsEnabled", n => { SwapShiftsRequestsEnabled = n.GetBoolValue(); } }, + { "timeCards", n => { TimeCards = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue)?.AsList(); } }, { "timeClockEnabled", n => { TimeClockEnabled = n.GetBoolValue(); } }, + { "timeClockSettings", n => { TimeClockSettings = n.GetObjectValue(global::Microsoft.Graph.Models.TimeClockSettings.CreateFromDiscriminatorValue); } }, { "timeOffReasons", n => { TimeOffReasons = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeOffReason.CreateFromDiscriminatorValue)?.AsList(); } }, { "timeOffRequests", n => { TimeOffRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeOffRequest.CreateFromDiscriminatorValue)?.AsList(); } }, { "timeOffRequestsEnabled", n => { TimeOffRequestsEnabled = n.GetBoolValue(); } }, @@ -293,7 +358,9 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("dayNotes", DayNotes); writer.WriteBoolValue("enabled", Enabled); + writer.WriteBoolValue("isActivitiesIncludedWhenCopyingShiftsEnabled", IsActivitiesIncludedWhenCopyingShiftsEnabled); writer.WriteCollectionOfObjectValues("offerShiftRequests", OfferShiftRequests); writer.WriteBoolValue("offerShiftRequestsEnabled", OfferShiftRequestsEnabled); writer.WriteCollectionOfObjectValues("openShiftChangeRequests", OpenShiftChangeRequests); @@ -301,9 +368,12 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("openShiftsEnabled", OpenShiftsEnabled); writer.WriteCollectionOfObjectValues("schedulingGroups", SchedulingGroups); writer.WriteCollectionOfObjectValues("shifts", Shifts); + writer.WriteEnumValue("startDayOfWeek", StartDayOfWeek); writer.WriteCollectionOfObjectValues("swapShiftsChangeRequests", SwapShiftsChangeRequests); writer.WriteBoolValue("swapShiftsRequestsEnabled", SwapShiftsRequestsEnabled); + writer.WriteCollectionOfObjectValues("timeCards", TimeCards); writer.WriteBoolValue("timeClockEnabled", TimeClockEnabled); + writer.WriteObjectValue("timeClockSettings", TimeClockSettings); writer.WriteCollectionOfObjectValues("timeOffReasons", TimeOffReasons); writer.WriteCollectionOfObjectValues("timeOffRequests", TimeOffRequests); writer.WriteBoolValue("timeOffRequestsEnabled", TimeOffRequestsEnabled); diff --git a/src/Microsoft.Graph/Generated/Models/SchedulingGroup.cs b/src/Microsoft.Graph/Generated/Models/SchedulingGroup.cs index 1c7db387361..7b617f92094 100644 --- a/src/Microsoft.Graph/Generated/Models/SchedulingGroup.cs +++ b/src/Microsoft.Graph/Generated/Models/SchedulingGroup.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class SchedulingGroup : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { + /// The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#nullable restore +#else + public string Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#endif /// The display name for the schedulingGroup. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -75,6 +91,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "code", n => { Code = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "isActive", n => { IsActive = n.GetBoolValue(); } }, { "userIds", n => { UserIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, @@ -88,6 +105,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteStringValue("code", Code); writer.WriteStringValue("displayName", DisplayName); writer.WriteCollectionOfPrimitiveValues("userIds", UserIds); } diff --git a/src/Microsoft.Graph/Generated/Models/Search/Bookmark.cs b/src/Microsoft.Graph/Generated/Models/Search/Bookmark.cs index addf4c86e32..a3bc9ab1c8e 100644 --- a/src/Microsoft.Graph/Generated/Models/Search/Bookmark.cs +++ b/src/Microsoft.Graph/Generated/Models/Search/Bookmark.cs @@ -132,7 +132,7 @@ public List PowerAppIds get { return BackingStore?.Get("state"); } set { BackingStore?.Set("state", value); } } - /// Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. + /// Variations of a bookmark for different countries/regions or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? TargetedVariations diff --git a/src/Microsoft.Graph/Generated/Models/Search/Qna.cs b/src/Microsoft.Graph/Generated/Models/Search/Qna.cs index ddf03b84992..1ff695818ff 100644 --- a/src/Microsoft.Graph/Generated/Models/Search/Qna.cs +++ b/src/Microsoft.Graph/Generated/Models/Search/Qna.cs @@ -100,7 +100,7 @@ public List LanguageTags get { return BackingStore?.Get("state"); } set { BackingStore?.Set("state", value); } } - /// Variations of a QnA for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. + /// Variations of a QnA for different countries/regions or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? TargetedVariations diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 43b438119d1..0d7ed65cc00 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -526,7 +526,7 @@ public List NotificationEmailAddresses set { BackingStore?.Set("ownedObjects", value); } } #endif - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Owners diff --git a/src/Microsoft.Graph/Generated/Models/Shift.cs b/src/Microsoft.Graph/Generated/Models/Shift.cs index 669d4bd817a..2efe408da0f 100644 --- a/src/Microsoft.Graph/Generated/Models/Shift.cs +++ b/src/Microsoft.Graph/Generated/Models/Shift.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class Shift : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { - /// Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they are shared, which copies the changes from the draftShift to the sharedShift property. + /// Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they're shared, which copies the changes from the draftShift to the sharedShift property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.ShiftItem? DraftShift diff --git a/src/Microsoft.Graph/Generated/Models/TimeCard.cs b/src/Microsoft.Graph/Generated/Models/TimeCard.cs new file mode 100644 index 00000000000..d7247c6ea61 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCard.cs @@ -0,0 +1,177 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCard : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable + #pragma warning restore CS1591 + { + /// The list of breaks associated with the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Breaks + { + get { return BackingStore?.Get?>("breaks"); } + set { BackingStore?.Set("breaks", value); } + } +#nullable restore +#else + public List Breaks + { + get { return BackingStore?.Get>("breaks"); } + set { BackingStore?.Set("breaks", value); } + } +#endif + /// The clock-in event of the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? ClockInEvent + { + get { return BackingStore?.Get("clockInEvent"); } + set { BackingStore?.Set("clockInEvent", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent ClockInEvent + { + get { return BackingStore?.Get("clockInEvent"); } + set { BackingStore?.Set("clockInEvent", value); } + } +#endif + /// The clock-out event of the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? ClockOutEvent + { + get { return BackingStore?.Get("clockOutEvent"); } + set { BackingStore?.Set("clockOutEvent", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent ClockOutEvent + { + get { return BackingStore?.Get("clockOutEvent"); } + set { BackingStore?.Set("clockOutEvent", value); } + } +#endif + /// Indicates whether this timeCard entry is confirmed. Possible values are: none, user, manager, unknownFutureValue. + public global::Microsoft.Graph.Models.ConfirmedBy? ConfirmedBy + { + get { return BackingStore?.Get("confirmedBy"); } + set { BackingStore?.Set("confirmedBy", value); } + } + /// Notes about the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// The original timeCardEntry of the timeCard before it was edited. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEntry? OriginalEntry + { + get { return BackingStore?.Get("originalEntry"); } + set { BackingStore?.Set("originalEntry", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEntry OriginalEntry + { + get { return BackingStore?.Get("originalEntry"); } + set { BackingStore?.Set("originalEntry", value); } + } +#endif + /// The current state of the timeCard during its life cycle. The possible values are: clockedIn, onBreak, clockedOut, unknownFutureValue. + public global::Microsoft.Graph.Models.TimeCardState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// User ID to which the timeCard belongs. +#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 TimeCard() : base() + { + OdataType = "#microsoft.graph.timeCard"; + } + /// + /// 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.Models.TimeCard CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCard(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "breaks", n => { Breaks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeCardBreak.CreateFromDiscriminatorValue)?.AsList(); } }, + { "clockInEvent", n => { ClockInEvent = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "clockOutEvent", n => { ClockOutEvent = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "confirmedBy", n => { ConfirmedBy = n.GetEnumValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "originalEntry", n => { OriginalEntry = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEntry.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "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.WriteCollectionOfObjectValues("breaks", Breaks); + writer.WriteObjectValue("clockInEvent", ClockInEvent); + writer.WriteObjectValue("clockOutEvent", ClockOutEvent); + writer.WriteEnumValue("confirmedBy", ConfirmedBy); + writer.WriteObjectValue("notes", Notes); + writer.WriteObjectValue("originalEntry", OriginalEntry); + writer.WriteEnumValue("state", State); + writer.WriteStringValue("userId", UserId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeCardBreak.cs b/src/Microsoft.Graph/Generated/Models/TimeCardBreak.cs new file mode 100644 index 00000000000..d85f958d49e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardBreak.cs @@ -0,0 +1,153 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCardBreak : 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; } + /// ID of the timeCardBreak. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BreakId + { + get { return BackingStore?.Get("breakId"); } + set { BackingStore?.Set("breakId", value); } + } +#nullable restore +#else + public string BreakId + { + get { return BackingStore?.Get("breakId"); } + set { BackingStore?.Set("breakId", value); } + } +#endif + /// The start event of the timeCardBreak. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#endif + /// Notes about the timeCardBreak. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", 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 + /// The start property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TimeCardBreak() + { + 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.Models.TimeCardBreak CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCardBreak(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "breakId", n => { BreakId = n.GetStringValue(); } }, + { "end", n => { End = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "start", n => { Start = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("breakId", BreakId); + writer.WriteObjectValue("end", End); + writer.WriteObjectValue("notes", Notes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("start", Start); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeCardCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/TimeCardCollectionResponse.cs new file mode 100644 index 00000000000..b9c7be36585 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCardCollectionResponse : global::Microsoft.Graph.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.Models.TimeCardCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCardCollectionResponse(); + } + /// + /// 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.Models.TimeCard.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/TimeCardEntry.cs b/src/Microsoft.Graph/Generated/Models/TimeCardEntry.cs new file mode 100644 index 00000000000..dfcaa985f18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardEntry.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCardEntry : 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 clock-in event of the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Breaks + { + get { return BackingStore?.Get?>("breaks"); } + set { BackingStore?.Set("breaks", value); } + } +#nullable restore +#else + public List Breaks + { + get { return BackingStore?.Get>("breaks"); } + set { BackingStore?.Set("breaks", value); } + } +#endif + /// The clock-out event of the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? ClockInEvent + { + get { return BackingStore?.Get("clockInEvent"); } + set { BackingStore?.Set("clockInEvent", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent ClockInEvent + { + get { return BackingStore?.Get("clockInEvent"); } + set { BackingStore?.Set("clockInEvent", value); } + } +#endif + /// The list of breaks associated with the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? ClockOutEvent + { + get { return BackingStore?.Get("clockOutEvent"); } + set { BackingStore?.Set("clockOutEvent", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent ClockOutEvent + { + get { return BackingStore?.Get("clockOutEvent"); } + set { BackingStore?.Set("clockOutEvent", 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 + /// + /// Instantiates a new and sets the default values. + /// + public TimeCardEntry() + { + 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.Models.TimeCardEntry CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCardEntry(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "breaks", n => { Breaks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeCardBreak.CreateFromDiscriminatorValue)?.AsList(); } }, + { "clockInEvent", n => { ClockInEvent = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "clockOutEvent", n => { ClockOutEvent = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = 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.WriteCollectionOfObjectValues("breaks", Breaks); + writer.WriteObjectValue("clockInEvent", ClockInEvent); + writer.WriteObjectValue("clockOutEvent", ClockOutEvent); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeCardEvent.cs b/src/Microsoft.Graph/Generated/Models/TimeCardEvent.cs new file mode 100644 index 00000000000..6ce1364845d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardEvent.cs @@ -0,0 +1,115 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCardEvent : 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 time the entry is recorded. + public DateTimeOffset? DateTime + { + get { return BackingStore?.Get("dateTime"); } + set { BackingStore?.Set("dateTime", value); } + } + /// Indicates whether this action happens at an approved location. + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// Notes about the timeCardEvent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", 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 + /// + /// Instantiates a new and sets the default values. + /// + public TimeCardEvent() + { + 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.Models.TimeCardEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCardEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dateTime", n => { DateTime = n.GetDateTimeOffsetValue(); } }, + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = 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.WriteDateTimeOffsetValue("dateTime", DateTime); + writer.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeCardState.cs b/src/Microsoft.Graph/Generated/Models/TimeCardState.cs new file mode 100644 index 00000000000..3136b19a627 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardState.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum TimeCardState + #pragma warning restore CS1591 + { + [EnumMember(Value = "clockedIn")] + #pragma warning disable CS1591 + ClockedIn, + #pragma warning restore CS1591 + [EnumMember(Value = "onBreak")] + #pragma warning disable CS1591 + OnBreak, + #pragma warning restore CS1591 + [EnumMember(Value = "clockedOut")] + #pragma warning disable CS1591 + ClockedOut, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TimeClockSettings.cs b/src/Microsoft.Graph/Generated/Models/TimeClockSettings.cs new file mode 100644 index 00000000000..fb756cec9e9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeClockSettings.cs @@ -0,0 +1,99 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeClockSettings : 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); } + } + /// The approved location of the timeClock. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.GeoCoordinates? ApprovedLocation + { + get { return BackingStore?.Get("approvedLocation"); } + set { BackingStore?.Set("approvedLocation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.GeoCoordinates ApprovedLocation + { + get { return BackingStore?.Get("approvedLocation"); } + set { BackingStore?.Set("approvedLocation", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// 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 + /// + /// Instantiates a new and sets the default values. + /// + public TimeClockSettings() + { + 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.Models.TimeClockSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeClockSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "approvedLocation", n => { ApprovedLocation = n.GetObjectValue(global::Microsoft.Graph.Models.GeoCoordinates.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = 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.WriteObjectValue("approvedLocation", ApprovedLocation); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeOffReason.cs b/src/Microsoft.Graph/Generated/Models/TimeOffReason.cs index 6855d15eaee..2898825869c 100644 --- a/src/Microsoft.Graph/Generated/Models/TimeOffReason.cs +++ b/src/Microsoft.Graph/Generated/Models/TimeOffReason.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class TimeOffReason : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { + /// The code of the timeOffReason to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#nullable restore +#else + public string Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#endif /// The name of the timeOffReason. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -65,6 +81,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "code", n => { Code = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "iconType", n => { IconType = n.GetEnumValue(); } }, { "isActive", n => { IsActive = n.GetBoolValue(); } }, @@ -78,6 +95,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteStringValue("code", Code); writer.WriteStringValue("displayName", DisplayName); writer.WriteEnumValue("iconType", IconType); writer.WriteBoolValue("isActive", IsActive); diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index a744b7068db..2b99d7d1bd0 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -361,7 +361,7 @@ public string ConsentProvidedForMinor set { BackingStore?.Set("contacts", value); } } #endif - /// The country/region where the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + /// The country or region where the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Country @@ -1275,7 +1275,7 @@ public string OnPremisesUserPrincipalName set { BackingStore?.Set("onPremisesUserPrincipalName", value); } } #endif - /// A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). + /// A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? OtherMails @@ -1467,7 +1467,7 @@ public List PastProjects set { BackingStore?.Set("planner", value); } } #endif - /// The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. Maximum length is 40 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + /// The postal code for the user's postal address. The postal code is specific to the user's country or region. In the United States of America, this attribute contains the ZIP code. Maximum length is 40 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PostalCode @@ -1879,7 +1879,7 @@ public string Surname set { BackingStore?.Set("transitiveMemberOf", value); } } #endif - /// A two-letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirements to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + /// A two-letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirements to check for availability of services in countries/regions. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UsageLocation diff --git a/src/Microsoft.Graph/Generated/Models/UserTeamwork.cs b/src/Microsoft.Graph/Generated/Models/UserTeamwork.cs index d800dfc9ab8..e1dbdabb457 100644 --- a/src/Microsoft.Graph/Generated/Models/UserTeamwork.cs +++ b/src/Microsoft.Graph/Generated/Models/UserTeamwork.cs @@ -44,7 +44,7 @@ public partial class UserTeamwork : global::Microsoft.Graph.Models.Entity, IPars set { BackingStore?.Set("installedApps", value); } } #endif - /// Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user’s locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2. + /// Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user's locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Locale diff --git a/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs b/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs index bacc8a665b4..65d4e208915 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs @@ -19,67 +19,67 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Represents the worksheet protection option of allowing using auto filter feature. + /// Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. public bool? AllowAutoFilter { get { return BackingStore?.Get("allowAutoFilter"); } set { BackingStore?.Set("allowAutoFilter", value); } } - /// Represents the worksheet protection option of allowing deleting columns. + /// Indicates whether the worksheet protection option to allow deleting columns is enabled. public bool? AllowDeleteColumns { get { return BackingStore?.Get("allowDeleteColumns"); } set { BackingStore?.Set("allowDeleteColumns", value); } } - /// Represents the worksheet protection option of allowing deleting rows. + /// Indicates whether the worksheet protection option to allow deleting rows is enabled. public bool? AllowDeleteRows { get { return BackingStore?.Get("allowDeleteRows"); } set { BackingStore?.Set("allowDeleteRows", value); } } - /// Represents the worksheet protection option of allowing formatting cells. + /// Indicates whether the worksheet protection option to allow formatting cells is enabled. public bool? AllowFormatCells { get { return BackingStore?.Get("allowFormatCells"); } set { BackingStore?.Set("allowFormatCells", value); } } - /// Represents the worksheet protection option of allowing formatting columns. + /// Indicates whether the worksheet protection option to allow formatting columns is enabled. public bool? AllowFormatColumns { get { return BackingStore?.Get("allowFormatColumns"); } set { BackingStore?.Set("allowFormatColumns", value); } } - /// Represents the worksheet protection option of allowing formatting rows. + /// Indicates whether the worksheet protection option to allow formatting rows is enabled. public bool? AllowFormatRows { get { return BackingStore?.Get("allowFormatRows"); } set { BackingStore?.Set("allowFormatRows", value); } } - /// Represents the worksheet protection option of allowing inserting columns. + /// Indicates whether the worksheet protection option to allow inserting columns is enabled. public bool? AllowInsertColumns { get { return BackingStore?.Get("allowInsertColumns"); } set { BackingStore?.Set("allowInsertColumns", value); } } - /// Represents the worksheet protection option of allowing inserting hyperlinks. + /// Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. public bool? AllowInsertHyperlinks { get { return BackingStore?.Get("allowInsertHyperlinks"); } set { BackingStore?.Set("allowInsertHyperlinks", value); } } - /// Represents the worksheet protection option of allowing inserting rows. + /// Indicates whether the worksheet protection option to allow inserting rows is enabled. public bool? AllowInsertRows { get { return BackingStore?.Get("allowInsertRows"); } set { BackingStore?.Set("allowInsertRows", value); } } - /// Represents the worksheet protection option of allowing using pivot table feature. + /// Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. public bool? AllowPivotTables { get { return BackingStore?.Get("allowPivotTables"); } set { BackingStore?.Set("allowPivotTables", value); } } - /// Represents the worksheet protection option of allowing using sort feature. + /// Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. public bool? AllowSort { get { return BackingStore?.Get("allowSort"); } diff --git a/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs b/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs index f92f81ed895..0f181db1c55 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class WorkforceIntegration : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { - /// API version for the call back URL. Start with 1. + /// API version for the callback URL. Start with 1. public int? ApiVersion { get { return BackingStore?.Get("apiVersion"); } @@ -62,7 +62,7 @@ public bool? IsActive get { return BackingStore?.Get("isActive"); } set { BackingStore?.Set("isActive", value); } } - /// The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. + /// The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest. public global::Microsoft.Graph.Models.WorkforceIntegrationSupportedEntities? SupportedEntities { get { return BackingStore?.Get("supportedEntities"); } diff --git a/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs b/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs index 604c5f6d38b..ca764888895 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs @@ -41,17 +41,21 @@ public enum WorkforceIntegrationSupportedEntities #pragma warning disable CS1591 UnknownFutureValue = 128, #pragma warning restore CS1591 + [EnumMember(Value = "timeCard")] + #pragma warning disable CS1591 + TimeCard = 256, + #pragma warning restore CS1591 [EnumMember(Value = "timeOffReason")] #pragma warning disable CS1591 - TimeOffReason = 256, + TimeOffReason = 512, #pragma warning restore CS1591 [EnumMember(Value = "timeOff")] #pragma warning disable CS1591 - TimeOff = 512, + TimeOff = 1024, #pragma warning restore CS1591 [EnumMember(Value = "timeOffRequest")] #pragma warning disable CS1591 - TimeOffRequest = 1024, + TimeOffRequest = 2048, #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs index 287622cdd2f..c5d1a24955a 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs @@ -56,8 +56,8 @@ public async Task DeleteAsync(Action - /// Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. - /// Find more info here + /// Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + /// Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 550c23d5949..91b5f856833 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index c6bc54379a7..98eab79621d 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs index cc8a37c53f4..f902904958c 100644 --- a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs @@ -78,8 +78,8 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. - /// Find more info here + /// List properties and relationships of the organization objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. + /// List properties and relationships of the organization objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -177,7 +177,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Organization.OrganizationRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. + /// List properties and relationships of the organization objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 6f60c9357bb..2d4ce841683 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 00220671d29..3f2cbaebc93 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index 2c95bdf9416..c6983af56ed 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the user synchronization policy of a partner-specific configuration. - /// Find more info here + /// Create a cross-tenant user synchronization policy for a partner-specific configuration. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the user synchronization policy of a partner-specific configuration. + /// Create a cross-tenant user synchronization policy for a partner-specific configuration. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs index e5164e19451..c0d3cc07cf5 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs @@ -54,7 +54,8 @@ public ChildTagsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Returns the tags that are a child of a tag. + /// List eDiscovery review tags with the tag hierarchy shown. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,7 @@ public ChildTagsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.EdiscoveryReviewTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Returns the tags that are a child of a tag. + /// List eDiscovery review tags with the tag hierarchy shown. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -105,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Returns the tags that are a child of a tag. + /// List eDiscovery review tags with the tag hierarchy shown. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChildTagsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 21bbe3a838a..c545afa90ef 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 899bf64901a..09be2b6ce69 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs index bb85d803976..4e6da02f44b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs @@ -84,7 +84,7 @@ public OwnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public OwnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -135,7 +135,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OwnersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs index 2334d8e8175..56798ee9b7f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task DeleteAsync(Action - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +200,7 @@ public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfig { } /// - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RefRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index 047d4e1dbc9..48b3f1b9544 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.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/Teams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..c871ff8b1d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..af14755c417 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Teams.Item.Channels.Item.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Teams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..bc4a0f9600c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Channels.Item.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Teams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..5b4156bd18d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Add/AddResponse.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.Teams.Item.Channels.Item.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostResponse, 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.Teams.Item.Channels.Item.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..ecccb1694dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,251 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add; +using Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count; +using Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item; +using Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove; +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.Teams.Item.Channels.Item.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers for teams + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + /// + /// 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 allMembers for teams + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Teams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..1c2b3a4b216 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Channels.Item.AllMembers.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}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/$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}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/$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.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.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.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/Teams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..77aadbef756 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teams.Item.Channels.Item.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers for teams + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers in teams + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers for teams + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers in teams + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..877eb8a566b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..d7410ce2abd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Teams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..5b22467887c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Channels.Item.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Teams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..e46395fbc9e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.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.Teams.Item.Channels.Item.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse, 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.Teams.Item.Channels.Item.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs index cfa6b7db2ba..927bf336dca 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Channels.Item.AllMembers; using Microsoft.Graph.Teams.Item.Channels.Item.Archive; using Microsoft.Graph.Teams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Teams.Item.Channels.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChannelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Teams.Item.Channels.Item.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index cbb270ff3ac..29a32f6c4f5 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Update the role of a conversationMember in a team or channel. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Update the role of a conversationMember in a team or channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 412850ccbe4..8cfa4d643f9 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -84,8 +84,8 @@ public RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. + /// Create a new reply to a chatMessage in a specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index fb4aaa14aec..50dcc9bd6e4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..65561bedc3f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.PrimaryChannel.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..029c9150031 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Teams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..076e5d4c58a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.PrimaryChannel.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Teams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..022604d436a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Add/AddResponse.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.Teams.Item.PrimaryChannel.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse, 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.Teams.Item.PrimaryChannel.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..0d53dc0f8ed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add; +using Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count; +using Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item; +using Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove; +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.Teams.Item.PrimaryChannel.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers for teams + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers for teams + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Teams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..1b9c0821287 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.PrimaryChannel.AllMembers.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}/teams/{team%2Did}/primaryChannel/allMembers/$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}/teams/{team%2Did}/primaryChannel/allMembers/$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.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.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.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/Teams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..297c9ac7a25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teams.Item.PrimaryChannel.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers for teams + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers in teams + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers for teams + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers in teams + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..25b1960da90 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.PrimaryChannel.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..b9babb0851a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Teams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..db28ea8901a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.PrimaryChannel.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..45801d26c27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.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.Teams.Item.PrimaryChannel.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse, 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.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index dc561d1528f..8508b364a96 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers; using Microsoft.Graph.Teams.Item.PrimaryChannel.Archive; using Microsoft.Graph.Teams.Item.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Teams.Item.PrimaryChannel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Teams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..266869c8b2c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Schedule.DayNotes.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}/teams/{team%2Did}/schedule/dayNotes/$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}/teams/{team%2Did}/schedule/dayNotes/$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.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.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.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/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs new file mode 100644 index 00000000000..ea0308d0431 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count; +using Microsoft.Graph.Teams.Item.Schedule.DayNotes.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.Teams.Item.Schedule.DayNotes +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// The unique identifier of dayNote + /// A + public global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dayNote%2Did", position); + return new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The day notes in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to dayNotes for teams + /// + /// 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// 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 dayNotes for teams + /// + /// 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.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilderGetQueryParameters + { + /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs new file mode 100644 index 00000000000..34cf7db544e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teams.Item.Schedule.DayNotes.Item +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dayNotes for teams + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dayNotes in teams + /// + /// 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dayNotes for teams + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The day notes in the schedule. + /// + /// 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 dayNotes in teams + /// + /// 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.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilderGetQueryParameters + { + /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs index 9084c122a87..1b7355d4b7a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Schedule.DayNotes; using Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests; using Microsoft.Graph.Teams.Item.Schedule.OpenShiftChangeRequests; using Microsoft.Graph.Teams.Item.Schedule.OpenShifts; @@ -9,6 +10,7 @@ using Microsoft.Graph.Teams.Item.Schedule.Share; using Microsoft.Graph.Teams.Item.Schedule.Shifts; using Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards; using Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons; using Microsoft.Graph.Teams.Item.Schedule.TimeOffRequests; using Microsoft.Graph.Teams.Item.Schedule.TimesOff; @@ -28,6 +30,11 @@ namespace Microsoft.Graph.Teams.Item.Schedule [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduleRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder DayNotes + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests { @@ -63,6 +70,11 @@ public partial class ScheduleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs new file mode 100644 index 00000000000..2728e76354f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.ClockIn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockInPostRequestBody() + { + 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.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs new file mode 100644 index 00000000000..6c7a2fb2388 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.ClockIn +{ + /// + /// Provides operations to call the clockIn method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockInRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/clockIn", 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 ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/clockIn", rawUrl) + { + } + /// + /// Clock in to start a timeCard. + /// 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.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clock in to start a timeCard. + /// + /// 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.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..79e5fc57823 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.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}/teams/{team%2Did}/schedule/timeCards/$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}/teams/{team%2Did}/schedule/timeCards/$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.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.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.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/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs new file mode 100644 index 00000000000..26c0e54f6ed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.Item.ClockOut +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockOutPostRequestBody() + { + 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.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs new file mode 100644 index 00000000000..aed160f0136 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.Item.ClockOut +{ + /// + /// Provides operations to call the clockOut method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockOutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", 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 ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) + { + } + /// + /// Invoke action clockOut + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action clockOut + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs new file mode 100644 index 00000000000..7be3c59a8b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.Item.Confirm +{ + /// + /// Provides operations to call the confirm method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", 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 ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) + { + } + /// + /// Confirm a timeCard. + /// 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 PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm a timeCard. + /// + /// 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 ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, 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.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs new file mode 100644 index 00000000000..def757fbda7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.Item.EndBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndBreakPostRequestBody() + { + 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.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs new file mode 100644 index 00000000000..a64db9dbecb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.Item.EndBreak +{ + /// + /// Provides operations to call the endBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", 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 EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) + { + } + /// + /// Invoke action endBreak + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action endBreak + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs new file mode 100644 index 00000000000..431f2e06aff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.Item.StartBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StartBreakPostRequestBody() + { + 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.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs new file mode 100644 index 00000000000..6d429f3abc2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teams.Item.Schedule.TimeCards.Item.StartBreak +{ + /// + /// Provides operations to call the startBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", 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 StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) + { + } + /// + /// Invoke action startBreak + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action startBreak + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : 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 new file mode 100644 index 00000000000..8e3d284dc8b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -0,0 +1,254 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak; +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.Teams.Item.Schedule.TimeCards.Item +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockOut method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirm method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the endBreak method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the startBreak method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a timeCard instance in a schedule. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property timeCards in teams + /// + /// 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a timeCard instance in a schedule. + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time cards in the schedule. + /// + /// 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 timeCards in teams + /// + /// 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.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilderGetQueryParameters + { + /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs new file mode 100644 index 00000000000..157e46bddc5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs @@ -0,0 +1,246 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.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.Teams.Item.Schedule.TimeCards +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockIn method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// The unique identifier of timeCard + /// A + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("timeCard%2Did", position); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve a list of timeCard entries in a schedule. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a timeCard instance in a schedule. + /// 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve a list of timeCard entries in a schedule. + /// + /// 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 timeCard instance in a schedule. + /// + /// 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.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve a list of timeCard entries in a schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilderGetQueryParameters + { + /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..c72b0519f68 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..96b978bdd5f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..bebe314384e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..738c239c2fb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse, 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..3757fc76abc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove; +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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers for teamwork + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers for teamwork + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..3a9b408b570 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers/$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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers/$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.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.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/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..d6aa174e3ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers for teamwork + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers in teamwork + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers for teamwork + /// + /// 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers in teamwork + /// + /// 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..6a52eae24ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..0f94949cafb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..737b4959b65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..131197727c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse, 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.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 9f0e8c0ebdc..499f3b73631 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Archive; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChannelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs index ac9c1fc541c..b852a6db9c9 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs @@ -78,7 +78,7 @@ public WorkforceIntegrationsRequestBuilder(string rawUrl, IRequestAdapter reques return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkforceIntegrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. + /// Create a new workforceIntegration object. /// Find more info here /// /// A @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. + /// Create a new workforceIntegration object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index ac02391ef8f..10f749e7873 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 07853fcb89b..50d48c283f5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..349389512c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..faaf59a8564 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..03bc9a642a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..f65281a9cd3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Add/AddResponse.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse, 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..76d224aab6e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove; +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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..9d0ce682dcd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.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}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/$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}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/$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.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.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/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..c95fe93dbfe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..899df60db50 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..4a9ad332110 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..c436c2114d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..841733183f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/AllMembers/Remove/RemoveResponse.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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse, 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.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 36710ad8403..b519be40249 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Archive; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChannelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..a1bae233087 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..fd38aa77693 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..4e31d35dff0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/allMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/allMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// 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 PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..0baaa481fa2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Add/AddResponse.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse, 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs new file mode 100644 index 00000000000..e7654a2d3db --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/AllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove; +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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder(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 AllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/allMembers{?%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 AllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllMembersRequestBuilderGetQueryParameters + { + /// 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 AllMembersRequestBuilderGetRequestConfiguration : 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 AllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..693e6f10997 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.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}/joinedTeams/{team%2Did}/primaryChannel/allMembers/$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}/joinedTeams/{team%2Did}/primaryChannel/allMembers/$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.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.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/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..368e6b03d61 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item +{ + /// + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/allMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property allMembers 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConversationMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property allMembers 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + /// 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 allMembers 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.Models.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConversationMember 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of membership records associated with the channel, including both direct and indirect members of shared channels. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..6394b30ebce --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.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.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..a335cb84428 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse(); + } + /// + /// 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.Models.ActionResultPart.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/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..f37fdf18072 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/allMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/allMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..134299c97a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/AllMembers/Remove/RemoveResponse.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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse, 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.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 2b4d4928906..4511ddf28e7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Archive; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; @@ -29,6 +30,11 @@ namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the allMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder AllMembers + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the archive method. public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder Archive { diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7884dffe45b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.DayNotes.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}/joinedTeams/{team%2Did}/schedule/dayNotes/$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}/joinedTeams/{team%2Did}/schedule/dayNotes/$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.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.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.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/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs new file mode 100644 index 00000000000..7d459b4bf18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.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.Users.Item.JoinedTeams.Item.Schedule.DayNotes +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// The unique identifier of dayNote + /// A + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dayNote%2Did", position); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The day notes in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// 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 dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilderGetQueryParameters + { + /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs new file mode 100644 index 00000000000..c163444cfdf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dayNotes 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dayNotes 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The day notes in the schedule. + /// + /// 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 dayNotes 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.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilderGetQueryParameters + { + /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs index 429f1d1f3b6..c981ecb740a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OpenShiftChangeRequests; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OpenShifts; @@ -9,6 +10,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.Share; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.Shifts; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffRequests; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimesOff; @@ -28,6 +30,11 @@ namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduleRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder DayNotes + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests { @@ -63,6 +70,11 @@ public partial class ScheduleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons { diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs new file mode 100644 index 00000000000..67a87c8e054 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockInPostRequestBody() + { + 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs new file mode 100644 index 00000000000..d603d3475b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn +{ + /// + /// Provides operations to call the clockIn method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockInRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", 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 ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", rawUrl) + { + } + /// + /// Clock in to start a timeCard. + /// 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clock in to start a timeCard. + /// + /// 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..575fa685c0d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.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}/joinedTeams/{team%2Did}/schedule/timeCards/$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}/joinedTeams/{team%2Did}/schedule/timeCards/$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.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.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/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs new file mode 100644 index 00000000000..6ad5b07edc9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockOutPostRequestBody() + { + 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs new file mode 100644 index 00000000000..8c9b41ca54f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut +{ + /// + /// Provides operations to call the clockOut method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockOutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", 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 ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) + { + } + /// + /// Invoke action clockOut + /// + /// 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action clockOut + /// + /// 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs new file mode 100644 index 00000000000..9c4bb011411 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm +{ + /// + /// Provides operations to call the confirm method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", 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 ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) + { + } + /// + /// Confirm a timeCard. + /// 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 PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm a timeCard. + /// + /// 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 ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs new file mode 100644 index 00000000000..1be332377ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndBreakPostRequestBody() + { + 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs new file mode 100644 index 00000000000..594cb95b212 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak +{ + /// + /// Provides operations to call the endBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", 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 EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) + { + } + /// + /// Invoke action endBreak + /// + /// 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action endBreak + /// + /// 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs new file mode 100644 index 00000000000..fc94720c8cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StartBreakPostRequestBody() + { + 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs new file mode 100644 index 00000000000..9f295e3f5b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak +{ + /// + /// Provides operations to call the startBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", 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 StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) + { + } + /// + /// Invoke action startBreak + /// + /// 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action startBreak + /// + /// 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs new file mode 100644 index 00000000000..9a72187a937 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -0,0 +1,253 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak; +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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockOut method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirm method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the endBreak method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the startBreak method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property timeCards 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property timeCards 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); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time cards in the schedule. + /// + /// 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 timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilderGetQueryParameters + { + /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs new file mode 100644 index 00000000000..3dd908abab6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.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.Users.Item.JoinedTeams.Item.Schedule.TimeCards +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockIn method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// The unique identifier of timeCard + /// A + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("timeCard%2Did", position); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The time cards in the schedule. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// 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 timeCards 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.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilderGetQueryParameters + { + /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index 50bfa4b8f23..bc25f2f806a 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 @@ -155,7 +155,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. @@ -213,7 +213,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/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index 572e2b92645..59ef55b44fe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -481,8 +481,8 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. - /// Find more info here + /// Deletes 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. @@ -541,7 +541,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -578,7 +578,7 @@ public async Task DeleteAsync(Action - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Deletes a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs index 5bf9c088d03..3ccadf50700 100644 --- a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs @@ -37,8 +37,8 @@ public UsersWithUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. - /// Find more info here + /// Deletes 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. @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Deletes a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 1e4b9890e9e..83a03264113 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -60423,6 +60423,98 @@ Microsoft.Graph.Groups.Item.Team.Channels.GetAllRetainedMessages.getAllRetainedM Microsoft.Graph.Groups.Item.Team.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse-->global.Microsoft.Graph.Groups.Item.Team.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse Microsoft.Graph.Groups.Item.Team.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addResponse-->global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.Remove.RemoveResponse Microsoft.Graph.Groups.Item.Team.Channels.Item.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Groups.Item.Team.Channels.Item.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Groups.Item.Team.Channels.Item.Archive.archivePostRequestBody::|public|constructor():void @@ -60444,6 +60536,7 @@ Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder.Channel Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|allMembers:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|archive:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -61507,6 +61600,98 @@ Microsoft.Graph.Groups.Item.Team.Photo.Value.ContentRequestBuilder::|public|ToDe Microsoft.Graph.Groups.Item.Team.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Photo.Value.ContentRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addResponse-->global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.Remove.RemoveResponse Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Archive.archivePostRequestBody::|public|constructor():void @@ -62023,6 +62208,7 @@ Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder.pri Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|allMembers:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|archive:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Archive.ArchiveRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -62208,6 +62394,50 @@ Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.unarchiveRequestBuilde Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.UnarchiveRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -62348,6 +62578,7 @@ Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder.scheduleRequest Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder @@ -62358,6 +62589,7 @@ Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|schedu Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Groups.Item.Team.Schedule.Share.ShareRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Groups.Item.Team.Schedule.Shifts.ShiftsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimesOff.TimesOffRequestBuilder @@ -62514,6 +62746,126 @@ Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.swapShiftsCha Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -84880,6 +85232,98 @@ Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetain Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|constructor():void @@ -84901,6 +85345,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.Chan Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|allMembers:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|archive:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -85964,6 +86409,98 @@ Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|T Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Photo.Value.ContentRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|constructor():void @@ -86480,6 +87017,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder. Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|allMembers:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|archive:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -86665,6 +87203,50 @@ Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBui Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -86805,6 +87387,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequ Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder @@ -86815,6 +87398,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|sch Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder @@ -86971,6 +87555,126 @@ Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShifts Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -95080,6 +95784,9 @@ Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|public|GetFieldDeseria Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|public|OdataType:string Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AllLicensedUsersAssignmentTarget +Microsoft.Graph.Models.allowedLobbyAdmitterRoles::0000-organizerAndCoOrganizersAndPresenters +Microsoft.Graph.Models.allowedLobbyAdmitterRoles::0001-organizerAndCoOrganizers +Microsoft.Graph.Models.allowedLobbyAdmitterRoles::0002-unknownFutureValue Microsoft.Graph.Models.allowedTargetScope::0000-notSpecified Microsoft.Graph.Models.allowedTargetScope::0001-specificDirectoryUsers Microsoft.Graph.Models.allowedTargetScope::0002-specificConnectedOrganizationUsers @@ -98570,6 +99277,7 @@ Microsoft.Graph.Models.certificationControl::|static|public|CreateFromDiscrimina Microsoft.Graph.Models.certificationControl~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.certification~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.changeTrackedEntity-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.changeTrackedEntity::|public|CreatedBy:global.Microsoft.Graph.Models.IdentitySet Microsoft.Graph.Models.changeTrackedEntity::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.changeTrackedEntity::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.changeTrackedEntity::|public|LastModifiedBy:global.Microsoft.Graph.Models.IdentitySet @@ -98578,6 +99286,7 @@ Microsoft.Graph.Models.changeTrackedEntity::|public|OdataType:string Microsoft.Graph.Models.changeTrackedEntity::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.changeTrackedEntity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ChangeTrackedEntity Microsoft.Graph.Models.channel-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.channel::|public|AllMembers:List Microsoft.Graph.Models.channel::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.channel::|public|Description:string Microsoft.Graph.Models.channel::|public|DisplayName:string @@ -99374,6 +100083,7 @@ Microsoft.Graph.Models.cloudPcOnPremisesConnectionType::0002-unknownFutureValue Microsoft.Graph.Models.cloudPcProvisioningPolicy-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|AlternateResourceUrl:string Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|Assignments:List +Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|Autopatch:global.Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|CloudPcGroupDisplayName:string Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|CloudPcNamingTemplate:string Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|Description:string @@ -99404,6 +100114,15 @@ Microsoft.Graph.Models.cloudPcProvisioningPolicyAssignmentCollectionResponse::|p Microsoft.Graph.Models.cloudPcProvisioningPolicyAssignmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.cloudPcProvisioningPolicyAssignmentCollectionResponse::|public|Value:List Microsoft.Graph.Models.cloudPcProvisioningPolicyAssignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudPcProvisioningPolicyAssignmentCollectionResponse +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|AutopatchGroupId:string +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|constructor():void +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|OdataType:string +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.cloudPcProvisioningPolicyCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.cloudPcProvisioningPolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.cloudPcProvisioningPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -100093,6 +100812,10 @@ Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|G Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|OdataType:string Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationManagerCollectionAssignmentTarget +Microsoft.Graph.Models.confirmedBy::0000-none +Microsoft.Graph.Models.confirmedBy::0001-user +Microsoft.Graph.Models.confirmedBy::0002-manager +Microsoft.Graph.Models.confirmedBy::0003-unknownFutureValue Microsoft.Graph.Models.connectedOrganization-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.connectedOrganization::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.connectedOrganization::|public|Description:string @@ -100806,6 +101529,20 @@ Microsoft.Graph.Models.daylightTimeZoneOffset::|public|GetFieldDeserializers():I Microsoft.Graph.Models.daylightTimeZoneOffset::|public|OdataType:string Microsoft.Graph.Models.daylightTimeZoneOffset::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.daylightTimeZoneOffset::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DaylightTimeZoneOffset +Microsoft.Graph.Models.dayNote-->global.Microsoft.Graph.Models.ChangeTrackedEntity +Microsoft.Graph.Models.dayNote::|public|constructor():void +Microsoft.Graph.Models.dayNote::|public|DayNoteDate:Date? +Microsoft.Graph.Models.dayNote::|public|DraftDayNote:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.dayNote::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.dayNote::|public|OdataType:string +Microsoft.Graph.Models.dayNote::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.dayNote::|public|SharedDayNote:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.dayNote::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Models.dayNoteCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.dayNoteCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.dayNoteCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.dayNoteCollectionResponse::|public|Value:List +Microsoft.Graph.Models.dayNoteCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DayNoteCollectionResponse Microsoft.Graph.Models.dayOfWeekObject::0000-sunday Microsoft.Graph.Models.dayOfWeekObject::0001-monday Microsoft.Graph.Models.dayOfWeekObject::0002-tuesday @@ -107794,6 +108531,7 @@ Microsoft.Graph.Models.managedDeviceOverview::|static|public|CreateFromDiscrimin Microsoft.Graph.Models.managedDeviceOwnerType::0000-unknown Microsoft.Graph.Models.managedDeviceOwnerType::0001-company Microsoft.Graph.Models.managedDeviceOwnerType::0002-personal +Microsoft.Graph.Models.managedDeviceOwnerType::0003-unknownFutureValue Microsoft.Graph.Models.managedDevicePartnerReportedHealthState::0000-unknown Microsoft.Graph.Models.managedDevicePartnerReportedHealthState::0001-activated Microsoft.Graph.Models.managedDevicePartnerReportedHealthState::0002-deactivated @@ -108112,6 +108850,9 @@ Microsoft.Graph.Models.meetingInfo::|public|OdataType:string Microsoft.Graph.Models.meetingInfo::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.meetingInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MeetingInfo Microsoft.Graph.Models.meetingInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.meetingLiveShareOptions::0000-enabled +Microsoft.Graph.Models.meetingLiveShareOptions::0001-disabled +Microsoft.Graph.Models.meetingLiveShareOptions::0002-unknownFutureValue Microsoft.Graph.Models.meetingMessageType::0000-none Microsoft.Graph.Models.meetingMessageType::0001-meetingRequest Microsoft.Graph.Models.meetingMessageType::0002-meetingCancelled @@ -109512,12 +110253,17 @@ Microsoft.Graph.Models.onlineMeeting::|static|public|CreateFromDiscriminatorValu Microsoft.Graph.Models.onlineMeetingBase-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.onlineMeetingBase::|public|AllowAttendeeToEnableCamera:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowAttendeeToEnableMic:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowBreakoutRooms:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowedLobbyAdmitters:global.Microsoft.Graph.Models.AllowedLobbyAdmitterRoles? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowedPresenters:global.Microsoft.Graph.Models.OnlineMeetingPresenters? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowLiveShare:global.Microsoft.Graph.Models.MeetingLiveShareOptions? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowMeetingChat:global.Microsoft.Graph.Models.MeetingChatMode? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowParticipantsToChangeName:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowPowerPointSharing:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowRecording:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowTeamworkReactions:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowTranscription:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowWhiteboard:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AttendanceReports:List Microsoft.Graph.Models.onlineMeetingBase::|public|AudioConferencing:global.Microsoft.Graph.Models.AudioConferencing Microsoft.Graph.Models.onlineMeetingBase::|public|ChatInfo:global.Microsoft.Graph.Models.ChatInfo @@ -114267,8 +115013,10 @@ Microsoft.Graph.Models.samlSingleSignOnSettings::|public|Serialize(writer:ISeria Microsoft.Graph.Models.samlSingleSignOnSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SamlSingleSignOnSettings Microsoft.Graph.Models.samlSingleSignOnSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.schedule-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.schedule::|public|DayNotes:List Microsoft.Graph.Models.schedule::|public|Enabled:bool? Microsoft.Graph.Models.schedule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.schedule::|public|IsActivitiesIncludedWhenCopyingShiftsEnabled:bool? Microsoft.Graph.Models.schedule::|public|OdataType:string Microsoft.Graph.Models.schedule::|public|OfferShiftRequests:List Microsoft.Graph.Models.schedule::|public|OfferShiftRequestsEnabled:bool? @@ -114280,9 +115028,12 @@ Microsoft.Graph.Models.schedule::|public|ProvisionStatusCode:string Microsoft.Graph.Models.schedule::|public|SchedulingGroups:List Microsoft.Graph.Models.schedule::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.schedule::|public|Shifts:List +Microsoft.Graph.Models.schedule::|public|StartDayOfWeek:global.Microsoft.Graph.Models.DayOfWeekObject? Microsoft.Graph.Models.schedule::|public|SwapShiftsChangeRequests:List Microsoft.Graph.Models.schedule::|public|SwapShiftsRequestsEnabled:bool? +Microsoft.Graph.Models.schedule::|public|TimeCards:List Microsoft.Graph.Models.schedule::|public|TimeClockEnabled:bool? +Microsoft.Graph.Models.schedule::|public|TimeClockSettings:global.Microsoft.Graph.Models.TimeClockSettings Microsoft.Graph.Models.schedule::|public|TimeOffReasons:List Microsoft.Graph.Models.schedule::|public|TimeOffRequests:List Microsoft.Graph.Models.schedule::|public|TimeOffRequestsEnabled:bool? @@ -114375,6 +115126,7 @@ Microsoft.Graph.Models.scheduleRequestActions::0007-selfExtend Microsoft.Graph.Models.scheduleRequestActions::0008-selfRenew Microsoft.Graph.Models.scheduleRequestActions::0009-unknownFutureValue Microsoft.Graph.Models.schedulingGroup-->global.Microsoft.Graph.Models.ChangeTrackedEntity +Microsoft.Graph.Models.schedulingGroup::|public|Code:string Microsoft.Graph.Models.schedulingGroup::|public|constructor():void Microsoft.Graph.Models.schedulingGroup::|public|DisplayName:string Microsoft.Graph.Models.schedulingGroup::|public|GetFieldDeserializers():IDictionary> @@ -120308,6 +121060,72 @@ Microsoft.Graph.Models.ticketInfo::|public|TicketNumber:string Microsoft.Graph.Models.ticketInfo::|public|TicketSystem:string Microsoft.Graph.Models.ticketInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TicketInfo Microsoft.Graph.Models.ticketInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.timeCard-->global.Microsoft.Graph.Models.ChangeTrackedEntity +Microsoft.Graph.Models.timeCard::|public|Breaks:List +Microsoft.Graph.Models.timeCard::|public|ClockInEvent:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCard::|public|ClockOutEvent:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCard::|public|ConfirmedBy:global.Microsoft.Graph.Models.ConfirmedBy? +Microsoft.Graph.Models.timeCard::|public|constructor():void +Microsoft.Graph.Models.timeCard::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCard::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.timeCard::|public|OdataType:string +Microsoft.Graph.Models.timeCard::|public|OriginalEntry:global.Microsoft.Graph.Models.TimeCardEntry +Microsoft.Graph.Models.timeCard::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCard::|public|State:global.Microsoft.Graph.Models.TimeCardState? +Microsoft.Graph.Models.timeCard::|public|UserId:string +Microsoft.Graph.Models.timeCard::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Models.timeCardBreak::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeCardBreak::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeCardBreak::|public|BreakId:string +Microsoft.Graph.Models.timeCardBreak::|public|constructor():void +Microsoft.Graph.Models.timeCardBreak::|public|End:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardBreak::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCardBreak::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.timeCardBreak::|public|OdataType:string +Microsoft.Graph.Models.timeCardBreak::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCardBreak::|public|Start:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardBreak::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCardBreak +Microsoft.Graph.Models.timeCardBreak~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.timeCardCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.timeCardCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCardCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCardCollectionResponse::|public|Value:List +Microsoft.Graph.Models.timeCardCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Models.timeCardEntry::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeCardEntry::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeCardEntry::|public|Breaks:List +Microsoft.Graph.Models.timeCardEntry::|public|ClockInEvent:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardEntry::|public|ClockOutEvent:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardEntry::|public|constructor():void +Microsoft.Graph.Models.timeCardEntry::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCardEntry::|public|OdataType:string +Microsoft.Graph.Models.timeCardEntry::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCardEntry::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCardEntry +Microsoft.Graph.Models.timeCardEntry~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.timeCardEvent::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeCardEvent::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeCardEvent::|public|constructor():void +Microsoft.Graph.Models.timeCardEvent::|public|DateTime:DateTimeOffset? +Microsoft.Graph.Models.timeCardEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCardEvent::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Models.timeCardEvent::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.timeCardEvent::|public|OdataType:string +Microsoft.Graph.Models.timeCardEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCardEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardEvent~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.timeCardState::0000-clockedIn +Microsoft.Graph.Models.timeCardState::0001-onBreak +Microsoft.Graph.Models.timeCardState::0002-clockedOut +Microsoft.Graph.Models.timeCardState::0003-unknownFutureValue +Microsoft.Graph.Models.timeClockSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeClockSettings::|public|ApprovedLocation:global.Microsoft.Graph.Models.GeoCoordinates +Microsoft.Graph.Models.timeClockSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeClockSettings::|public|constructor():void +Microsoft.Graph.Models.timeClockSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeClockSettings::|public|OdataType:string +Microsoft.Graph.Models.timeClockSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeClockSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeClockSettings +Microsoft.Graph.Models.timeClockSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.timeConstraint::|public|ActivityDomain:global.Microsoft.Graph.Models.ActivityDomain? Microsoft.Graph.Models.timeConstraint::|public|AdditionalData:IDictionary Microsoft.Graph.Models.timeConstraint::|public|BackingStore:IBackingStore @@ -120340,6 +121158,7 @@ Microsoft.Graph.Models.timeOffItem::|public|Serialize(writer:ISerializationWrite Microsoft.Graph.Models.timeOffItem::|public|TimeOffReasonId:string Microsoft.Graph.Models.timeOffItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeOffItem Microsoft.Graph.Models.timeOffReason-->global.Microsoft.Graph.Models.ChangeTrackedEntity +Microsoft.Graph.Models.timeOffReason::|public|Code:string Microsoft.Graph.Models.timeOffReason::|public|constructor():void Microsoft.Graph.Models.timeOffReason::|public|DisplayName:string Microsoft.Graph.Models.timeOffReason::|public|GetFieldDeserializers():IDictionary> @@ -124808,9 +125627,10 @@ Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0004-openShift Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0005-openShiftRequest Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0006-offerShiftRequest Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0007-unknownFutureValue -Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0008-timeOffReason -Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0009-timeOff -Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0010-timeOffRequest +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0008-timeCard +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0009-timeOffReason +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0010-timeOff +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0011-timeOffRequest Microsoft.Graph.Models.workingHours::|public|AdditionalData:IDictionary Microsoft.Graph.Models.workingHours::|public|BackingStore:IBackingStore Microsoft.Graph.Models.workingHours::|public|constructor():void @@ -154066,6 +154886,98 @@ Microsoft.Graph.Teams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessage Microsoft.Graph.Teams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder Microsoft.Graph.Teams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse-->global.Microsoft.Graph.Teams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse Microsoft.Graph.Teams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addResponse-->global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.Remove.RemoveResponse Microsoft.Graph.Teams.Item.Channels.Item.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Teams.Item.Channels.Item.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Teams.Item.Channels.Item.Archive.archivePostRequestBody::|public|constructor():void @@ -154087,6 +154999,7 @@ Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRe Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|allMembers:global.Microsoft.Graph.Teams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|archive:global.Microsoft.Graph.Teams.Item.Channels.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Teams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -155150,6 +156063,98 @@ Microsoft.Graph.Teams.Item.Photo.Value.ContentRequestBuilder::|public|ToDeleteRe Microsoft.Graph.Teams.Item.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Photo.Value.ContentRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addResponse-->global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse Microsoft.Graph.Teams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Teams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Teams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|constructor():void @@ -155666,6 +156671,7 @@ Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryCh Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|allMembers:global.Microsoft.Graph.Teams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|archive:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Teams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -155851,6 +156857,50 @@ Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|pu Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -155991,6 +157041,7 @@ Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilde Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder @@ -156001,6 +157052,7 @@ Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|schedulingGr Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Teams.Item.Schedule.Share.ShareRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Teams.Item.Schedule.Shifts.ShiftsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Teams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Teams.Item.Schedule.TimesOff.TimesOffRequestBuilder @@ -156157,6 +157209,126 @@ Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeReq Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -156697,6 +157869,98 @@ Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.GetAllRetainedMessages.getAl Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse-->global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addResponse-->global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|constructor():void @@ -156718,6 +157982,7 @@ Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuild Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|allMembers:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|archive:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -166328,6 +167593,98 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.GetAllRetainedMessages.getA Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesGetResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.GetAllRetainedMessages.getAllRetainedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.GetAllRetainedMessages.GetAllRetainedMessagesResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddPostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.Remove.RemoveResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Archive.archivePostRequestBody::|public|constructor():void @@ -166349,6 +167706,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuil Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder.ChannelItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|allMembers:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|archive:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -167412,6 +168770,98 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::| Microsoft.Graph.Users.Item.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Photo.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Photo.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddPostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder.allMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|add:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Add.AddRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.allMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.Remove.RemoveResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Archive.archivePostRequestBody::|public|constructor():void @@ -167928,6 +169378,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequest Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|allMembers:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.AllMembers.AllMembersRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|archive:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Archive.ArchiveRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|completeMigration:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.CompleteMigration.CompleteMigrationRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -168113,6 +169564,50 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRe Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -168253,6 +169748,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder.sche Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder @@ -168263,6 +169759,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|pu Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder @@ -168419,6 +169916,126 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.sw Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 0f681dd2bbe..54483b4fac9 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "A5840EB5068B890531514334D5B87B824E14F65AEB9D1096461446A860A32DBDED7C49BE56793C270C8B0B0FB4E34EC25E00A09F4B90842BA2FFB86304462E3B", + "descriptionHash": "26A4BD79FE2A3CA4DF670EF92BEE124492D8731B1E9F46C509627913286423A1C81C942472A4437F80A91F51B386824F6A71E95CE2A8D8BFB35024DC54F5800A", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.23.0", + "kiotaVersion": "1.24.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph",