diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java
index 983419d0631..9ad8e8bb6e4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java
@@ -35,7 +35,7 @@ public ExportItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/exportItems", rawUrl);
}
/**
- * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see: Overview of the mailbox import and export APIs in Microsoft Graph (preview) You can export up to 20 items in a single export request.
+ * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @return a {@link ExportItemsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -49,7 +49,7 @@ public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItem
return post(body, null);
}
/**
- * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see: Overview of the mailbox import and export APIs in Microsoft Graph (preview) You can export up to 20 items in a single export request.
+ * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ExportItemsPostResponse}
@@ -68,7 +68,7 @@ public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItem
return this.requestAdapter.send(requestInfo, errorMapping, ExportItemsPostResponse::createFromDiscriminatorValue);
}
/**
- * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see: Overview of the mailbox import and export APIs in Microsoft Graph (preview) You can export up to 20 items in a single export request.
+ * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
@@ -80,7 +80,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see: Overview of the mailbox import and export APIs in Microsoft Graph (preview) You can export up to 20 items in a single export request.
+ * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java
index b5515adeb01..42113b0e037 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java
@@ -36,7 +36,7 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
@@ -49,7 +49,7 @@ public DeltaGetResponse get() {
return get(null);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -66,7 +66,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link RequestInformation}
* @deprecated
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
@@ -77,7 +77,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
@@ -105,7 +105,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/delta/DeltaRequestBuilder.java
index a3f02171f0e..27a3101cbd0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/delta/DeltaRequestBuilder.java
@@ -36,7 +36,7 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
@@ -49,7 +49,7 @@ public DeltaGetResponse get() {
return get(null);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -66,7 +66,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link RequestInformation}
* @deprecated
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
@@ -77,7 +77,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
@@ -105,7 +105,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/delta/DeltaRequestBuilder.java
index 9e4580e9aed..d65e581781a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/delta/DeltaRequestBuilder.java
@@ -36,7 +36,7 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
@@ -48,7 +48,7 @@ public DeltaGetResponse get() {
return get(null);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -64,7 +64,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @return a {@link RequestInformation}
* @deprecated
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
@@ -75,7 +75,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
@@ -103,7 +103,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/items/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/items/delta/DeltaRequestBuilder.java
index 8581dc2d928..c3559f06a5b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/items/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/items/delta/DeltaRequestBuilder.java
@@ -36,7 +36,7 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
@@ -49,7 +49,7 @@ public DeltaGetResponse get() {
return get(null);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -66,7 +66,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @return a {@link RequestInformation}
* @deprecated
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
@@ -77,7 +77,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
@@ -105,7 +105,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get a set of mailboxItem objects that have been added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/photoupdatesettings/PhotoUpdateSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/photoupdatesettings/PhotoUpdateSettingsRequestBuilder.java
index d7abde92ac7..4cf595c95b9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/people/photoupdatesettings/PhotoUpdateSettingsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/photoupdatesettings/PhotoUpdateSettingsRequestBuilder.java
@@ -37,18 +37,16 @@ public PhotoUpdateSettingsRequestBuilder(@jakarta.annotation.Nonnull final Strin
super(requestAdapter, "{+baseurl}/admin/people/photoUpdateSettings{?%24expand,%24select}", rawUrl);
}
/**
- * Delete a photoUpdateSettings object.
+ * Delete navigation property photoUpdateSettings for admin
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Delete a photoUpdateSettings object.
+ * Delete navigation property photoUpdateSettings for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -57,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read the properties and relationships of a photoUpdateSettings object.
+ * Get the properties of a photoUpdateSettings object.
* @return a {@link PhotoUpdateSettings}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public PhotoUpdateSettings get() {
return get(null);
}
/**
- * Read the properties and relationships of a photoUpdateSettings object.
+ * Get the properties of a photoUpdateSettings object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link PhotoUpdateSettings}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public PhotoUpdateSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -108,7 +106,7 @@ public PhotoUpdateSettings patch(@jakarta.annotation.Nonnull final PhotoUpdateSe
return this.requestAdapter.send(requestInfo, errorMapping, PhotoUpdateSettings::createFromDiscriminatorValue);
}
/**
- * Delete a photoUpdateSettings object.
+ * Delete navigation property photoUpdateSettings for admin
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -116,7 +114,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete a photoUpdateSettings object.
+ * Delete navigation property photoUpdateSettings for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -128,7 +126,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read the properties and relationships of a photoUpdateSettings object.
+ * Get the properties of a photoUpdateSettings object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -136,7 +134,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read the properties and relationships of a photoUpdateSettings object.
+ * Get the properties of a photoUpdateSettings object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -188,7 +186,7 @@ public PhotoUpdateSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull fin
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read the properties and relationships of a photoUpdateSettings object.
+ * Get the properties of a photoUpdateSettings object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/ReportSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/ReportSettingsRequestBuilder.java
index cfd8d98afa8..68c73033f5d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/ReportSettingsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/ReportSettingsRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.beta.admin.reportsettings;
+import com.microsoft.graph.beta.admin.reportsettings.sharepoint.SharePointRequestBuilder;
import com.microsoft.graph.beta.models.AdminReportSettings;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -20,6 +21,14 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class ReportSettingsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the sharePoint property of the microsoft.graph.adminReportSettings entity.
+ * @return a {@link SharePointRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SharePointRequestBuilder sharePoint() {
+ return new SharePointRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link ReportSettingsRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/SharePointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/SharePointRequestBuilder.java
new file mode 100644
index 00000000000..81a00065049
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/SharePointRequestBuilder.java
@@ -0,0 +1,255 @@
+package com.microsoft.graph.beta.admin.reportsettings.sharepoint;
+
+import com.microsoft.graph.beta.admin.reportsettings.sharepoint.apiusagereportmetrics.ApiUsageReportMetricsRequestBuilder;
+import com.microsoft.graph.beta.admin.reportsettings.sharepoint.disableapiusagereport.DisableApiUsageReportRequestBuilder;
+import com.microsoft.graph.beta.admin.reportsettings.sharepoint.enableapiusagereport.EnableApiUsageReportRequestBuilder;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.SharePointReportSettings;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the sharePoint property of the microsoft.graph.adminReportSettings entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SharePointRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the apiUsageReportMetrics property of the microsoft.graph.sharePointReportSettings entity.
+ * @return a {@link ApiUsageReportMetricsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ApiUsageReportMetricsRequestBuilder apiUsageReportMetrics() {
+ return new ApiUsageReportMetricsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the disableApiUsageReport method.
+ * @return a {@link DisableApiUsageReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DisableApiUsageReportRequestBuilder disableApiUsageReport() {
+ return new DisableApiUsageReportRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the enableApiUsageReport method.
+ * @return a {@link EnableApiUsageReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public EnableApiUsageReportRequestBuilder enableApiUsageReport() {
+ return new EnableApiUsageReportRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link SharePointRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SharePointRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SharePointRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SharePointRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property sharePoint for admin
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property sharePoint for admin
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * A container for SharePoint-specific report settings. Access the SharePoint API usage report metrics through the operations defined on the sharePointReportSettings resource type.
+ * @return a {@link SharePointReportSettings}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public SharePointReportSettings get() {
+ return get(null);
+ }
+ /**
+ * A container for SharePoint-specific report settings. Access the SharePoint API usage report metrics through the operations defined on the sharePointReportSettings resource type.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link SharePointReportSettings}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public SharePointReportSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, SharePointReportSettings::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property sharePoint in admin
+ * @param body The request body
+ * @return a {@link SharePointReportSettings}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public SharePointReportSettings patch(@jakarta.annotation.Nonnull final SharePointReportSettings body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property sharePoint in admin
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link SharePointReportSettings}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public SharePointReportSettings patch(@jakarta.annotation.Nonnull final SharePointReportSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, SharePointReportSettings::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property sharePoint for admin
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property sharePoint for admin
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * A container for SharePoint-specific report settings. Access the SharePoint API usage report metrics through the operations defined on the sharePointReportSettings resource type.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A container for SharePoint-specific report settings. Access the SharePoint API usage report metrics through the operations defined on the sharePointReportSettings resource type.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property sharePoint in admin
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointReportSettings body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property sharePoint in admin
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointReportSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link SharePointRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SharePointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SharePointRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * A container for SharePoint-specific report settings. Access the SharePoint API usage report metrics through the operations defined on the sharePointReportSettings resource type.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/ApiUsageReportMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/ApiUsageReportMetricsRequestBuilder.java
new file mode 100644
index 00000000000..62283a08b96
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/ApiUsageReportMetricsRequestBuilder.java
@@ -0,0 +1,245 @@
+package com.microsoft.graph.beta.admin.reportsettings.sharepoint.apiusagereportmetrics;
+
+import com.microsoft.graph.beta.admin.reportsettings.sharepoint.apiusagereportmetrics.count.CountRequestBuilder;
+import com.microsoft.graph.beta.admin.reportsettings.sharepoint.apiusagereportmetrics.item.ApiUsageReportEnablementStatusMetricItemRequestBuilder;
+import com.microsoft.graph.beta.models.ApiUsageReportEnablementStatus;
+import com.microsoft.graph.beta.models.ApiUsageReportEnablementStatusCollectionResponse;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the apiUsageReportMetrics property of the microsoft.graph.sharePointReportSettings entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ApiUsageReportMetricsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the apiUsageReportMetrics property of the microsoft.graph.sharePointReportSettings entity.
+ * @param apiUsageReportEnablementStatusMetric The unique identifier of apiUsageReportEnablementStatus
+ * @return a {@link ApiUsageReportEnablementStatusMetricItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ApiUsageReportEnablementStatusMetricItemRequestBuilder byApiUsageReportEnablementStatusMetric(@jakarta.annotation.Nonnull final String apiUsageReportEnablementStatusMetric) {
+ Objects.requireNonNull(apiUsageReportEnablementStatusMetric);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("apiUsageReportEnablementStatus%2Dmetric", apiUsageReportEnablementStatusMetric);
+ return new ApiUsageReportEnablementStatusMetricItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link ApiUsageReportMetricsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ApiUsageReportMetricsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/apiUsageReportMetrics{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ApiUsageReportMetricsRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ApiUsageReportMetricsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/apiUsageReportMetrics{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. Currently, only the EgressReport metric is supported.
+ * @return a {@link ApiUsageReportEnablementStatusCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatusCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. Currently, only the EgressReport metric is supported.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ApiUsageReportEnablementStatusCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatusCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ApiUsageReportEnablementStatusCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to apiUsageReportMetrics for admin
+ * @param body The request body
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus post(@jakarta.annotation.Nonnull final ApiUsageReportEnablementStatus body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to apiUsageReportMetrics for admin
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus post(@jakarta.annotation.Nonnull final ApiUsageReportEnablementStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ApiUsageReportEnablementStatus::createFromDiscriminatorValue);
+ }
+ /**
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. Currently, only the EgressReport metric is supported.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. Currently, only the EgressReport metric is supported.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Create new navigation property to apiUsageReportMetrics for admin
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApiUsageReportEnablementStatus body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to apiUsageReportMetrics for admin
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApiUsageReportEnablementStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link ApiUsageReportMetricsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ApiUsageReportMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ApiUsageReportMetricsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. Currently, only the EgressReport metric is supported.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..94c6af4f77b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.admin.reportsettings.sharepoint.apiusagereportmetrics.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/apiUsageReportMetrics/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/apiUsageReportMetrics/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/item/ApiUsageReportEnablementStatusMetricItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/item/ApiUsageReportEnablementStatusMetricItemRequestBuilder.java
new file mode 100644
index 00000000000..e66ab59c1ba
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/item/ApiUsageReportEnablementStatusMetricItemRequestBuilder.java
@@ -0,0 +1,228 @@
+package com.microsoft.graph.beta.admin.reportsettings.sharepoint.apiusagereportmetrics.item;
+
+import com.microsoft.graph.beta.models.ApiUsageReportEnablementStatus;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the apiUsageReportMetrics property of the microsoft.graph.sharePointReportSettings entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ApiUsageReportEnablementStatusMetricItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ApiUsageReportEnablementStatusMetricItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ApiUsageReportEnablementStatusMetricItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/apiUsageReportMetrics/{apiUsageReportEnablementStatus%2Dmetric}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ApiUsageReportEnablementStatusMetricItemRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ApiUsageReportEnablementStatusMetricItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/apiUsageReportMetrics/{apiUsageReportEnablementStatus%2Dmetric}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property apiUsageReportMetrics for admin
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property apiUsageReportMetrics for admin
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * The collection of API usage report metrics and the status of their enablement.
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus get() {
+ return get(null);
+ }
+ /**
+ * The collection of API usage report metrics and the status of their enablement.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ApiUsageReportEnablementStatus::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property apiUsageReportMetrics in admin
+ * @param body The request body
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus patch(@jakarta.annotation.Nonnull final ApiUsageReportEnablementStatus body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property apiUsageReportMetrics in admin
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus patch(@jakarta.annotation.Nonnull final ApiUsageReportEnablementStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ApiUsageReportEnablementStatus::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property apiUsageReportMetrics for admin
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property apiUsageReportMetrics for admin
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * The collection of API usage report metrics and the status of their enablement.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * The collection of API usage report metrics and the status of their enablement.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property apiUsageReportMetrics in admin
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApiUsageReportEnablementStatus body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property apiUsageReportMetrics in admin
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApiUsageReportEnablementStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link ApiUsageReportEnablementStatusMetricItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ApiUsageReportEnablementStatusMetricItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ApiUsageReportEnablementStatusMetricItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * The collection of API usage report metrics and the status of their enablement.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/disableapiusagereport/DisableApiUsageReportPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/disableapiusagereport/DisableApiUsageReportPostRequestBody.java
new file mode 100644
index 00000000000..318f4cc548c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/disableapiusagereport/DisableApiUsageReportPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.admin.reportsettings.sharepoint.disableapiusagereport;
+
+import com.microsoft.kiota.serialization.AdditionalDataHolder;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import com.microsoft.kiota.store.BackedModel;
+import com.microsoft.kiota.store.BackingStore;
+import com.microsoft.kiota.store.BackingStoreFactorySingleton;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DisableApiUsageReportPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link DisableApiUsageReportPostRequestBody} and sets the default values.
+ */
+ public DisableApiUsageReportPostRequestBody() {
+ this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
+ this.setAdditionalData(new HashMap<>());
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link DisableApiUsageReportPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static DisableApiUsageReportPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new DisableApiUsageReportPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("metric", (n) -> { this.setMetric(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the metric property value. The metric property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getMetric() {
+ return this.backingStore.get("metric");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("metric", this.getMetric());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the metric property value. The metric property
+ * @param value Value to set for the metric property.
+ */
+ public void setMetric(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("metric", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/disableapiusagereport/DisableApiUsageReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/disableapiusagereport/DisableApiUsageReportRequestBuilder.java
new file mode 100644
index 00000000000..6ab9154f943
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/disableapiusagereport/DisableApiUsageReportRequestBuilder.java
@@ -0,0 +1,105 @@
+package com.microsoft.graph.beta.admin.reportsettings.sharepoint.disableapiusagereport;
+
+import com.microsoft.graph.beta.models.ApiUsageReportEnablementStatus;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the disableApiUsageReport method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DisableApiUsageReportRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link DisableApiUsageReportRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public DisableApiUsageReportRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/disableApiUsageReport", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link DisableApiUsageReportRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public DisableApiUsageReportRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/disableApiUsageReport", rawUrl);
+ }
+ /**
+ * Disable a SharePoint API usage report metric for the tenant. After you disable a metric, SharePoint stops collecting and reporting data for that specific usage metric.
+ * @param body The request body
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus post(@jakarta.annotation.Nonnull final DisableApiUsageReportPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Disable a SharePoint API usage report metric for the tenant. After you disable a metric, SharePoint stops collecting and reporting data for that specific usage metric.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus post(@jakarta.annotation.Nonnull final DisableApiUsageReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ApiUsageReportEnablementStatus::createFromDiscriminatorValue);
+ }
+ /**
+ * Disable a SharePoint API usage report metric for the tenant. After you disable a metric, SharePoint stops collecting and reporting data for that specific usage metric.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DisableApiUsageReportPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Disable a SharePoint API usage report metric for the tenant. After you disable a metric, SharePoint stops collecting and reporting data for that specific usage metric.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DisableApiUsageReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link DisableApiUsageReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DisableApiUsageReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new DisableApiUsageReportRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/enableapiusagereport/EnableApiUsageReportPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/enableapiusagereport/EnableApiUsageReportPostRequestBody.java
new file mode 100644
index 00000000000..4b1a0effb4b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/enableapiusagereport/EnableApiUsageReportPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.admin.reportsettings.sharepoint.enableapiusagereport;
+
+import com.microsoft.kiota.serialization.AdditionalDataHolder;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import com.microsoft.kiota.store.BackedModel;
+import com.microsoft.kiota.store.BackingStore;
+import com.microsoft.kiota.store.BackingStoreFactorySingleton;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class EnableApiUsageReportPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link EnableApiUsageReportPostRequestBody} and sets the default values.
+ */
+ public EnableApiUsageReportPostRequestBody() {
+ this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
+ this.setAdditionalData(new HashMap<>());
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link EnableApiUsageReportPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static EnableApiUsageReportPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new EnableApiUsageReportPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("metric", (n) -> { this.setMetric(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the metric property value. The metric property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getMetric() {
+ return this.backingStore.get("metric");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("metric", this.getMetric());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the metric property value. The metric property
+ * @param value Value to set for the metric property.
+ */
+ public void setMetric(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("metric", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/enableapiusagereport/EnableApiUsageReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/enableapiusagereport/EnableApiUsageReportRequestBuilder.java
new file mode 100644
index 00000000000..bc5b26813bd
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/enableapiusagereport/EnableApiUsageReportRequestBuilder.java
@@ -0,0 +1,105 @@
+package com.microsoft.graph.beta.admin.reportsettings.sharepoint.enableapiusagereport;
+
+import com.microsoft.graph.beta.models.ApiUsageReportEnablementStatus;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the enableApiUsageReport method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class EnableApiUsageReportRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link EnableApiUsageReportRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public EnableApiUsageReportRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/enableApiUsageReport", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link EnableApiUsageReportRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public EnableApiUsageReportRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/enableApiUsageReport", rawUrl);
+ }
+ /**
+ * Enable a SharePoint API usage report metric for the tenant. After you enable a metric, SharePoint starts collecting and reporting data for that specific usage metric.
+ * @param body The request body
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus post(@jakarta.annotation.Nonnull final EnableApiUsageReportPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Enable a SharePoint API usage report metric for the tenant. After you enable a metric, SharePoint starts collecting and reporting data for that specific usage metric.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ApiUsageReportEnablementStatus}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ApiUsageReportEnablementStatus post(@jakarta.annotation.Nonnull final EnableApiUsageReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ApiUsageReportEnablementStatus::createFromDiscriminatorValue);
+ }
+ /**
+ * Enable a SharePoint API usage report metric for the tenant. After you enable a metric, SharePoint starts collecting and reporting data for that specific usage metric.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EnableApiUsageReportPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Enable a SharePoint API usage report metric for the tenant. After you enable a metric, SharePoint starts collecting and reporting data for that specific usage metric.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EnableApiUsageReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link EnableApiUsageReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public EnableApiUsageReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new EnableApiUsageReportRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/archive/ArchivePostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/archive/ArchivePostResponse.java
index 4e9fef6e343..a2be6e9089a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/archive/ArchivePostResponse.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/archive/ArchivePostResponse.java
@@ -23,6 +23,7 @@ public class ArchivePostResponse implements AdditionalDataHolder, BackedModel, P
public ArchivePostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/favorite/FavoritePostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/favorite/FavoritePostResponse.java
index 1d6ae4ebe8d..cc2fa632865 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/favorite/FavoritePostResponse.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/favorite/FavoritePostResponse.java
@@ -23,6 +23,7 @@ public class FavoritePostResponse implements AdditionalDataHolder, BackedModel,
public FavoritePostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/markread/MarkReadPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/markread/MarkReadPostResponse.java
index a42708b35a5..951939bda85 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/markread/MarkReadPostResponse.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/markread/MarkReadPostResponse.java
@@ -23,6 +23,7 @@ public class MarkReadPostResponse implements AdditionalDataHolder, BackedModel,
public MarkReadPostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/markunread/MarkUnreadPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/markunread/MarkUnreadPostResponse.java
index de47a5f97e4..3ae8390aa41 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/markunread/MarkUnreadPostResponse.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/markunread/MarkUnreadPostResponse.java
@@ -23,6 +23,7 @@ public class MarkUnreadPostResponse implements AdditionalDataHolder, BackedModel
public MarkUnreadPostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/unarchive/UnarchivePostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/unarchive/UnarchivePostResponse.java
index 6b9fcda7961..61f5835bbee 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/unarchive/UnarchivePostResponse.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/unarchive/UnarchivePostResponse.java
@@ -23,6 +23,7 @@ public class UnarchivePostResponse implements AdditionalDataHolder, BackedModel,
public UnarchivePostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/unfavorite/UnfavoritePostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/unfavorite/UnfavoritePostResponse.java
index c3c8929f7ee..187be53e4f4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/unfavorite/UnfavoritePostResponse.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/unfavorite/UnfavoritePostResponse.java
@@ -23,6 +23,7 @@ public class UnfavoritePostResponse implements AdditionalDataHolder, BackedModel
public UnfavoritePostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/PolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/PolicyRequestBuilder.java
index 31aa2337022..a96c50c03e0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/PolicyRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/PolicyRequestBuilder.java
@@ -1,6 +1,6 @@
package com.microsoft.graph.beta.admin.teams.policy;
-import com.microsoft.graph.beta.admin.teams.policy.microsoftgraphteamsadministrationgetpolicyidwithtypewithname.MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder;
+import com.microsoft.graph.beta.admin.teams.policy.microsoftgraphteamsadministrationgetpolicyidwithtypewithname.MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604;
import com.microsoft.graph.beta.admin.teams.policy.userassignments.UserAssignmentsRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.graph.beta.models.teamsadministration.TeamsPolicyAssignment;
@@ -90,13 +90,13 @@ public TeamsPolicyAssignment get(@jakarta.annotation.Nullable final java.util.fu
* Provides operations to call the getPolicyId method.
* @param name Usage: name='{name}'
* @param type Usage: type='{type}'
- * @return a {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder}
+ * @return a {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604}
*/
@jakarta.annotation.Nonnull
- public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(@jakarta.annotation.Nonnull final String name, @jakarta.annotation.Nonnull final String type) {
+ public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604 microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(@jakarta.annotation.Nonnull final String name, @jakarta.annotation.Nonnull final String type) {
Objects.requireNonNull(name);
Objects.requireNonNull(type);
- return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(pathParameters, requestAdapter, name, type);
+ return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604(pathParameters, requestAdapter, name, type);
}
/**
* Update the navigation property policy in admin
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/microsoftgraphteamsadministrationgetpolicyidwithtypewithname/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604.java b/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/microsoftgraphteamsadministrationgetpolicyidwithtypewithname/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604.java
new file mode 100644
index 00000000000..911821f59cf
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/microsoftgraphteamsadministrationgetpolicyidwithtypewithname/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604.java
@@ -0,0 +1,170 @@
+package com.microsoft.graph.beta.admin.teams.policy.microsoftgraphteamsadministrationgetpolicyidwithtypewithname;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the getPolicyId method. Original name: MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604 extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604} and sets the default values.
+ * @param name Usage: name='{name}'
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ * @param type Usage: type='{type}'
+ */
+ public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String name, @jakarta.annotation.Nullable final String type) {
+ super(requestAdapter, "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ this.pathParameters.put("name", name);
+ this.pathParameters.put("type", type);
+ }
+ /**
+ * Instantiates a new {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get the policy ID for a given policy name and policy type within Teams administration.
+ * @return a {@link GetPolicyIdWithTypeWithNameGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetPolicyIdWithTypeWithNameGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Get the policy ID for a given policy name and policy type within Teams administration.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetPolicyIdWithTypeWithNameGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetPolicyIdWithTypeWithNameGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, GetPolicyIdWithTypeWithNameGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Get the policy ID for a given policy name and policy type within Teams administration.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the policy ID for a given policy name and policy type within Teams administration.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604}
+ */
+ @jakarta.annotation.Nonnull
+ public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604 withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the policy ID for a given policy name and policy type within Teams administration.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/microsoftgraphteamsadministrationgetpolicyidwithtypewithname/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/microsoftgraphteamsadministrationgetpolicyidwithtypewithname/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.java
deleted file mode 100644
index b25ed7c7ed0..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/teams/policy/microsoftgraphteamsadministrationgetpolicyidwithtypewithname/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.java
+++ /dev/null
@@ -1,170 +0,0 @@
-package com.microsoft.graph.beta.admin.teams.policy.microsoftgraphteamsadministrationgetpolicyidwithtypewithname;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to call the getPolicyId method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder} and sets the default values.
- * @param name Usage: name='{name}'
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- * @param type Usage: type='{type}'
- */
- public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String name, @jakarta.annotation.Nullable final String type) {
- super(requestAdapter, "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- this.pathParameters.put("name", name);
- this.pathParameters.put("type", type);
- }
- /**
- * Instantiates a new {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder} and sets the default values.
- * @param rawUrl The raw URL to use for the request builder.
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * Get the policy ID for a given policy name and policy type within Teams administration.
- * @return a {@link GetPolicyIdWithTypeWithNameGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetPolicyIdWithTypeWithNameGetResponse get() {
- return get(null);
- }
- /**
- * Get the policy ID for a given policy name and policy type within Teams administration.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link GetPolicyIdWithTypeWithNameGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetPolicyIdWithTypeWithNameGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, GetPolicyIdWithTypeWithNameGetResponse::createFromDiscriminatorValue);
- }
- /**
- * Get the policy ID for a given policy name and policy type within Teams administration.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Get the policy ID for a given policy name and policy type within Teams administration.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- 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.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Get the policy ID for a given policy name and policy type within Teams administration.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/ProductsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/ProductsRequestBuilder.java
index 6091c4341a3..ff64a7080b3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/ProductsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/ProductsRequestBuilder.java
@@ -2,8 +2,8 @@
import com.microsoft.graph.beta.admin.windows.updates.products.count.CountRequestBuilder;
import com.microsoft.graph.beta.admin.windows.updates.products.item.ProductItemRequestBuilder;
-import com.microsoft.graph.beta.admin.windows.updates.products.microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid.MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder;
-import com.microsoft.graph.beta.admin.windows.updates.products.microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber.MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder;
+import com.microsoft.graph.beta.admin.windows.updates.products.microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid.MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28;
+import com.microsoft.graph.beta.admin.windows.updates.products.microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber.MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.graph.beta.models.windowsupdates.Product;
import com.microsoft.graph.beta.models.windowsupdates.ProductCollectionResponse;
@@ -86,22 +86,22 @@ public ProductCollectionResponse get(@jakarta.annotation.Nullable final java.uti
/**
* Provides operations to call the findByCatalogId method.
* @param catalogID Usage: catalogID='{catalogID}'
- * @return a {@link MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder}
+ * @return a {@link MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28}
*/
@jakarta.annotation.Nonnull
- public MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder microsoftGraphWindowsUpdatesFindByCatalogIdWithCatalogID(@jakarta.annotation.Nonnull final String catalogID) {
+ public MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28 microsoftGraphWindowsUpdatesFindByCatalogIdWithCatalogID(@jakarta.annotation.Nonnull final String catalogID) {
Objects.requireNonNull(catalogID);
- return new MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder(pathParameters, requestAdapter, catalogID);
+ return new MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28(pathParameters, requestAdapter, catalogID);
}
/**
* Provides operations to call the findByKbNumber method.
* @param kbNumber Usage: kbNumber={kbNumber}
- * @return a {@link MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder}
+ * @return a {@link MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7}
*/
@jakarta.annotation.Nonnull
- public MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder microsoftGraphWindowsUpdatesFindByKbNumberWithKbNumber(@jakarta.annotation.Nonnull final Integer kbNumber) {
+ public MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7 microsoftGraphWindowsUpdatesFindByKbNumberWithKbNumber(@jakarta.annotation.Nonnull final Integer kbNumber) {
Objects.requireNonNull(kbNumber);
- return new MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder(pathParameters, requestAdapter, kbNumber);
+ return new MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7(pathParameters, requestAdapter, kbNumber);
}
/**
* Create new navigation property to products for admin
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/ProductItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/ProductItemRequestBuilder.java
index ce10fe14341..18d9e73ff32 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/ProductItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/ProductItemRequestBuilder.java
@@ -2,7 +2,7 @@
import com.microsoft.graph.beta.admin.windows.updates.products.item.editions.EditionsRequestBuilder;
import com.microsoft.graph.beta.admin.windows.updates.products.item.knownissues.KnownIssuesRequestBuilder;
-import com.microsoft.graph.beta.admin.windows.updates.products.item.microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive.MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder;
+import com.microsoft.graph.beta.admin.windows.updates.products.item.microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f.MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905;
import com.microsoft.graph.beta.admin.windows.updates.products.item.revisions.RevisionsRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.graph.beta.models.windowsupdates.Product;
@@ -107,12 +107,12 @@ public Product get(@jakarta.annotation.Nullable final java.util.function.Consume
/**
* Provides operations to call the getKnownIssuesByTimeRange method.
* @param daysInPast Usage: daysInPast={daysInPast}
- * @return a {@link MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder}
+ * @return a {@link MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905}
*/
@jakarta.annotation.Nonnull
- public MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder microsoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActive(@jakarta.annotation.Nonnull final Integer daysInPast) {
+ public MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905 microsoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActive(@jakarta.annotation.Nonnull final Integer daysInPast) {
Objects.requireNonNull(daysInPast);
- return new MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder(pathParameters, requestAdapter, daysInPast);
+ return new MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905(pathParameters, requestAdapter, daysInPast);
}
/**
* Update the navigation property products in admin
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f/GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f/GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab.java
new file mode 100644
index 00000000000..75f4a12d3da
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f/GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab.java
@@ -0,0 +1,66 @@
+package com.microsoft.graph.beta.admin.windows.updates.products.item.microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.graph.beta.models.windowsupdates.KnownIssue;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Original name: GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab} and sets the default values.
+ */
+ public GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab() {
+ super();
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(KnownIssue::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f/MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f/MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905.java
new file mode 100644
index 00000000000..1f7a7a76b24
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f/MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905.java
@@ -0,0 +1,174 @@
+package com.microsoft.graph.beta.admin.windows.updates.products.item.microsoftgraphwindowsupdatesgetknownissuesbytimerangewi_d25cf54f;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the getKnownIssuesByTimeRange method. Original name: MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905 extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905} and sets the default values.
+ * @param daysInPast Usage: daysInPast={daysInPast}
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final Integer daysInPast) {
+ super(requestAdapter, "{+baseurl}/admin/windows/updates/products/{product%2Did}/microsoft.graph.windowsUpdates.getKnownIssuesByTimeRange(daysInPast={daysInPast},includeAllActive=@includeAllActive){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeAllActive*}", pathParameters);
+ this.pathParameters.put("daysInPast", daysInPast);
+ }
+ /**
+ * Instantiates a new {@link MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/windows/updates/products/{product%2Did}/microsoft.graph.windowsUpdates.getKnownIssuesByTimeRange(daysInPast={daysInPast},includeAllActive=@includeAllActive){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeAllActive*}", rawUrl);
+ }
+ /**
+ * Get known issues related to a particular product based on a specified timeframe in the past.
+ * @return a {@link GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab get() {
+ return get(null);
+ }
+ /**
+ * Get known issues related to a particular product based on a specified timeframe in the past.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllAc_1ad18fab::createFromDiscriminatorValue);
+ }
+ /**
+ * Get known issues related to a particular product based on a specified timeframe in the past.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get known issues related to a particular product based on a specified timeframe in the past.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905}
+ */
+ @jakarta.annotation.Nonnull
+ public MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905 withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWi_8adb2905(rawUrl, requestAdapter);
+ }
+ /**
+ * Get known issues related to a particular product based on a specified timeframe in the past.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Usage: includeAllActive=@includeAllActive
+ */
+ @jakarta.annotation.Nullable
+ public Boolean includeAllActive;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("includeAllActive", includeAllActive);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive/GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive/GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse.java
deleted file mode 100644
index 38bd1abdfe3..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive/GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.microsoft.graph.beta.admin.windows.updates.products.item.microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive;
-
-import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
-import com.microsoft.graph.beta.models.windowsupdates.KnownIssue;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParseNode;
-import com.microsoft.kiota.serialization.SerializationWriter;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
- /**
- * Instantiates a new {@link GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse} and sets the default values.
- */
- public GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse() {
- super();
- }
- /**
- * Creates a new instance of the appropriate class based on discriminator value
- * @param parseNode The parse node to use to read the discriminator value and create the object
- * @return a {@link GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse}
- */
- @jakarta.annotation.Nonnull
- public static GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse();
- }
- /**
- * The deserialization information for the current model
- * @return a {@link Map>}
- */
- @jakarta.annotation.Nonnull
- public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
- deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(KnownIssue::createFromDiscriminatorValue)); });
- return deserializerMap;
- }
- /**
- * Gets the value property value. The value property
- * @return a {@link java.util.List}
- */
- @jakarta.annotation.Nullable
- public java.util.List getValue() {
- return this.backingStore.get("value");
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- super.serialize(writer);
- writer.writeCollectionOfObjectValues("value", this.getValue());
- }
- /**
- * Sets the value property value. The value property
- * @param value Value to set for the value property.
- */
- public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
- this.backingStore.set("value", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive/MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive/MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder.java
deleted file mode 100644
index 6aecb725625..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive/MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder.java
+++ /dev/null
@@ -1,174 +0,0 @@
-package com.microsoft.graph.beta.admin.windows.updates.products.item.microsoftgraphwindowsupdatesgetknownissuesbytimerangewithdaysinpastwithincludeallactive;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to call the getKnownIssuesByTimeRange method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder} and sets the default values.
- * @param daysInPast Usage: daysInPast={daysInPast}
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final Integer daysInPast) {
- super(requestAdapter, "{+baseurl}/admin/windows/updates/products/{product%2Did}/microsoft.graph.windowsUpdates.getKnownIssuesByTimeRange(daysInPast={daysInPast},includeAllActive=@includeAllActive){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeAllActive*}", pathParameters);
- this.pathParameters.put("daysInPast", daysInPast);
- }
- /**
- * Instantiates a new {@link MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder} and sets the default values.
- * @param rawUrl The raw URL to use for the request builder.
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/admin/windows/updates/products/{product%2Did}/microsoft.graph.windowsUpdates.getKnownIssuesByTimeRange(daysInPast={daysInPast},includeAllActive=@includeAllActive){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,includeAllActive*}", rawUrl);
- }
- /**
- * Get known issues related to a particular product based on a specified timeframe in the past.
- * @return a {@link GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse get() {
- return get(null);
- }
- /**
- * Get known issues related to a particular product based on a specified timeframe in the past.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, GetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse::createFromDiscriminatorValue);
- }
- /**
- * Get known issues related to a particular product based on a specified timeframe in the past.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Get known issues related to a particular product based on a specified timeframe in the past.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- 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.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new MicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Get known issues related to a particular product based on a specified timeframe in the past.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Usage: includeAllActive=@includeAllActive
- */
- @jakarta.annotation.Nullable
- public Boolean includeAllActive;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("includeAllActive", includeAllActive);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid/MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid/MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder.java
deleted file mode 100644
index eee39bd45e8..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid/MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder.java
+++ /dev/null
@@ -1,166 +0,0 @@
-package com.microsoft.graph.beta.admin.windows.updates.products.microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to call the findByCatalogId method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder} and sets the default values.
- * @param catalogID Usage: catalogID='{catalogID}'
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String catalogID) {
- super(requestAdapter, "{+baseurl}/admin/windows/updates/products/microsoft.graph.windowsUpdates.findByCatalogId(catalogID='{catalogID}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- this.pathParameters.put("catalogID", catalogID);
- }
- /**
- * Instantiates a new {@link MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder} and sets the default values.
- * @param rawUrl The raw URL to use for the request builder.
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/admin/windows/updates/products/microsoft.graph.windowsUpdates.findByCatalogId(catalogID='{catalogID}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * Invoke function findByCatalogId
- * @return a {@link FindByCatalogIdWithCatalogIDGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public FindByCatalogIdWithCatalogIDGetResponse get() {
- return get(null);
- }
- /**
- * Invoke function findByCatalogId
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link FindByCatalogIdWithCatalogIDGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public FindByCatalogIdWithCatalogIDGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, FindByCatalogIdWithCatalogIDGetResponse::createFromDiscriminatorValue);
- }
- /**
- * Invoke function findByCatalogId
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Invoke function findByCatalogId
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- 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.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Invoke function findByCatalogId
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid/MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid/MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28.java
new file mode 100644
index 00000000000..ba74bc679b8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid/MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28.java
@@ -0,0 +1,166 @@
+package com.microsoft.graph.beta.admin.windows.updates.products.microsoftgraphwindowsupdatesfindbycatalogidwithcatalogid;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the findByCatalogId method. Original name: MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogIDRequestBuilder
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28 extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28} and sets the default values.
+ * @param catalogID Usage: catalogID='{catalogID}'
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String catalogID) {
+ super(requestAdapter, "{+baseurl}/admin/windows/updates/products/microsoft.graph.windowsUpdates.findByCatalogId(catalogID='{catalogID}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ this.pathParameters.put("catalogID", catalogID);
+ }
+ /**
+ * Instantiates a new {@link MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/windows/updates/products/microsoft.graph.windowsUpdates.findByCatalogId(catalogID='{catalogID}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Invoke function findByCatalogId
+ * @return a {@link FindByCatalogIdWithCatalogIDGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public FindByCatalogIdWithCatalogIDGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Invoke function findByCatalogId
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link FindByCatalogIdWithCatalogIDGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public FindByCatalogIdWithCatalogIDGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, FindByCatalogIdWithCatalogIDGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke function findByCatalogId
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Invoke function findByCatalogId
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28}
+ */
+ @jakarta.annotation.Nonnull
+ public MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28 withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new MicrosoftGraphWindowsUpdatesFindByCatalogIdWithCatalogI_0a172f28(rawUrl, requestAdapter);
+ }
+ /**
+ * Invoke function findByCatalogId
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber/MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber/MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7.java
new file mode 100644
index 00000000000..0db917cdfc0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber/MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7.java
@@ -0,0 +1,166 @@
+package com.microsoft.graph.beta.admin.windows.updates.products.microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the findByKbNumber method. Original name: MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7 extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7} and sets the default values.
+ * @param kbNumber Usage: kbNumber={kbNumber}
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final Integer kbNumber) {
+ super(requestAdapter, "{+baseurl}/admin/windows/updates/products/microsoft.graph.windowsUpdates.findByKbNumber(kbNumber={kbNumber}){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ this.pathParameters.put("kbNumber", kbNumber);
+ }
+ /**
+ * Instantiates a new {@link MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/windows/updates/products/microsoft.graph.windowsUpdates.findByKbNumber(kbNumber={kbNumber}){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Invoke function findByKbNumber
+ * @return a {@link FindByKbNumberWithKbNumberGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public FindByKbNumberWithKbNumberGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Invoke function findByKbNumber
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link FindByKbNumberWithKbNumberGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public FindByKbNumberWithKbNumberGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, FindByKbNumberWithKbNumberGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke function findByKbNumber
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Invoke function findByKbNumber
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7}
+ */
+ @jakarta.annotation.Nonnull
+ public MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7 withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberR_ea5669b7(rawUrl, requestAdapter);
+ }
+ /**
+ * Invoke function findByKbNumber
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber/MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber/MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder.java
deleted file mode 100644
index 7328ba17b1d..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber/MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder.java
+++ /dev/null
@@ -1,166 +0,0 @@
-package com.microsoft.graph.beta.admin.windows.updates.products.microsoftgraphwindowsupdatesfindbykbnumberwithkbnumber;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to call the findByKbNumber method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder} and sets the default values.
- * @param kbNumber Usage: kbNumber={kbNumber}
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final Integer kbNumber) {
- super(requestAdapter, "{+baseurl}/admin/windows/updates/products/microsoft.graph.windowsUpdates.findByKbNumber(kbNumber={kbNumber}){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- this.pathParameters.put("kbNumber", kbNumber);
- }
- /**
- * Instantiates a new {@link MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder} and sets the default values.
- * @param rawUrl The raw URL to use for the request builder.
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/admin/windows/updates/products/microsoft.graph.windowsUpdates.findByKbNumber(kbNumber={kbNumber}){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * Invoke function findByKbNumber
- * @return a {@link FindByKbNumberWithKbNumberGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public FindByKbNumberWithKbNumberGetResponse get() {
- return get(null);
- }
- /**
- * Invoke function findByKbNumber
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link FindByKbNumberWithKbNumberGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public FindByKbNumberWithKbNumberGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, FindByKbNumberWithKbNumberGetResponse::createFromDiscriminatorValue);
- }
- /**
- * Invoke function findByKbNumber
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Invoke function findByKbNumber
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- 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.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new MicrosoftGraphWindowsUpdatesFindByKbNumberWithKbNumberRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Invoke function findByKbNumber
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmembergroups/GetMemberGroupsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmembergroups/GetMemberGroupsPostRequestBody.java
index a73ec987c21..ca570337bb5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmembergroups/GetMemberGroupsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmembergroups/GetMemberGroupsPostRequestBody.java
@@ -23,6 +23,7 @@ public class GetMemberGroupsPostRequestBody implements AdditionalDataHolder, Bac
public GetMemberGroupsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setSecurityEnabledOnly(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmemberobjects/GetMemberObjectsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
index 360261eb19e..b000ca0e8eb 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
@@ -23,6 +23,7 @@ public class GetMemberObjectsPostRequestBody implements AdditionalDataHolder, Ba
public GetMemberObjectsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setSecurityEnabledOnly(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/ref/RefRequestBuilder.java
index 04d2d9bd475..15d00ab0b66 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -158,7 +158,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/members/$ref", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/playprompt/PlayPromptPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/playprompt/PlayPromptPostRequestBody.java
index 8201c3fd78c..a9e61bafba7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/playprompt/PlayPromptPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/playprompt/PlayPromptPostRequestBody.java
@@ -24,6 +24,7 @@ public class PlayPromptPostRequestBody implements AdditionalDataHolder, BackedMo
public PlayPromptPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setLoop(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/record/RecordPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/record/RecordPostRequestBody.java
index 55c17b24ea8..7a8f28adb33 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/record/RecordPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/record/RecordPostRequestBody.java
@@ -24,6 +24,9 @@ public class RecordPostRequestBody implements AdditionalDataHolder, BackedModel,
public RecordPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setBargeInAllowed(false);
+ this.setPlayBeep(false);
+ this.setStreamWhileRecording(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/recordresponse/RecordResponsePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/recordresponse/RecordResponsePostRequestBody.java
index 48c51e43e5c..158b1e836c7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/recordresponse/RecordResponsePostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/recordresponse/RecordResponsePostRequestBody.java
@@ -24,6 +24,9 @@ public class RecordResponsePostRequestBody implements AdditionalDataHolder, Back
public RecordResponsePostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setBargeInAllowed(false);
+ this.setPlayBeep(false);
+ this.setStreamWhileRecording(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/redirect/RedirectPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/redirect/RedirectPostRequestBody.java
index dd4ef79ab6e..b9a46eb32d3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/redirect/RedirectPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/redirect/RedirectPostRequestBody.java
@@ -25,6 +25,8 @@ public class RedirectPostRequestBody implements AdditionalDataHolder, BackedMode
public RedirectPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setMaskCallee(false);
+ this.setMaskCaller(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/OnlineMeetingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/OnlineMeetingsRequestBuilder.java
index 4253e7a0a93..fe666da1687 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/OnlineMeetingsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/OnlineMeetingsRequestBuilder.java
@@ -2,8 +2,8 @@
import com.microsoft.graph.beta.app.onlinemeetings.count.CountRequestBuilder;
import com.microsoft.graph.beta.app.onlinemeetings.createorget.CreateOrGetRequestBuilder;
-import com.microsoft.graph.beta.app.onlinemeetings.getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder;
-import com.microsoft.graph.beta.app.onlinemeetings.getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder;
+import com.microsoft.graph.beta.app.onlinemeetings.getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7.GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4;
+import com.microsoft.graph.beta.app.onlinemeetings.getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853;
import com.microsoft.graph.beta.app.onlinemeetings.item.OnlineMeetingItemRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.graph.beta.models.OnlineMeeting;
@@ -44,19 +44,19 @@ public CreateOrGetRequestBuilder createOrGet() {
}
/**
* Provides operations to call the getAllRecordings method.
- * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder}
+ * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4}
*/
@jakarta.annotation.Nonnull
- public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime() {
- return new GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(pathParameters, requestAdapter);
+ public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4 getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime() {
+ return new GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4(pathParameters, requestAdapter);
}
/**
* Provides operations to call the getAllTranscripts method.
- * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder}
+ * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853}
*/
@jakarta.annotation.Nonnull
- public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime() {
- return new GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(pathParameters, requestAdapter);
+ public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853 getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime() {
+ return new GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853(pathParameters, requestAdapter);
}
/**
* Provides operations to manage the onlineMeetings property of the microsoft.graph.commsApplication entity.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4.java
new file mode 100644
index 00000000000..958dfa2e656
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4.java
@@ -0,0 +1,185 @@
+package com.microsoft.graph.beta.app.onlinemeetings.getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.time.OffsetDateTime;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the getAllRecordings method. Original name: GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4 extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/app/onlineMeetings/getAllRecordings(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/app/onlineMeetings/getAllRecordings(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", rawUrl);
+ }
+ /**
+ * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e get() {
+ return get(null);
+ }
+ /**
+ * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e::createFromDiscriminatorValue);
+ }
+ /**
+ * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4}
+ */
+ @jakarta.annotation.Nonnull
+ public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4 withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_37aeadf4(rawUrl, requestAdapter);
+ }
+ /**
+ * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Usage: endDateTime=@endDateTime
+ */
+ @jakarta.annotation.Nullable
+ public OffsetDateTime endDateTime;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Usage: meetingOrganizerUserId='@meetingOrganizerUserId'
+ */
+ @jakarta.annotation.Nullable
+ public String meetingOrganizerUserId;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Usage: startDateTime=@startDateTime
+ */
+ @jakarta.annotation.Nullable
+ public OffsetDateTime startDateTime;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("endDateTime", endDateTime);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("meetingOrganizerUserId", meetingOrganizerUserId);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("startDateTime", startDateTime);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e.java
new file mode 100644
index 00000000000..4d21ac6fa71
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e.java
@@ -0,0 +1,66 @@
+package com.microsoft.graph.beta.app.onlinemeetings.getallrecordingsmeetingorganizeruseridmeetingorganizeru_233783e7;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.graph.beta.models.CallRecording;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Original name: GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e} and sets the default values.
+ */
+ public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e() {
+ super();
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerU_d8a14a3e();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(CallRecording::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.java
deleted file mode 100644
index d03e9f86a48..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.microsoft.graph.beta.app.onlinemeetings.getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime;
-
-import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
-import com.microsoft.graph.beta.models.CallRecording;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParseNode;
-import com.microsoft.kiota.serialization.SerializationWriter;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
- /**
- * Instantiates a new {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse} and sets the default values.
- */
- public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse() {
- super();
- }
- /**
- * Creates a new instance of the appropriate class based on discriminator value
- * @param parseNode The parse node to use to read the discriminator value and create the object
- * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse}
- */
- @jakarta.annotation.Nonnull
- public static GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse();
- }
- /**
- * The deserialization information for the current model
- * @return a {@link Map>}
- */
- @jakarta.annotation.Nonnull
- public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
- deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(CallRecording::createFromDiscriminatorValue)); });
- return deserializerMap;
- }
- /**
- * Gets the value property value. The value property
- * @return a {@link java.util.List}
- */
- @jakarta.annotation.Nullable
- public java.util.List getValue() {
- return this.backingStore.get("value");
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- super.serialize(writer);
- writer.writeCollectionOfObjectValues("value", this.getValue());
- }
- /**
- * Sets the value property value. The value property
- * @param value Value to set for the value property.
- */
- public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
- this.backingStore.set("value", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.java
deleted file mode 100644
index eb6008eb6d3..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.java
+++ /dev/null
@@ -1,185 +0,0 @@
-package com.microsoft.graph.beta.app.onlinemeetings.getallrecordingsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.time.OffsetDateTime;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to call the getAllRecordings method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/app/onlineMeetings/getAllRecordings(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", pathParameters);
- }
- /**
- * Instantiates a new {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values.
- * @param rawUrl The raw URL to use for the request builder.
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/app/onlineMeetings/getAllRecordings(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", rawUrl);
- }
- /**
- * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse get() {
- return get(null);
- }
- /**
- * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::createFromDiscriminatorValue);
- }
- /**
- * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- 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.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Get all recordings from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call recordings from channel meetings. You can apply the delta function on getAllRecordings to synchronize and get callRecording resources as they're added for onlineMeeting instances organized by the specified user. The delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the recordings for online meetings organized by the user. Incremental synchronization gets recordings that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. Find more information in the delta query documentation. For more examples, see callRecording: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Usage: endDateTime=@endDateTime
- */
- @jakarta.annotation.Nullable
- public OffsetDateTime endDateTime;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Usage: meetingOrganizerUserId='@meetingOrganizerUserId'
- */
- @jakarta.annotation.Nullable
- public String meetingOrganizerUserId;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Usage: startDateTime=@startDateTime
- */
- @jakarta.annotation.Nullable
- public OffsetDateTime startDateTime;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("endDateTime", endDateTime);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("meetingOrganizerUserId", meetingOrganizerUserId);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("startDateTime", startDateTime);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a.java
new file mode 100644
index 00000000000..bf8f419401b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a.java
@@ -0,0 +1,66 @@
+package com.microsoft.graph.beta.app.onlinemeetings.getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.graph.beta.models.CallTranscript;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Original name: GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a} and sets the default values.
+ */
+ public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a() {
+ super();
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(CallTranscript::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853.java
new file mode 100644
index 00000000000..74f27f1fa93
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853.java
@@ -0,0 +1,185 @@
+package com.microsoft.graph.beta.app.onlinemeetings.getalltranscriptsmeetingorganizeruseridmeetingorganizer_ca613cbf;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.time.OffsetDateTime;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the getAllTranscripts method. Original name: GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853 extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/app/onlineMeetings/getAllTranscripts(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/app/onlineMeetings/getAllTranscripts(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", rawUrl);
+ }
+ /**
+ * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a get() {
+ return get(null);
+ }
+ /**
+ * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_561b408a::createFromDiscriminatorValue);
+ }
+ /**
+ * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853}
+ */
+ @jakarta.annotation.Nonnull
+ public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853 withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizer_f6fef853(rawUrl, requestAdapter);
+ }
+ /**
+ * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Usage: endDateTime=@endDateTime
+ */
+ @jakarta.annotation.Nullable
+ public OffsetDateTime endDateTime;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Usage: meetingOrganizerUserId='@meetingOrganizerUserId'
+ */
+ @jakarta.annotation.Nullable
+ public String meetingOrganizerUserId;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Usage: startDateTime=@startDateTime
+ */
+ @jakarta.annotation.Nullable
+ public OffsetDateTime startDateTime;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("endDateTime", endDateTime);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("meetingOrganizerUserId", meetingOrganizerUserId);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("startDateTime", startDateTime);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.java
deleted file mode 100644
index 3c3a7a5f61f..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.microsoft.graph.beta.app.onlinemeetings.getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime;
-
-import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
-import com.microsoft.graph.beta.models.CallTranscript;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParseNode;
-import com.microsoft.kiota.serialization.SerializationWriter;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
- /**
- * Instantiates a new {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse} and sets the default values.
- */
- public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse() {
- super();
- }
- /**
- * Creates a new instance of the appropriate class based on discriminator value
- * @param parseNode The parse node to use to read the discriminator value and create the object
- * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse}
- */
- @jakarta.annotation.Nonnull
- public static GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse();
- }
- /**
- * The deserialization information for the current model
- * @return a {@link Map>}
- */
- @jakarta.annotation.Nonnull
- public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
- deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(CallTranscript::createFromDiscriminatorValue)); });
- return deserializerMap;
- }
- /**
- * Gets the value property value. The value property
- * @return a {@link java.util.List}
- */
- @jakarta.annotation.Nullable
- public java.util.List getValue() {
- return this.backingStore.get("value");
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- super.serialize(writer);
- writer.writeCollectionOfObjectValues("value", this.getValue());
- }
- /**
- * Sets the value property value. The value property
- * @param value Value to set for the value property.
- */
- public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
- this.backingStore.set("value", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.java
deleted file mode 100644
index f42c5af2423..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.java
+++ /dev/null
@@ -1,185 +0,0 @@
-package com.microsoft.graph.beta.app.onlinemeetings.getalltranscriptsmeetingorganizeruseridmeetingorganizeruseridwithstartdatetimewithenddatetime;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.time.OffsetDateTime;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to call the getAllTranscripts method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/app/onlineMeetings/getAllTranscripts(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", pathParameters);
- }
- /**
- * Instantiates a new {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values.
- * @param rawUrl The raw URL to use for the request builder.
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/app/onlineMeetings/getAllTranscripts(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,meetingOrganizerUserId*,startDateTime*}", rawUrl);
- }
- /**
- * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse get() {
- return get(null);
- }
- /**
- * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse::createFromDiscriminatorValue);
- }
- /**
- * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- 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.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they're added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization and incremental synchronization. Full synchronization gets all the transcripts for online meetings organized by the user. Incremental synchronization gets transcripts that are added since the last synchronization. Typically, you do an initial full synchronization, and then get incremental changes to that recording view periodically. For more information, see delta query. For more examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Usage: endDateTime=@endDateTime
- */
- @jakarta.annotation.Nullable
- public OffsetDateTime endDateTime;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Usage: meetingOrganizerUserId='@meetingOrganizerUserId'
- */
- @jakarta.annotation.Nullable
- public String meetingOrganizerUserId;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Usage: startDateTime=@startDateTime
- */
- @jakarta.annotation.Nullable
- public OffsetDateTime startDateTime;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("endDateTime", endDateTime);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("meetingOrganizerUserId", meetingOrganizerUserId);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("startDateTime", startDateTime);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java
index 711c38466dc..bd78cfa5417 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -160,7 +160,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmembergroups/GetMemberGroupsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmembergroups/GetMemberGroupsPostRequestBody.java
index 725297a66b8..81a59beb43b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmembergroups/GetMemberGroupsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmembergroups/GetMemberGroupsPostRequestBody.java
@@ -23,6 +23,7 @@ public class GetMemberGroupsPostRequestBody implements AdditionalDataHolder, Bac
public GetMemberGroupsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setSecurityEnabledOnly(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmemberobjects/GetMemberObjectsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
index b9da50f6b3c..bebc21d9521 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
@@ -23,6 +23,7 @@ public class GetMemberObjectsPostRequestBody implements AdditionalDataHolder, Ba
public GetMemberObjectsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setSecurityEnabledOnly(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java
index 4812fe68f04..3332c901846 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/owners/$ref", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsPostRequestBody.java
index 7ade1981de8..794bf44c29e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsPostRequestBody.java
@@ -24,6 +24,7 @@ public class ValidateCredentialsPostRequestBody implements AdditionalDataHolder,
public ValidateCredentialsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setUseSavedCredentials(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsPostRequestBody.java
index 8157d7583b2..9750a1fc063 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsPostRequestBody.java
@@ -24,6 +24,7 @@ public class ValidateCredentialsPostRequestBody implements AdditionalDataHolder,
public ValidateCredentialsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setUseSavedCredentials(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java
index 9393abc3145..7f01d5ac216 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java
index 660c0e444e0..bb92ca5b6ed 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/AuditLogsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/AuditLogsRequestBuilder.java
index 62733d78d6e..834a36920d2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/AuditLogsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/AuditLogsRequestBuilder.java
@@ -5,8 +5,8 @@
import com.microsoft.graph.beta.auditlogs.directoryaudits.DirectoryAuditsRequestBuilder;
import com.microsoft.graph.beta.auditlogs.directoryprovisioning.DirectoryProvisioningRequestBuilder;
import com.microsoft.graph.beta.auditlogs.getsummarizedmsisigninswithaggregationwindow.GetSummarizedMSISignInsWithAggregationWindowRequestBuilder;
-import com.microsoft.graph.beta.auditlogs.getsummarizednoninteractivesigninswithaggregationwindow.GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder;
-import com.microsoft.graph.beta.auditlogs.getsummarizedserviceprincipalsigninswithaggregationwindow.GetSummarizedServicePrincipalSignInsWithAggregationWindowRequestBuilder;
+import com.microsoft.graph.beta.auditlogs.getsummarizednoninteractivesigninswithaggregationwindow.GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa;
+import com.microsoft.graph.beta.auditlogs.getsummarizedserviceprincipalsigninswithaggregationwindow.GetSummarizedServicePrincipalSignInsWithAggregationWind_b32fa68a;
import com.microsoft.graph.beta.auditlogs.provisioning.ProvisioningRequestBuilder;
import com.microsoft.graph.beta.auditlogs.signineventsappsummary.SignInEventsAppSummaryRequestBuilder;
import com.microsoft.graph.beta.auditlogs.signineventssummary.SignInEventsSummaryRequestBuilder;
@@ -155,22 +155,22 @@ public GetSummarizedMSISignInsWithAggregationWindowRequestBuilder getSummarizedM
/**
* Provides operations to call the getSummarizedNonInteractiveSignIns method.
* @param aggregationWindow Usage: aggregationWindow='{aggregationWindow}'
- * @return a {@link GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder}
+ * @return a {@link GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa}
*/
@jakarta.annotation.Nonnull
- public GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder getSummarizedNonInteractiveSignInsWithAggregationWindow(@jakarta.annotation.Nonnull final String aggregationWindow) {
+ public GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa getSummarizedNonInteractiveSignInsWithAggregationWindow(@jakarta.annotation.Nonnull final String aggregationWindow) {
Objects.requireNonNull(aggregationWindow);
- return new GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder(pathParameters, requestAdapter, aggregationWindow);
+ return new GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa(pathParameters, requestAdapter, aggregationWindow);
}
/**
* Provides operations to call the getSummarizedServicePrincipalSignIns method.
* @param aggregationWindow Usage: aggregationWindow='{aggregationWindow}'
- * @return a {@link GetSummarizedServicePrincipalSignInsWithAggregationWindowRequestBuilder}
+ * @return a {@link GetSummarizedServicePrincipalSignInsWithAggregationWind_b32fa68a}
*/
@jakarta.annotation.Nonnull
- public GetSummarizedServicePrincipalSignInsWithAggregationWindowRequestBuilder getSummarizedServicePrincipalSignInsWithAggregationWindow(@jakarta.annotation.Nonnull final String aggregationWindow) {
+ public GetSummarizedServicePrincipalSignInsWithAggregationWind_b32fa68a getSummarizedServicePrincipalSignInsWithAggregationWindow(@jakarta.annotation.Nonnull final String aggregationWindow) {
Objects.requireNonNull(aggregationWindow);
- return new GetSummarizedServicePrincipalSignInsWithAggregationWindowRequestBuilder(pathParameters, requestAdapter, aggregationWindow);
+ return new GetSummarizedServicePrincipalSignInsWithAggregationWind_b32fa68a(pathParameters, requestAdapter, aggregationWindow);
}
/**
* Update auditLogs
diff --git a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse.java
deleted file mode 100644
index 2b652905664..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.microsoft.graph.beta.auditlogs.getsummarizednoninteractivesigninswithaggregationwindow;
-
-import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
-import com.microsoft.graph.beta.models.SummarizedSignIn;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParseNode;
-import com.microsoft.kiota.serialization.SerializationWriter;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
- /**
- * Instantiates a new {@link GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse} and sets the default values.
- */
- public GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse() {
- super();
- }
- /**
- * Creates a new instance of the appropriate class based on discriminator value
- * @param parseNode The parse node to use to read the discriminator value and create the object
- * @return a {@link GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse}
- */
- @jakarta.annotation.Nonnull
- public static GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse();
- }
- /**
- * The deserialization information for the current model
- * @return a {@link Map>}
- */
- @jakarta.annotation.Nonnull
- public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
- deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(SummarizedSignIn::createFromDiscriminatorValue)); });
- return deserializerMap;
- }
- /**
- * Gets the value property value. The value property
- * @return a {@link java.util.List}
- */
- @jakarta.annotation.Nullable
- public java.util.List getValue() {
- return this.backingStore.get("value");
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- super.serialize(writer);
- writer.writeCollectionOfObjectValues("value", this.getValue());
- }
- /**
- * Sets the value property value. The value property
- * @param value Value to set for the value property.
- */
- public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
- this.backingStore.set("value", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder.java
deleted file mode 100644
index 7c6ad06ed7f..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder.java
+++ /dev/null
@@ -1,168 +0,0 @@
-package com.microsoft.graph.beta.auditlogs.getsummarizednoninteractivesigninswithaggregationwindow;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to call the getSummarizedNonInteractiveSignIns method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder} and sets the default values.
- * @param aggregationWindow Usage: aggregationWindow='{aggregationWindow}'
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String aggregationWindow) {
- super(requestAdapter, "{+baseurl}/auditLogs/getSummarizedNonInteractiveSignIns(aggregationWindow='{aggregationWindow}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- this.pathParameters.put("aggregationWindow", aggregationWindow);
- }
- /**
- * Instantiates a new {@link GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder} and sets the default values.
- * @param rawUrl The raw URL to use for the request builder.
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/auditLogs/getSummarizedNonInteractiveSignIns(aggregationWindow='{aggregationWindow}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
- * @return a {@link GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse get() {
- return get(null);
- }
- /**
- * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, GetSummarizedNonInteractiveSignInsWithAggregationWindowGetResponse::createFromDiscriminatorValue);
- }
- /**
- * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- 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.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa.java
new file mode 100644
index 00000000000..b70ecf787c5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/getsummarizednoninteractivesigninswithaggregationwindow/GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa.java
@@ -0,0 +1,168 @@
+package com.microsoft.graph.beta.auditlogs.getsummarizednoninteractivesigninswithaggregationwindow;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the getSummarizedNonInteractiveSignIns method. Original name: GetSummarizedNonInteractiveSignInsWithAggregationWindowRequestBuilder
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa} and sets the default values.
+ * @param aggregationWindow Usage: aggregationWindow='{aggregationWindow}'
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String aggregationWindow) {
+ super(requestAdapter, "{+baseurl}/auditLogs/getSummarizedNonInteractiveSignIns(aggregationWindow='{aggregationWindow}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ this.pathParameters.put("aggregationWindow", aggregationWindow);
+ }
+ /**
+ * Instantiates a new {@link GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetSummarizedNonInteractiveSignInsWithAggregationWindow_0c89c0fa(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/auditLogs/getSummarizedNonInteractiveSignIns(aggregationWindow='{aggregationWindow}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
+ * @return a {@link GetSummarizedNonInteractiveSignInsWithAggregationWindow_f8e5dd0d}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetSummarizedNonInteractiveSignInsWithAggregationWindow_f8e5dd0d get() {
+ return get(null);
+ }
+ /**
+ * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetSummarizedNonInteractiveSignInsWithAggregationWindow_f8e5dd0d}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetSummarizedNonInteractiveSignInsWithAggregationWindow_f8e5dd0d get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, GetSummarizedNonInteractiveSignInsWithAggregationWindow_f8e5dd0d::createFromDiscriminatorValue);
+ }
+ /**
+ * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Returns aggregated non-interactive sign-in event counts grouped by user, application, IP address, and time window, with drill-down capability using individual requestIds via the /signIns endpoint. This includes autonomous agent sign-in events.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer