diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java index df91172a317..4018e950659 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/applications/{application%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/contacts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java index 9df7eb0cb9c..9802e0ee8af 100644 --- a/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/contracts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java index 9f32d6d4f92..5ae5179e238 100644 --- a/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/contracts/{contract%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/devices/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java index 655936f98c1..20f7457564e 100644 --- a/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/devices/{device%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java index eb5de1ab820..16f34cadcb1 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/directoryobjects/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java index 1822c7271f1..35adb974cb3 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryObjects/{directoryObject%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/directoryroles/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java index f3a30d83cd1..d6b26eda464 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java index 64dca739b1b..82173f9d5cb 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryRoleTemplates/{directoryRoleTemplate%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/drives/item/recent/RecentRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/recent/RecentRequestBuilder.java index 0e7230b08e2..67c46a633d2 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/recent/RecentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/recent/RecentRequestBuilder.java @@ -36,7 +36,7 @@ public RecentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/recent(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. + * List a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. * @return a {@link RecentGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public RecentGetResponse get() { return get(null); } /** - * List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. + * List a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RecentGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public RecentGetResponse get(@jakarta.annotation.Nullable final java.util.functi return this.requestAdapter.send(requestInfo, errorMapping, RecentGetResponse::createFromDiscriminatorValue); } /** - * List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. + * List a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. + * List a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -90,7 +90,7 @@ public RecentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String raw return new RecentRequestBuilder(rawUrl, requestAdapter); } /** - * List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. + * List a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/employeeexperience/EmployeeExperienceRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/EmployeeExperienceRequestBuilder.java index faf707e6227..27bd3ebbbcf 100644 --- a/src/main/java/com/microsoft/graph/generated/employeeexperience/EmployeeExperienceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/EmployeeExperienceRequestBuilder.java @@ -5,6 +5,7 @@ import com.microsoft.graph.employeeexperience.learningcourseactivities.LearningCourseActivitiesRequestBuilder; import com.microsoft.graph.employeeexperience.learningcourseactivitieswithexternalcourseactivityid.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder; import com.microsoft.graph.employeeexperience.learningproviders.LearningProvidersRequestBuilder; +import com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder; import com.microsoft.graph.models.EmployeeExperience; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -57,6 +58,14 @@ public LearningCourseActivitiesRequestBuilder learningCourseActivities() { public LearningProvidersRequestBuilder learningProviders() { return new LearningProvidersRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. + * @return a {@link RolesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RolesRequestBuilder roles() { + return new RolesRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link EmployeeExperienceRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/RolesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/RolesRequestBuilder.java new file mode 100644 index 00000000000..4ef2201e1a2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/RolesRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.employeeexperience.roles; + +import com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder; +import com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder; +import com.microsoft.graph.models.EngagementRole; +import com.microsoft.graph.models.EngagementRoleCollectionResponse; +import com.microsoft.graph.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 roles property of the microsoft.graph.employeeExperience entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RolesRequestBuilder 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 roles property of the microsoft.graph.employeeExperience entity. + * @param engagementRoleId The unique identifier of engagementRole + * @return a {@link EngagementRoleItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EngagementRoleItemRequestBuilder byEngagementRoleId(@jakarta.annotation.Nonnull final String engagementRoleId) { + Objects.requireNonNull(engagementRoleId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("engagementRole%2Did", engagementRoleId); + return new EngagementRoleItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link RolesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RolesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RolesRequestBuilder} 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 RolesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of all the roles that can be assigned in Viva Engage. + * @return a {@link EngagementRoleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EngagementRoleCollectionResponse get() { + return get(null); + } + /** + * Get a list of all the roles that can be assigned in Viva Engage. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EngagementRoleCollectionResponse 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, EngagementRoleCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to roles for employeeExperience + * @param body The request body + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole post(@jakarta.annotation.Nonnull final EngagementRole body) { + return post(body, null); + } + /** + * Create new navigation property to roles for employeeExperience + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole post(@jakarta.annotation.Nonnull final EngagementRole 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, EngagementRole::createFromDiscriminatorValue); + } + /** + * Get a list of all the roles that can be assigned in Viva Engage. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of all the roles that can be assigned in Viva Engage. + * @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 roles for employeeExperience + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to roles for employeeExperience + * @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 EngagementRole 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 RolesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RolesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of all the roles that can be assigned in Viva Engage. + */ + @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/generated/employeeexperience/roles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/count/CountRequestBuilder.java new file mode 100644 index 00000000000..8ec88df27be --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.employeeexperience.roles.count; + +import com.microsoft.graph.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}/employeeExperience/roles/$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}/employeeExperience/roles/$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/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java new file mode 100644 index 00000000000..16aa7635b5a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.employeeexperience.roles.item; + +import com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder; +import com.microsoft.graph.models.EngagementRole; +import com.microsoft.graph.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 roles property of the microsoft.graph.employeeExperience entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EngagementRoleItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + * @return a {@link MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder members() { + return new MembersRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link EngagementRoleItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public EngagementRoleItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link EngagementRoleItemRequestBuilder} 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 EngagementRoleItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property roles for employeeExperience + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property roles for employeeExperience + * @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 collection of roles in Viva Engage. + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole get() { + return get(null); + } + /** + * A collection of roles in Viva Engage. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole 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, EngagementRole::createFromDiscriminatorValue); + } + /** + * Update the navigation property roles in employeeExperience + * @param body The request body + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole patch(@jakarta.annotation.Nonnull final EngagementRole body) { + return patch(body, null); + } + /** + * Update the navigation property roles in employeeExperience + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole patch(@jakarta.annotation.Nonnull final EngagementRole 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, EngagementRole::createFromDiscriminatorValue); + } + /** + * Delete navigation property roles for employeeExperience + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property roles for employeeExperience + * @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 collection of roles in Viva Engage. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * A collection of roles in Viva Engage. + * @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 roles in employeeExperience + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property roles in employeeExperience + * @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 EngagementRole 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 EngagementRoleItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EngagementRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new EngagementRoleItemRequestBuilder(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 collection of roles in Viva Engage. + */ + @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/generated/employeeexperience/roles/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/MembersRequestBuilder.java new file mode 100644 index 00000000000..44289a358ea --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/MembersRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.employeeexperience.roles.item.members; + +import com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder; +import com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder; +import com.microsoft.graph.models.EngagementRoleMember; +import com.microsoft.graph.models.EngagementRoleMemberCollectionResponse; +import com.microsoft.graph.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 members property of the microsoft.graph.engagementRole entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MembersRequestBuilder 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 members property of the microsoft.graph.engagementRole entity. + * @param engagementRoleMemberId The unique identifier of engagementRoleMember + * @return a {@link EngagementRoleMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EngagementRoleMemberItemRequestBuilder byEngagementRoleMemberId(@jakarta.annotation.Nonnull final String engagementRoleMemberId) { + Objects.requireNonNull(engagementRoleMemberId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("engagementRoleMember%2Did", engagementRoleMemberId); + return new EngagementRoleMemberItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link MembersRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MembersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link MembersRequestBuilder} 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 MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of users with assigned roles in Viva Engage. + * @return a {@link EngagementRoleMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EngagementRoleMemberCollectionResponse get() { + return get(null); + } + /** + * Get a list of users with assigned roles in Viva Engage. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EngagementRoleMemberCollectionResponse 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, EngagementRoleMemberCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new engagementRoleMember object that assigns a Viva Engage role to a user. + * @param body The request body + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EngagementRoleMember post(@jakarta.annotation.Nonnull final EngagementRoleMember body) { + return post(body, null); + } + /** + * Create a new engagementRoleMember object that assigns a Viva Engage role to a user. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EngagementRoleMember post(@jakarta.annotation.Nonnull final EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue); + } + /** + * Get a list of users with assigned roles in Viva Engage. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of users with assigned roles in Viva Engage. + * @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 a new engagementRoleMember object that assigns a Viva Engage role to a user. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementRoleMember body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new engagementRoleMember object that assigns a Viva Engage role to a user. + * @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 EngagementRoleMember 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 MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MembersRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of users with assigned roles in Viva Engage. + */ + @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/generated/employeeexperience/roles/item/members/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/count/CountRequestBuilder.java new file mode 100644 index 00000000000..9b842fb1bbc --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.employeeexperience.roles.item.members.count; + +import com.microsoft.graph.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}/employeeExperience/roles/{engagementRole%2Did}/members/$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}/employeeExperience/roles/{engagementRole%2Did}/members/$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/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java new file mode 100644 index 00000000000..d09d87a9bf6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java @@ -0,0 +1,239 @@ +package com.microsoft.graph.employeeexperience.roles.item.members.item; + +import com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder; +import com.microsoft.graph.models.EngagementRoleMember; +import com.microsoft.graph.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 members property of the microsoft.graph.engagementRole entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EngagementRoleMemberItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. + * @return a {@link UserRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserRequestBuilder user() { + return new UserRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link EngagementRoleMemberItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public EngagementRoleMemberItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link EngagementRoleMemberItemRequestBuilder} 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 EngagementRoleMemberItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete a Viva Engage role from a user. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a Viva Engage role from a user. + * @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); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Users that have this role assigned. + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember get() { + return get(null); + } + /** + * Users that have this role assigned. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue); + } + /** + * Update the navigation property members in employeeExperience + * @param body The request body + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember patch(@jakarta.annotation.Nonnull final EngagementRoleMember body) { + return patch(body, null); + } + /** + * Update the navigation property members in employeeExperience + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember patch(@jakarta.annotation.Nonnull final EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue); + } + /** + * Delete a Viva Engage role from a user. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a Viva Engage role from a user. + * @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; + } + /** + * Users that have this role assigned. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Users that have this role assigned. + * @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 members in employeeExperience + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRoleMember body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property members in employeeExperience + * @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 EngagementRoleMember 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 EngagementRoleMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EngagementRoleMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new EngagementRoleMemberItemRequestBuilder(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 { + } + /** + * Users that have this role assigned. + */ + @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/generated/employeeexperience/roles/item/members/item/user/UserRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/UserRequestBuilder.java new file mode 100644 index 00000000000..5858d4009ca --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/UserRequestBuilder.java @@ -0,0 +1,147 @@ +package com.microsoft.graph.employeeexperience.roles.item.members.item.user; + +import com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder; +import com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.User; +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 user property of the microsoft.graph.engagementRoleMember entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserRequestBuilder extends BaseRequestBuilder { + /** + * The mailboxSettings property + * @return a {@link MailboxSettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MailboxSettingsRequestBuilder mailboxSettings() { + return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); + } + /** + * The serviceProvisioningErrors property + * @return a {@link ServiceProvisioningErrorsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { + return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link UserRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link UserRequestBuilder} 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 UserRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", rawUrl); + } + /** + * The user who has this role assigned. + * @return a {@link User} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public User get() { + return get(null); + } + /** + * The user who has this role assigned. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link User} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public User 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, User::createFromDiscriminatorValue); + } + /** + * The user who has this role assigned. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The user who has this role assigned. + * @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 UserRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserRequestBuilder(rawUrl, requestAdapter); + } + /** + * The user who has this role assigned. + */ + @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(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java new file mode 100644 index 00000000000..8ee58fb1a42 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -0,0 +1,184 @@ +package com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings; + +import com.microsoft.graph.models.MailboxSettings; +import com.microsoft.graph.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; +/** + * Builds and executes requests for operations under /employeeExperience/roles/{engagementRole-id}/members/{engagementRoleMember-id}/user/mailboxSettings + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MailboxSettingsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MailboxSettingsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link MailboxSettingsRequestBuilder} 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 MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", rawUrl); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + * @return a {@link MailboxSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MailboxSettings get() { + return get(null); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link MailboxSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MailboxSettings 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, MailboxSettings::createFromDiscriminatorValue); + } + /** + * Update property mailboxSettings value. + * @param body The request body + * @return a {@link MailboxSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { + return patch(body, null); + } + /** + * Update property mailboxSettings value. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link MailboxSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings 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, MailboxSettings::createFromDiscriminatorValue); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + * @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 property mailboxSettings value. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { + return toPatchRequestInformation(body, null); + } + /** + * Update property mailboxSettings value. + * @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 MailboxSettings 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 MailboxSettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + */ + @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/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java new file mode 100644 index 00000000000..9cb2787b203 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -0,0 +1,174 @@ +package com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors; + +import com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.ServiceProvisioningErrorCollectionResponse; +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; +/** + * Builds and executes requests for operations under /employeeExperience/roles/{engagementRole-id}/members/{engagementRoleMember-id}/user/serviceProvisioningErrors + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ServiceProvisioningErrorsRequestBuilder 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); + } + /** + * Instantiates a new {@link ServiceProvisioningErrorsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ServiceProvisioningErrorsRequestBuilder} 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 ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + * @return a {@link ServiceProvisioningErrorCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ServiceProvisioningErrorCollectionResponse get() { + return get(null); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ServiceProvisioningErrorCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ServiceProvisioningErrorCollectionResponse 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, ServiceProvisioningErrorCollectionResponse::createFromDiscriminatorValue); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + * @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 ServiceProvisioningErrorsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + */ + @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/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java new file mode 100644 index 00000000000..cc323e6bf1b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count; + +import com.microsoft.graph.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}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$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}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$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/generated/groups/item/GroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/GroupItemRequestBuilder.java index 94023f9bd34..85100c7fbc7 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/GroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/GroupItemRequestBuilder.java @@ -433,7 +433,7 @@ public GroupItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/groups/{group%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. + * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -441,7 +441,7 @@ public void delete() { delete(null); } /** - * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. + * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @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 @@ -504,7 +504,7 @@ public Group patch(@jakarta.annotation.Nonnull final Group body, @jakarta.annota return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue); } /** - * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. + * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -512,7 +512,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. + * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @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/generated/groups/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java index cc490f6ba53..f1f2966c766 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/groups/{group%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java index 930c473cc4a..4902bff2224 100644 --- a/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/groupSettingTemplates/{groupSettingTemplate%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java index 233ba30982b..c0c8f3015d2 100644 --- a/src/main/java/com/microsoft/graph/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java @@ -39,7 +39,7 @@ public GroupsWithUniqueNameRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/groups(uniqueName='{uniqueName}'){?%24expand,%24select}", rawUrl); } /** - * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. + * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -47,7 +47,7 @@ public void delete() { delete(null); } /** - * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. + * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @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 @@ -110,7 +110,7 @@ public Group patch(@jakarta.annotation.Nonnull final Group body, @jakarta.annota return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue); } /** - * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. + * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. + * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @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/generated/identity/riskprevention/RiskPreventionRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/RiskPreventionRequestBuilder.java index 047cc2ac2c6..25061092317 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/RiskPreventionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/RiskPreventionRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identity.riskprevention; +import com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder; import com.microsoft.graph.identity.riskprevention.webapplicationfirewallproviders.WebApplicationFirewallProvidersRequestBuilder; import com.microsoft.graph.identity.riskprevention.webapplicationfirewallverifications.WebApplicationFirewallVerificationsRequestBuilder; import com.microsoft.graph.models.odataerrors.ODataError; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class RiskPreventionRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity. + * @return a {@link FraudProtectionProvidersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public FraudProtectionProvidersRequestBuilder fraudProtectionProviders() { + return new FraudProtectionProvidersRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. * @return a {@link WebApplicationFirewallProvidersRequestBuilder} @@ -73,7 +82,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get riskPrevention from identity + * Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. * @return a {@link RiskPreventionContainer} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -82,7 +91,7 @@ public RiskPreventionContainer get() { return get(null); } /** - * Get riskPrevention from identity + * Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RiskPreventionContainer} * @throws ODataError When receiving a 4XX or 5XX status code @@ -140,7 +149,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get riskPrevention from identity + * Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -148,7 +157,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get riskPrevention from identity + * Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -200,7 +209,7 @@ public RiskPreventionRequestBuilder withUrl(@jakarta.annotation.Nonnull final St public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get riskPrevention from identity + * Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/fraudprotectionproviders/FraudProtectionProvidersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/fraudprotectionproviders/FraudProtectionProvidersRequestBuilder.java new file mode 100644 index 00000000000..cbded2126f6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/fraudprotectionproviders/FraudProtectionProvidersRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.identity.riskprevention.fraudprotectionproviders; + +import com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder; +import com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder; +import com.microsoft.graph.models.FraudProtectionProvider; +import com.microsoft.graph.models.FraudProtectionProviderCollectionResponse; +import com.microsoft.graph.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 fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class FraudProtectionProvidersRequestBuilder 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 fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity. + * @param fraudProtectionProviderId The unique identifier of fraudProtectionProvider + * @return a {@link FraudProtectionProviderItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public FraudProtectionProviderItemRequestBuilder byFraudProtectionProviderId(@jakarta.annotation.Nonnull final String fraudProtectionProviderId) { + Objects.requireNonNull(fraudProtectionProviderId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("fraudProtectionProvider%2Did", fraudProtectionProviderId); + return new FraudProtectionProviderItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link FraudProtectionProvidersRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public FraudProtectionProvidersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link FraudProtectionProvidersRequestBuilder} 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 FraudProtectionProvidersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported: + * @return a {@link FraudProtectionProviderCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FraudProtectionProviderCollectionResponse get() { + return get(null); + } + /** + * Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported: + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link FraudProtectionProviderCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FraudProtectionProviderCollectionResponse 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, FraudProtectionProviderCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider. + * @param body The request body + * @return a {@link FraudProtectionProvider} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FraudProtectionProvider post(@jakarta.annotation.Nonnull final FraudProtectionProvider body) { + return post(body, null); + } + /** + * Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link FraudProtectionProvider} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FraudProtectionProvider post(@jakarta.annotation.Nonnull final FraudProtectionProvider 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, FraudProtectionProvider::createFromDiscriminatorValue); + } + /** + * Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported: + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the fraudProtectionProvider object and their properties. The following derived types are 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 a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final FraudProtectionProvider body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider. + * @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 FraudProtectionProvider 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 FraudProtectionProvidersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public FraudProtectionProvidersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new FraudProtectionProvidersRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the fraudProtectionProvider object and their properties. The following derived types are 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/generated/identity/riskprevention/fraudprotectionproviders/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/fraudprotectionproviders/count/CountRequestBuilder.java new file mode 100644 index 00000000000..12c21af3acb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/fraudprotectionproviders/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count; + +import com.microsoft.graph.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}/identity/riskPrevention/fraudProtectionProviders/$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}/identity/riskPrevention/fraudProtectionProviders/$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/generated/identity/riskprevention/fraudprotectionproviders/item/FraudProtectionProviderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/fraudprotectionproviders/item/FraudProtectionProviderItemRequestBuilder.java new file mode 100644 index 00000000000..3f3697f2970 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/fraudprotectionproviders/item/FraudProtectionProviderItemRequestBuilder.java @@ -0,0 +1,234 @@ +package com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item; + +import com.microsoft.graph.models.FraudProtectionProvider; +import com.microsoft.graph.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 fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class FraudProtectionProviderItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link FraudProtectionProviderItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public FraudProtectionProviderItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders/{fraudProtectionProvider%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link FraudProtectionProviderItemRequestBuilder} 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 FraudProtectionProviderItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders/{fraudProtectionProvider%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete a fraudProtectionProvider object. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a fraudProtectionProvider object. + * @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); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported. + * @return a {@link FraudProtectionProvider} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FraudProtectionProvider get() { + return get(null); + } + /** + * Read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link FraudProtectionProvider} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FraudProtectionProvider 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, FraudProtectionProvider::createFromDiscriminatorValue); + } + /** + * Update the properties of a fraudProtectionProvider object. The following derived types are currently supported. + * @param body The request body + * @return a {@link FraudProtectionProvider} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FraudProtectionProvider patch(@jakarta.annotation.Nonnull final FraudProtectionProvider body) { + return patch(body, null); + } + /** + * Update the properties of a fraudProtectionProvider object. The following derived types are currently supported. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link FraudProtectionProvider} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FraudProtectionProvider patch(@jakarta.annotation.Nonnull final FraudProtectionProvider 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, FraudProtectionProvider::createFromDiscriminatorValue); + } + /** + * Delete a fraudProtectionProvider object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a fraudProtectionProvider object. + * @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; + } + /** + * Read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of fraudProtectionProvider object. The following derived types are currently 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; + } + /** + * Update the properties of a fraudProtectionProvider object. The following derived types are currently supported. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final FraudProtectionProvider body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of a fraudProtectionProvider object. The following derived types are currently supported. + * @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 FraudProtectionProvider 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 FraudProtectionProviderItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public FraudProtectionProviderItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new FraudProtectionProviderItemRequestBuilder(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 { + } + /** + * Read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported. + */ + @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/generated/identity/riskprevention/webapplicationfirewallproviders/WebApplicationFirewallProvidersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/WebApplicationFirewallProvidersRequestBuilder.java index 7fe5bbccc26..3d413a3545c 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/WebApplicationFirewallProvidersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/WebApplicationFirewallProvidersRequestBuilder.java @@ -60,19 +60,21 @@ public WebApplicationFirewallProvidersRequestBuilder(@jakarta.annotation.Nonnull super(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get webApplicationFirewallProviders from identity + * Get a list of the webApplicationFirewallProvider objects and their properties. * @return a {@link WebApplicationFirewallProviderCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallProviderCollectionResponse get() { return get(null); } /** - * Get webApplicationFirewallProviders from identity + * Get a list of the webApplicationFirewallProvider objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WebApplicationFirewallProviderCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallProviderCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -82,21 +84,23 @@ public WebApplicationFirewallProviderCollectionResponse get(@jakarta.annotation. return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallProviderCollectionResponse::createFromDiscriminatorValue); } /** - * Create new navigation property to webApplicationFirewallProviders for identity + * Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider. * @param body The request body * @return a {@link WebApplicationFirewallProvider} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallProvider post(@jakarta.annotation.Nonnull final WebApplicationFirewallProvider body) { return post(body, null); } /** - * Create new navigation property to webApplicationFirewallProviders for identity + * Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WebApplicationFirewallProvider} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallProvider post(@jakarta.annotation.Nonnull final WebApplicationFirewallProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +111,7 @@ public WebApplicationFirewallProvider post(@jakarta.annotation.Nonnull final Web return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallProvider::createFromDiscriminatorValue); } /** - * Get webApplicationFirewallProviders from identity + * Get a list of the webApplicationFirewallProvider objects and their properties. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get webApplicationFirewallProviders from identity + * Get a list of the webApplicationFirewallProvider objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create new navigation property to webApplicationFirewallProviders for identity + * Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider. * @param body The request body * @return a {@link RequestInformation} */ @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create new navigation property to webApplicationFirewallProviders for identity + * Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -161,7 +165,7 @@ public WebApplicationFirewallProvidersRequestBuilder withUrl(@jakarta.annotation return new WebApplicationFirewallProvidersRequestBuilder(rawUrl, requestAdapter); } /** - * Get webApplicationFirewallProviders from identity + * Get a list of the webApplicationFirewallProvider objects and their properties. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/item/WebApplicationFirewallProviderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/item/WebApplicationFirewallProviderItemRequestBuilder.java index b9372a5bbed..691f6c096ea 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/item/WebApplicationFirewallProviderItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/item/WebApplicationFirewallProviderItemRequestBuilder.java @@ -46,16 +46,18 @@ public WebApplicationFirewallProviderItemRequestBuilder(@jakarta.annotation.Nonn super(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete navigation property webApplicationFirewallProviders for identity + * Delete a webApplicationFirewallProvider object. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete navigation property webApplicationFirewallProviders for identity + * Delete a webApplicationFirewallProvider object. * @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); @@ -64,19 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get webApplicationFirewallProviders from identity + * Read the properties and relationships of webApplicationFirewallProvider object. * @return a {@link WebApplicationFirewallProvider} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallProvider get() { return get(null); } /** - * Get webApplicationFirewallProviders from identity + * Read the properties and relationships of webApplicationFirewallProvider object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WebApplicationFirewallProvider} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallProvider get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -86,21 +90,23 @@ public WebApplicationFirewallProvider get(@jakarta.annotation.Nullable final jav return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallProvider::createFromDiscriminatorValue); } /** - * Update the navigation property webApplicationFirewallProviders in identity + * Update the properties of a webApplicationFirewallProvider object. * @param body The request body * @return a {@link WebApplicationFirewallProvider} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallProvider patch(@jakarta.annotation.Nonnull final WebApplicationFirewallProvider body) { return patch(body, null); } /** - * Update the navigation property webApplicationFirewallProviders in identity + * Update the properties of a webApplicationFirewallProvider object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WebApplicationFirewallProvider} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallProvider patch(@jakarta.annotation.Nonnull final WebApplicationFirewallProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -111,7 +117,7 @@ public WebApplicationFirewallProvider patch(@jakarta.annotation.Nonnull final We return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallProvider::createFromDiscriminatorValue); } /** - * Delete navigation property webApplicationFirewallProviders for identity + * Delete a webApplicationFirewallProvider object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete navigation property webApplicationFirewallProviders for identity + * Delete a webApplicationFirewallProvider object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -131,7 +137,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get webApplicationFirewallProviders from identity + * Read the properties and relationships of webApplicationFirewallProvider object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +145,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get webApplicationFirewallProviders from identity + * Read the properties and relationships of webApplicationFirewallProvider object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -151,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property webApplicationFirewallProviders in identity + * Update the properties of a webApplicationFirewallProvider object. * @param body The request body * @return a {@link RequestInformation} */ @@ -160,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property webApplicationFirewallProviders in identity + * Update the properties of a webApplicationFirewallProvider object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -191,7 +197,7 @@ public WebApplicationFirewallProviderItemRequestBuilder withUrl(@jakarta.annotat public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get webApplicationFirewallProviders from identity + * Read the properties and relationships of webApplicationFirewallProvider object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/item/verify/VerifyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/item/verify/VerifyRequestBuilder.java index b6c88d398db..8155f2a405d 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/item/verify/VerifyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallproviders/item/verify/VerifyRequestBuilder.java @@ -36,21 +36,23 @@ public VerifyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%2Did}/verify", rawUrl); } /** - * Invoke action verify + * Initiate a verification operation for a webApplicationFirewallProvider object. This API triggers provider-specific verification logic and returns a webApplicationFirewallVerificationModel object describing the verification result. * @param body The request body * @return a {@link WebApplicationFirewallVerificationModel} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallVerificationModel post(@jakarta.annotation.Nonnull final VerifyPostRequestBody body) { return post(body, null); } /** - * Invoke action verify + * Initiate a verification operation for a webApplicationFirewallProvider object. This API triggers provider-specific verification logic and returns a webApplicationFirewallVerificationModel object describing the verification result. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WebApplicationFirewallVerificationModel} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallVerificationModel post(@jakarta.annotation.Nonnull final VerifyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -61,7 +63,7 @@ public WebApplicationFirewallVerificationModel post(@jakarta.annotation.Nonnull return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallVerificationModel::createFromDiscriminatorValue); } /** - * Invoke action verify + * Initiate a verification operation for a webApplicationFirewallProvider object. This API triggers provider-specific verification logic and returns a webApplicationFirewallVerificationModel object describing the verification result. * @param body The request body * @return a {@link RequestInformation} */ @@ -70,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action verify + * Initiate a verification operation for a webApplicationFirewallProvider object. This API triggers provider-specific verification logic and returns a webApplicationFirewallVerificationModel object describing the verification result. * @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/generated/identity/riskprevention/webapplicationfirewallverifications/WebApplicationFirewallVerificationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/WebApplicationFirewallVerificationsRequestBuilder.java index f8d13612596..d818d82a171 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/WebApplicationFirewallVerificationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/WebApplicationFirewallVerificationsRequestBuilder.java @@ -60,19 +60,21 @@ public WebApplicationFirewallVerificationsRequestBuilder(@jakarta.annotation.Non super(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get webApplicationFirewallVerifications from identity + * Get a list of the webApplicationFirewallVerificationModel objects and their properties. * @return a {@link WebApplicationFirewallVerificationModelCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallVerificationModelCollectionResponse get() { return get(null); } /** - * Get webApplicationFirewallVerifications from identity + * Get a list of the webApplicationFirewallVerificationModel objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WebApplicationFirewallVerificationModelCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallVerificationModelCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +109,7 @@ public WebApplicationFirewallVerificationModel post(@jakarta.annotation.Nonnull return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallVerificationModel::createFromDiscriminatorValue); } /** - * Get webApplicationFirewallVerifications from identity + * Get a list of the webApplicationFirewallVerificationModel objects and their properties. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get webApplicationFirewallVerifications from identity + * Get a list of the webApplicationFirewallVerificationModel objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +163,7 @@ public WebApplicationFirewallVerificationsRequestBuilder withUrl(@jakarta.annota return new WebApplicationFirewallVerificationsRequestBuilder(rawUrl, requestAdapter); } /** - * Get webApplicationFirewallVerifications from identity + * Get a list of the webApplicationFirewallVerificationModel objects and their properties. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/item/WebApplicationFirewallVerificationModelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/item/WebApplicationFirewallVerificationModelItemRequestBuilder.java index b012bb6988e..b1b4b226920 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/item/WebApplicationFirewallVerificationModelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/item/WebApplicationFirewallVerificationModelItemRequestBuilder.java @@ -46,16 +46,18 @@ public WebApplicationFirewallVerificationModelItemRequestBuilder(@jakarta.annota super(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/{webApplicationFirewallVerificationModel%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete navigation property webApplicationFirewallVerifications for identity + * Delete a webApplicationFirewallVerificationModel object. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete navigation property webApplicationFirewallVerifications for identity + * Delete a webApplicationFirewallVerificationModel object. * @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); @@ -64,19 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get webApplicationFirewallVerifications from identity + * Read the properties and relationships of webApplicationFirewallVerificationModel object. * @return a {@link WebApplicationFirewallVerificationModel} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallVerificationModel get() { return get(null); } /** - * Get webApplicationFirewallVerifications from identity + * Read the properties and relationships of webApplicationFirewallVerificationModel object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WebApplicationFirewallVerificationModel} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public WebApplicationFirewallVerificationModel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -111,7 +115,7 @@ public WebApplicationFirewallVerificationModel patch(@jakarta.annotation.Nonnull return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallVerificationModel::createFromDiscriminatorValue); } /** - * Delete navigation property webApplicationFirewallVerifications for identity + * Delete a webApplicationFirewallVerificationModel object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +123,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete navigation property webApplicationFirewallVerifications for identity + * Delete a webApplicationFirewallVerificationModel object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -131,7 +135,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get webApplicationFirewallVerifications from identity + * Read the properties and relationships of webApplicationFirewallVerificationModel object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +143,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get webApplicationFirewallVerifications from identity + * Read the properties and relationships of webApplicationFirewallVerificationModel object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -191,7 +195,7 @@ public WebApplicationFirewallVerificationModelItemRequestBuilder withUrl(@jakart public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get webApplicationFirewallVerifications from identity + * Read the properties and relationships of webApplicationFirewallVerificationModel object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/item/provider/ProviderRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/item/provider/ProviderRequestBuilder.java index 08525e3a662..2d82b1cdcbe 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/item/provider/ProviderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/riskprevention/webapplicationfirewallverifications/item/provider/ProviderRequestBuilder.java @@ -37,7 +37,7 @@ public ProviderRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/{webApplicationFirewallVerificationModel%2Did}/provider{?%24expand,%24select}", rawUrl); } /** - * Get provider from identity + * Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. * @return a {@link WebApplicationFirewallProvider} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public WebApplicationFirewallProvider get() { return get(null); } /** - * Get provider from identity + * Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WebApplicationFirewallProvider} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public WebApplicationFirewallProvider get(@jakarta.annotation.Nullable final jav return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallProvider::createFromDiscriminatorValue); } /** - * Get provider from identity + * Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get provider from identity + * Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public ProviderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r return new ProviderRequestBuilder(rawUrl, requestAdapter); } /** - * Get provider from identity + * Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java index c62a6089d78..5c4042ec6b5 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.executionscope.ExecutionScopeRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.lastmodifiedby.LastModifiedByRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.RunsRequestBuilder; @@ -63,6 +64,14 @@ public LastModifiedByRequestBuilder lastModifiedBy() { public MicrosoftGraphIdentityGovernanceActivateRequestBuilder microsoftGraphIdentityGovernanceActivate() { return new MicrosoftGraphIdentityGovernanceActivateRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the activateWithScope method. + * @return a {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoftGraphIdentityGovernanceActivateWithScope() { + return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the createNewVersion method. * @return a {@link MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/ActivateWithScopePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/ActivateWithScopePostRequestBody.java new file mode 100644 index 00000000000..5e50a63fbc0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/ActivateWithScopePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope; + +import com.microsoft.graph.models.identitygovernance.ActivationScope; +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 ActivateWithScopePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ActivateWithScopePostRequestBody} and sets the default values. + */ + public ActivateWithScopePostRequestBody() { + 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 ActivateWithScopePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ActivateWithScopePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ActivateWithScopePostRequestBody(); + } + /** + * 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("scope", (n) -> { this.setScope(n.getObjectValue(ActivationScope::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the scope property value. The scope property + * @return a {@link ActivationScope} + */ + @jakarta.annotation.Nullable + public ActivationScope getScope() { + return this.backingStore.get("scope"); + } + /** + * 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.writeObjectValue("scope", this.getScope()); + 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 scope property value. The scope property + * @param value Value to set for the scope property. + */ + public void setScope(@jakarta.annotation.Nullable final ActivationScope value) { + this.backingStore.set("scope", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java new file mode 100644 index 00000000000..229221e902b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java @@ -0,0 +1,100 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope; + +import com.microsoft.graph.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 activateWithScope method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.activateWithScope", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} 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 MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.activateWithScope", rawUrl); + } + /** + * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body) { + post(body, null); + } + /** + * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. + * @param body The request body + * @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 post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody 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); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. + * @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 ActivateWithScopePostRequestBody 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 MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/RunItemRequestBuilder.java index 5197b567110..ae5e790e7a0 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/RunItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.taskprocessingresults.TaskProcessingResultsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.UserProcessingResultsRequestBuilder; import com.microsoft.graph.models.identitygovernance.Run; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class RunItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. + * @return a {@link ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder reprocessedRuns() { + return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @return a {@link TaskProcessingResultsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java new file mode 100644 index 00000000000..fbba0c1bcbb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder; +import com.microsoft.graph.models.identitygovernance.RunCollectionResponse; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReprocessedRunsRequestBuilder 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 reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. + * @param runId1 The unique identifier of run + * @return a {@link RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { + Objects.requireNonNull(runId1); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("run%2Did1", runId1); + return new RunItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} 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 ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse 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, RunCollectionResponse::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java new file mode 100644 index 00000000000..e7fb3e4f94f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/$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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/$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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java new file mode 100644 index 00000000000..b9fdb74c246 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item; + +import com.microsoft.graph.models.identitygovernance.Run; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RunItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RunItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RunItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RunItemRequestBuilder} 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 RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run 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, Run::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RunItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java index ec2e5f67156..ae0f4610643 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.subject.SubjectRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder; import com.microsoft.graph.models.identitygovernance.UserProcessingResult; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + * @return a {@link ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder reprocessedRuns() { + return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link SubjectRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java new file mode 100644 index 00000000000..3eba4ac90d9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder; +import com.microsoft.graph.models.identitygovernance.RunCollectionResponse; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReprocessedRunsRequestBuilder 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 reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + * @param runId1 The unique identifier of run + * @return a {@link RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { + Objects.requireNonNull(runId1); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("run%2Did1", runId1); + return new RunItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} 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 ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse 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, RunCollectionResponse::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java new file mode 100644 index 00000000000..1f6463e4cda --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java new file mode 100644 index 00000000000..22cffd15a46 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item; + +import com.microsoft.graph.models.identitygovernance.Run; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RunItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RunItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RunItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RunItemRequestBuilder} 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 RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run 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, Run::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RunItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java index dd38d837329..5e4c33c524f 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java @@ -55,7 +55,7 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/subject{?%24expand,%24select}", rawUrl); } /** - * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. + * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public User get() { return get(null); } /** - * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. + * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code @@ -77,7 +77,7 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("run%2Did", runId); + return new RunItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} 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 ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse 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, RunCollectionResponse::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java new file mode 100644 index 00000000000..bcb081710f8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java new file mode 100644 index 00000000000..61775acb937 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item; + +import com.microsoft.graph.models.identitygovernance.Run; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RunItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RunItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RunItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RunItemRequestBuilder} 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 RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run 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, Run::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RunItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java index 42bfa8de490..ce58de4d492 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java @@ -55,7 +55,7 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/subject{?%24expand,%24select}", rawUrl); } /** - * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. + * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public User get() { return get(null); } /** - * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. + * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code @@ -77,7 +77,7 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer()); + } + /** + * 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 ActivateWithScopePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ActivateWithScopePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ActivateWithScopePostRequestBody(); + } + /** + * 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("scope", (n) -> { this.setScope(n.getObjectValue(ActivationScope::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the scope property value. The scope property + * @return a {@link ActivationScope} + */ + @jakarta.annotation.Nullable + public ActivationScope getScope() { + return this.backingStore.get("scope"); + } + /** + * 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.writeObjectValue("scope", this.getScope()); + 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 scope property value. The scope property + * @param value Value to set for the scope property. + */ + public void setScope(@jakarta.annotation.Nullable final ActivationScope value) { + this.backingStore.set("scope", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java new file mode 100644 index 00000000000..0aa64c69b63 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java @@ -0,0 +1,100 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope; + +import com.microsoft.graph.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 activateWithScope method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.activateWithScope", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} 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 MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.activateWithScope", rawUrl); + } + /** + * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body) { + post(body, null); + } + /** + * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. + * @param body The request body + * @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 post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody 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); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. + * @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 ActivateWithScopePostRequestBody 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 MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(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/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/RunItemRequestBuilder.java index 4129be05921..dbb688f3dad 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/RunItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.taskprocessingresults.TaskProcessingResultsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.UserProcessingResultsRequestBuilder; import com.microsoft.graph.models.identitygovernance.Run; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class RunItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. + * @return a {@link ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder reprocessedRuns() { + return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @return a {@link TaskProcessingResultsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java new file mode 100644 index 00000000000..ad8198e8d47 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder; +import com.microsoft.graph.models.identitygovernance.RunCollectionResponse; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReprocessedRunsRequestBuilder 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 reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. + * @param runId1 The unique identifier of run + * @return a {@link RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { + Objects.requireNonNull(runId1); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("run%2Did1", runId1); + return new RunItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} 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 ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse 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, RunCollectionResponse::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java new file mode 100644 index 00000000000..0955a77976f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/$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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/$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/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java new file mode 100644 index 00000000000..01311917e19 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item; + +import com.microsoft.graph.models.identitygovernance.Run; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RunItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RunItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RunItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RunItemRequestBuilder} 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 RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run 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, Run::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RunItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java index afab9c03d24..7f5663f67a7 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.subject.SubjectRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder; import com.microsoft.graph.models.identitygovernance.UserProcessingResult; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + * @return a {@link ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder reprocessedRuns() { + return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link SubjectRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java new file mode 100644 index 00000000000..771ade78d2f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder; +import com.microsoft.graph.models.identitygovernance.RunCollectionResponse; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReprocessedRunsRequestBuilder 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 reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + * @param runId1 The unique identifier of run + * @return a {@link RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { + Objects.requireNonNull(runId1); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("run%2Did1", runId1); + return new RunItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} 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 ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse 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, RunCollectionResponse::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java new file mode 100644 index 00000000000..efe96e4e2ba --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$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/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java new file mode 100644 index 00000000000..a237555d9cb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item; + +import com.microsoft.graph.models.identitygovernance.Run; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RunItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RunItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RunItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RunItemRequestBuilder} 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 RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run 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, Run::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RunItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java index 37a2686c8c7..a161428a9b8 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java @@ -55,7 +55,7 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/subject{?%24expand,%24select}", rawUrl); } /** - * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. + * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public User get() { return get(null); } /** - * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. + * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code @@ -77,7 +77,7 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("run%2Did", runId); + return new RunItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ReprocessedRunsRequestBuilder} 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 ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RunCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RunCollectionResponse 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, RunCollectionResponse::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 ReprocessedRunsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java new file mode 100644 index 00000000000..949ea803f34 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$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/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java new file mode 100644 index 00000000000..4c77ed50a11 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item; + +import com.microsoft.graph.models.identitygovernance.Run; +import com.microsoft.graph.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 reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RunItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RunItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RunItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RunItemRequestBuilder} 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 RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * The related reprocessed workflow run. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run get() { + return get(null); + } + /** + * The related reprocessed workflow run. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Run} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Run 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, Run::createFromDiscriminatorValue); + } + /** + * The related reprocessed workflow run. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The related reprocessed workflow run. + * @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 RunItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RunItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The related reprocessed workflow run. + */ + @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(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java index edcaa0f7133..9e3fc0d380d 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java @@ -55,7 +55,7 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/subject{?%24expand,%24select}", rawUrl); } /** - * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. + * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public User get() { return get(null); } /** - * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. + * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code @@ -77,7 +77,7 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer):EmployeeExperience +com.microsoft.graph.employeeexperience.EmployeeExperienceRequestBuilder::|public|roles:RolesRequestBuilder com.microsoft.graph.employeeexperience.EmployeeExperienceRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.employeeexperience.EmployeeExperienceRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.employeeexperience.EmployeeExperienceRequestBuilder::|public|toPatchRequestInformation(body:EmployeeExperience):RequestInformation @@ -64865,6 +64866,208 @@ com.microsoft.graph.employeeexperience.learningproviders.LearningProvidersReques com.microsoft.graph.employeeexperience.learningproviders.LearningProvidersRequestBuilder::|public|toPostRequestInformation(body:LearningProvider):RequestInformation com.microsoft.graph.employeeexperience.learningproviders.LearningProvidersRequestBuilder::|public|toPostRequestInformation(body:LearningProvider; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.employeeexperience.learningproviders.LearningProvidersRequestBuilder::|public|withUrl(rawUrl:String):LearningProvidersRequestBuilder +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|delete():Void +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|get():EngagementRole +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRole +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|members:MembersRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|patch(body:EngagementRole):EngagementRole +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|patch(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):EngagementRole +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRole):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|withUrl(rawUrl:String):EngagementRoleItemRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|delete():Void +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|get():EngagementRoleMember +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRoleMember +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|patch(body:EngagementRoleMember):EngagementRoleMember +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|patch(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):EngagementRoleMember +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRoleMember):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|user:UserRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|withUrl(rawUrl:String):EngagementRoleMemberItemRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|get():MailboxSettings +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):MailboxSettings +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings):MailboxSettings +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; requestConfiguration?:java.util.function.Consumer):MailboxSettings +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|toPatchRequestInformation(body:MailboxSettings):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|toPatchRequestInformation(body:MailboxSettings; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|withUrl(rawUrl:String):MailboxSettingsRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|get():ServiceProvisioningErrorCollectionResponse +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ServiceProvisioningErrorCollectionResponse +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|withUrl(rawUrl:String):ServiceProvisioningErrorsRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|get():User +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):User +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|mailboxSettings:MailboxSettingsRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|serviceProvisioningErrors:ServiceProvisioningErrorsRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.item.user.UserRequestBuilder::|public|withUrl(rawUrl:String):UserRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|byEngagementRoleMemberId(engagementRoleMemberId:String):EngagementRoleMemberItemRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|get():EngagementRoleMemberCollectionResponse +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRoleMemberCollectionResponse +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|post(body:EngagementRoleMember):EngagementRoleMember +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|post(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):EngagementRoleMember +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:EngagementRoleMember):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|byEngagementRoleId(engagementRoleId:String):EngagementRoleItemRequestBuilder +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|get():EngagementRoleCollectionResponse +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRoleCollectionResponse +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|post(body:EngagementRole):EngagementRole +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|post(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):EngagementRole +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|toPostRequestInformation(body:EngagementRole):RequestInformation +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|toPostRequestInformation(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.employeeexperience.roles.RolesRequestBuilder::|public|withUrl(rawUrl:String):RolesRequestBuilder com.microsoft.graph.external.connections.ConnectionsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.external.connections.ConnectionsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.external.connections.ConnectionsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -92739,6 +92942,71 @@ com.microsoft.graph.identity.IdentityRequestBuilder::|public|toPatchRequestInfor com.microsoft.graph.identity.IdentityRequestBuilder::|public|toPatchRequestInformation(body:IdentityContainer; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identity.IdentityRequestBuilder::|public|userFlowAttributes:UserFlowAttributesRequestBuilder com.microsoft.graph.identity.IdentityRequestBuilder::|public|withUrl(rawUrl:String):IdentityRequestBuilder +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|byFraudProtectionProviderId(fraudProtectionProviderId:String):FraudProtectionProviderItemRequestBuilder +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|get():FraudProtectionProviderCollectionResponse +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):FraudProtectionProviderCollectionResponse +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|post(body:FraudProtectionProvider):FraudProtectionProvider +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|post(body:FraudProtectionProvider; requestConfiguration?:java.util.function.Consumer):FraudProtectionProvider +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|toPostRequestInformation(body:FraudProtectionProvider):RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|toPostRequestInformation(body:FraudProtectionProvider; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder::|public|withUrl(rawUrl:String):FraudProtectionProvidersRequestBuilder +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|delete():Void +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|get():FraudProtectionProvider +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):FraudProtectionProvider +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|patch(body:FraudProtectionProvider):FraudProtectionProvider +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|patch(body:FraudProtectionProvider; requestConfiguration?:java.util.function.Consumer):FraudProtectionProvider +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|toPatchRequestInformation(body:FraudProtectionProvider):RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|toPatchRequestInformation(body:FraudProtectionProvider; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.item.FraudProtectionProviderItemRequestBuilder::|public|withUrl(rawUrl:String):FraudProtectionProviderItemRequestBuilder com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -92752,6 +93020,7 @@ com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder::|publi com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder::|public|delete():Void com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder::|public|fraudProtectionProviders:FraudProtectionProvidersRequestBuilder com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder::|public|get():RiskPreventionContainer com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RiskPreventionContainer com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder::|public|patch(body:RiskPreventionContainer):RiskPreventionContainer @@ -102476,6 +102745,27 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|toPostRequestInformation(body:ActivatePostRequestBody):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|toPostRequestInformation(body:ActivatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceActivateRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|constructor():void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|getScope():ActivationScope +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|setScope(value?:ActivationScope):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActivateWithScopePostRequestBody +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|post(body:ActivateWithScopePostRequestBody):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|post(body:ActivateWithScopePostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|toPostRequestInformation(body:ActivateWithScopePostRequestBody):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|toPostRequestInformation(body:ActivateWithScopePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancecreatenewversion.CreateNewVersionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancecreatenewversion.CreateNewVersionPostRequestBody::|public|constructor():void com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancecreatenewversion.CreateNewVersionPostRequestBody::|public|getAdditionalData():Map @@ -102520,6 +102810,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|get():Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|withUrl(rawUrl:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|byRunId1(runId1:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get():RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|withUrl(rawUrl:String):ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder.GetQueryParameters::|public|select:String[] @@ -102531,6 +102871,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder::|public|get():Run com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder::|public|reprocessedRuns:ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder::|public|taskProcessingResults:TaskProcessingResultsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.RunItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -102712,6 +103053,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|get():Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|withUrl(rawUrl:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|byRunId1(runId1:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get():RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|withUrl(rawUrl:String):ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|select:String[] @@ -102955,6 +103346,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|get():UserProcessingResult com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserProcessingResult +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|reprocessedRuns:ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|subject:SubjectRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|taskProcessingResults:TaskProcessingResultsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -103519,6 +103911,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|get():Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|withUrl(rawUrl:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|byRunId(runId:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get():RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|withUrl(rawUrl:String):ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|select:String[] @@ -103762,6 +104204,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|get():UserProcessingResult com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserProcessingResult +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|reprocessedRuns:ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|subject:SubjectRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|taskProcessingResults:TaskProcessingResultsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -104238,6 +104681,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Workflow com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|lastModifiedBy:LastModifiedByRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate:MicrosoftGraphIdentityGovernanceActivateRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope:MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion:MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|runs:RunsRequestBuilder @@ -104691,6 +105135,27 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microso com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|toPostRequestInformation(body:ActivatePostRequestBody):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|toPostRequestInformation(body:ActivatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceActivateRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|constructor():void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|getScope():ActivationScope +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|public|setScope(value?:ActivationScope):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActivateWithScopePostRequestBody +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.ActivateWithScopePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|post(body:ActivateWithScopePostRequestBody):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|post(body:ActivateWithScopePostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|toPostRequestInformation(body:ActivateWithScopePostRequestBody):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|toPostRequestInformation(body:ActivateWithScopePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancecreatenewversion.CreateNewVersionPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancecreatenewversion.CreateNewVersionPostRequestBody::|public|constructor():void com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancecreatenewversion.CreateNewVersionPostRequestBody::|public|getAdditionalData():Map @@ -104735,6 +105200,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.co com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|get():Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.item.RunItemRequestBuilder::|public|withUrl(rawUrl:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|byRunId1(runId1:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get():RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|withUrl(rawUrl:String):ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder.GetQueryParameters::|public|select:String[] @@ -104746,6 +105261,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.it com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder::|public|get():Run com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder::|public|reprocessedRuns:ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder::|public|taskProcessingResults:TaskProcessingResultsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.RunItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -104927,6 +105443,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.it com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|get():Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|withUrl(rawUrl:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|byRunId1(runId1:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get():RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|withUrl(rawUrl:String):ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|select:String[] @@ -105170,6 +105736,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.it com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|get():UserProcessingResult com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserProcessingResult +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|reprocessedRuns:ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|subject:SubjectRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|taskProcessingResults:TaskProcessingResultsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -105734,6 +106301,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userpro com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|get():Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Run +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.item.RunItemRequestBuilder::|public|withUrl(rawUrl:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|byRunId(runId:String):RunItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get():RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RunCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.reprocessedruns.ReprocessedRunsRequestBuilder::|public|withUrl(rawUrl:String):ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.subject.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|select:String[] @@ -105977,6 +106594,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userpro com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|get():UserProcessingResult com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserProcessingResult +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|reprocessedRuns:ReprocessedRunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|subject:SubjectRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|taskProcessingResults:TaskProcessingResultsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.userprocessingresults.item.UserProcessingResultItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -106454,6 +107072,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.Workflo com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Workflow com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|lastModifiedBy:LastModifiedByRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate:MicrosoftGraphIdentityGovernanceActivateRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope:MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion:MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|patch(body:Workflow):Workflow @@ -112950,6 +113569,20 @@ com.microsoft.graph.models.ArchivedPrintJob::|public|setPrinterName(value?:Strin com.microsoft.graph.models.ArchivedPrintJob::|public|setProcessingState(value?:PrintJobProcessingState):void com.microsoft.graph.models.ArchivedPrintJob::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ArchivedPrintJob com.microsoft.graph.models.ArchivedPrintJob~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.ArkoseFraudProtectionProvider-->FraudProtectionProvider +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|constructor():void +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|getClientSubDomain():String +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|getPrivateKey():String +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|getPublicKey():String +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|getVerifySubDomain():String +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|OdataType:String +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|setClientSubDomain(value?:String):void +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|setPrivateKey(value?:String):void +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|setPublicKey(value?:String):void +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|public|setVerifySubDomain(value?:String):void +com.microsoft.graph.models.ArkoseFraudProtectionProvider::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ArkoseFraudProtectionProvider com.microsoft.graph.models.ArtifactQuery::|protected|backingStore:BackingStore com.microsoft.graph.models.ArtifactQuery::|public|constructor():void com.microsoft.graph.models.ArtifactQuery::|public|getAdditionalData():Map @@ -114052,11 +114685,13 @@ com.microsoft.graph.models.AuthenticationEventListener-->Entity com.microsoft.graph.models.AuthenticationEventListener::|public|constructor():void com.microsoft.graph.models.AuthenticationEventListener::|public|getAuthenticationEventsFlowId():String com.microsoft.graph.models.AuthenticationEventListener::|public|getConditions():AuthenticationConditions +com.microsoft.graph.models.AuthenticationEventListener::|public|getDisplayName():String com.microsoft.graph.models.AuthenticationEventListener::|public|getFieldDeserializers():Map> com.microsoft.graph.models.AuthenticationEventListener::|public|OdataType:String com.microsoft.graph.models.AuthenticationEventListener::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.AuthenticationEventListener::|public|setAuthenticationEventsFlowId(value?:String):void com.microsoft.graph.models.AuthenticationEventListener::|public|setConditions(value?:AuthenticationConditions):void +com.microsoft.graph.models.AuthenticationEventListener::|public|setDisplayName(value?:String):void com.microsoft.graph.models.AuthenticationEventListener::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AuthenticationEventListener com.microsoft.graph.models.AuthenticationEventListenerCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.models.AuthenticationEventListenerCollectionResponse::|public|constructor():void @@ -117712,6 +118347,36 @@ com.microsoft.graph.models.ChatViewpoint::|public|setLastMessageReadDateTime(val com.microsoft.graph.models.ChatViewpoint::|public|setOdataType(value?:String):void com.microsoft.graph.models.ChatViewpoint::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ChatViewpoint com.microsoft.graph.models.ChatViewpoint~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.CheckInClaim::|protected|backingStore:BackingStore +com.microsoft.graph.models.CheckInClaim::|public|constructor():void +com.microsoft.graph.models.CheckInClaim::|public|getAdditionalData():Map +com.microsoft.graph.models.CheckInClaim::|public|getBackingStore():BackingStore +com.microsoft.graph.models.CheckInClaim::|public|getCalendarEventId():String +com.microsoft.graph.models.CheckInClaim::|public|getCheckInMethod():CheckInMethod +com.microsoft.graph.models.CheckInClaim::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.models.CheckInClaim::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.CheckInClaim::|public|getOdataType():String +com.microsoft.graph.models.CheckInClaim::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.CheckInClaim::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.CheckInClaim::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.CheckInClaim::|public|setCalendarEventId(value?:String):void +com.microsoft.graph.models.CheckInClaim::|public|setCheckInMethod(value?:CheckInMethod):void +com.microsoft.graph.models.CheckInClaim::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.CheckInClaim::|public|setOdataType(value?:String):void +com.microsoft.graph.models.CheckInClaim::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CheckInClaim +com.microsoft.graph.models.CheckInClaimCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.CheckInClaimCollectionResponse::|public|constructor():void +com.microsoft.graph.models.CheckInClaimCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.CheckInClaimCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.CheckInClaimCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.CheckInClaimCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.CheckInClaimCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CheckInClaimCollectionResponse +com.microsoft.graph.models.CheckInClaim~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.CheckInMethod::0000-Unspecified +com.microsoft.graph.models.CheckInMethod::0001-Manual +com.microsoft.graph.models.CheckInMethod::0002-Inferred +com.microsoft.graph.models.CheckInMethod::0003-Verified +com.microsoft.graph.models.CheckInMethod::0004-UnknownFutureValue com.microsoft.graph.models.ChecklistItem-->Entity com.microsoft.graph.models.ChecklistItem::|public|constructor():void com.microsoft.graph.models.ChecklistItem::|public|getCheckedDateTime():OffsetDateTime @@ -125128,6 +125793,7 @@ com.microsoft.graph.models.EmployeeExperience::|public|getFieldDeserializers():M com.microsoft.graph.models.EmployeeExperience::|public|getLearningCourseActivities():java.util.List com.microsoft.graph.models.EmployeeExperience::|public|getLearningProviders():java.util.List com.microsoft.graph.models.EmployeeExperience::|public|getOdataType():String +com.microsoft.graph.models.EmployeeExperience::|public|getRoles():java.util.List com.microsoft.graph.models.EmployeeExperience::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.EmployeeExperience::|public|setAdditionalData(value?:Map):void com.microsoft.graph.models.EmployeeExperience::|public|setBackingStore(value:BackingStore):void @@ -125136,13 +125802,16 @@ com.microsoft.graph.models.EmployeeExperience::|public|setEngagementAsyncOperati com.microsoft.graph.models.EmployeeExperience::|public|setLearningCourseActivities(value?:java.util.List):void com.microsoft.graph.models.EmployeeExperience::|public|setLearningProviders(value?:java.util.List):void com.microsoft.graph.models.EmployeeExperience::|public|setOdataType(value?:String):void +com.microsoft.graph.models.EmployeeExperience::|public|setRoles(value?:java.util.List):void com.microsoft.graph.models.EmployeeExperience::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EmployeeExperience com.microsoft.graph.models.EmployeeExperienceUser-->Entity com.microsoft.graph.models.EmployeeExperienceUser::|public|constructor():void +com.microsoft.graph.models.EmployeeExperienceUser::|public|getAssignedRoles():java.util.List com.microsoft.graph.models.EmployeeExperienceUser::|public|getFieldDeserializers():Map> com.microsoft.graph.models.EmployeeExperienceUser::|public|getLearningCourseActivities():java.util.List com.microsoft.graph.models.EmployeeExperienceUser::|public|OdataType:String com.microsoft.graph.models.EmployeeExperienceUser::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EmployeeExperienceUser::|public|setAssignedRoles(value?:java.util.List):void com.microsoft.graph.models.EmployeeExperienceUser::|public|setLearningCourseActivities(value?:java.util.List):void com.microsoft.graph.models.EmployeeExperienceUser::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EmployeeExperienceUser com.microsoft.graph.models.EmployeeExperience~~>AdditionalDataHolder; BackedModel; Parsable @@ -125439,6 +126108,42 @@ com.microsoft.graph.models.EngagementIdentitySet::|public|serialize(writer:Seria com.microsoft.graph.models.EngagementIdentitySet::|public|setAudience(value?:Identity):void com.microsoft.graph.models.EngagementIdentitySet::|public|setGroup(value?:Identity):void com.microsoft.graph.models.EngagementIdentitySet::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EngagementIdentitySet +com.microsoft.graph.models.EngagementRole-->Entity +com.microsoft.graph.models.EngagementRole::|public|constructor():void +com.microsoft.graph.models.EngagementRole::|public|getDisplayName():String +com.microsoft.graph.models.EngagementRole::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EngagementRole::|public|getMembers():java.util.List +com.microsoft.graph.models.EngagementRole::|public|OdataType:String +com.microsoft.graph.models.EngagementRole::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EngagementRole::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.EngagementRole::|public|setMembers(value?:java.util.List):void +com.microsoft.graph.models.EngagementRole::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EngagementRole +com.microsoft.graph.models.EngagementRoleCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.EngagementRoleCollectionResponse::|public|constructor():void +com.microsoft.graph.models.EngagementRoleCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EngagementRoleCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.EngagementRoleCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EngagementRoleCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.EngagementRoleCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EngagementRoleCollectionResponse +com.microsoft.graph.models.EngagementRoleMember-->Entity +com.microsoft.graph.models.EngagementRoleMember::|public|constructor():void +com.microsoft.graph.models.EngagementRoleMember::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.models.EngagementRoleMember::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EngagementRoleMember::|public|getUser():User +com.microsoft.graph.models.EngagementRoleMember::|public|getUserId():String +com.microsoft.graph.models.EngagementRoleMember::|public|OdataType:String +com.microsoft.graph.models.EngagementRoleMember::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EngagementRoleMember::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.EngagementRoleMember::|public|setUser(value?:User):void +com.microsoft.graph.models.EngagementRoleMember::|public|setUserId(value?:String):void +com.microsoft.graph.models.EngagementRoleMember::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EngagementRoleMember +com.microsoft.graph.models.EngagementRoleMemberCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.EngagementRoleMemberCollectionResponse::|public|constructor():void +com.microsoft.graph.models.EngagementRoleMemberCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EngagementRoleMemberCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.EngagementRoleMemberCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EngagementRoleMemberCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.EngagementRoleMemberCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EngagementRoleMemberCollectionResponse com.microsoft.graph.models.EnrollmentConfigurationAssignment-->Entity com.microsoft.graph.models.EnrollmentConfigurationAssignment::|public|constructor():void com.microsoft.graph.models.EnrollmentConfigurationAssignment::|public|getFieldDeserializers():Map> @@ -126954,6 +127659,41 @@ com.microsoft.graph.models.FollowupFlagStatus::0000-NotFlagged com.microsoft.graph.models.FollowupFlagStatus::0001-Complete com.microsoft.graph.models.FollowupFlagStatus::0002-Flagged com.microsoft.graph.models.FollowupFlag~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.FraudProtectionConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.models.FraudProtectionConfiguration::|public|constructor():void +com.microsoft.graph.models.FraudProtectionConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.models.FraudProtectionConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.models.FraudProtectionConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.FraudProtectionConfiguration::|public|getOdataType():String +com.microsoft.graph.models.FraudProtectionConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.FraudProtectionConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.FraudProtectionConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.FraudProtectionConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.models.FraudProtectionConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FraudProtectionConfiguration +com.microsoft.graph.models.FraudProtectionConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.FraudProtectionProvider-->Entity +com.microsoft.graph.models.FraudProtectionProvider::|public|constructor():void +com.microsoft.graph.models.FraudProtectionProvider::|public|getDisplayName():String +com.microsoft.graph.models.FraudProtectionProvider::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.FraudProtectionProvider::|public|OdataType:String +com.microsoft.graph.models.FraudProtectionProvider::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.FraudProtectionProvider::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.FraudProtectionProvider::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FraudProtectionProvider +com.microsoft.graph.models.FraudProtectionProviderCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.FraudProtectionProviderCollectionResponse::|public|constructor():void +com.microsoft.graph.models.FraudProtectionProviderCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.FraudProtectionProviderCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.FraudProtectionProviderCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.FraudProtectionProviderCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.FraudProtectionProviderCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FraudProtectionProviderCollectionResponse +com.microsoft.graph.models.FraudProtectionProviderConfiguration-->FraudProtectionConfiguration +com.microsoft.graph.models.FraudProtectionProviderConfiguration::|public|constructor():void +com.microsoft.graph.models.FraudProtectionProviderConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.FraudProtectionProviderConfiguration::|public|getFraudProtectionProvider():FraudProtectionProvider +com.microsoft.graph.models.FraudProtectionProviderConfiguration::|public|OdataType:String +com.microsoft.graph.models.FraudProtectionProviderConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.FraudProtectionProviderConfiguration::|public|setFraudProtectionProvider(value?:FraudProtectionProvider):void +com.microsoft.graph.models.FraudProtectionProviderConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FraudProtectionProviderConfiguration com.microsoft.graph.models.FreeBusyError::|protected|backingStore:BackingStore com.microsoft.graph.models.FreeBusyError::|public|constructor():void com.microsoft.graph.models.FreeBusyError::|public|getAdditionalData():Map @@ -127427,6 +128167,16 @@ com.microsoft.graph.models.HttpRequestEndpoint::|public|OdataType:String com.microsoft.graph.models.HttpRequestEndpoint::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.HttpRequestEndpoint::|public|setTargetUrl(value?:String):void com.microsoft.graph.models.HttpRequestEndpoint::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):HttpRequestEndpoint +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider-->FraudProtectionProvider +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|public|constructor():void +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|public|getAppId():String +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|public|getServerToken():String +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|public|OdataType:String +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|public|setAppId(value?:String):void +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|public|setServerToken(value?:String):void +com.microsoft.graph.models.HumanSecurityFraudProtectionProvider::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):HumanSecurityFraudProtectionProvider com.microsoft.graph.models.HyperlinkOrPictureColumn::|protected|backingStore:BackingStore com.microsoft.graph.models.HyperlinkOrPictureColumn::|public|constructor():void com.microsoft.graph.models.HyperlinkOrPictureColumn::|public|getAdditionalData():Map @@ -127511,6 +128261,62 @@ com.microsoft.graph.models.IdentityCustomUserFlowAttribute::|public|getFieldDese com.microsoft.graph.models.IdentityCustomUserFlowAttribute::|public|OdataType:String com.microsoft.graph.models.IdentityCustomUserFlowAttribute::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.IdentityCustomUserFlowAttribute::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IdentityCustomUserFlowAttribute +com.microsoft.graph.models.identitygovernance.ActivateGroupScope-->ActivationScope +com.microsoft.graph.models.identitygovernance.ActivateGroupScope::|public|constructor():void +com.microsoft.graph.models.identitygovernance.ActivateGroupScope::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.ActivateGroupScope::|public|getGroup():Group +com.microsoft.graph.models.identitygovernance.ActivateGroupScope::|public|OdataType:String +com.microsoft.graph.models.identitygovernance.ActivateGroupScope::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.ActivateGroupScope::|public|setGroup(value?:Group):void +com.microsoft.graph.models.identitygovernance.ActivateGroupScope::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActivateGroupScope +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope-->ActivationScope +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|public|constructor():void +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|public|getProcessingResults():java.util.List +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|public|getTaskScope():ActivationTaskScopeType +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|public|OdataType:String +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|public|setProcessingResults(value?:java.util.List):void +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|public|setTaskScope(value?:ActivationTaskScopeType):void +com.microsoft.graph.models.identitygovernance.ActivateProcessingResultScope::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActivateProcessingResultScope +com.microsoft.graph.models.identitygovernance.ActivateRunScope-->ActivationScope +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|constructor():void +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|getRun():Run +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|getTaskScope():ActivationTaskScopeType +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|getUserScope():ActivationUserScopeType +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|OdataType:String +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|setRun(value?:Run):void +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|setTaskScope(value?:ActivationTaskScopeType):void +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|public|setUserScope(value?:ActivationUserScopeType):void +com.microsoft.graph.models.identitygovernance.ActivateRunScope::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActivateRunScope +com.microsoft.graph.models.identitygovernance.ActivateUserScope-->ActivationScope +com.microsoft.graph.models.identitygovernance.ActivateUserScope::|public|constructor():void +com.microsoft.graph.models.identitygovernance.ActivateUserScope::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.ActivateUserScope::|public|getUsers():java.util.List +com.microsoft.graph.models.identitygovernance.ActivateUserScope::|public|OdataType:String +com.microsoft.graph.models.identitygovernance.ActivateUserScope::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.ActivateUserScope::|public|setUsers(value?:java.util.List):void +com.microsoft.graph.models.identitygovernance.ActivateUserScope::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActivateUserScope +com.microsoft.graph.models.identitygovernance.ActivationScope::|protected|backingStore:BackingStore +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|constructor():void +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|getAdditionalData():Map +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|getBackingStore():BackingStore +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|getOdataType():String +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.identitygovernance.ActivationScope::|public|setOdataType(value?:String):void +com.microsoft.graph.models.identitygovernance.ActivationScope::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActivationScope +com.microsoft.graph.models.identitygovernance.ActivationScope~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.identitygovernance.ActivationTaskScopeType::0000-AllTasks +com.microsoft.graph.models.identitygovernance.ActivationTaskScopeType::0001-FailedTasks +com.microsoft.graph.models.identitygovernance.ActivationTaskScopeType::0002-UnknownFutureValue +com.microsoft.graph.models.identitygovernance.ActivationUserScopeType::0000-AllUsers +com.microsoft.graph.models.identitygovernance.ActivationUserScopeType::0001-FailedUsers +com.microsoft.graph.models.identitygovernance.ActivationUserScopeType::0002-UnknownFutureValue com.microsoft.graph.models.identitygovernance.AttributeChangeTrigger-->WorkflowExecutionTrigger com.microsoft.graph.models.identitygovernance.AttributeChangeTrigger::|public|constructor():void com.microsoft.graph.models.identitygovernance.AttributeChangeTrigger::|public|getFieldDeserializers():Map> @@ -127679,12 +128485,14 @@ com.microsoft.graph.models.identitygovernance.RuleBasedSubjectSet::|public|setRu com.microsoft.graph.models.identitygovernance.RuleBasedSubjectSet::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RuleBasedSubjectSet com.microsoft.graph.models.identitygovernance.Run-->Entity com.microsoft.graph.models.identitygovernance.Run::|public|constructor():void +com.microsoft.graph.models.identitygovernance.Run::|public|getActivatedOnScope():ActivationScope com.microsoft.graph.models.identitygovernance.Run::|public|getCompletedDateTime():OffsetDateTime com.microsoft.graph.models.identitygovernance.Run::|public|getFailedTasksCount():Integer com.microsoft.graph.models.identitygovernance.Run::|public|getFailedUsersCount():Integer com.microsoft.graph.models.identitygovernance.Run::|public|getFieldDeserializers():Map> com.microsoft.graph.models.identitygovernance.Run::|public|getLastUpdatedDateTime():OffsetDateTime com.microsoft.graph.models.identitygovernance.Run::|public|getProcessingStatus():LifecycleWorkflowProcessingStatus +com.microsoft.graph.models.identitygovernance.Run::|public|getReprocessedRuns():java.util.List com.microsoft.graph.models.identitygovernance.Run::|public|getScheduledDateTime():OffsetDateTime com.microsoft.graph.models.identitygovernance.Run::|public|getStartedDateTime():OffsetDateTime com.microsoft.graph.models.identitygovernance.Run::|public|getSuccessfulUsersCount():Integer @@ -127696,11 +128504,13 @@ com.microsoft.graph.models.identitygovernance.Run::|public|getUserProcessingResu com.microsoft.graph.models.identitygovernance.Run::|public|getWorkflowExecutionType():WorkflowExecutionType com.microsoft.graph.models.identitygovernance.Run::|public|OdataType:String com.microsoft.graph.models.identitygovernance.Run::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.Run::|public|setActivatedOnScope(value?:ActivationScope):void com.microsoft.graph.models.identitygovernance.Run::|public|setCompletedDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.Run::|public|setFailedTasksCount(value?:Integer):void com.microsoft.graph.models.identitygovernance.Run::|public|setFailedUsersCount(value?:Integer):void com.microsoft.graph.models.identitygovernance.Run::|public|setLastUpdatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.Run::|public|setProcessingStatus(value?:LifecycleWorkflowProcessingStatus):void +com.microsoft.graph.models.identitygovernance.Run::|public|setReprocessedRuns(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.Run::|public|setScheduledDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.Run::|public|setStartedDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.Run::|public|setSuccessfulUsersCount(value?:Integer):void @@ -127982,6 +128792,7 @@ com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|getC com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|getFailedTasksCount():Integer com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|getFieldDeserializers():Map> com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|getProcessingStatus():LifecycleWorkflowProcessingStatus +com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|getReprocessedRuns():java.util.List com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|getScheduledDateTime():OffsetDateTime com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|getStartedDateTime():OffsetDateTime com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|getSubject():User @@ -127995,6 +128806,7 @@ com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|seri com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|setCompletedDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|setFailedTasksCount(value?:Integer):void com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|setProcessingStatus(value?:LifecycleWorkflowProcessingStatus):void +com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|setReprocessedRuns(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|setScheduledDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|setStartedDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.UserProcessingResult::|public|setSubject(value?:User):void @@ -128130,6 +128942,7 @@ com.microsoft.graph.models.identitygovernance.WorkflowExecutionTrigger~~>Additio com.microsoft.graph.models.identitygovernance.WorkflowExecutionType::0000-Scheduled com.microsoft.graph.models.identitygovernance.WorkflowExecutionType::0001-OnDemand com.microsoft.graph.models.identitygovernance.WorkflowExecutionType::0002-UnknownFutureValue +com.microsoft.graph.models.identitygovernance.WorkflowExecutionType::0003-ActivatedWithScope com.microsoft.graph.models.identitygovernance.WorkflowsInsightsByCategory::|protected|backingStore:BackingStore com.microsoft.graph.models.identitygovernance.WorkflowsInsightsByCategory::|public|constructor():void com.microsoft.graph.models.identitygovernance.WorkflowsInsightsByCategory::|public|getAdditionalData():Map @@ -134566,6 +135379,34 @@ com.microsoft.graph.models.OnenoteUserRole::0000-None com.microsoft.graph.models.OnenoteUserRole::0001-Owner com.microsoft.graph.models.OnenoteUserRole::0002-Contributor com.microsoft.graph.models.OnenoteUserRole::0003-Reader +com.microsoft.graph.models.OnFraudProtectionLoadStartExternalUsersAuthHandler-->OnFraudProtectionLoadStartHandler +com.microsoft.graph.models.OnFraudProtectionLoadStartExternalUsersAuthHandler::|public|constructor():void +com.microsoft.graph.models.OnFraudProtectionLoadStartExternalUsersAuthHandler::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OnFraudProtectionLoadStartExternalUsersAuthHandler::|public|getSignUp():FraudProtectionConfiguration +com.microsoft.graph.models.OnFraudProtectionLoadStartExternalUsersAuthHandler::|public|OdataType:String +com.microsoft.graph.models.OnFraudProtectionLoadStartExternalUsersAuthHandler::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OnFraudProtectionLoadStartExternalUsersAuthHandler::|public|setSignUp(value?:FraudProtectionConfiguration):void +com.microsoft.graph.models.OnFraudProtectionLoadStartExternalUsersAuthHandler::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnFraudProtectionLoadStartExternalUsersAuthHandler +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|protected|backingStore:BackingStore +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|constructor():void +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|getAdditionalData():Map +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|getBackingStore():BackingStore +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|getOdataType():String +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|public|setOdataType(value?:String):void +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnFraudProtectionLoadStartHandler +com.microsoft.graph.models.OnFraudProtectionLoadStartHandler~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.OnFraudProtectionLoadStartListener-->AuthenticationEventListener +com.microsoft.graph.models.OnFraudProtectionLoadStartListener::|public|constructor():void +com.microsoft.graph.models.OnFraudProtectionLoadStartListener::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OnFraudProtectionLoadStartListener::|public|getHandler():OnFraudProtectionLoadStartHandler +com.microsoft.graph.models.OnFraudProtectionLoadStartListener::|public|OdataType:String +com.microsoft.graph.models.OnFraudProtectionLoadStartListener::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OnFraudProtectionLoadStartListener::|public|setHandler(value?:OnFraudProtectionLoadStartHandler):void +com.microsoft.graph.models.OnFraudProtectionLoadStartListener::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnFraudProtectionLoadStartListener com.microsoft.graph.models.OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp-->OnInteractiveAuthFlowStartHandler com.microsoft.graph.models.OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp::|public|constructor():void com.microsoft.graph.models.OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp::|public|getFieldDeserializers():Map> @@ -136607,6 +137448,7 @@ com.microsoft.graph.models.Pkcs12CertificateInformation~~>AdditionalDataHolder; com.microsoft.graph.models.Place-->Entity com.microsoft.graph.models.Place::|public|constructor():void com.microsoft.graph.models.Place::|public|getAddress():PhysicalAddress +com.microsoft.graph.models.Place::|public|getCheckIns():java.util.List com.microsoft.graph.models.Place::|public|getDisplayName():String com.microsoft.graph.models.Place::|public|getFieldDeserializers():Map> com.microsoft.graph.models.Place::|public|getGeoCoordinates():OutlookGeoCoordinates @@ -136614,6 +137456,7 @@ com.microsoft.graph.models.Place::|public|getPhone():String com.microsoft.graph.models.Place::|public|OdataType:String com.microsoft.graph.models.Place::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.Place::|public|setAddress(value?:PhysicalAddress):void +com.microsoft.graph.models.Place::|public|setCheckIns(value?:java.util.List):void com.microsoft.graph.models.Place::|public|setDisplayName(value?:String):void com.microsoft.graph.models.Place::|public|setGeoCoordinates(value?:OutlookGeoCoordinates):void com.microsoft.graph.models.Place::|public|setPhone(value?:String):void @@ -141620,12 +142463,14 @@ com.microsoft.graph.models.RiskPreventionContainer::|public|constructor():void com.microsoft.graph.models.RiskPreventionContainer::|public|getAdditionalData():Map com.microsoft.graph.models.RiskPreventionContainer::|public|getBackingStore():BackingStore com.microsoft.graph.models.RiskPreventionContainer::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.RiskPreventionContainer::|public|getFraudProtectionProviders():java.util.List com.microsoft.graph.models.RiskPreventionContainer::|public|getOdataType():String com.microsoft.graph.models.RiskPreventionContainer::|public|getWebApplicationFirewallProviders():java.util.List com.microsoft.graph.models.RiskPreventionContainer::|public|getWebApplicationFirewallVerifications():java.util.List com.microsoft.graph.models.RiskPreventionContainer::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.RiskPreventionContainer::|public|setAdditionalData(value?:Map):void com.microsoft.graph.models.RiskPreventionContainer::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.RiskPreventionContainer::|public|setFraudProtectionProviders(value?:java.util.List):void com.microsoft.graph.models.RiskPreventionContainer::|public|setOdataType(value?:String):void com.microsoft.graph.models.RiskPreventionContainer::|public|setWebApplicationFirewallProviders(value?:java.util.List):void com.microsoft.graph.models.RiskPreventionContainer::|public|setWebApplicationFirewallVerifications(value?:java.util.List):void @@ -144925,10 +145770,14 @@ com.microsoft.graph.models.security.IdentityContainer-->Entity com.microsoft.graph.models.security.IdentityContainer::|public|constructor():void com.microsoft.graph.models.security.IdentityContainer::|public|getFieldDeserializers():Map> com.microsoft.graph.models.security.IdentityContainer::|public|getHealthIssues():java.util.List +com.microsoft.graph.models.security.IdentityContainer::|public|getSensorCandidateActivationConfiguration():SensorCandidateActivationConfiguration +com.microsoft.graph.models.security.IdentityContainer::|public|getSensorCandidates():java.util.List com.microsoft.graph.models.security.IdentityContainer::|public|getSensors():java.util.List com.microsoft.graph.models.security.IdentityContainer::|public|OdataType:String com.microsoft.graph.models.security.IdentityContainer::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.security.IdentityContainer::|public|setHealthIssues(value?:java.util.List):void +com.microsoft.graph.models.security.IdentityContainer::|public|setSensorCandidateActivationConfiguration(value?:SensorCandidateActivationConfiguration):void +com.microsoft.graph.models.security.IdentityContainer::|public|setSensorCandidates(value?:java.util.List):void com.microsoft.graph.models.security.IdentityContainer::|public|setSensors(value?:java.util.List):void com.microsoft.graph.models.security.IdentityContainer::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IdentityContainer com.microsoft.graph.models.security.Incident-->Entity @@ -145907,6 +146756,36 @@ com.microsoft.graph.models.security.Sensor::|public|setSensorType(value?:SensorT com.microsoft.graph.models.security.Sensor::|public|setSettings(value?:SensorSettings):void com.microsoft.graph.models.security.Sensor::|public|setVersion(value?:String):void com.microsoft.graph.models.security.Sensor::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Sensor +com.microsoft.graph.models.security.SensorCandidate-->Entity +com.microsoft.graph.models.security.SensorCandidate::|public|constructor():void +com.microsoft.graph.models.security.SensorCandidate::|public|getComputerDnsName():String +com.microsoft.graph.models.security.SensorCandidate::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.SensorCandidate::|public|getLastSeenDateTime():OffsetDateTime +com.microsoft.graph.models.security.SensorCandidate::|public|getSenseClientVersion():String +com.microsoft.graph.models.security.SensorCandidate::|public|OdataType:String +com.microsoft.graph.models.security.SensorCandidate::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.SensorCandidate::|public|setComputerDnsName(value?:String):void +com.microsoft.graph.models.security.SensorCandidate::|public|setLastSeenDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.security.SensorCandidate::|public|setSenseClientVersion(value?:String):void +com.microsoft.graph.models.security.SensorCandidate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SensorCandidate +com.microsoft.graph.models.security.SensorCandidateActivationConfiguration-->Entity +com.microsoft.graph.models.security.SensorCandidateActivationConfiguration::|public|constructor():void +com.microsoft.graph.models.security.SensorCandidateActivationConfiguration::|public|getActivationMode():SensorCandidateActivationMode +com.microsoft.graph.models.security.SensorCandidateActivationConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.SensorCandidateActivationConfiguration::|public|OdataType:String +com.microsoft.graph.models.security.SensorCandidateActivationConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.SensorCandidateActivationConfiguration::|public|setActivationMode(value?:SensorCandidateActivationMode):void +com.microsoft.graph.models.security.SensorCandidateActivationConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SensorCandidateActivationConfiguration +com.microsoft.graph.models.security.SensorCandidateActivationMode::0000-Manual +com.microsoft.graph.models.security.SensorCandidateActivationMode::0001-Automated +com.microsoft.graph.models.security.SensorCandidateActivationMode::0002-UnknownFutureValue +com.microsoft.graph.models.security.SensorCandidateCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.security.SensorCandidateCollectionResponse::|public|constructor():void +com.microsoft.graph.models.security.SensorCandidateCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.SensorCandidateCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.security.SensorCandidateCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.SensorCandidateCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.security.SensorCandidateCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SensorCandidateCollectionResponse com.microsoft.graph.models.security.SensorCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.models.security.SensorCollectionResponse::|public|constructor():void com.microsoft.graph.models.security.SensorCollectionResponse::|public|getFieldDeserializers():Map> @@ -160226,6 +161105,136 @@ com.microsoft.graph.places.graphroomlist.GraphRoomListRequestBuilder::|public|ge com.microsoft.graph.places.graphroomlist.GraphRoomListRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.places.graphroomlist.GraphRoomListRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.places.graphroomlist.GraphRoomListRequestBuilder::|public|withUrl(rawUrl:String):GraphRoomListRequestBuilder +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|byCheckInClaimCalendarEventId(checkInClaimCalendarEventId:String):CheckInClaimCalendarEventItemRequestBuilder +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|get():CheckInClaimCollectionResponse +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CheckInClaimCollectionResponse +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|post(body:CheckInClaim):CheckInClaim +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|post(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|toPostRequestInformation(body:CheckInClaim):RequestInformation +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|toPostRequestInformation(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder::|public|withUrl(rawUrl:String):CheckInsRequestBuilder +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.checkins.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|delete():Void +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|get():CheckInClaim +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|patch(body:CheckInClaim):CheckInClaim +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|patch(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toPatchRequestInformation(body:CheckInClaim):RequestInformation +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toPatchRequestInformation(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|withUrl(rawUrl:String):CheckInClaimCalendarEventItemRequestBuilder +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|byCheckInClaimCalendarEventId(checkInClaimCalendarEventId:String):CheckInClaimCalendarEventItemRequestBuilder +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|get():CheckInClaimCollectionResponse +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CheckInClaimCollectionResponse +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|post(body:CheckInClaim):CheckInClaim +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|post(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|toPostRequestInformation(body:CheckInClaim):RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|toPostRequestInformation(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder::|public|withUrl(rawUrl:String):CheckInsRequestBuilder +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|delete():Void +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|get():CheckInClaim +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|patch(body:CheckInClaim):CheckInClaim +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|patch(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toPatchRequestInformation(body:CheckInClaim):RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toPatchRequestInformation(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|withUrl(rawUrl:String):CheckInClaimCalendarEventItemRequestBuilder com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder-->BaseRequestBuilder com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder.GetQueryParameters::|public|select:String[] @@ -160233,6 +161242,7 @@ com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder.GetQueryParame com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder::|public|checkIns:CheckInsRequestBuilder com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder::|public|get():Room @@ -160240,6 +161250,71 @@ com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder::|public|get(r com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder::|public|withUrl(rawUrl:String):GraphRoomRequestBuilder +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|byCheckInClaimCalendarEventId(checkInClaimCalendarEventId:String):CheckInClaimCalendarEventItemRequestBuilder +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|get():CheckInClaimCollectionResponse +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CheckInClaimCollectionResponse +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|post(body:CheckInClaim):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|post(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|toPostRequestInformation(body:CheckInClaim):RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|toPostRequestInformation(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder::|public|withUrl(rawUrl:String):CheckInsRequestBuilder +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|delete():Void +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|get():CheckInClaim +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|patch(body:CheckInClaim):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|patch(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toPatchRequestInformation(body:CheckInClaim):RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toPatchRequestInformation(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|withUrl(rawUrl:String):CheckInClaimCalendarEventItemRequestBuilder com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder-->BaseRequestBuilder com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder.GetQueryParameters::|public|select:String[] @@ -160247,6 +161322,7 @@ com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder.GetQue com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder::|public|checkIns:CheckInsRequestBuilder com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder::|public|get():RoomList @@ -160269,6 +161345,71 @@ com.microsoft.graph.places.item.graphroomlist.rooms.count.CountRequestBuilder::| com.microsoft.graph.places.item.graphroomlist.rooms.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.places.item.graphroomlist.rooms.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.places.item.graphroomlist.rooms.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|byCheckInClaimCalendarEventId(checkInClaimCalendarEventId:String):CheckInClaimCalendarEventItemRequestBuilder +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|get():CheckInClaimCollectionResponse +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CheckInClaimCollectionResponse +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|post(body:CheckInClaim):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|post(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|toPostRequestInformation(body:CheckInClaim):RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|toPostRequestInformation(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder::|public|withUrl(rawUrl:String):CheckInsRequestBuilder +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|delete():Void +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|get():CheckInClaim +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|patch(body:CheckInClaim):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|patch(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):CheckInClaim +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toPatchRequestInformation(body:CheckInClaim):RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|toPatchRequestInformation(body:CheckInClaim; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder::|public|withUrl(rawUrl:String):CheckInClaimCalendarEventItemRequestBuilder com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -160278,6 +161419,7 @@ com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder. com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder::|public|checkIns:CheckInsRequestBuilder com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.places.item.graphroomlist.rooms.item.RoomItemRequestBuilder::|public|delete():Void @@ -160323,6 +161465,7 @@ com.microsoft.graph.places.item.graphroomlist.rooms.RoomsRequestBuilder::|public com.microsoft.graph.places.item.PlaceItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.places.item.PlaceItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.places.item.PlaceItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.places.item.PlaceItemRequestBuilder::|public|checkIns:CheckInsRequestBuilder com.microsoft.graph.places.item.PlaceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.places.item.PlaceItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.places.item.PlaceItemRequestBuilder::|public|delete():Void @@ -173844,6 +174987,8 @@ com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|get(re com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|healthIssues:HealthIssuesRequestBuilder com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|patch(body:IdentityContainer):IdentityContainer com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|patch(body:IdentityContainer; requestConfiguration?:java.util.function.Consumer):IdentityContainer +com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|sensorCandidateActivationConfiguration:SensorCandidateActivationConfigurationRequestBuilder +com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|sensorCandidates:SensorCandidatesRequestBuilder com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|sensors:SensorsRequestBuilder com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -173852,6 +174997,117 @@ com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|toGetR com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|toPatchRequestInformation(body:IdentityContainer):RequestInformation com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|toPatchRequestInformation(body:IdentityContainer; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.security.identities.IdentitiesRequestBuilder::|public|withUrl(rawUrl:String):IdentitiesRequestBuilder +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|delete():Void +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|get():SensorCandidateActivationConfiguration +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensorCandidateActivationConfiguration +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|patch(body:SensorCandidateActivationConfiguration):SensorCandidateActivationConfiguration +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|patch(body:SensorCandidateActivationConfiguration; requestConfiguration?:java.util.function.Consumer):SensorCandidateActivationConfiguration +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|toPatchRequestInformation(body:SensorCandidateActivationConfiguration):RequestInformation +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|toPatchRequestInformation(body:SensorCandidateActivationConfiguration; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder::|public|withUrl(rawUrl:String):SensorCandidateActivationConfigurationRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|delete():Void +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|get():SensorCandidate +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensorCandidate +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|patch(body:SensorCandidate):SensorCandidate +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|patch(body:SensorCandidate; requestConfiguration?:java.util.function.Consumer):SensorCandidate +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|toPatchRequestInformation(body:SensorCandidate):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|toPatchRequestInformation(body:SensorCandidate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder::|public|withUrl(rawUrl:String):SensorCandidateItemRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|constructor():void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|getServerIds():java.util.List +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|public|setServerIds(value?:java.util.List):void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActivatePostRequestBody +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.ActivatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder::|public|post(body:ActivatePostRequestBody):Void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder::|public|post(body:ActivatePostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder::|public|toPostRequestInformation(body:ActivatePostRequestBody):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder::|public|toPostRequestInformation(body:ActivatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphSecurityActivateRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|bySensorCandidateId(sensorCandidateId:String):SensorCandidateItemRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|get():SensorCandidateCollectionResponse +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SensorCandidateCollectionResponse +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|microsoftGraphSecurityActivate:MicrosoftGraphSecurityActivateRequestBuilder +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|post(body:SensorCandidate):SensorCandidate +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|post(body:SensorCandidate; requestConfiguration?:java.util.function.Consumer):SensorCandidate +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|toPostRequestInformation(body:SensorCandidate):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|toPostRequestInformation(body:SensorCandidate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder::|public|withUrl(rawUrl:String):SensorCandidatesRequestBuilder com.microsoft.graph.security.identities.sensors.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.security.identities.sensors.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.security.identities.sensors.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -214830,6 +216086,208 @@ com.microsoft.graph.users.item.drives.item.DriveItemRequestBuilder::|public|get( com.microsoft.graph.users.item.drives.item.DriveItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.drives.item.DriveItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.drives.item.DriveItemRequestBuilder::|public|withUrl(rawUrl:String):DriveItemRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|byEngagementRoleId(engagementRoleId:String):EngagementRoleItemRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|get():EngagementRoleCollectionResponse +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRoleCollectionResponse +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|post(body:EngagementRole):EngagementRole +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|post(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):EngagementRole +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|toPostRequestInformation(body:EngagementRole):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|toPostRequestInformation(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder::|public|withUrl(rawUrl:String):AssignedRolesRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|delete():Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|get():EngagementRole +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRole +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|members:MembersRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|patch(body:EngagementRole):EngagementRole +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|patch(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):EngagementRole +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRole):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder::|public|withUrl(rawUrl:String):EngagementRoleItemRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|delete():Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|get():EngagementRoleMember +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRoleMember +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|patch(body:EngagementRoleMember):EngagementRoleMember +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|patch(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):EngagementRoleMember +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRoleMember):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|user:UserRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|withUrl(rawUrl:String):EngagementRoleMemberItemRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|get():MailboxSettings +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):MailboxSettings +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings):MailboxSettings +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; requestConfiguration?:java.util.function.Consumer):MailboxSettings +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|toPatchRequestInformation(body:MailboxSettings):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|toPatchRequestInformation(body:MailboxSettings; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder::|public|withUrl(rawUrl:String):MailboxSettingsRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|get():ServiceProvisioningErrorCollectionResponse +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ServiceProvisioningErrorCollectionResponse +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder::|public|withUrl(rawUrl:String):ServiceProvisioningErrorsRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|get():User +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):User +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|mailboxSettings:MailboxSettingsRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|serviceProvisioningErrors:ServiceProvisioningErrorsRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder::|public|withUrl(rawUrl:String):UserRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|byEngagementRoleMemberId(engagementRoleMemberId:String):EngagementRoleMemberItemRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|get():EngagementRoleMemberCollectionResponse +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRoleMemberCollectionResponse +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|post(body:EngagementRoleMember):EngagementRoleMember +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|post(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):EngagementRoleMember +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:EngagementRoleMember):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -214839,6 +216297,7 @@ com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuild com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder::|public|assignedRoles:AssignedRolesRequestBuilder com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.users.item.employeeexperience.EmployeeExperienceRequestBuilder::|public|delete():Void diff --git a/src/main/java/com/microsoft/graph/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/generated/kiota-lock.json index 038d79bdc28..6f2239f69de 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "5E2BC75E39919DE0D46AA4CD6B88BC9ED6C496FFA6C31C8A831A25D83C53CF675514562077366FC56A0FBD4DD693BCAF3EC8E23D27E679CA6D635759D3AE1CE8", + "descriptionHash": "D282F35F1C4502D8A194AC720C40CD42328A0D407D96EA32125D5E6F3F4483C6070BED2C504A5E1B5E49A4B1ABA6C9BEBA0FE6749B51318AC512B5FF4DD00ECC", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0", diff --git a/src/main/java/com/microsoft/graph/generated/models/AkamaiAttackGroupActionModel.java b/src/main/java/com/microsoft/graph/generated/models/AkamaiAttackGroupActionModel.java index 4a9b0c30d8d..4ec6f215eb4 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AkamaiAttackGroupActionModel.java +++ b/src/main/java/com/microsoft/graph/generated/models/AkamaiAttackGroupActionModel.java @@ -35,7 +35,7 @@ public static AkamaiAttackGroupActionModel createFromDiscriminatorValue(@jakarta return new AkamaiAttackGroupActionModel(); } /** - * Gets the action property value. The action property + * Gets the action property value. The action Akamai applies to the attack group when a matching threat is detected. Common values include deny, none or alert. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the group property value. The group property + * Gets the group property value. The name or identifier of the attack group. This value categorizes the type of attack the action applies to. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -103,7 +103,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeAdditionalData(this.getAdditionalData()); } /** - * Sets the action property value. The action property + * Sets the action property value. The action Akamai applies to the attack group when a matching threat is detected. Common values include deny, none or alert. * @param value Value to set for the action property. */ public void setAction(@jakarta.annotation.Nullable final String value) { @@ -125,7 +125,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the group property value. The group property + * Sets the group property value. The name or identifier of the attack group. This value categorizes the type of attack the action applies to. * @param value Value to set for the group property. */ public void setGroup(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AkamaiCustomRuleModel.java b/src/main/java/com/microsoft/graph/generated/models/AkamaiCustomRuleModel.java index 65afbf2e776..e542ce63e25 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AkamaiCustomRuleModel.java +++ b/src/main/java/com/microsoft/graph/generated/models/AkamaiCustomRuleModel.java @@ -35,7 +35,7 @@ public static AkamaiCustomRuleModel createFromDiscriminatorValue(@jakarta.annota return new AkamaiCustomRuleModel(); } /** - * Gets the action property value. The action property + * Gets the action property value. The action Akamai applies when the rule matches traffic. Common values include deny, none or alert. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the name property value. The name property + * Gets the name property value. Friendly name for the rule, used in UIs or logs to help administrators identify the rule (for example, 'Block suspicious user agents'). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the ruleId property value. The ruleId property + * Gets the ruleId property value. Unique identifier assigned to the rule by Akamai or the integration. Use this identifier to reference, update, or remove the rule in API requests. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -113,7 +113,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeAdditionalData(this.getAdditionalData()); } /** - * Sets the action property value. The action property + * Sets the action property value. The action Akamai applies when the rule matches traffic. Common values include deny, none or alert. * @param value Value to set for the action property. */ public void setAction(@jakarta.annotation.Nullable final String value) { @@ -135,7 +135,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the name property value. The name property + * Sets the name property value. Friendly name for the rule, used in UIs or logs to help administrators identify the rule (for example, 'Block suspicious user agents'). * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { @@ -149,7 +149,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the ruleId property value. The ruleId property + * Sets the ruleId property value. Unique identifier assigned to the rule by Akamai or the integration. Use this identifier to reference, update, or remove the rule in API requests. * @param value Value to set for the ruleId property. */ public void setRuleId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AkamaiRapidRulesModel.java b/src/main/java/com/microsoft/graph/generated/models/AkamaiRapidRulesModel.java index b91cd076544..9ab25a32ef2 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AkamaiRapidRulesModel.java +++ b/src/main/java/com/microsoft/graph/generated/models/AkamaiRapidRulesModel.java @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the defaultAction property value. The defaultAction property + * Gets the defaultAction property value. The default action Akamai applies to traffic that matches Rapid Rules. Common values include deny, none or alert. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isEnabled property value. The isEnabled property + * Gets the isEnabled property value. Indicates whether Akamai Rapid Rules are enabled for the WAF integration. If true, Rapid Rules are active and applied to incoming traffic. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -118,14 +118,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the defaultAction property value. The defaultAction property + * Sets the defaultAction property value. The default action Akamai applies to traffic that matches Rapid Rules. Common values include deny, none or alert. * @param value Value to set for the defaultAction property. */ public void setDefaultAction(@jakarta.annotation.Nullable final String value) { this.backingStore.set("defaultAction", value); } /** - * Sets the isEnabled property value. The isEnabled property + * Sets the isEnabled property value. Indicates whether Akamai Rapid Rules are enabled for the WAF integration. If true, Rapid Rules are active and applied to incoming traffic. * @param value Value to set for the isEnabled property. */ public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AkamaiVerifiedDetailsModel.java b/src/main/java/com/microsoft/graph/generated/models/AkamaiVerifiedDetailsModel.java index d24edac6f75..b7564c24efa 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AkamaiVerifiedDetailsModel.java +++ b/src/main/java/com/microsoft/graph/generated/models/AkamaiVerifiedDetailsModel.java @@ -26,7 +26,7 @@ public static AkamaiVerifiedDetailsModel createFromDiscriminatorValue(@jakarta.a return new AkamaiVerifiedDetailsModel(); } /** - * Gets the activeAttackGroups property value. The activeAttackGroups property + * Gets the activeAttackGroups property value. Collection of Akamai attack groups that are currently active for the zone or host, including the action applied to each group (for example, deny, none or alert). * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public java.util.List getActiveAttackGroups() { return this.backingStore.get("activeAttackGroups"); } /** - * Gets the activeCustomRules property value. The activeCustomRules property + * Gets the activeCustomRules property value. Collection of Akamai custom rules that are currently enabled for the zone or host. Each entry includes rule metadata such as the rule identifier, friendly name, and the action taken when the rule matches traffic. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the rapidRules property value. The rapidRules property + * Gets the rapidRules property value. Configuration for Akamai Rapid Rules, including whether Rapid Rules are enabled and the default action applied to matching traffic. * @return a {@link AkamaiRapidRulesModel} */ @jakarta.annotation.Nullable @@ -73,21 +73,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("rapidRules", this.getRapidRules()); } /** - * Sets the activeAttackGroups property value. The activeAttackGroups property + * Sets the activeAttackGroups property value. Collection of Akamai attack groups that are currently active for the zone or host, including the action applied to each group (for example, deny, none or alert). * @param value Value to set for the activeAttackGroups property. */ public void setActiveAttackGroups(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("activeAttackGroups", value); } /** - * Sets the activeCustomRules property value. The activeCustomRules property + * Sets the activeCustomRules property value. Collection of Akamai custom rules that are currently enabled for the zone or host. Each entry includes rule metadata such as the rule identifier, friendly name, and the action taken when the rule matches traffic. * @param value Value to set for the activeCustomRules property. */ public void setActiveCustomRules(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("activeCustomRules", value); } /** - * Sets the rapidRules property value. The rapidRules property + * Sets the rapidRules property value. Configuration for Akamai Rapid Rules, including whether Rapid Rules are enabled and the default action applied to matching traffic. * @param value Value to set for the rapidRules property. */ public void setRapidRules(@jakarta.annotation.Nullable final AkamaiRapidRulesModel value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AkamaiWebApplicationFirewallProvider.java b/src/main/java/com/microsoft/graph/generated/models/AkamaiWebApplicationFirewallProvider.java index 6eae60b9875..bb64e4946ab 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AkamaiWebApplicationFirewallProvider.java +++ b/src/main/java/com/microsoft/graph/generated/models/AkamaiWebApplicationFirewallProvider.java @@ -26,7 +26,7 @@ public static AkamaiWebApplicationFirewallProvider createFromDiscriminatorValue( return new AkamaiWebApplicationFirewallProvider(); } /** - * Gets the accessToken property value. The accessToken property + * Gets the accessToken property value. Akamai API access token used to authenticate to the Akamai account. Contact your Akamai Customer Success Manager for assistance with your accessToken. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public String getAccessToken() { return this.backingStore.get("accessToken"); } /** - * Gets the clientSecret property value. The clientSecret property + * Gets the clientSecret property value. Akamai API client secret used in conjunction with the client token and access token for authentication. Contact your Akamai Customer Success Manager for assistance with this information. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -42,7 +42,7 @@ public String getClientSecret() { return this.backingStore.get("clientSecret"); } /** - * Gets the clientToken property value. The clientToken property + * Gets the clientToken property value. Akamai API client token used for authentication to the Akamai account. Contact your Akamai Customer Success Manager for assistance with this information. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -63,7 +63,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the hostPrefix property value. The hostPrefix property + * Gets the hostPrefix property value. Prefix used to identify the host or domain in Akamai configuration operations. This value may be required for certain API calls or configuration scenarios. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -83,28 +83,28 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("hostPrefix", this.getHostPrefix()); } /** - * Sets the accessToken property value. The accessToken property + * Sets the accessToken property value. Akamai API access token used to authenticate to the Akamai account. Contact your Akamai Customer Success Manager for assistance with your accessToken. * @param value Value to set for the accessToken property. */ public void setAccessToken(@jakarta.annotation.Nullable final String value) { this.backingStore.set("accessToken", value); } /** - * Sets the clientSecret property value. The clientSecret property + * Sets the clientSecret property value. Akamai API client secret used in conjunction with the client token and access token for authentication. Contact your Akamai Customer Success Manager for assistance with this information. * @param value Value to set for the clientSecret property. */ public void setClientSecret(@jakarta.annotation.Nullable final String value) { this.backingStore.set("clientSecret", value); } /** - * Sets the clientToken property value. The clientToken property + * Sets the clientToken property value. Akamai API client token used for authentication to the Akamai account. Contact your Akamai Customer Success Manager for assistance with this information. * @param value Value to set for the clientToken property. */ public void setClientToken(@jakarta.annotation.Nullable final String value) { this.backingStore.set("clientToken", value); } /** - * Sets the hostPrefix property value. The hostPrefix property + * Sets the hostPrefix property value. Prefix used to identify the host or domain in Akamai configuration operations. This value may be required for certain API calls or configuration scenarios. * @param value Value to set for the hostPrefix property. */ public void setHostPrefix(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ArkoseFraudProtectionProvider.java b/src/main/java/com/microsoft/graph/generated/models/ArkoseFraudProtectionProvider.java new file mode 100644 index 00000000000..9e385be3653 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ArkoseFraudProtectionProvider.java @@ -0,0 +1,113 @@ +package com.microsoft.graph.models; + +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 ArkoseFraudProtectionProvider extends FraudProtectionProvider implements Parsable { + /** + * Instantiates a new {@link ArkoseFraudProtectionProvider} and sets the default values. + */ + public ArkoseFraudProtectionProvider() { + super(); + this.setOdataType("#microsoft.graph.arkoseFraudProtectionProvider"); + } + /** + * 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 ArkoseFraudProtectionProvider} + */ + @jakarta.annotation.Nonnull + public static ArkoseFraudProtectionProvider createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ArkoseFraudProtectionProvider(); + } + /** + * Gets the clientSubDomain property value. Used to invoke the Arkose service from the client application. Request from your Arkose Customer Success Manager or use the default client-api value. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getClientSubDomain() { + return this.backingStore.get("clientSubDomain"); + } + /** + * 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("clientSubDomain", (n) -> { this.setClientSubDomain(n.getStringValue()); }); + deserializerMap.put("privateKey", (n) -> { this.setPrivateKey(n.getStringValue()); }); + deserializerMap.put("publicKey", (n) -> { this.setPublicKey(n.getStringValue()); }); + deserializerMap.put("verifySubDomain", (n) -> { this.setVerifySubDomain(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the privateKey property value. The private key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPrivateKey() { + return this.backingStore.get("privateKey"); + } + /** + * Gets the publicKey property value. The public key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPublicKey() { + return this.backingStore.get("publicKey"); + } + /** + * Gets the verifySubDomain property value. Used to invoke the Arkose service from the Microsoft authentication server. Request from your Arkose Customer Success Manager or use the default verify-api value. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getVerifySubDomain() { + return this.backingStore.get("verifySubDomain"); + } + /** + * 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.writeStringValue("clientSubDomain", this.getClientSubDomain()); + writer.writeStringValue("privateKey", this.getPrivateKey()); + writer.writeStringValue("publicKey", this.getPublicKey()); + writer.writeStringValue("verifySubDomain", this.getVerifySubDomain()); + } + /** + * Sets the clientSubDomain property value. Used to invoke the Arkose service from the client application. Request from your Arkose Customer Success Manager or use the default client-api value. + * @param value Value to set for the clientSubDomain property. + */ + public void setClientSubDomain(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("clientSubDomain", value); + } + /** + * Sets the privateKey property value. The private key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys. + * @param value Value to set for the privateKey property. + */ + public void setPrivateKey(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("privateKey", value); + } + /** + * Sets the publicKey property value. The public key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys. + * @param value Value to set for the publicKey property. + */ + public void setPublicKey(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("publicKey", value); + } + /** + * Sets the verifySubDomain property value. Used to invoke the Arkose service from the Microsoft authentication server. Request from your Arkose Customer Success Manager or use the default verify-api value. + * @param value Value to set for the verifySubDomain property. + */ + public void setVerifySubDomain(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("verifySubDomain", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AuthenticationEventListener.java b/src/main/java/com/microsoft/graph/generated/models/AuthenticationEventListener.java index 53b086775d2..44a995b134f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AuthenticationEventListener.java +++ b/src/main/java/com/microsoft/graph/generated/models/AuthenticationEventListener.java @@ -31,6 +31,7 @@ public static AuthenticationEventListener createFromDiscriminatorValue(@jakarta. case "#microsoft.graph.onAttributeCollectionSubmitListener": return new OnAttributeCollectionSubmitListener(); case "#microsoft.graph.onAuthenticationMethodLoadStartListener": return new OnAuthenticationMethodLoadStartListener(); case "#microsoft.graph.onEmailOtpSendListener": return new OnEmailOtpSendListener(); + case "#microsoft.graph.onFraudProtectionLoadStartListener": return new OnFraudProtectionLoadStartListener(); case "#microsoft.graph.onInteractiveAuthFlowStartListener": return new OnInteractiveAuthFlowStartListener(); case "#microsoft.graph.onTokenIssuanceStartListener": return new OnTokenIssuanceStartListener(); case "#microsoft.graph.onUserCreateStartListener": return new OnUserCreateStartListener(); @@ -54,6 +55,14 @@ public String getAuthenticationEventsFlowId() { public AuthenticationConditions getConditions() { return this.backingStore.get("conditions"); } + /** + * Gets the displayName property value. The display name of the listener. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -63,6 +72,7 @@ public Map> getFieldDeserializers final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("authenticationEventsFlowId", (n) -> { this.setAuthenticationEventsFlowId(n.getStringValue()); }); deserializerMap.put("conditions", (n) -> { this.setConditions(n.getObjectValue(AuthenticationConditions::createFromDiscriminatorValue)); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); return deserializerMap; } /** @@ -74,6 +84,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeStringValue("authenticationEventsFlowId", this.getAuthenticationEventsFlowId()); writer.writeObjectValue("conditions", this.getConditions()); + writer.writeStringValue("displayName", this.getDisplayName()); } /** * Sets the authenticationEventsFlowId property value. The identifier of the authenticationEventsFlow object. @@ -89,4 +100,11 @@ public void setAuthenticationEventsFlowId(@jakarta.annotation.Nullable final Str public void setConditions(@jakarta.annotation.Nullable final AuthenticationConditions value) { this.backingStore.set("conditions", value); } + /** + * Sets the displayName property value. The display name of the listener. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/CheckInClaim.java b/src/main/java/com/microsoft/graph/generated/models/CheckInClaim.java new file mode 100644 index 00000000000..fa063319ab5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/CheckInClaim.java @@ -0,0 +1,159 @@ +package com.microsoft.graph.models; + +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.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInClaim implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CheckInClaim} and sets the default values. + */ + public CheckInClaim() { + 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 CheckInClaim} + */ + @jakarta.annotation.Nonnull + public static CheckInClaim createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CheckInClaim(); + } + /** + * 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; + } + /** + * Gets the calendarEventId property value. The calendarEventId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCalendarEventId() { + return this.backingStore.get("calendarEventId"); + } + /** + * Gets the checkInMethod property value. The checkInMethod property + * @return a {@link CheckInMethod} + */ + @jakarta.annotation.Nullable + public CheckInMethod getCheckInMethod() { + return this.backingStore.get("checkInMethod"); + } + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("calendarEventId", (n) -> { this.setCalendarEventId(n.getStringValue()); }); + deserializerMap.put("checkInMethod", (n) -> { this.setCheckInMethod(n.getEnumValue(CheckInMethod::forValue)); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * 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("calendarEventId", this.getCalendarEventId()); + writer.writeEnumValue("checkInMethod", this.getCheckInMethod()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeStringValue("@odata.type", this.getOdataType()); + 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 calendarEventId property value. The calendarEventId property + * @param value Value to set for the calendarEventId property. + */ + public void setCalendarEventId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("calendarEventId", value); + } + /** + * Sets the checkInMethod property value. The checkInMethod property + * @param value Value to set for the checkInMethod property. + */ + public void setCheckInMethod(@jakarta.annotation.Nullable final CheckInMethod value) { + this.backingStore.set("checkInMethod", value); + } + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/CheckInClaimCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/CheckInClaimCollectionResponse.java new file mode 100644 index 00000000000..1bb9a78e49e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/CheckInClaimCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +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 CheckInClaimCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link CheckInClaimCollectionResponse} and sets the default values. + */ + public CheckInClaimCollectionResponse() { + 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 CheckInClaimCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static CheckInClaimCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CheckInClaimCollectionResponse(); + } + /** + * 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(CheckInClaim::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/generated/models/CheckInMethod.java b/src/main/java/com/microsoft/graph/generated/models/CheckInMethod.java new file mode 100644 index 00000000000..a8d15f1e318 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/CheckInMethod.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum CheckInMethod implements ValuedEnum { + Unspecified("unspecified"), + Manual("manual"), + Inferred("inferred"), + Verified("verified"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + CheckInMethod(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static CheckInMethod forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "unspecified": return Unspecified; + case "manual": return Manual; + case "inferred": return Inferred; + case "verified": return Verified; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/CloudFlareRuleModel.java b/src/main/java/com/microsoft/graph/generated/models/CloudFlareRuleModel.java index 5824ad97133..e28fd74931b 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CloudFlareRuleModel.java +++ b/src/main/java/com/microsoft/graph/generated/models/CloudFlareRuleModel.java @@ -35,7 +35,7 @@ public static CloudFlareRuleModel createFromDiscriminatorValue(@jakarta.annotati return new CloudFlareRuleModel(); } /** - * Gets the action property value. The action property + * Gets the action property value. The action Cloudflare applies when the rule matches traffic. Common values include Managed Challenge, Interactive Challenge, Log, Block, JS Challenge, or Skip. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the name property value. The name property + * Gets the name property value. Friendly name for the rule, used in UIs or logs to help administrators identify the rule. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the ruleId property value. The ruleId property + * Gets the ruleId property value. Unique identifier assigned to the rule by Cloudflare or the integration. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -113,7 +113,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeAdditionalData(this.getAdditionalData()); } /** - * Sets the action property value. The action property + * Sets the action property value. The action Cloudflare applies when the rule matches traffic. Common values include Managed Challenge, Interactive Challenge, Log, Block, JS Challenge, or Skip. * @param value Value to set for the action property. */ public void setAction(@jakarta.annotation.Nullable final String value) { @@ -135,7 +135,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the name property value. The name property + * Sets the name property value. Friendly name for the rule, used in UIs or logs to help administrators identify the rule. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { @@ -149,7 +149,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the ruleId property value. The ruleId property + * Sets the ruleId property value. Unique identifier assigned to the rule by Cloudflare or the integration. * @param value Value to set for the ruleId property. */ public void setRuleId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/CloudFlareRulesetModel.java b/src/main/java/com/microsoft/graph/generated/models/CloudFlareRulesetModel.java index e8f484b69f6..4413d33982a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CloudFlareRulesetModel.java +++ b/src/main/java/com/microsoft/graph/generated/models/CloudFlareRulesetModel.java @@ -69,7 +69,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the name property value. The name property + * Gets the name property value. Friendly name for the ruleset, used in UIs and logs to help administrators identify the ruleset. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -85,7 +85,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the phaseName property value. The phaseName property + * Gets the phaseName property value. Name of the phase during which the ruleset is evaluated (for example, httprequestfirewallmanaged, httprequestfirewallcustom, or provider-specific phase names). This indicates when in the request/response lifecycle the rules apply. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public String getPhaseName() { return this.backingStore.get("phaseName"); } /** - * Gets the rulesetId property value. The rulesetId property + * Gets the rulesetId property value. Unique identifier assigned to the ruleset by Cloudflare or the integration. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -128,7 +128,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the name property value. The name property + * Sets the name property value. Friendly name for the ruleset, used in UIs and logs to help administrators identify the ruleset. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { @@ -142,14 +142,14 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the phaseName property value. The phaseName property + * Sets the phaseName property value. Name of the phase during which the ruleset is evaluated (for example, httprequestfirewallmanaged, httprequestfirewallcustom, or provider-specific phase names). This indicates when in the request/response lifecycle the rules apply. * @param value Value to set for the phaseName property. */ public void setPhaseName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("phaseName", value); } /** - * Sets the rulesetId property value. The rulesetId property + * Sets the rulesetId property value. Unique identifier assigned to the ruleset by Cloudflare or the integration. * @param value Value to set for the rulesetId property. */ public void setRulesetId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/CloudFlareVerifiedDetailsModel.java b/src/main/java/com/microsoft/graph/generated/models/CloudFlareVerifiedDetailsModel.java index c26265d782f..5a052e14d5a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CloudFlareVerifiedDetailsModel.java +++ b/src/main/java/com/microsoft/graph/generated/models/CloudFlareVerifiedDetailsModel.java @@ -26,7 +26,7 @@ public static CloudFlareVerifiedDetailsModel createFromDiscriminatorValue(@jakar return new CloudFlareVerifiedDetailsModel(); } /** - * Gets the enabledCustomRules property value. The enabledCustomRules property + * Gets the enabledCustomRules property value. Collection of Cloudflare custom rules that are currently enabled for the zone or host. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public java.util.List getEnabledCustomRules() { return this.backingStore.get("enabledCustomRules"); } /** - * Gets the enabledRecommendedRulesets property value. The enabledRecommendedRulesets property + * Gets the enabledRecommendedRulesets property value. Collection of Cloudflare recommended rulesets that are enabled for the zone or host. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the zoneId property value. The zoneId property + * Gets the zoneId property value. Cloudflare-assigned identifier for the DNS zone associated with the verified host (for example, the Cloudflare Zone ID). This ID is used to correlate verification details with the Cloudflare account and to perform configuration operations via the provider's API. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -73,21 +73,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("zoneId", this.getZoneId()); } /** - * Sets the enabledCustomRules property value. The enabledCustomRules property + * Sets the enabledCustomRules property value. Collection of Cloudflare custom rules that are currently enabled for the zone or host. * @param value Value to set for the enabledCustomRules property. */ public void setEnabledCustomRules(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("enabledCustomRules", value); } /** - * Sets the enabledRecommendedRulesets property value. The enabledRecommendedRulesets property + * Sets the enabledRecommendedRulesets property value. Collection of Cloudflare recommended rulesets that are enabled for the zone or host. * @param value Value to set for the enabledRecommendedRulesets property. */ public void setEnabledRecommendedRulesets(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("enabledRecommendedRulesets", value); } /** - * Sets the zoneId property value. The zoneId property + * Sets the zoneId property value. Cloudflare-assigned identifier for the DNS zone associated with the verified host (for example, the Cloudflare Zone ID). This ID is used to correlate verification details with the Cloudflare account and to perform configuration operations via the provider's API. * @param value Value to set for the zoneId property. */ public void setZoneId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/CloudFlareWebApplicationFirewallProvider.java b/src/main/java/com/microsoft/graph/generated/models/CloudFlareWebApplicationFirewallProvider.java index 05455168506..9c374b2e7b0 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CloudFlareWebApplicationFirewallProvider.java +++ b/src/main/java/com/microsoft/graph/generated/models/CloudFlareWebApplicationFirewallProvider.java @@ -26,7 +26,7 @@ public static CloudFlareWebApplicationFirewallProvider createFromDiscriminatorVa return new CloudFlareWebApplicationFirewallProvider(); } /** - * Gets the apiToken property value. The apiToken property + * Gets the apiToken property value. Cloudflare API token or credential used by Microsoft services to authenticate to the Cloudflare account. Contact your Cloudflare Customer Success Manager for assistance with your apitoken. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -45,7 +45,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the zoneId property value. The zoneId property + * Gets the zoneId property value. Default Cloudflare Zone ID associated with this provider configuration. This ID identifies the DNS zone in Cloudflare that is commonly used for verification and configuration operations for the provider. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -63,14 +63,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("zoneId", this.getZoneId()); } /** - * Sets the apiToken property value. The apiToken property + * Sets the apiToken property value. Cloudflare API token or credential used by Microsoft services to authenticate to the Cloudflare account. Contact your Cloudflare Customer Success Manager for assistance with your apitoken. * @param value Value to set for the apiToken property. */ public void setApiToken(@jakarta.annotation.Nullable final String value) { this.backingStore.set("apiToken", value); } /** - * Sets the zoneId property value. The zoneId property + * Sets the zoneId property value. Default Cloudflare Zone ID associated with this provider configuration. This ID identifies the DNS zone in Cloudflare that is commonly used for verification and configuration operations for the provider. * @param value Value to set for the zoneId property. */ public void setZoneId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/EmployeeExperience.java b/src/main/java/com/microsoft/graph/generated/models/EmployeeExperience.java index b14e7dde300..f9c3fa8cab1 100644 --- a/src/main/java/com/microsoft/graph/generated/models/EmployeeExperience.java +++ b/src/main/java/com/microsoft/graph/generated/models/EmployeeExperience.java @@ -80,12 +80,13 @@ public java.util.List getEngagementAsyncOperations() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(5); + final HashMap> deserializerMap = new HashMap>(6); deserializerMap.put("communities", (n) -> { this.setCommunities(n.getCollectionOfObjectValues(Community::createFromDiscriminatorValue)); }); deserializerMap.put("engagementAsyncOperations", (n) -> { this.setEngagementAsyncOperations(n.getCollectionOfObjectValues(EngagementAsyncOperation::createFromDiscriminatorValue)); }); deserializerMap.put("learningCourseActivities", (n) -> { this.setLearningCourseActivities(n.getCollectionOfObjectValues(LearningCourseActivity::createFromDiscriminatorValue)); }); deserializerMap.put("learningProviders", (n) -> { this.setLearningProviders(n.getCollectionOfObjectValues(LearningProvider::createFromDiscriminatorValue)); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("roles", (n) -> { this.setRoles(n.getCollectionOfObjectValues(EngagementRole::createFromDiscriminatorValue)); }); return deserializerMap; } /** @@ -112,6 +113,14 @@ public java.util.List getLearningProviders() { public String getOdataType() { return this.backingStore.get("odataType"); } + /** + * Gets the roles property value. A collection of roles in Viva Engage. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRoles() { + return this.backingStore.get("roles"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -123,6 +132,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("learningCourseActivities", this.getLearningCourseActivities()); writer.writeCollectionOfObjectValues("learningProviders", this.getLearningProviders()); writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("roles", this.getRoles()); writer.writeAdditionalData(this.getAdditionalData()); } /** @@ -175,4 +185,11 @@ public void setLearningProviders(@jakarta.annotation.Nullable final java.util.Li public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } + /** + * Sets the roles property value. A collection of roles in Viva Engage. + * @param value Value to set for the roles property. + */ + public void setRoles(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("roles", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/EmployeeExperienceUser.java b/src/main/java/com/microsoft/graph/generated/models/EmployeeExperienceUser.java index f6a78c496ec..ef16f5f4de9 100644 --- a/src/main/java/com/microsoft/graph/generated/models/EmployeeExperienceUser.java +++ b/src/main/java/com/microsoft/graph/generated/models/EmployeeExperienceUser.java @@ -24,6 +24,14 @@ public static EmployeeExperienceUser createFromDiscriminatorValue(@jakarta.annot Objects.requireNonNull(parseNode); return new EmployeeExperienceUser(); } + /** + * Gets the assignedRoles property value. Represents the collection of Viva Engage roles assigned to a user. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAssignedRoles() { + return this.backingStore.get("assignedRoles"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -31,6 +39,7 @@ public static EmployeeExperienceUser createFromDiscriminatorValue(@jakarta.annot @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("assignedRoles", (n) -> { this.setAssignedRoles(n.getCollectionOfObjectValues(EngagementRole::createFromDiscriminatorValue)); }); deserializerMap.put("learningCourseActivities", (n) -> { this.setLearningCourseActivities(n.getCollectionOfObjectValues(LearningCourseActivity::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -49,8 +58,16 @@ public java.util.List getLearningCourseActivities() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeCollectionOfObjectValues("assignedRoles", this.getAssignedRoles()); writer.writeCollectionOfObjectValues("learningCourseActivities", this.getLearningCourseActivities()); } + /** + * Sets the assignedRoles property value. Represents the collection of Viva Engage roles assigned to a user. + * @param value Value to set for the assignedRoles property. + */ + public void setAssignedRoles(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("assignedRoles", value); + } /** * Sets the learningCourseActivities property value. The learningCourseActivities property * @param value Value to set for the learningCourseActivities property. diff --git a/src/main/java/com/microsoft/graph/generated/models/EngagementRole.java b/src/main/java/com/microsoft/graph/generated/models/EngagementRole.java new file mode 100644 index 00000000000..cf4a5f3ee5c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/EngagementRole.java @@ -0,0 +1,81 @@ +package com.microsoft.graph.models; + +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; +/** + * Represents a Viva Engage role and its members + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EngagementRole extends Entity implements Parsable { + /** + * Instantiates a new {@link EngagementRole} and sets the default values. + */ + public EngagementRole() { + 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 EngagementRole} + */ + @jakarta.annotation.Nonnull + public static EngagementRole createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EngagementRole(); + } + /** + * Gets the displayName property value. The name of the role. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * 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("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("members", (n) -> { this.setMembers(n.getCollectionOfObjectValues(EngagementRoleMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the members property value. Users that have this role assigned. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMembers() { + return this.backingStore.get("members"); + } + /** + * 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.writeStringValue("displayName", this.getDisplayName()); + writer.writeCollectionOfObjectValues("members", this.getMembers()); + } + /** + * Sets the displayName property value. The name of the role. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the members property value. Users that have this role assigned. + * @param value Value to set for the members property. + */ + public void setMembers(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("members", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/EngagementRoleCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/EngagementRoleCollectionResponse.java new file mode 100644 index 00000000000..e44935ad175 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/EngagementRoleCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +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 EngagementRoleCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link EngagementRoleCollectionResponse} and sets the default values. + */ + public EngagementRoleCollectionResponse() { + 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 EngagementRoleCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static EngagementRoleCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EngagementRoleCollectionResponse(); + } + /** + * 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(EngagementRole::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/generated/models/EngagementRoleMember.java b/src/main/java/com/microsoft/graph/generated/models/EngagementRoleMember.java new file mode 100644 index 00000000000..2a253a0411f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/EngagementRoleMember.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Entity to represent the assignment of a role to a user. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EngagementRoleMember extends Entity implements Parsable { + /** + * Instantiates a new {@link EngagementRoleMember} and sets the default values. + */ + public EngagementRoleMember() { + 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 EngagementRoleMember} + */ + @jakarta.annotation.Nonnull + public static EngagementRoleMember createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EngagementRoleMember(); + } + /** + * Gets the createdDateTime property value. The date and time when the role was assigned to the user. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * 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("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("user", (n) -> { this.setUser(n.getObjectValue(User::createFromDiscriminatorValue)); }); + deserializerMap.put("userId", (n) -> { this.setUserId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the user property value. The user who has this role assigned. + * @return a {@link User} + */ + @jakarta.annotation.Nullable + public User getUser() { + return this.backingStore.get("user"); + } + /** + * Gets the userId property value. The Microsoft Entra ID of the user who has the role assigned. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getUserId() { + return this.backingStore.get("userId"); + } + /** + * 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.writeObjectValue("user", this.getUser()); + } + /** + * Sets the createdDateTime property value. The date and time when the role was assigned to the user. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the user property value. The user who has this role assigned. + * @param value Value to set for the user property. + */ + public void setUser(@jakarta.annotation.Nullable final User value) { + this.backingStore.set("user", value); + } + /** + * Sets the userId property value. The Microsoft Entra ID of the user who has the role assigned. + * @param value Value to set for the userId property. + */ + public void setUserId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("userId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/EngagementRoleMemberCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/EngagementRoleMemberCollectionResponse.java new file mode 100644 index 00000000000..157ff812a34 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/EngagementRoleMemberCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +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 EngagementRoleMemberCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link EngagementRoleMemberCollectionResponse} and sets the default values. + */ + public EngagementRoleMemberCollectionResponse() { + 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 EngagementRoleMemberCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static EngagementRoleMemberCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EngagementRoleMemberCollectionResponse(); + } + /** + * 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(EngagementRoleMember::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/generated/models/Entity.java b/src/main/java/com/microsoft/graph/generated/models/Entity.java index a61dca159f6..2dc8fb87809 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Entity.java +++ b/src/main/java/com/microsoft/graph/generated/models/Entity.java @@ -100,6 +100,8 @@ import com.microsoft.graph.models.security.RetentionLabel; import com.microsoft.graph.models.security.Search; import com.microsoft.graph.models.security.Sensor; +import com.microsoft.graph.models.security.SensorCandidate; +import com.microsoft.graph.models.security.SensorCandidateActivationConfiguration; import com.microsoft.graph.models.security.SiteSource; import com.microsoft.graph.models.security.SslCertificate; import com.microsoft.graph.models.security.SubcategoryTemplate; @@ -250,6 +252,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.approval": return new Approval(); case "#microsoft.graph.approvalStage": return new ApprovalStage(); case "#microsoft.graph.appScope": return new AppScope(); + case "#microsoft.graph.arkoseFraudProtectionProvider": return new ArkoseFraudProtectionProvider(); case "#microsoft.graph.associatedTeamInfo": return new AssociatedTeamInfo(); case "#microsoft.graph.attachment": return new Attachment(); case "#microsoft.graph.attachmentBase": return new AttachmentBase(); @@ -486,6 +489,8 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.engagementConversationMessageReaction": return new EngagementConversationMessageReaction(); case "#microsoft.graph.engagementConversationQuestionMessage": return new EngagementConversationQuestionMessage(); case "#microsoft.graph.engagementConversationSystemMessage": return new EngagementConversationSystemMessage(); + case "#microsoft.graph.engagementRole": return new EngagementRole(); + case "#microsoft.graph.engagementRoleMember": return new EngagementRoleMember(); case "#microsoft.graph.enrollmentConfigurationAssignment": return new EnrollmentConfigurationAssignment(); case "#microsoft.graph.enrollmentTroubleshootingEvent": return new EnrollmentTroubleshootingEvent(); case "#microsoft.graph.enterpriseCodeSigningCertificate": return new EnterpriseCodeSigningCertificate(); @@ -520,6 +525,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.fileStorage": return new FileStorage(); case "#microsoft.graph.fileStorageContainer": return new FileStorageContainer(); case "#microsoft.graph.filterOperatorSchema": return new FilterOperatorSchema(); + case "#microsoft.graph.fraudProtectionProvider": return new FraudProtectionProvider(); case "#microsoft.graph.governanceInsight": return new GovernanceInsight(); case "#microsoft.graph.granularMailboxRestoreArtifact": return new GranularMailboxRestoreArtifact(); case "#microsoft.graph.group": return new Group(); @@ -529,6 +535,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.homeRealmDiscoveryPolicy": return new HomeRealmDiscoveryPolicy(); case "#microsoft.graph.horizontalSection": return new HorizontalSection(); case "#microsoft.graph.horizontalSectionColumn": return new HorizontalSectionColumn(); + case "#microsoft.graph.humanSecurityFraudProtectionProvider": return new HumanSecurityFraudProtectionProvider(); case "#microsoft.graph.identityApiConnector": return new IdentityApiConnector(); case "#microsoft.graph.identityBuiltInUserFlowAttribute": return new IdentityBuiltInUserFlowAttribute(); case "#microsoft.graph.identityContainer": return new IdentityContainer(); @@ -674,11 +681,6 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.notebook": return new Notebook(); case "#microsoft.graph.notificationMessageTemplate": return new NotificationMessageTemplate(); case "#microsoft.graph.oAuth2PermissionGrant": return new OAuth2PermissionGrant(); - case "#microsoft.graph.offerShiftRequest": return new OfferShiftRequest(); - case "#microsoft.graph.officeGraphInsights": return new OfficeGraphInsights(); - case "#microsoft.graph.onAttributeCollectionListener": return new OnAttributeCollectionListener(); - case "#microsoft.graph.onAttributeCollectionStartCustomExtension": return new OnAttributeCollectionStartCustomExtension(); - case "#microsoft.graph.onAttributeCollectionStartListener": return new OnAttributeCollectionStartListener(); } return null; } @@ -690,6 +692,11 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.offerShiftRequest": return new OfferShiftRequest(); + case "#microsoft.graph.officeGraphInsights": return new OfficeGraphInsights(); + case "#microsoft.graph.onAttributeCollectionListener": return new OnAttributeCollectionListener(); + case "#microsoft.graph.onAttributeCollectionStartCustomExtension": return new OnAttributeCollectionStartCustomExtension(); + case "#microsoft.graph.onAttributeCollectionStartListener": return new OnAttributeCollectionStartListener(); case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension": return new OnAttributeCollectionSubmitCustomExtension(); case "#microsoft.graph.onAttributeCollectionSubmitListener": return new OnAttributeCollectionSubmitListener(); case "#microsoft.graph.onAuthenticationMethodLoadStartListener": return new OnAuthenticationMethodLoadStartListener(); @@ -704,6 +711,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.onenotePage": return new OnenotePage(); case "#microsoft.graph.onenoteResource": return new OnenoteResource(); case "#microsoft.graph.onenoteSection": return new OnenoteSection(); + case "#microsoft.graph.onFraudProtectionLoadStartListener": return new OnFraudProtectionLoadStartListener(); case "#microsoft.graph.onInteractiveAuthFlowStartListener": return new OnInteractiveAuthFlowStartListener(); case "#microsoft.graph.onlineMeeting": return new OnlineMeeting(); case "#microsoft.graph.onlineMeetingBase": return new OnlineMeetingBase(); @@ -913,6 +921,8 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.security.retentionLabel": return new RetentionLabel(); case "#microsoft.graph.security.search": return new Search(); case "#microsoft.graph.security.sensor": return new Sensor(); + case "#microsoft.graph.security.sensorCandidate": return new SensorCandidate(); + case "#microsoft.graph.security.sensorCandidateActivationConfiguration": return new SensorCandidateActivationConfiguration(); case "#microsoft.graph.security.siteSource": return new SiteSource(); case "#microsoft.graph.security.sslCertificate": return new SslCertificate(); case "#microsoft.graph.security.subcategoryTemplate": return new SubcategoryTemplate(); @@ -1182,14 +1192,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.workbookChartLineFormat": return new WorkbookChartLineFormat(); case "#microsoft.graph.workbookChartPoint": return new WorkbookChartPoint(); case "#microsoft.graph.workbookChartPointFormat": return new WorkbookChartPointFormat(); - case "#microsoft.graph.workbookChartSeries": return new WorkbookChartSeries(); - case "#microsoft.graph.workbookChartSeriesFormat": return new WorkbookChartSeriesFormat(); - case "#microsoft.graph.workbookChartTitle": return new WorkbookChartTitle(); - case "#microsoft.graph.workbookChartTitleFormat": return new WorkbookChartTitleFormat(); - case "#microsoft.graph.workbookComment": return new WorkbookComment(); - case "#microsoft.graph.workbookCommentReply": return new WorkbookCommentReply(); - case "#microsoft.graph.workbookFilter": return new WorkbookFilter(); - case "#microsoft.graph.workbookFormatProtection": return new WorkbookFormatProtection(); } return null; } @@ -1201,6 +1203,14 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.workbookChartSeries": return new WorkbookChartSeries(); + case "#microsoft.graph.workbookChartSeriesFormat": return new WorkbookChartSeriesFormat(); + case "#microsoft.graph.workbookChartTitle": return new WorkbookChartTitle(); + case "#microsoft.graph.workbookChartTitleFormat": return new WorkbookChartTitleFormat(); + case "#microsoft.graph.workbookComment": return new WorkbookComment(); + case "#microsoft.graph.workbookCommentReply": return new WorkbookCommentReply(); + case "#microsoft.graph.workbookFilter": return new WorkbookFilter(); + case "#microsoft.graph.workbookFormatProtection": return new WorkbookFormatProtection(); case "#microsoft.graph.workbookFunctionResult": return new WorkbookFunctionResult(); case "#microsoft.graph.workbookFunctions": return new WorkbookFunctions(); case "#microsoft.graph.workbookNamedItem": return new WorkbookNamedItem(); diff --git a/src/main/java/com/microsoft/graph/generated/models/FraudProtectionConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/FraudProtectionConfiguration.java new file mode 100644 index 00000000000..656b40973a4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/FraudProtectionConfiguration.java @@ -0,0 +1,114 @@ +package com.microsoft.graph.models; + +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 FraudProtectionConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link FraudProtectionConfiguration} and sets the default values. + */ + public FraudProtectionConfiguration() { + 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 FraudProtectionConfiguration} + */ + @jakarta.annotation.Nonnull + public static FraudProtectionConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.fraudProtectionProviderConfiguration": return new FraudProtectionProviderConfiguration(); + } + } + return new FraudProtectionConfiguration(); + } + /** + * 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("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * 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("@odata.type", this.getOdataType()); + 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 @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/FraudProtectionProvider.java b/src/main/java/com/microsoft/graph/generated/models/FraudProtectionProvider.java new file mode 100644 index 00000000000..657eed8e13e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/FraudProtectionProvider.java @@ -0,0 +1,69 @@ +package com.microsoft.graph.models; + +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 FraudProtectionProvider extends Entity implements Parsable { + /** + * Instantiates a new {@link FraudProtectionProvider} and sets the default values. + */ + public FraudProtectionProvider() { + 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 FraudProtectionProvider} + */ + @jakarta.annotation.Nonnull + public static FraudProtectionProvider createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.arkoseFraudProtectionProvider": return new ArkoseFraudProtectionProvider(); + case "#microsoft.graph.humanSecurityFraudProtectionProvider": return new HumanSecurityFraudProtectionProvider(); + } + } + return new FraudProtectionProvider(); + } + /** + * Gets the displayName property value. The display name of the fraud protection provider configuration. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * 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("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + return deserializerMap; + } + /** + * 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.writeStringValue("displayName", this.getDisplayName()); + } + /** + * Sets the displayName property value. The display name of the fraud protection provider configuration. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/FraudProtectionProviderCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/FraudProtectionProviderCollectionResponse.java new file mode 100644 index 00000000000..be9ba96cc0e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/FraudProtectionProviderCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +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 FraudProtectionProviderCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link FraudProtectionProviderCollectionResponse} and sets the default values. + */ + public FraudProtectionProviderCollectionResponse() { + 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 FraudProtectionProviderCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static FraudProtectionProviderCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new FraudProtectionProviderCollectionResponse(); + } + /** + * 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(FraudProtectionProvider::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/generated/models/FraudProtectionProviderConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/FraudProtectionProviderConfiguration.java new file mode 100644 index 00000000000..76b06e3d525 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/FraudProtectionProviderConfiguration.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.models; + +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 FraudProtectionProviderConfiguration extends FraudProtectionConfiguration implements Parsable { + /** + * Instantiates a new {@link FraudProtectionProviderConfiguration} and sets the default values. + */ + public FraudProtectionProviderConfiguration() { + super(); + this.setOdataType("#microsoft.graph.fraudProtectionProviderConfiguration"); + } + /** + * 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 FraudProtectionProviderConfiguration} + */ + @jakarta.annotation.Nonnull + public static FraudProtectionProviderConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new FraudProtectionProviderConfiguration(); + } + /** + * 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("fraudProtectionProvider", (n) -> { this.setFraudProtectionProvider(n.getObjectValue(FraudProtectionProvider::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the fraudProtectionProvider property value. The fraudProtectionProvider property + * @return a {@link FraudProtectionProvider} + */ + @jakarta.annotation.Nullable + public FraudProtectionProvider getFraudProtectionProvider() { + return this.backingStore.get("fraudProtectionProvider"); + } + /** + * 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.writeObjectValue("fraudProtectionProvider", this.getFraudProtectionProvider()); + } + /** + * Sets the fraudProtectionProvider property value. The fraudProtectionProvider property + * @param value Value to set for the fraudProtectionProvider property. + */ + public void setFraudProtectionProvider(@jakarta.annotation.Nullable final FraudProtectionProvider value) { + this.backingStore.set("fraudProtectionProvider", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/HumanSecurityFraudProtectionProvider.java b/src/main/java/com/microsoft/graph/generated/models/HumanSecurityFraudProtectionProvider.java new file mode 100644 index 00000000000..87645e2963f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/HumanSecurityFraudProtectionProvider.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.models; + +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 HumanSecurityFraudProtectionProvider extends FraudProtectionProvider implements Parsable { + /** + * Instantiates a new {@link HumanSecurityFraudProtectionProvider} and sets the default values. + */ + public HumanSecurityFraudProtectionProvider() { + super(); + this.setOdataType("#microsoft.graph.humanSecurityFraudProtectionProvider"); + } + /** + * 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 HumanSecurityFraudProtectionProvider} + */ + @jakarta.annotation.Nonnull + public static HumanSecurityFraudProtectionProvider createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new HumanSecurityFraudProtectionProvider(); + } + /** + * Gets the appId property value. Unique identifier for an individual application. You can retrieve this from the HUMAN Security Admin Console or request it from your HUMAN Security Customer Success Manager. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppId() { + return this.backingStore.get("appId"); + } + /** + * 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("appId", (n) -> { this.setAppId(n.getStringValue()); }); + deserializerMap.put("serverToken", (n) -> { this.setServerToken(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the serverToken property value. Unique identifier used to authenticate API calls between the Server side integration and the HUMAN platform. You can retrieve this from the HUMAN Security Admin Console or request it from your HUMAN Security Customer Success Manager. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getServerToken() { + return this.backingStore.get("serverToken"); + } + /** + * 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.writeStringValue("appId", this.getAppId()); + writer.writeStringValue("serverToken", this.getServerToken()); + } + /** + * Sets the appId property value. Unique identifier for an individual application. You can retrieve this from the HUMAN Security Admin Console or request it from your HUMAN Security Customer Success Manager. + * @param value Value to set for the appId property. + */ + public void setAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appId", value); + } + /** + * Sets the serverToken property value. Unique identifier used to authenticate API calls between the Server side integration and the HUMAN platform. You can retrieve this from the HUMAN Security Admin Console or request it from your HUMAN Security Customer Success Manager. + * @param value Value to set for the serverToken property. + */ + public void setServerToken(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("serverToken", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/IdentityContainer.java b/src/main/java/com/microsoft/graph/generated/models/IdentityContainer.java index 58d76c2b6b7..593f1134781 100644 --- a/src/main/java/com/microsoft/graph/generated/models/IdentityContainer.java +++ b/src/main/java/com/microsoft/graph/generated/models/IdentityContainer.java @@ -99,7 +99,7 @@ public java.util.List getIdentityProviders() { return this.backingStore.get("identityProviders"); } /** - * Gets the riskPrevention property value. The riskPrevention property + * Gets the riskPrevention property value. Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. * @return a {@link RiskPreventionContainer} */ @jakarta.annotation.Nullable @@ -181,7 +181,7 @@ public void setIdentityProviders(@jakarta.annotation.Nullable final java.util.Li this.backingStore.set("identityProviders", value); } /** - * Sets the riskPrevention property value. The riskPrevention property + * Sets the riskPrevention property value. Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. * @param value Value to set for the riskPrevention property. */ public void setRiskPrevention(@jakarta.annotation.Nullable final RiskPreventionContainer value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartExternalUsersAuthHandler.java b/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartExternalUsersAuthHandler.java new file mode 100644 index 00000000000..2cca44003f1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartExternalUsersAuthHandler.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.models; + +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 OnFraudProtectionLoadStartExternalUsersAuthHandler extends OnFraudProtectionLoadStartHandler implements Parsable { + /** + * Instantiates a new {@link OnFraudProtectionLoadStartExternalUsersAuthHandler} and sets the default values. + */ + public OnFraudProtectionLoadStartExternalUsersAuthHandler() { + super(); + this.setOdataType("#microsoft.graph.onFraudProtectionLoadStartExternalUsersAuthHandler"); + } + /** + * 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 OnFraudProtectionLoadStartExternalUsersAuthHandler} + */ + @jakarta.annotation.Nonnull + public static OnFraudProtectionLoadStartExternalUsersAuthHandler createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OnFraudProtectionLoadStartExternalUsersAuthHandler(); + } + /** + * 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("signUp", (n) -> { this.setSignUp(n.getObjectValue(FraudProtectionConfiguration::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the signUp property value. Specifies the fraud protection configuration for sign-up events. + * @return a {@link FraudProtectionConfiguration} + */ + @jakarta.annotation.Nullable + public FraudProtectionConfiguration getSignUp() { + return this.backingStore.get("signUp"); + } + /** + * 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.writeObjectValue("signUp", this.getSignUp()); + } + /** + * Sets the signUp property value. Specifies the fraud protection configuration for sign-up events. + * @param value Value to set for the signUp property. + */ + public void setSignUp(@jakarta.annotation.Nullable final FraudProtectionConfiguration value) { + this.backingStore.set("signUp", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartHandler.java b/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartHandler.java new file mode 100644 index 00000000000..c642e948c4a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartHandler.java @@ -0,0 +1,114 @@ +package com.microsoft.graph.models; + +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 OnFraudProtectionLoadStartHandler implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link OnFraudProtectionLoadStartHandler} and sets the default values. + */ + public OnFraudProtectionLoadStartHandler() { + 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 OnFraudProtectionLoadStartHandler} + */ + @jakarta.annotation.Nonnull + public static OnFraudProtectionLoadStartHandler createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.onFraudProtectionLoadStartExternalUsersAuthHandler": return new OnFraudProtectionLoadStartExternalUsersAuthHandler(); + } + } + return new OnFraudProtectionLoadStartHandler(); + } + /** + * 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("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * 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("@odata.type", this.getOdataType()); + 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 @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartListener.java b/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartListener.java new file mode 100644 index 00000000000..9d5a7284ef2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OnFraudProtectionLoadStartListener.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.models; + +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 OnFraudProtectionLoadStartListener extends AuthenticationEventListener implements Parsable { + /** + * Instantiates a new {@link OnFraudProtectionLoadStartListener} and sets the default values. + */ + public OnFraudProtectionLoadStartListener() { + super(); + this.setOdataType("#microsoft.graph.onFraudProtectionLoadStartListener"); + } + /** + * 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 OnFraudProtectionLoadStartListener} + */ + @jakarta.annotation.Nonnull + public static OnFraudProtectionLoadStartListener createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OnFraudProtectionLoadStartListener(); + } + /** + * 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("handler", (n) -> { this.setHandler(n.getObjectValue(OnFraudProtectionLoadStartHandler::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the handler property value. Configuration for what to invoke if the event resolves to this listener. + * @return a {@link OnFraudProtectionLoadStartHandler} + */ + @jakarta.annotation.Nullable + public OnFraudProtectionLoadStartHandler getHandler() { + return this.backingStore.get("handler"); + } + /** + * 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.writeObjectValue("handler", this.getHandler()); + } + /** + * Sets the handler property value. Configuration for what to invoke if the event resolves to this listener. + * @param value Value to set for the handler property. + */ + public void setHandler(@jakarta.annotation.Nullable final OnFraudProtectionLoadStartHandler value) { + this.backingStore.set("handler", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/Place.java b/src/main/java/com/microsoft/graph/generated/models/Place.java index 2d379e2707c..24da3b0fab6 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Place.java +++ b/src/main/java/com/microsoft/graph/generated/models/Place.java @@ -40,6 +40,14 @@ public static Place createFromDiscriminatorValue(@jakarta.annotation.Nonnull fin public PhysicalAddress getAddress() { return this.backingStore.get("address"); } + /** + * Gets the checkIns property value. The checkIns property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCheckIns() { + return this.backingStore.get("checkIns"); + } /** * Gets the displayName property value. The name associated with the place. * @return a {@link String} @@ -56,6 +64,7 @@ public String getDisplayName() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("address", (n) -> { this.setAddress(n.getObjectValue(PhysicalAddress::createFromDiscriminatorValue)); }); + deserializerMap.put("checkIns", (n) -> { this.setCheckIns(n.getCollectionOfObjectValues(CheckInClaim::createFromDiscriminatorValue)); }); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("geoCoordinates", (n) -> { this.setGeoCoordinates(n.getObjectValue(OutlookGeoCoordinates::createFromDiscriminatorValue)); }); deserializerMap.put("phone", (n) -> { this.setPhone(n.getStringValue()); }); @@ -85,6 +94,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeObjectValue("address", this.getAddress()); + writer.writeCollectionOfObjectValues("checkIns", this.getCheckIns()); writer.writeStringValue("displayName", this.getDisplayName()); writer.writeObjectValue("geoCoordinates", this.getGeoCoordinates()); writer.writeStringValue("phone", this.getPhone()); @@ -96,6 +106,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAddress(@jakarta.annotation.Nullable final PhysicalAddress value) { this.backingStore.set("address", value); } + /** + * Sets the checkIns property value. The checkIns property + * @param value Value to set for the checkIns property. + */ + public void setCheckIns(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("checkIns", value); + } /** * Sets the displayName property value. The name associated with the place. * @param value Value to set for the displayName property. diff --git a/src/main/java/com/microsoft/graph/generated/models/RiskPreventionContainer.java b/src/main/java/com/microsoft/graph/generated/models/RiskPreventionContainer.java index 62404660a83..ee83b0c183a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/RiskPreventionContainer.java +++ b/src/main/java/com/microsoft/graph/generated/models/RiskPreventionContainer.java @@ -61,12 +61,21 @@ public BackingStore getBackingStore() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(3); + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("fraudProtectionProviders", (n) -> { this.setFraudProtectionProviders(n.getCollectionOfObjectValues(FraudProtectionProvider::createFromDiscriminatorValue)); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); deserializerMap.put("webApplicationFirewallProviders", (n) -> { this.setWebApplicationFirewallProviders(n.getCollectionOfObjectValues(WebApplicationFirewallProvider::createFromDiscriminatorValue)); }); deserializerMap.put("webApplicationFirewallVerifications", (n) -> { this.setWebApplicationFirewallVerifications(n.getCollectionOfObjectValues(WebApplicationFirewallVerificationModel::createFromDiscriminatorValue)); }); return deserializerMap; } + /** + * Gets the fraudProtectionProviders property value. Represents entry point for fraud protection provider configurations for Microsoft Entra External ID tenants. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getFraudProtectionProviders() { + return this.backingStore.get("fraudProtectionProviders"); + } /** * Gets the @odata.type property value. The OdataType property * @return a {@link String} @@ -76,7 +85,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the webApplicationFirewallProviders property value. The webApplicationFirewallProviders property + * Gets the webApplicationFirewallProviders property value. Collection of WAF provider configurations registered in the External ID tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -84,7 +93,7 @@ public java.util.List getWebApplicationFirewallP return this.backingStore.get("webApplicationFirewallProviders"); } /** - * Gets the webApplicationFirewallVerifications property value. The webApplicationFirewallVerifications property + * Gets the webApplicationFirewallVerifications property value. Collection of verification operations performed for domains or hosts with WAF providers registered in the External ID tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -97,6 +106,7 @@ public java.util.List getWebApplication */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("fraudProtectionProviders", this.getFraudProtectionProviders()); writer.writeStringValue("@odata.type", this.getOdataType()); writer.writeCollectionOfObjectValues("webApplicationFirewallProviders", this.getWebApplicationFirewallProviders()); writer.writeCollectionOfObjectValues("webApplicationFirewallVerifications", this.getWebApplicationFirewallVerifications()); @@ -117,6 +127,13 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value Objects.requireNonNull(value); this.backingStore = value; } + /** + * Sets the fraudProtectionProviders property value. Represents entry point for fraud protection provider configurations for Microsoft Entra External ID tenants. + * @param value Value to set for the fraudProtectionProviders property. + */ + public void setFraudProtectionProviders(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("fraudProtectionProviders", value); + } /** * Sets the @odata.type property value. The OdataType property * @param value Value to set for the @odata.type property. @@ -125,14 +142,14 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the webApplicationFirewallProviders property value. The webApplicationFirewallProviders property + * Sets the webApplicationFirewallProviders property value. Collection of WAF provider configurations registered in the External ID tenant. * @param value Value to set for the webApplicationFirewallProviders property. */ public void setWebApplicationFirewallProviders(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("webApplicationFirewallProviders", value); } /** - * Sets the webApplicationFirewallVerifications property value. The webApplicationFirewallVerifications property + * Sets the webApplicationFirewallVerifications property value. Collection of verification operations performed for domains or hosts with WAF providers registered in the External ID tenant. * @param value Value to set for the webApplicationFirewallVerifications property. */ public void setWebApplicationFirewallVerifications(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallDnsConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallDnsConfiguration.java index 4d50d47b660..82417eb882c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallDnsConfiguration.java +++ b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallDnsConfiguration.java @@ -71,7 +71,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isDomainVerified property value. The isDomainVerified property + * Gets the isDomainVerified property value. Indicates whether the domain owning this DNS record has been verified by the WAF provider. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -79,7 +79,7 @@ public Boolean getIsDomainVerified() { return this.backingStore.get("isDomainVerified"); } /** - * Gets the isProxied property value. The isProxied property + * Gets the isProxied property value. Indicates whether traffic for this DNS record is proxied through the WAF provider's network (for example, using a CDN or reverse proxy). * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -87,7 +87,7 @@ public Boolean getIsProxied() { return this.backingStore.get("isProxied"); } /** - * Gets the name property value. The name property + * Gets the name property value. The DNS record name (for example, www.contoso.com or contoso.com). This is the host or zone name to which the configuration applies. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -111,7 +111,7 @@ public WebApplicationFirewallDnsRecordType getRecordType() { return this.backingStore.get("recordType"); } /** - * Gets the value property value. The value property + * Gets the value property value. The value of the DNS record. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -148,21 +148,21 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the isDomainVerified property value. The isDomainVerified property + * Sets the isDomainVerified property value. Indicates whether the domain owning this DNS record has been verified by the WAF provider. * @param value Value to set for the isDomainVerified property. */ public void setIsDomainVerified(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isDomainVerified", value); } /** - * Sets the isProxied property value. The isProxied property + * Sets the isProxied property value. Indicates whether traffic for this DNS record is proxied through the WAF provider's network (for example, using a CDN or reverse proxy). * @param value Value to set for the isProxied property. */ public void setIsProxied(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isProxied", value); } /** - * Sets the name property value. The name property + * Sets the name property value. The DNS record name (for example, www.contoso.com or contoso.com). This is the host or zone name to which the configuration applies. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { @@ -183,7 +183,7 @@ public void setRecordType(@jakarta.annotation.Nullable final WebApplicationFirew this.backingStore.set("recordType", value); } /** - * Sets the value property value. The value property + * Sets the value property value. The value of the DNS record. * @param value Value to set for the value property. */ public void setValue(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallProvider.java b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallProvider.java index 8e6a98bedf1..dabd658f085 100644 --- a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallProvider.java +++ b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallProvider.java @@ -33,7 +33,7 @@ public static WebApplicationFirewallProvider createFromDiscriminatorValue(@jakar return new WebApplicationFirewallProvider(); } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the WAF provider. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -60,7 +60,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("displayName", this.getDisplayName()); } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. The display name of the WAF provider. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerificationModel.java b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerificationModel.java index f516f261977..ab07bf32e45 100644 --- a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerificationModel.java +++ b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerificationModel.java @@ -39,7 +39,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the provider property value. The provider property + * Gets the provider property value. Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. * @return a {@link WebApplicationFirewallProvider} */ @jakarta.annotation.Nullable @@ -55,7 +55,7 @@ public WebApplicationFirewallProviderType getProviderType() { return this.backingStore.get("providerType"); } /** - * Gets the verificationResult property value. The verificationResult property + * Gets the verificationResult property value. An object describing the outcome of the verification operation, including status, errors or warnings * @return a {@link WebApplicationFirewallVerificationResult} */ @jakarta.annotation.Nullable @@ -63,7 +63,7 @@ public WebApplicationFirewallVerificationResult getVerificationResult() { return this.backingStore.get("verificationResult"); } /** - * Gets the verifiedDetails property value. The verifiedDetails property + * Gets the verifiedDetails property value. Details of DNS configuration * @return a {@link WebApplicationFirewallVerifiedDetails} */ @jakarta.annotation.Nullable @@ -71,7 +71,7 @@ public WebApplicationFirewallVerifiedDetails getVerifiedDetails() { return this.backingStore.get("verifiedDetails"); } /** - * Gets the verifiedHost property value. The verifiedHost property + * Gets the verifiedHost property value. The host (domain or subdomain) that was verified as part of this verification operation. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -92,7 +92,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("verifiedHost", this.getVerifiedHost()); } /** - * Sets the provider property value. The provider property + * Sets the provider property value. Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. * @param value Value to set for the provider property. */ public void setProvider(@jakarta.annotation.Nullable final WebApplicationFirewallProvider value) { @@ -106,21 +106,21 @@ public void setProviderType(@jakarta.annotation.Nullable final WebApplicationFir this.backingStore.set("providerType", value); } /** - * Sets the verificationResult property value. The verificationResult property + * Sets the verificationResult property value. An object describing the outcome of the verification operation, including status, errors or warnings * @param value Value to set for the verificationResult property. */ public void setVerificationResult(@jakarta.annotation.Nullable final WebApplicationFirewallVerificationResult value) { this.backingStore.set("verificationResult", value); } /** - * Sets the verifiedDetails property value. The verifiedDetails property + * Sets the verifiedDetails property value. Details of DNS configuration * @param value Value to set for the verifiedDetails property. */ public void setVerifiedDetails(@jakarta.annotation.Nullable final WebApplicationFirewallVerifiedDetails value) { this.backingStore.set("verifiedDetails", value); } /** - * Sets the verifiedHost property value. The verifiedHost property + * Sets the verifiedHost property value. The host (domain or subdomain) that was verified as part of this verification operation. * @param value Value to set for the verifiedHost property. */ public void setVerifiedHost(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerificationResult.java b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerificationResult.java index 9f646549cad..ba2448caaf2 100644 --- a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerificationResult.java +++ b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerificationResult.java @@ -57,7 +57,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the errors property value. The errors property + * Gets the errors property value. List of errors encountered during the verification process. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -95,7 +95,7 @@ public WebApplicationFirewallVerificationStatus getStatus() { return this.backingStore.get("status"); } /** - * Gets the verifiedOnDateTime property value. The verifiedOnDateTime property + * Gets the verifiedOnDateTime property value. UTC timestamp when the verification was performed or last updated. This indicates when the verification result was produced. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -103,7 +103,7 @@ public OffsetDateTime getVerifiedOnDateTime() { return this.backingStore.get("verifiedOnDateTime"); } /** - * Gets the warnings property value. The warnings property + * Gets the warnings property value. List of warnings produced during verification. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -139,7 +139,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the errors property value. The errors property + * Sets the errors property value. List of errors encountered during the verification process. * @param value Value to set for the errors property. */ public void setErrors(@jakarta.annotation.Nullable final java.util.List value) { @@ -160,14 +160,14 @@ public void setStatus(@jakarta.annotation.Nullable final WebApplicationFirewallV this.backingStore.set("status", value); } /** - * Sets the verifiedOnDateTime property value. The verifiedOnDateTime property + * Sets the verifiedOnDateTime property value. UTC timestamp when the verification was performed or last updated. This indicates when the verification result was produced. * @param value Value to set for the verifiedOnDateTime property. */ public void setVerifiedOnDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("verifiedOnDateTime", value); } /** - * Sets the warnings property value. The warnings property + * Sets the warnings property value. List of warnings produced during verification. * @param value Value to set for the warnings property. */ public void setWarnings(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerifiedDetails.java b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerifiedDetails.java index a19dd2094ea..1dad3c61169 100644 --- a/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerifiedDetails.java +++ b/src/main/java/com/microsoft/graph/generated/models/WebApplicationFirewallVerifiedDetails.java @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the dnsConfiguration property value. The dnsConfiguration property + * Gets the dnsConfiguration property value. DNS-related details discovered during verification for the host, such as the DNS record name, record type, record value, whether the record is proxied through the provider, and whether the domain is verified. * @return a {@link WebApplicationFirewallDnsConfiguration} */ @jakarta.annotation.Nullable @@ -116,7 +116,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the dnsConfiguration property value. The dnsConfiguration property + * Sets the dnsConfiguration property value. DNS-related details discovered during verification for the host, such as the DNS record name, record type, record value, whether the record is proxied through the provider, and whether the domain is verified. * @param value Value to set for the dnsConfiguration property. */ public void setDnsConfiguration(@jakarta.annotation.Nullable final WebApplicationFirewallDnsConfiguration value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateGroupScope.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateGroupScope.java new file mode 100644 index 00000000000..feb2c119d93 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateGroupScope.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.models.identitygovernance; + +import com.microsoft.graph.models.Group; +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 ActivateGroupScope extends ActivationScope implements Parsable { + /** + * Instantiates a new {@link ActivateGroupScope} and sets the default values. + */ + public ActivateGroupScope() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.activateGroupScope"); + } + /** + * 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 ActivateGroupScope} + */ + @jakarta.annotation.Nonnull + public static ActivateGroupScope createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ActivateGroupScope(); + } + /** + * 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("group", (n) -> { this.setGroup(n.getObjectValue(Group::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the group property value. The group property + * @return a {@link Group} + */ + @jakarta.annotation.Nullable + public Group getGroup() { + return this.backingStore.get("group"); + } + /** + * 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.writeObjectValue("group", this.getGroup()); + } + /** + * Sets the group property value. The group property + * @param value Value to set for the group property. + */ + public void setGroup(@jakarta.annotation.Nullable final Group value) { + this.backingStore.set("group", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateProcessingResultScope.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateProcessingResultScope.java new file mode 100644 index 00000000000..76a81a04ca9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateProcessingResultScope.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.models.identitygovernance; + +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 ActivateProcessingResultScope extends ActivationScope implements Parsable { + /** + * Instantiates a new {@link ActivateProcessingResultScope} and sets the default values. + */ + public ActivateProcessingResultScope() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.activateProcessingResultScope"); + } + /** + * 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 ActivateProcessingResultScope} + */ + @jakarta.annotation.Nonnull + public static ActivateProcessingResultScope createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ActivateProcessingResultScope(); + } + /** + * 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("processingResults", (n) -> { this.setProcessingResults(n.getCollectionOfObjectValues(UserProcessingResult::createFromDiscriminatorValue)); }); + deserializerMap.put("taskScope", (n) -> { this.setTaskScope(n.getEnumValue(ActivationTaskScopeType::forValue)); }); + return deserializerMap; + } + /** + * Gets the processingResults property value. The processingResults property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProcessingResults() { + return this.backingStore.get("processingResults"); + } + /** + * Gets the taskScope property value. The taskScope property + * @return a {@link ActivationTaskScopeType} + */ + @jakarta.annotation.Nullable + public ActivationTaskScopeType getTaskScope() { + return this.backingStore.get("taskScope"); + } + /** + * 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("processingResults", this.getProcessingResults()); + writer.writeEnumValue("taskScope", this.getTaskScope()); + } + /** + * Sets the processingResults property value. The processingResults property + * @param value Value to set for the processingResults property. + */ + public void setProcessingResults(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("processingResults", value); + } + /** + * Sets the taskScope property value. The taskScope property + * @param value Value to set for the taskScope property. + */ + public void setTaskScope(@jakarta.annotation.Nullable final ActivationTaskScopeType value) { + this.backingStore.set("taskScope", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateRunScope.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateRunScope.java new file mode 100644 index 00000000000..c79b8090e9f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateRunScope.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.models.identitygovernance; + +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 ActivateRunScope extends ActivationScope implements Parsable { + /** + * Instantiates a new {@link ActivateRunScope} and sets the default values. + */ + public ActivateRunScope() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.activateRunScope"); + } + /** + * 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 ActivateRunScope} + */ + @jakarta.annotation.Nonnull + public static ActivateRunScope createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ActivateRunScope(); + } + /** + * 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("run", (n) -> { this.setRun(n.getObjectValue(Run::createFromDiscriminatorValue)); }); + deserializerMap.put("taskScope", (n) -> { this.setTaskScope(n.getEnumValue(ActivationTaskScopeType::forValue)); }); + deserializerMap.put("userScope", (n) -> { this.setUserScope(n.getEnumValue(ActivationUserScopeType::forValue)); }); + return deserializerMap; + } + /** + * Gets the run property value. The run property + * @return a {@link Run} + */ + @jakarta.annotation.Nullable + public Run getRun() { + return this.backingStore.get("run"); + } + /** + * Gets the taskScope property value. The taskScope property + * @return a {@link ActivationTaskScopeType} + */ + @jakarta.annotation.Nullable + public ActivationTaskScopeType getTaskScope() { + return this.backingStore.get("taskScope"); + } + /** + * Gets the userScope property value. The userScope property + * @return a {@link ActivationUserScopeType} + */ + @jakarta.annotation.Nullable + public ActivationUserScopeType getUserScope() { + return this.backingStore.get("userScope"); + } + /** + * 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.writeObjectValue("run", this.getRun()); + writer.writeEnumValue("taskScope", this.getTaskScope()); + writer.writeEnumValue("userScope", this.getUserScope()); + } + /** + * Sets the run property value. The run property + * @param value Value to set for the run property. + */ + public void setRun(@jakarta.annotation.Nullable final Run value) { + this.backingStore.set("run", value); + } + /** + * Sets the taskScope property value. The taskScope property + * @param value Value to set for the taskScope property. + */ + public void setTaskScope(@jakarta.annotation.Nullable final ActivationTaskScopeType value) { + this.backingStore.set("taskScope", value); + } + /** + * Sets the userScope property value. The userScope property + * @param value Value to set for the userScope property. + */ + public void setUserScope(@jakarta.annotation.Nullable final ActivationUserScopeType value) { + this.backingStore.set("userScope", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateUserScope.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateUserScope.java new file mode 100644 index 00000000000..657a5be35ec --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivateUserScope.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.models.identitygovernance; + +import com.microsoft.graph.models.User; +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 ActivateUserScope extends ActivationScope implements Parsable { + /** + * Instantiates a new {@link ActivateUserScope} and sets the default values. + */ + public ActivateUserScope() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.activateUserScope"); + } + /** + * 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 ActivateUserScope} + */ + @jakarta.annotation.Nonnull + public static ActivateUserScope createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ActivateUserScope(); + } + /** + * 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("users", (n) -> { this.setUsers(n.getCollectionOfObjectValues(User::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the users property value. The users property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getUsers() { + return this.backingStore.get("users"); + } + /** + * 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("users", this.getUsers()); + } + /** + * Sets the users property value. The users property + * @param value Value to set for the users property. + */ + public void setUsers(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("users", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationScope.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationScope.java new file mode 100644 index 00000000000..b1ffd4b9637 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationScope.java @@ -0,0 +1,117 @@ +package com.microsoft.graph.models.identitygovernance; + +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 ActivationScope implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ActivationScope} and sets the default values. + */ + public ActivationScope() { + 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 ActivationScope} + */ + @jakarta.annotation.Nonnull + public static ActivationScope createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.identityGovernance.activateGroupScope": return new ActivateGroupScope(); + case "#microsoft.graph.identityGovernance.activateProcessingResultScope": return new ActivateProcessingResultScope(); + case "#microsoft.graph.identityGovernance.activateRunScope": return new ActivateRunScope(); + case "#microsoft.graph.identityGovernance.activateUserScope": return new ActivateUserScope(); + } + } + return new ActivationScope(); + } + /** + * 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("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * 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("@odata.type", this.getOdataType()); + 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 @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationTaskScopeType.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationTaskScopeType.java new file mode 100644 index 00000000000..25e296874d3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationTaskScopeType.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.models.identitygovernance; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ActivationTaskScopeType implements ValuedEnum { + AllTasks("allTasks"), + FailedTasks("failedTasks"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ActivationTaskScopeType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ActivationTaskScopeType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "allTasks": return AllTasks; + case "failedTasks": return FailedTasks; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationUserScopeType.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationUserScopeType.java new file mode 100644 index 00000000000..84b56ab9847 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/ActivationUserScopeType.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.models.identitygovernance; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ActivationUserScopeType implements ValuedEnum { + AllUsers("allUsers"), + FailedUsers("failedUsers"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ActivationUserScopeType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ActivationUserScopeType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "allUsers": return AllUsers; + case "failedUsers": return FailedUsers; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/Run.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/Run.java index da896693897..6a7de8ac27a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/Run.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/Run.java @@ -26,6 +26,14 @@ public static Run createFromDiscriminatorValue(@jakarta.annotation.Nonnull final Objects.requireNonNull(parseNode); return new Run(); } + /** + * Gets the activatedOnScope property value. The scope for which the workflow runs. + * @return a {@link ActivationScope} + */ + @jakarta.annotation.Nullable + public ActivationScope getActivatedOnScope() { + return this.backingStore.get("activatedOnScope"); + } /** * Gets the completedDateTime property value. The date time that the run completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @return a {@link OffsetDateTime} @@ -57,11 +65,13 @@ public Integer getFailedUsersCount() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("activatedOnScope", (n) -> { this.setActivatedOnScope(n.getObjectValue(ActivationScope::createFromDiscriminatorValue)); }); deserializerMap.put("completedDateTime", (n) -> { this.setCompletedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("failedTasksCount", (n) -> { this.setFailedTasksCount(n.getIntegerValue()); }); deserializerMap.put("failedUsersCount", (n) -> { this.setFailedUsersCount(n.getIntegerValue()); }); deserializerMap.put("lastUpdatedDateTime", (n) -> { this.setLastUpdatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("processingStatus", (n) -> { this.setProcessingStatus(n.getEnumValue(LifecycleWorkflowProcessingStatus::forValue)); }); + deserializerMap.put("reprocessedRuns", (n) -> { this.setReprocessedRuns(n.getCollectionOfObjectValues(Run::createFromDiscriminatorValue)); }); deserializerMap.put("scheduledDateTime", (n) -> { this.setScheduledDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("startedDateTime", (n) -> { this.setStartedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("successfulUsersCount", (n) -> { this.setSuccessfulUsersCount(n.getIntegerValue()); }); @@ -89,6 +99,14 @@ public OffsetDateTime getLastUpdatedDateTime() { public LifecycleWorkflowProcessingStatus getProcessingStatus() { return this.backingStore.get("processingStatus"); } + /** + * Gets the reprocessedRuns property value. The related reprocessed workflow run. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getReprocessedRuns() { + return this.backingStore.get("reprocessedRuns"); + } /** * Gets the scheduledDateTime property value. The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @return a {@link OffsetDateTime} @@ -168,11 +186,13 @@ public WorkflowExecutionType getWorkflowExecutionType() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeObjectValue("activatedOnScope", this.getActivatedOnScope()); writer.writeOffsetDateTimeValue("completedDateTime", this.getCompletedDateTime()); writer.writeIntegerValue("failedTasksCount", this.getFailedTasksCount()); writer.writeIntegerValue("failedUsersCount", this.getFailedUsersCount()); writer.writeOffsetDateTimeValue("lastUpdatedDateTime", this.getLastUpdatedDateTime()); writer.writeEnumValue("processingStatus", this.getProcessingStatus()); + writer.writeCollectionOfObjectValues("reprocessedRuns", this.getReprocessedRuns()); writer.writeOffsetDateTimeValue("scheduledDateTime", this.getScheduledDateTime()); writer.writeOffsetDateTimeValue("startedDateTime", this.getStartedDateTime()); writer.writeIntegerValue("successfulUsersCount", this.getSuccessfulUsersCount()); @@ -183,6 +203,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("userProcessingResults", this.getUserProcessingResults()); writer.writeEnumValue("workflowExecutionType", this.getWorkflowExecutionType()); } + /** + * Sets the activatedOnScope property value. The scope for which the workflow runs. + * @param value Value to set for the activatedOnScope property. + */ + public void setActivatedOnScope(@jakarta.annotation.Nullable final ActivationScope value) { + this.backingStore.set("activatedOnScope", value); + } /** * Sets the completedDateTime property value. The date time that the run completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @param value Value to set for the completedDateTime property. @@ -218,6 +245,13 @@ public void setLastUpdatedDateTime(@jakarta.annotation.Nullable final OffsetDate public void setProcessingStatus(@jakarta.annotation.Nullable final LifecycleWorkflowProcessingStatus value) { this.backingStore.set("processingStatus", value); } + /** + * Sets the reprocessedRuns property value. The related reprocessed workflow run. + * @param value Value to set for the reprocessedRuns property. + */ + public void setReprocessedRuns(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("reprocessedRuns", value); + } /** * Sets the scheduledDateTime property value. The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @param value Value to set for the scheduledDateTime property. diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/UserProcessingResult.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/UserProcessingResult.java index 825cda500b9..b6f3b19d0f9 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/UserProcessingResult.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/UserProcessingResult.java @@ -53,6 +53,7 @@ public Map> getFieldDeserializers deserializerMap.put("completedDateTime", (n) -> { this.setCompletedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("failedTasksCount", (n) -> { this.setFailedTasksCount(n.getIntegerValue()); }); deserializerMap.put("processingStatus", (n) -> { this.setProcessingStatus(n.getEnumValue(LifecycleWorkflowProcessingStatus::forValue)); }); + deserializerMap.put("reprocessedRuns", (n) -> { this.setReprocessedRuns(n.getCollectionOfObjectValues(Run::createFromDiscriminatorValue)); }); deserializerMap.put("scheduledDateTime", (n) -> { this.setScheduledDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("startedDateTime", (n) -> { this.setStartedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("subject", (n) -> { this.setSubject(n.getObjectValue(User::createFromDiscriminatorValue)); }); @@ -71,6 +72,14 @@ public Map> getFieldDeserializers public LifecycleWorkflowProcessingStatus getProcessingStatus() { return this.backingStore.get("processingStatus"); } + /** + * Gets the reprocessedRuns property value. The related reprocessed workflow run. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getReprocessedRuns() { + return this.backingStore.get("reprocessedRuns"); + } /** * Gets the scheduledDateTime property value. The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @return a {@link OffsetDateTime} @@ -80,7 +89,7 @@ public OffsetDateTime getScheduledDateTime() { return this.backingStore.get("scheduledDateTime"); } /** - * Gets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. + * Gets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution hasn't started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -145,6 +154,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("completedDateTime", this.getCompletedDateTime()); writer.writeIntegerValue("failedTasksCount", this.getFailedTasksCount()); writer.writeEnumValue("processingStatus", this.getProcessingStatus()); + writer.writeCollectionOfObjectValues("reprocessedRuns", this.getReprocessedRuns()); writer.writeOffsetDateTimeValue("scheduledDateTime", this.getScheduledDateTime()); writer.writeOffsetDateTimeValue("startedDateTime", this.getStartedDateTime()); writer.writeObjectValue("subject", this.getSubject()); @@ -175,6 +185,13 @@ public void setFailedTasksCount(@jakarta.annotation.Nullable final Integer value public void setProcessingStatus(@jakarta.annotation.Nullable final LifecycleWorkflowProcessingStatus value) { this.backingStore.set("processingStatus", value); } + /** + * Sets the reprocessedRuns property value. The related reprocessed workflow run. + * @param value Value to set for the reprocessedRuns property. + */ + public void setReprocessedRuns(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("reprocessedRuns", value); + } /** * Sets the scheduledDateTime property value. The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @param value Value to set for the scheduledDateTime property. @@ -183,7 +200,7 @@ public void setScheduledDateTime(@jakarta.annotation.Nullable final OffsetDateTi this.backingStore.set("scheduledDateTime", value); } /** - * Sets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. + * Sets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution hasn't started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @param value Value to set for the startedDateTime property. */ public void setStartedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowExecutionType.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowExecutionType.java index c05719693c7..eb86929b2a7 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowExecutionType.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowExecutionType.java @@ -7,7 +7,8 @@ public enum WorkflowExecutionType implements ValuedEnum { Scheduled("scheduled"), OnDemand("onDemand"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + ActivatedWithScope("activatedWithScope"); public final String value; WorkflowExecutionType(final String value) { this.value = value; @@ -21,6 +22,7 @@ public static WorkflowExecutionType forValue(@jakarta.annotation.Nonnull final S case "scheduled": return Scheduled; case "onDemand": return OnDemand; case "unknownFutureValue": return UnknownFutureValue; + case "activatedWithScope": return ActivatedWithScope; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/security/IdentityContainer.java b/src/main/java/com/microsoft/graph/generated/models/security/IdentityContainer.java index f6ecf73fe8f..345ff588996 100644 --- a/src/main/java/com/microsoft/graph/generated/models/security/IdentityContainer.java +++ b/src/main/java/com/microsoft/graph/generated/models/security/IdentityContainer.java @@ -33,6 +33,8 @@ public static IdentityContainer createFromDiscriminatorValue(@jakarta.annotation public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("healthIssues", (n) -> { this.setHealthIssues(n.getCollectionOfObjectValues(HealthIssue::createFromDiscriminatorValue)); }); + deserializerMap.put("sensorCandidateActivationConfiguration", (n) -> { this.setSensorCandidateActivationConfiguration(n.getObjectValue(SensorCandidateActivationConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("sensorCandidates", (n) -> { this.setSensorCandidates(n.getCollectionOfObjectValues(SensorCandidate::createFromDiscriminatorValue)); }); deserializerMap.put("sensors", (n) -> { this.setSensors(n.getCollectionOfObjectValues(Sensor::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -44,6 +46,22 @@ public Map> getFieldDeserializers public java.util.List getHealthIssues() { return this.backingStore.get("healthIssues"); } + /** + * Gets the sensorCandidateActivationConfiguration property value. The sensorCandidateActivationConfiguration property + * @return a {@link SensorCandidateActivationConfiguration} + */ + @jakarta.annotation.Nullable + public SensorCandidateActivationConfiguration getSensorCandidateActivationConfiguration() { + return this.backingStore.get("sensorCandidateActivationConfiguration"); + } + /** + * Gets the sensorCandidates property value. Represents Microsoft Defender for Identity sensors that are ready to be activated. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSensorCandidates() { + return this.backingStore.get("sensorCandidates"); + } /** * Gets the sensors property value. Represents a customer's Microsoft Defender for Identity sensors. * @return a {@link java.util.List} @@ -60,6 +78,8 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeCollectionOfObjectValues("healthIssues", this.getHealthIssues()); + writer.writeObjectValue("sensorCandidateActivationConfiguration", this.getSensorCandidateActivationConfiguration()); + writer.writeCollectionOfObjectValues("sensorCandidates", this.getSensorCandidates()); writer.writeCollectionOfObjectValues("sensors", this.getSensors()); } /** @@ -69,6 +89,20 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setHealthIssues(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("healthIssues", value); } + /** + * Sets the sensorCandidateActivationConfiguration property value. The sensorCandidateActivationConfiguration property + * @param value Value to set for the sensorCandidateActivationConfiguration property. + */ + public void setSensorCandidateActivationConfiguration(@jakarta.annotation.Nullable final SensorCandidateActivationConfiguration value) { + this.backingStore.set("sensorCandidateActivationConfiguration", value); + } + /** + * Sets the sensorCandidates property value. Represents Microsoft Defender for Identity sensors that are ready to be activated. + * @param value Value to set for the sensorCandidates property. + */ + public void setSensorCandidates(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("sensorCandidates", value); + } /** * Sets the sensors property value. Represents a customer's Microsoft Defender for Identity sensors. * @param value Value to set for the sensors property. diff --git a/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidate.java b/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidate.java new file mode 100644 index 00000000000..b46ac1d67e8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidate.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.graph.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SensorCandidate extends Entity implements Parsable { + /** + * Instantiates a new {@link SensorCandidate} and sets the default values. + */ + public SensorCandidate() { + 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 SensorCandidate} + */ + @jakarta.annotation.Nonnull + public static SensorCandidate createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SensorCandidate(); + } + /** + * Gets the computerDnsName property value. The DNS name of the computer associated with the sensor. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getComputerDnsName() { + return this.backingStore.get("computerDnsName"); + } + /** + * 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("computerDnsName", (n) -> { this.setComputerDnsName(n.getStringValue()); }); + deserializerMap.put("lastSeenDateTime", (n) -> { this.setLastSeenDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("senseClientVersion", (n) -> { this.setSenseClientVersion(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the lastSeenDateTime property value. The date and time when the sensor was last seen. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastSeenDateTime() { + return this.backingStore.get("lastSeenDateTime"); + } + /** + * Gets the senseClientVersion property value. The version of the Defender for Identity sensor client. Supports $filter (eq). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSenseClientVersion() { + return this.backingStore.get("senseClientVersion"); + } + /** + * 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.writeStringValue("computerDnsName", this.getComputerDnsName()); + writer.writeOffsetDateTimeValue("lastSeenDateTime", this.getLastSeenDateTime()); + writer.writeStringValue("senseClientVersion", this.getSenseClientVersion()); + } + /** + * Sets the computerDnsName property value. The DNS name of the computer associated with the sensor. + * @param value Value to set for the computerDnsName property. + */ + public void setComputerDnsName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("computerDnsName", value); + } + /** + * Sets the lastSeenDateTime property value. The date and time when the sensor was last seen. + * @param value Value to set for the lastSeenDateTime property. + */ + public void setLastSeenDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastSeenDateTime", value); + } + /** + * Sets the senseClientVersion property value. The version of the Defender for Identity sensor client. Supports $filter (eq). + * @param value Value to set for the senseClientVersion property. + */ + public void setSenseClientVersion(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("senseClientVersion", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateActivationConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateActivationConfiguration.java new file mode 100644 index 00000000000..39278d33390 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateActivationConfiguration.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.graph.models.Entity; +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 SensorCandidateActivationConfiguration extends Entity implements Parsable { + /** + * Instantiates a new {@link SensorCandidateActivationConfiguration} and sets the default values. + */ + public SensorCandidateActivationConfiguration() { + 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 SensorCandidateActivationConfiguration} + */ + @jakarta.annotation.Nonnull + public static SensorCandidateActivationConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SensorCandidateActivationConfiguration(); + } + /** + * Gets the activationMode property value. The activationMode property + * @return a {@link SensorCandidateActivationMode} + */ + @jakarta.annotation.Nullable + public SensorCandidateActivationMode getActivationMode() { + return this.backingStore.get("activationMode"); + } + /** + * 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("activationMode", (n) -> { this.setActivationMode(n.getEnumValue(SensorCandidateActivationMode::forValue)); }); + return deserializerMap; + } + /** + * 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.writeEnumValue("activationMode", this.getActivationMode()); + } + /** + * Sets the activationMode property value. The activationMode property + * @param value Value to set for the activationMode property. + */ + public void setActivationMode(@jakarta.annotation.Nullable final SensorCandidateActivationMode value) { + this.backingStore.set("activationMode", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateActivationMode.java b/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateActivationMode.java new file mode 100644 index 00000000000..b0cbea43a7a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateActivationMode.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum SensorCandidateActivationMode implements ValuedEnum { + Manual("manual"), + Automated("automated"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + SensorCandidateActivationMode(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static SensorCandidateActivationMode forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "manual": return Manual; + case "automated": return Automated; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateCollectionResponse.java new file mode 100644 index 00000000000..ec58ddfab45 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/SensorCandidateCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +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 SensorCandidateCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link SensorCandidateCollectionResponse} and sets the default values. + */ + public SensorCandidateCollectionResponse() { + 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 SensorCandidateCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static SensorCandidateCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SensorCandidateCollectionResponse(); + } + /** + * 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(SensorCandidate::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/generated/organization/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/organization/item/restore/RestoreRequestBuilder.java index e5a3c327fc1..0f0cd0ab631 100644 --- a/src/main/java/com/microsoft/graph/generated/organization/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/organization/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/organization/{organization%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/permissiongrants/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java index df3b8f4f895..4a5ed86035b 100644 --- a/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/permissionGrants/{resourceSpecificPermissionGrant%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/places/item/PlaceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/PlaceItemRequestBuilder.java index 16077f82fee..18f8dbee7bb 100644 --- a/src/main/java/com/microsoft/graph/generated/places/item/PlaceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/places/item/PlaceItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.Place; +import com.microsoft.graph.places.item.checkins.CheckInsRequestBuilder; import com.microsoft.graph.places.item.graphroom.GraphRoomRequestBuilder; import com.microsoft.graph.places.item.graphroomlist.GraphRoomListRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class PlaceItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the checkIns property of the microsoft.graph.place entity. + * @return a {@link CheckInsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInsRequestBuilder checkIns() { + return new CheckInsRequestBuilder(pathParameters, requestAdapter); + } /** * Casts the previous resource to room. * @return a {@link GraphRoomRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/places/item/checkins/CheckInsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/checkins/CheckInsRequestBuilder.java new file mode 100644 index 00000000000..187a04b19d9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/checkins/CheckInsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.places.item.checkins; + +import com.microsoft.graph.models.CheckInClaim; +import com.microsoft.graph.models.CheckInClaimCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.places.item.checkins.count.CountRequestBuilder; +import com.microsoft.graph.places.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder; +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 checkIns property of the microsoft.graph.place entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInsRequestBuilder 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 checkIns property of the microsoft.graph.place entity. + * @param checkInClaimCalendarEventId The unique identifier of checkInClaim + * @return a {@link CheckInClaimCalendarEventItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInClaimCalendarEventItemRequestBuilder byCheckInClaimCalendarEventId(@jakarta.annotation.Nonnull final String checkInClaimCalendarEventId) { + Objects.requireNonNull(checkInClaimCalendarEventId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("checkInClaim%2DcalendarEventId", checkInClaimCalendarEventId); + return new CheckInClaimCalendarEventItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link CheckInsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CheckInsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link CheckInsRequestBuilder} 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 CheckInsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get checkIns from places + * @return a {@link CheckInClaimCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaimCollectionResponse get() { + return get(null); + } + /** + * Get checkIns from places + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaimCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaimCollectionResponse 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, CheckInClaimCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to checkIns for places + * @param body The request body + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim post(@jakarta.annotation.Nonnull final CheckInClaim body) { + return post(body, null); + } + /** + * Create new navigation property to checkIns for places + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim post(@jakarta.annotation.Nonnull final CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Get checkIns from places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get checkIns from places + * @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 checkIns for places + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckInClaim body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to checkIns for places + * @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 CheckInClaim 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 CheckInsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CheckInsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get checkIns from places + */ + @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/generated/places/item/checkins/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/checkins/count/CountRequestBuilder.java new file mode 100644 index 00000000000..30bffa65fdc --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/checkins/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.places.item.checkins.count; + +import com.microsoft.graph.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}/places/{place%2Did}/checkIns/$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}/places/{place%2Did}/checkIns/$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/generated/places/item/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java new file mode 100644 index 00000000000..9a1c3658ff4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.places.item.checkins.item; + +import com.microsoft.graph.models.CheckInClaim; +import com.microsoft.graph.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 checkIns property of the microsoft.graph.place entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInClaimCalendarEventItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CheckInClaimCalendarEventItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CheckInClaimCalendarEventItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CheckInClaimCalendarEventItemRequestBuilder} 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 CheckInClaimCalendarEventItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property checkIns for places + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property checkIns for places + * @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); + } + /** + * Get checkIns from places + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim get() { + return get(null); + } + /** + * Get checkIns from places + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Update the navigation property checkIns in places + * @param body The request body + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim patch(@jakarta.annotation.Nonnull final CheckInClaim body) { + return patch(body, null); + } + /** + * Update the navigation property checkIns in places + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim patch(@jakarta.annotation.Nonnull final CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Delete navigation property checkIns for places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property checkIns for places + * @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; + } + /** + * Get checkIns from places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get checkIns from places + * @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 checkIns in places + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CheckInClaim body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property checkIns in places + * @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 CheckInClaim 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 CheckInClaimCalendarEventItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInClaimCalendarEventItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CheckInClaimCalendarEventItemRequestBuilder(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 { + } + /** + * Get checkIns from places + */ + @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/generated/places/item/graphroom/GraphRoomRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroom/GraphRoomRequestBuilder.java index 2ef53ded419..916b67933b7 100644 --- a/src/main/java/com/microsoft/graph/generated/places/item/graphroom/GraphRoomRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroom/GraphRoomRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.Room; +import com.microsoft.graph.places.item.graphroom.checkins.CheckInsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GraphRoomRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the checkIns property of the microsoft.graph.place entity. + * @return a {@link CheckInsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInsRequestBuilder checkIns() { + return new CheckInsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link GraphRoomRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/generated/places/item/graphroom/checkins/CheckInsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroom/checkins/CheckInsRequestBuilder.java new file mode 100644 index 00000000000..727b0da8da4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroom/checkins/CheckInsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.places.item.graphroom.checkins; + +import com.microsoft.graph.models.CheckInClaim; +import com.microsoft.graph.models.CheckInClaimCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.places.item.graphroom.checkins.count.CountRequestBuilder; +import com.microsoft.graph.places.item.graphroom.checkins.item.CheckInClaimCalendarEventItemRequestBuilder; +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 checkIns property of the microsoft.graph.place entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInsRequestBuilder 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 checkIns property of the microsoft.graph.place entity. + * @param checkInClaimCalendarEventId The unique identifier of checkInClaim + * @return a {@link CheckInClaimCalendarEventItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInClaimCalendarEventItemRequestBuilder byCheckInClaimCalendarEventId(@jakarta.annotation.Nonnull final String checkInClaimCalendarEventId) { + Objects.requireNonNull(checkInClaimCalendarEventId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("checkInClaim%2DcalendarEventId", checkInClaimCalendarEventId); + return new CheckInClaimCalendarEventItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link CheckInsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CheckInsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.room/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link CheckInsRequestBuilder} 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 CheckInsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.room/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get checkIns from places + * @return a {@link CheckInClaimCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaimCollectionResponse get() { + return get(null); + } + /** + * Get checkIns from places + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaimCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaimCollectionResponse 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, CheckInClaimCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to checkIns for places + * @param body The request body + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim post(@jakarta.annotation.Nonnull final CheckInClaim body) { + return post(body, null); + } + /** + * Create new navigation property to checkIns for places + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim post(@jakarta.annotation.Nonnull final CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Get checkIns from places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get checkIns from places + * @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 checkIns for places + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckInClaim body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to checkIns for places + * @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 CheckInClaim 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 CheckInsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CheckInsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get checkIns from places + */ + @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/generated/places/item/graphroom/checkins/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroom/checkins/count/CountRequestBuilder.java new file mode 100644 index 00000000000..ccbdb641fae --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroom/checkins/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.places.item.graphroom.checkins.count; + +import com.microsoft.graph.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}/places/{place%2Did}/graph.room/checkIns/$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}/places/{place%2Did}/graph.room/checkIns/$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/generated/places/item/graphroom/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroom/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java new file mode 100644 index 00000000000..fcbab0ad8b0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroom/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.places.item.graphroom.checkins.item; + +import com.microsoft.graph.models.CheckInClaim; +import com.microsoft.graph.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 checkIns property of the microsoft.graph.place entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInClaimCalendarEventItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CheckInClaimCalendarEventItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CheckInClaimCalendarEventItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.room/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CheckInClaimCalendarEventItemRequestBuilder} 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 CheckInClaimCalendarEventItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.room/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property checkIns for places + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property checkIns for places + * @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); + } + /** + * Get checkIns from places + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim get() { + return get(null); + } + /** + * Get checkIns from places + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Update the navigation property checkIns in places + * @param body The request body + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim patch(@jakarta.annotation.Nonnull final CheckInClaim body) { + return patch(body, null); + } + /** + * Update the navigation property checkIns in places + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim patch(@jakarta.annotation.Nonnull final CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Delete navigation property checkIns for places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property checkIns for places + * @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; + } + /** + * Get checkIns from places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get checkIns from places + * @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 checkIns in places + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CheckInClaim body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property checkIns in places + * @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 CheckInClaim 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 CheckInClaimCalendarEventItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInClaimCalendarEventItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CheckInClaimCalendarEventItemRequestBuilder(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 { + } + /** + * Get checkIns from places + */ + @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/generated/places/item/graphroomlist/GraphRoomListRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/GraphRoomListRequestBuilder.java index 84efba59c35..f264ec4bbae 100644 --- a/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/GraphRoomListRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/GraphRoomListRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.RoomList; +import com.microsoft.graph.places.item.graphroomlist.checkins.CheckInsRequestBuilder; import com.microsoft.graph.places.item.graphroomlist.rooms.RoomsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GraphRoomListRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the checkIns property of the microsoft.graph.place entity. + * @return a {@link CheckInsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInsRequestBuilder checkIns() { + return new CheckInsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the rooms property of the microsoft.graph.roomList entity. * @return a {@link RoomsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/checkins/CheckInsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/checkins/CheckInsRequestBuilder.java new file mode 100644 index 00000000000..24632fec6f8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/checkins/CheckInsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.places.item.graphroomlist.checkins; + +import com.microsoft.graph.models.CheckInClaim; +import com.microsoft.graph.models.CheckInClaimCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.places.item.graphroomlist.checkins.count.CountRequestBuilder; +import com.microsoft.graph.places.item.graphroomlist.checkins.item.CheckInClaimCalendarEventItemRequestBuilder; +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 checkIns property of the microsoft.graph.place entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInsRequestBuilder 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 checkIns property of the microsoft.graph.place entity. + * @param checkInClaimCalendarEventId The unique identifier of checkInClaim + * @return a {@link CheckInClaimCalendarEventItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInClaimCalendarEventItemRequestBuilder byCheckInClaimCalendarEventId(@jakarta.annotation.Nonnull final String checkInClaimCalendarEventId) { + Objects.requireNonNull(checkInClaimCalendarEventId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("checkInClaim%2DcalendarEventId", checkInClaimCalendarEventId); + return new CheckInClaimCalendarEventItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link CheckInsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CheckInsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link CheckInsRequestBuilder} 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 CheckInsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get checkIns from places + * @return a {@link CheckInClaimCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaimCollectionResponse get() { + return get(null); + } + /** + * Get checkIns from places + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaimCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaimCollectionResponse 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, CheckInClaimCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to checkIns for places + * @param body The request body + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim post(@jakarta.annotation.Nonnull final CheckInClaim body) { + return post(body, null); + } + /** + * Create new navigation property to checkIns for places + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim post(@jakarta.annotation.Nonnull final CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Get checkIns from places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get checkIns from places + * @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 checkIns for places + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckInClaim body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to checkIns for places + * @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 CheckInClaim 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 CheckInsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CheckInsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get checkIns from places + */ + @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/generated/places/item/graphroomlist/checkins/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/checkins/count/CountRequestBuilder.java new file mode 100644 index 00000000000..61055361264 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/checkins/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.places.item.graphroomlist.checkins.count; + +import com.microsoft.graph.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}/places/{place%2Did}/graph.roomList/checkIns/$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}/places/{place%2Did}/graph.roomList/checkIns/$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/generated/places/item/graphroomlist/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java new file mode 100644 index 00000000000..868f7f9e8af --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.places.item.graphroomlist.checkins.item; + +import com.microsoft.graph.models.CheckInClaim; +import com.microsoft.graph.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 checkIns property of the microsoft.graph.place entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInClaimCalendarEventItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CheckInClaimCalendarEventItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CheckInClaimCalendarEventItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CheckInClaimCalendarEventItemRequestBuilder} 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 CheckInClaimCalendarEventItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property checkIns for places + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property checkIns for places + * @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); + } + /** + * Get checkIns from places + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim get() { + return get(null); + } + /** + * Get checkIns from places + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Update the navigation property checkIns in places + * @param body The request body + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim patch(@jakarta.annotation.Nonnull final CheckInClaim body) { + return patch(body, null); + } + /** + * Update the navigation property checkIns in places + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim patch(@jakarta.annotation.Nonnull final CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Delete navigation property checkIns for places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property checkIns for places + * @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; + } + /** + * Get checkIns from places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get checkIns from places + * @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 checkIns in places + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CheckInClaim body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property checkIns in places + * @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 CheckInClaim 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 CheckInClaimCalendarEventItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInClaimCalendarEventItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CheckInClaimCalendarEventItemRequestBuilder(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 { + } + /** + * Get checkIns from places + */ + @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/generated/places/item/graphroomlist/rooms/item/RoomItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/RoomItemRequestBuilder.java index caf3652c43e..4f24d5d6142 100644 --- a/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/RoomItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/RoomItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.Room; +import com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.CheckInsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -20,6 +21,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class RoomItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the checkIns property of the microsoft.graph.place entity. + * @return a {@link CheckInsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInsRequestBuilder checkIns() { + return new CheckInsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link RoomItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/checkins/CheckInsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/checkins/CheckInsRequestBuilder.java new file mode 100644 index 00000000000..bc28d5847bc --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/checkins/CheckInsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins; + +import com.microsoft.graph.models.CheckInClaim; +import com.microsoft.graph.models.CheckInClaimCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count.CountRequestBuilder; +import com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item.CheckInClaimCalendarEventItemRequestBuilder; +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 checkIns property of the microsoft.graph.place entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInsRequestBuilder 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 checkIns property of the microsoft.graph.place entity. + * @param checkInClaimCalendarEventId The unique identifier of checkInClaim + * @return a {@link CheckInClaimCalendarEventItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInClaimCalendarEventItemRequestBuilder byCheckInClaimCalendarEventId(@jakarta.annotation.Nonnull final String checkInClaimCalendarEventId) { + Objects.requireNonNull(checkInClaimCalendarEventId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("checkInClaim%2DcalendarEventId", checkInClaimCalendarEventId); + return new CheckInClaimCalendarEventItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link CheckInsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CheckInsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link CheckInsRequestBuilder} 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 CheckInsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get checkIns from places + * @return a {@link CheckInClaimCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaimCollectionResponse get() { + return get(null); + } + /** + * Get checkIns from places + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaimCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaimCollectionResponse 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, CheckInClaimCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to checkIns for places + * @param body The request body + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim post(@jakarta.annotation.Nonnull final CheckInClaim body) { + return post(body, null); + } + /** + * Create new navigation property to checkIns for places + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim post(@jakarta.annotation.Nonnull final CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Get checkIns from places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get checkIns from places + * @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 checkIns for places + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckInClaim body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to checkIns for places + * @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 CheckInClaim 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 CheckInsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CheckInsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get checkIns from places + */ + @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/generated/places/item/graphroomlist/rooms/item/checkins/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/checkins/count/CountRequestBuilder.java new file mode 100644 index 00000000000..83d71e52074 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/checkins/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.count; + +import com.microsoft.graph.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}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns/$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}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns/$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/generated/places/item/graphroomlist/rooms/item/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java new file mode 100644 index 00000000000..3b29b381d2c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/places/item/graphroomlist/rooms/item/checkins/item/CheckInClaimCalendarEventItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.places.item.graphroomlist.rooms.item.checkins.item; + +import com.microsoft.graph.models.CheckInClaim; +import com.microsoft.graph.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 checkIns property of the microsoft.graph.place entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CheckInClaimCalendarEventItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CheckInClaimCalendarEventItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CheckInClaimCalendarEventItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CheckInClaimCalendarEventItemRequestBuilder} 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 CheckInClaimCalendarEventItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property checkIns for places + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property checkIns for places + * @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); + } + /** + * Get checkIns from places + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim get() { + return get(null); + } + /** + * Get checkIns from places + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Update the navigation property checkIns in places + * @param body The request body + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim patch(@jakarta.annotation.Nonnull final CheckInClaim body) { + return patch(body, null); + } + /** + * Update the navigation property checkIns in places + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CheckInClaim} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CheckInClaim patch(@jakarta.annotation.Nonnull final CheckInClaim 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, CheckInClaim::createFromDiscriminatorValue); + } + /** + * Delete navigation property checkIns for places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property checkIns for places + * @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; + } + /** + * Get checkIns from places + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get checkIns from places + * @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 checkIns in places + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CheckInClaim body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property checkIns in places + * @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 CheckInClaim 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 CheckInClaimCalendarEventItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CheckInClaimCalendarEventItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CheckInClaimCalendarEventItemRequestBuilder(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 { + } + /** + * Get checkIns from places + */ + @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/generated/security/identities/IdentitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/identities/IdentitiesRequestBuilder.java index 24c8631d2aa..c4344119e11 100644 --- a/src/main/java/com/microsoft/graph/generated/security/identities/IdentitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/security/identities/IdentitiesRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.security.IdentityContainer; import com.microsoft.graph.security.identities.healthissues.HealthIssuesRequestBuilder; +import com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration.SensorCandidateActivationConfigurationRequestBuilder; +import com.microsoft.graph.security.identities.sensorcandidates.SensorCandidatesRequestBuilder; import com.microsoft.graph.security.identities.sensors.SensorsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -30,6 +32,22 @@ public class IdentitiesRequestBuilder extends BaseRequestBuilder { public HealthIssuesRequestBuilder healthIssues() { return new HealthIssuesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the sensorCandidateActivationConfiguration property of the microsoft.graph.security.identityContainer entity. + * @return a {@link SensorCandidateActivationConfigurationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SensorCandidateActivationConfigurationRequestBuilder sensorCandidateActivationConfiguration() { + return new SensorCandidateActivationConfigurationRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the sensorCandidates property of the microsoft.graph.security.identityContainer entity. + * @return a {@link SensorCandidatesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SensorCandidatesRequestBuilder sensorCandidates() { + return new SensorCandidatesRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. * @return a {@link SensorsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidateactivationconfiguration/SensorCandidateActivationConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidateactivationconfiguration/SensorCandidateActivationConfigurationRequestBuilder.java new file mode 100644 index 00000000000..883cfb6020c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidateactivationconfiguration/SensorCandidateActivationConfigurationRequestBuilder.java @@ -0,0 +1,230 @@ +package com.microsoft.graph.security.identities.sensorcandidateactivationconfiguration; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.security.SensorCandidateActivationConfiguration; +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 sensorCandidateActivationConfiguration property of the microsoft.graph.security.identityContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SensorCandidateActivationConfigurationRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link SensorCandidateActivationConfigurationRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SensorCandidateActivationConfigurationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/identities/sensorCandidateActivationConfiguration{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SensorCandidateActivationConfigurationRequestBuilder} 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 SensorCandidateActivationConfigurationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/identities/sensorCandidateActivationConfiguration{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property sensorCandidateActivationConfiguration for security + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property sensorCandidateActivationConfiguration for security + * @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); + } + /** + * Read the properties and relationships of microsoft.graph.security.sensorCandidateActivationConfiguration object. + * @return a {@link SensorCandidateActivationConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensorCandidateActivationConfiguration get() { + return get(null); + } + /** + * Read the properties and relationships of microsoft.graph.security.sensorCandidateActivationConfiguration object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensorCandidateActivationConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensorCandidateActivationConfiguration 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, SensorCandidateActivationConfiguration::createFromDiscriminatorValue); + } + /** + * Update the navigation property sensorCandidateActivationConfiguration in security + * @param body The request body + * @return a {@link SensorCandidateActivationConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SensorCandidateActivationConfiguration patch(@jakarta.annotation.Nonnull final SensorCandidateActivationConfiguration body) { + return patch(body, null); + } + /** + * Update the navigation property sensorCandidateActivationConfiguration in security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensorCandidateActivationConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SensorCandidateActivationConfiguration patch(@jakarta.annotation.Nonnull final SensorCandidateActivationConfiguration 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, SensorCandidateActivationConfiguration::createFromDiscriminatorValue); + } + /** + * Delete navigation property sensorCandidateActivationConfiguration for security + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property sensorCandidateActivationConfiguration for security + * @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; + } + /** + * Read the properties and relationships of microsoft.graph.security.sensorCandidateActivationConfiguration object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of microsoft.graph.security.sensorCandidateActivationConfiguration object. + * @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 sensorCandidateActivationConfiguration in security + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SensorCandidateActivationConfiguration body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property sensorCandidateActivationConfiguration in security + * @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 SensorCandidateActivationConfiguration 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 SensorCandidateActivationConfigurationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SensorCandidateActivationConfigurationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SensorCandidateActivationConfigurationRequestBuilder(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 { + } + /** + * Read the properties and relationships of microsoft.graph.security.sensorCandidateActivationConfiguration object. + */ + @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/generated/security/identities/sensorcandidates/SensorCandidatesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/SensorCandidatesRequestBuilder.java new file mode 100644 index 00000000000..8c7df56d30f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/SensorCandidatesRequestBuilder.java @@ -0,0 +1,254 @@ +package com.microsoft.graph.security.identities.sensorcandidates; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.security.SensorCandidate; +import com.microsoft.graph.models.security.SensorCandidateCollectionResponse; +import com.microsoft.graph.security.identities.sensorcandidates.count.CountRequestBuilder; +import com.microsoft.graph.security.identities.sensorcandidates.item.SensorCandidateItemRequestBuilder; +import com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate.MicrosoftGraphSecurityActivateRequestBuilder; +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 sensorCandidates property of the microsoft.graph.security.identityContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SensorCandidatesRequestBuilder 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 call the activate method. + * @return a {@link MicrosoftGraphSecurityActivateRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphSecurityActivateRequestBuilder microsoftGraphSecurityActivate() { + return new MicrosoftGraphSecurityActivateRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the sensorCandidates property of the microsoft.graph.security.identityContainer entity. + * @param sensorCandidateId The unique identifier of sensorCandidate + * @return a {@link SensorCandidateItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SensorCandidateItemRequestBuilder bySensorCandidateId(@jakarta.annotation.Nonnull final String sensorCandidateId) { + Objects.requireNonNull(sensorCandidateId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("sensorCandidate%2Did", sensorCandidateId); + return new SensorCandidateItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link SensorCandidatesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SensorCandidatesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/identities/sensorCandidates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link SensorCandidatesRequestBuilder} 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 SensorCandidatesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/identities/sensorCandidates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the sensorCandidate objects and their properties. + * @return a {@link SensorCandidateCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensorCandidateCollectionResponse get() { + return get(null); + } + /** + * Get a list of the sensorCandidate objects and their properties. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensorCandidateCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SensorCandidateCollectionResponse 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, SensorCandidateCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to sensorCandidates for security + * @param body The request body + * @return a {@link SensorCandidate} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SensorCandidate post(@jakarta.annotation.Nonnull final SensorCandidate body) { + return post(body, null); + } + /** + * Create new navigation property to sensorCandidates for security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensorCandidate} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SensorCandidate post(@jakarta.annotation.Nonnull final SensorCandidate 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, SensorCandidate::createFromDiscriminatorValue); + } + /** + * Get a list of the sensorCandidate objects and their properties. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the sensorCandidate objects and their properties. + * @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 sensorCandidates for security + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SensorCandidate body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to sensorCandidates for security + * @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 SensorCandidate 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 SensorCandidatesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SensorCandidatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SensorCandidatesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the sensorCandidate objects and their properties. + */ + @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/generated/security/identities/sensorcandidates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/count/CountRequestBuilder.java new file mode 100644 index 00000000000..6ea46674bb3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.security.identities.sensorcandidates.count; + +import com.microsoft.graph.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}/security/identities/sensorCandidates/$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}/security/identities/sensorCandidates/$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/generated/security/identities/sensorcandidates/item/SensorCandidateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/item/SensorCandidateItemRequestBuilder.java new file mode 100644 index 00000000000..2245e70c6be --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/item/SensorCandidateItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.security.identities.sensorcandidates.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.security.SensorCandidate; +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 sensorCandidates property of the microsoft.graph.security.identityContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SensorCandidateItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link SensorCandidateItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SensorCandidateItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/identities/sensorCandidates/{sensorCandidate%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SensorCandidateItemRequestBuilder} 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 SensorCandidateItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/identities/sensorCandidates/{sensorCandidate%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property sensorCandidates for security + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property sensorCandidates for security + * @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); + } + /** + * Represents Microsoft Defender for Identity sensors that are ready to be activated. + * @return a {@link SensorCandidate} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SensorCandidate get() { + return get(null); + } + /** + * Represents Microsoft Defender for Identity sensors that are ready to be activated. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensorCandidate} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SensorCandidate 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, SensorCandidate::createFromDiscriminatorValue); + } + /** + * Update the navigation property sensorCandidates in security + * @param body The request body + * @return a {@link SensorCandidate} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SensorCandidate patch(@jakarta.annotation.Nonnull final SensorCandidate body) { + return patch(body, null); + } + /** + * Update the navigation property sensorCandidates in security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SensorCandidate} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SensorCandidate patch(@jakarta.annotation.Nonnull final SensorCandidate 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, SensorCandidate::createFromDiscriminatorValue); + } + /** + * Delete navigation property sensorCandidates for security + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property sensorCandidates for security + * @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; + } + /** + * Represents Microsoft Defender for Identity sensors that are ready to be activated. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents Microsoft Defender for Identity sensors that are ready to be activated. + * @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 sensorCandidates in security + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SensorCandidate body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property sensorCandidates in security + * @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 SensorCandidate 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 SensorCandidateItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SensorCandidateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SensorCandidateItemRequestBuilder(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 { + } + /** + * Represents Microsoft Defender for Identity sensors that are ready to be activated. + */ + @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/generated/security/identities/sensorcandidates/microsoftgraphsecurityactivate/ActivatePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/microsoftgraphsecurityactivate/ActivatePostRequestBody.java new file mode 100644 index 00000000000..761ec4eb07b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/microsoftgraphsecurityactivate/ActivatePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate; + +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 ActivatePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ActivatePostRequestBody} and sets the default values. + */ + public ActivatePostRequestBody() { + 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 ActivatePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ActivatePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ActivatePostRequestBody(); + } + /** + * 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("serverIds", (n) -> { this.setServerIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the serverIds property value. The serverIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getServerIds() { + return this.backingStore.get("serverIds"); + } + /** + * 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.writeCollectionOfPrimitiveValues("serverIds", this.getServerIds()); + 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 serverIds property value. The serverIds property + * @param value Value to set for the serverIds property. + */ + public void setServerIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("serverIds", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/microsoftgraphsecurityactivate/MicrosoftGraphSecurityActivateRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/microsoftgraphsecurityactivate/MicrosoftGraphSecurityActivateRequestBuilder.java new file mode 100644 index 00000000000..57184b831c4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/identities/sensorcandidates/microsoftgraphsecurityactivate/MicrosoftGraphSecurityActivateRequestBuilder.java @@ -0,0 +1,98 @@ +package com.microsoft.graph.security.identities.sensorcandidates.microsoftgraphsecurityactivate; + +import com.microsoft.graph.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 activate method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphSecurityActivateRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphSecurityActivateRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphSecurityActivateRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/identities/sensorCandidates/microsoft.graph.security.activate", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphSecurityActivateRequestBuilder} 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 MicrosoftGraphSecurityActivateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/identities/sensorCandidates/microsoft.graph.security.activate", rawUrl); + } + /** + * Activate Microsoft Defender for Identity sensors. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) { + post(body, null); + } + /** + * Activate Microsoft Defender for Identity sensors. + * @param body The request body + * @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 post(@jakarta.annotation.Nonnull final ActivatePostRequestBody 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); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Activate Microsoft Defender for Identity sensors. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Activate Microsoft Defender for Identity sensors. + * @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 ActivatePostRequestBody 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 MicrosoftGraphSecurityActivateRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphSecurityActivateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphSecurityActivateRequestBuilder(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/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java index c9f5e13fac3..5ca3c21cfab 100644 --- a/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/generated/users/item/employeeexperience/EmployeeExperienceRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/EmployeeExperienceRequestBuilder.java index 28bfb738b25..da15f3ced54 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/EmployeeExperienceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/EmployeeExperienceRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.models.EmployeeExperienceUser; import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.AssignedRolesRequestBuilder; import com.microsoft.graph.users.item.employeeexperience.learningcourseactivities.LearningCourseActivitiesRequestBuilder; import com.microsoft.graph.users.item.employeeexperience.learningcourseactivitieswithexternalcourseactivityid.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class EmployeeExperienceRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + * @return a {@link AssignedRolesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AssignedRolesRequestBuilder assignedRoles() { + return new AssignedRolesRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. * @return a {@link LearningCourseActivitiesRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/AssignedRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/AssignedRolesRequestBuilder.java new file mode 100644 index 00000000000..db2756778f5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/AssignedRolesRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles; + +import com.microsoft.graph.models.EngagementRole; +import com.microsoft.graph.models.EngagementRoleCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.count.CountRequestBuilder; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.item.EngagementRoleItemRequestBuilder; +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 assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AssignedRolesRequestBuilder 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 assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + * @param engagementRoleId The unique identifier of engagementRole + * @return a {@link EngagementRoleItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EngagementRoleItemRequestBuilder byEngagementRoleId(@jakarta.annotation.Nonnull final String engagementRoleId) { + Objects.requireNonNull(engagementRoleId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("engagementRole%2Did", engagementRoleId); + return new EngagementRoleItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AssignedRolesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AssignedRolesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AssignedRolesRequestBuilder} 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 AssignedRolesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of all the roles assigned to a user in Viva Engage. + * @return a {@link EngagementRoleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EngagementRoleCollectionResponse get() { + return get(null); + } + /** + * Get a list of all the roles assigned to a user in Viva Engage. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EngagementRoleCollectionResponse 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, EngagementRoleCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to assignedRoles for users + * @param body The request body + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole post(@jakarta.annotation.Nonnull final EngagementRole body) { + return post(body, null); + } + /** + * Create new navigation property to assignedRoles for users + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole post(@jakarta.annotation.Nonnull final EngagementRole 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, EngagementRole::createFromDiscriminatorValue); + } + /** + * Get a list of all the roles assigned to a user in Viva Engage. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of all the roles assigned to a user in Viva Engage. + * @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 assignedRoles for users + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to assignedRoles for users + * @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 EngagementRole 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 AssignedRolesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AssignedRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AssignedRolesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of all the roles assigned to a user in Viva Engage. + */ + @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/generated/users/item/employeeexperience/assignedroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/count/CountRequestBuilder.java new file mode 100644 index 00000000000..0fda4398fed --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.count; + +import com.microsoft.graph.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}/users/{user%2Did}/employeeExperience/assignedRoles/$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}/users/{user%2Did}/employeeExperience/assignedRoles/$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/generated/users/item/employeeexperience/assignedroles/item/EngagementRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/EngagementRoleItemRequestBuilder.java new file mode 100644 index 00000000000..65ad383fb2a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/EngagementRoleItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.item; + +import com.microsoft.graph.models.EngagementRole; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.MembersRequestBuilder; +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 assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EngagementRoleItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + * @return a {@link MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder members() { + return new MembersRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link EngagementRoleItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public EngagementRoleItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link EngagementRoleItemRequestBuilder} 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 EngagementRoleItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property assignedRoles for users + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property assignedRoles for users + * @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); + } + /** + * Represents the collection of Viva Engage roles assigned to a user. + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole get() { + return get(null); + } + /** + * Represents the collection of Viva Engage roles assigned to a user. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole 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, EngagementRole::createFromDiscriminatorValue); + } + /** + * Update the navigation property assignedRoles in users + * @param body The request body + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole patch(@jakarta.annotation.Nonnull final EngagementRole body) { + return patch(body, null); + } + /** + * Update the navigation property assignedRoles in users + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRole} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRole patch(@jakarta.annotation.Nonnull final EngagementRole 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, EngagementRole::createFromDiscriminatorValue); + } + /** + * Delete navigation property assignedRoles for users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property assignedRoles for users + * @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; + } + /** + * Represents the collection of Viva Engage roles assigned to a user. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents the collection of Viva Engage roles assigned to a user. + * @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 assignedRoles in users + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property assignedRoles in users + * @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 EngagementRole 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 EngagementRoleItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EngagementRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new EngagementRoleItemRequestBuilder(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 { + } + /** + * Represents the collection of Viva Engage roles assigned to a user. + */ + @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/generated/users/item/employeeexperience/assignedroles/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/MembersRequestBuilder.java new file mode 100644 index 00000000000..6ce758d90b4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/MembersRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members; + +import com.microsoft.graph.models.EngagementRoleMember; +import com.microsoft.graph.models.EngagementRoleMemberCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count.CountRequestBuilder; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.EngagementRoleMemberItemRequestBuilder; +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 members property of the microsoft.graph.engagementRole entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MembersRequestBuilder 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 members property of the microsoft.graph.engagementRole entity. + * @param engagementRoleMemberId The unique identifier of engagementRoleMember + * @return a {@link EngagementRoleMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EngagementRoleMemberItemRequestBuilder byEngagementRoleMemberId(@jakarta.annotation.Nonnull final String engagementRoleMemberId) { + Objects.requireNonNull(engagementRoleMemberId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("engagementRoleMember%2Did", engagementRoleMemberId); + return new EngagementRoleMemberItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link MembersRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MembersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link MembersRequestBuilder} 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 MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Users that have this role assigned. + * @return a {@link EngagementRoleMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMemberCollectionResponse get() { + return get(null); + } + /** + * Users that have this role assigned. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMemberCollectionResponse 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, EngagementRoleMemberCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to members for users + * @param body The request body + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember post(@jakarta.annotation.Nonnull final EngagementRoleMember body) { + return post(body, null); + } + /** + * Create new navigation property to members for users + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember post(@jakarta.annotation.Nonnull final EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue); + } + /** + * Users that have this role assigned. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Users that have this role assigned. + * @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 members for users + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementRoleMember body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to members for users + * @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 EngagementRoleMember 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 MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MembersRequestBuilder(rawUrl, requestAdapter); + } + /** + * Users that have this role assigned. + */ + @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/generated/users/item/employeeexperience/assignedroles/item/members/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/count/CountRequestBuilder.java new file mode 100644 index 00000000000..6805ece64ec --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.count; + +import com.microsoft.graph.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}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$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}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$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/generated/users/item/employeeexperience/assignedroles/item/members/item/EngagementRoleMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/EngagementRoleMemberItemRequestBuilder.java new file mode 100644 index 00000000000..9b308e3e519 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/EngagementRoleMemberItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item; + +import com.microsoft.graph.models.EngagementRoleMember; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.UserRequestBuilder; +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 members property of the microsoft.graph.engagementRole entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EngagementRoleMemberItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. + * @return a {@link UserRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserRequestBuilder user() { + return new UserRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link EngagementRoleMemberItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public EngagementRoleMemberItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link EngagementRoleMemberItemRequestBuilder} 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 EngagementRoleMemberItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property members for users + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property members for users + * @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); + } + /** + * Users that have this role assigned. + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember get() { + return get(null); + } + /** + * Users that have this role assigned. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue); + } + /** + * Update the navigation property members in users + * @param body The request body + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember patch(@jakarta.annotation.Nonnull final EngagementRoleMember body) { + return patch(body, null); + } + /** + * Update the navigation property members in users + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EngagementRoleMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public EngagementRoleMember patch(@jakarta.annotation.Nonnull final EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue); + } + /** + * Delete navigation property members for users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property members for users + * @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; + } + /** + * Users that have this role assigned. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Users that have this role assigned. + * @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 members in users + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRoleMember body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property members in users + * @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 EngagementRoleMember 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 EngagementRoleMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EngagementRoleMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new EngagementRoleMemberItemRequestBuilder(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 { + } + /** + * Users that have this role assigned. + */ + @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/generated/users/item/employeeexperience/assignedroles/item/members/item/user/UserRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/UserRequestBuilder.java new file mode 100644 index 00000000000..cb9c15bf3a5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/UserRequestBuilder.java @@ -0,0 +1,147 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.User; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder; +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 user property of the microsoft.graph.engagementRoleMember entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserRequestBuilder extends BaseRequestBuilder { + /** + * The mailboxSettings property + * @return a {@link MailboxSettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MailboxSettingsRequestBuilder mailboxSettings() { + return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); + } + /** + * The serviceProvisioningErrors property + * @return a {@link ServiceProvisioningErrorsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { + return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link UserRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link UserRequestBuilder} 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 UserRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", rawUrl); + } + /** + * The user who has this role assigned. + * @return a {@link User} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public User get() { + return get(null); + } + /** + * The user who has this role assigned. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link User} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public User 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, User::createFromDiscriminatorValue); + } + /** + * The user who has this role assigned. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The user who has this role assigned. + * @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 UserRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserRequestBuilder(rawUrl, requestAdapter); + } + /** + * The user who has this role assigned. + */ + @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(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java new file mode 100644 index 00000000000..52925ab2ffd --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -0,0 +1,184 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.mailboxsettings; + +import com.microsoft.graph.models.MailboxSettings; +import com.microsoft.graph.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; +/** + * Builds and executes requests for operations under /users/{user-id}/employeeExperience/assignedRoles/{engagementRole-id}/members/{engagementRoleMember-id}/user/mailboxSettings + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MailboxSettingsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MailboxSettingsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link MailboxSettingsRequestBuilder} 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 MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", rawUrl); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + * @return a {@link MailboxSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MailboxSettings get() { + return get(null); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link MailboxSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MailboxSettings 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, MailboxSettings::createFromDiscriminatorValue); + } + /** + * Update property mailboxSettings value. + * @param body The request body + * @return a {@link MailboxSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { + return patch(body, null); + } + /** + * Update property mailboxSettings value. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link MailboxSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings 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, MailboxSettings::createFromDiscriminatorValue); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + * @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 property mailboxSettings value. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { + return toPatchRequestInformation(body, null); + } + /** + * Update property mailboxSettings value. + * @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 MailboxSettings 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 MailboxSettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + */ + @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/generated/users/item/employeeexperience/assignedroles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java new file mode 100644 index 00000000000..8b716db9b47 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -0,0 +1,174 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.ServiceProvisioningErrorCollectionResponse; +import com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder; +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; +/** + * Builds and executes requests for operations under /users/{user-id}/employeeExperience/assignedRoles/{engagementRole-id}/members/{engagementRoleMember-id}/user/serviceProvisioningErrors + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ServiceProvisioningErrorsRequestBuilder 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); + } + /** + * Instantiates a new {@link ServiceProvisioningErrorsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ServiceProvisioningErrorsRequestBuilder} 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 ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + * @return a {@link ServiceProvisioningErrorCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ServiceProvisioningErrorCollectionResponse get() { + return get(null); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ServiceProvisioningErrorCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ServiceProvisioningErrorCollectionResponse 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, ServiceProvisioningErrorCollectionResponse::createFromDiscriminatorValue); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + * @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 ServiceProvisioningErrorsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + */ + @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/generated/users/item/employeeexperience/assignedroles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java new file mode 100644 index 00000000000..535b30ab969 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/employeeexperience/assignedroles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.users.item.employeeexperience.assignedroles.item.members.item.user.serviceprovisioningerrors.count; + +import com.microsoft.graph.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}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$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}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$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/generated/users/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java index 627d4cfdfd1..65f5920b7ca 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/users/{user%2Did}/restore", rawUrl); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */