diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java index 325ac6d9977..c3c6199ba2f 100644 --- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java @@ -36,7 +36,7 @@ public IncidentReportRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}/issues/{serviceHealthIssue%2Did}/incidentReport()", rawUrl); } /** - * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public InputStream get() { return get(null); } /** - * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class); } /** - * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. * @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/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java index dbcd8d50f75..fbde7e259ce 100644 --- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. + * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant. * @return a {@link ServiceHealthIssue} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -74,7 +74,7 @@ public ServiceHealthIssue get() { return get(null); } /** - * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. + * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceHealthIssue} * @throws ODataError When receiving a 4XX or 5XX status code @@ -133,7 +133,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. + * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -141,7 +141,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. + * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -193,7 +193,7 @@ public ServiceHealthIssueItemRequestBuilder withUrl(@jakarta.annotation.Nonnull public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. + * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/incidentreport/IncidentReportRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/incidentreport/IncidentReportRequestBuilder.java index 92920ad1091..471b6c0142f 100644 --- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/incidentreport/IncidentReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/incidentreport/IncidentReportRequestBuilder.java @@ -36,7 +36,7 @@ public IncidentReportRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/issues/{serviceHealthIssue%2Did}/incidentReport()", rawUrl); } /** - * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public InputStream get() { return get(null); } /** - * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class); } /** - * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. * @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/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java index 6a7f42e67c1..60494b0b69e 100644 --- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java @@ -73,7 +73,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. + * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant. * @return a {@link ServiceUpdateMessage} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -83,7 +83,7 @@ public ServiceUpdateMessage get() { return get(null); } /** - * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. + * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceUpdateMessage} * @throws ODataError When receiving a 4XX or 5XX status code @@ -142,7 +142,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. + * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. + * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -202,7 +202,7 @@ public ServiceUpdateMessageItemRequestBuilder withUrl(@jakarta.annotation.Nonnul public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. + * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/communications/calls/item/keepalive/KeepAliveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/communications/calls/item/keepalive/KeepAliveRequestBuilder.java index 24fba25fdd0..e5e89472984 100644 --- a/src/main/java/com/microsoft/graph/generated/communications/calls/item/keepalive/KeepAliveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/communications/calls/item/keepalive/KeepAliveRequestBuilder.java @@ -35,7 +35,7 @@ public KeepAliveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/keepAlive", rawUrl); } /** - * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -43,7 +43,7 @@ public void post() { post(null); } /** - * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. * @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 @@ -55,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -63,7 +63,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. * @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/communications/calls/item/reject/RejectRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/communications/calls/item/reject/RejectRequestBuilder.java index 39b6c96a333..3687fa251d0 100644 --- a/src/main/java/com/microsoft/graph/generated/communications/calls/item/reject/RejectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/communications/calls/item/reject/RejectRequestBuilder.java @@ -35,7 +35,7 @@ public RejectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/reject", rawUrl); } /** - * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -44,7 +44,7 @@ public void post(@jakarta.annotation.Nonnull final RejectPostRequestBody body) { post(body, null); } /** - * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. * @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 @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final RejectPostRequestBody body, @ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. * @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/drives/item/items/item/workbook/tablerowoperationresultwithkey/TableRowOperationResultWithKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tablerowoperationresultwithkey/TableRowOperationResultWithKeyRequestBuilder.java index a26bce4db66..febee951b25 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tablerowoperationresultwithkey/TableRowOperationResultWithKeyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tablerowoperationresultwithkey/TableRowOperationResultWithKeyRequestBuilder.java @@ -38,7 +38,7 @@ public TableRowOperationResultWithKeyRequestBuilder(@jakarta.annotation.Nonnull super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tableRowOperationResult(key='{key}')", rawUrl); } /** - * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. + * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function doesn't do anything if called independently. * @return a {@link WorkbookTableRow} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -48,7 +48,7 @@ public WorkbookTableRow get() { return get(null); } /** - * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. + * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function doesn't do anything if called independently. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookTableRow} * @throws ODataError When receiving a 4XX or 5XX status code @@ -62,7 +62,7 @@ public WorkbookTableRow get(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, WorkbookTableRow::createFromDiscriminatorValue); } /** - * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. + * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function doesn't do anything if called independently. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -70,7 +70,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. + * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function doesn't do anything if called independently. * @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/acceptedsenders/AcceptedSendersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/acceptedsenders/AcceptedSendersRequestBuilder.java index 165e674667c..11c351c1cd2 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/acceptedsenders/AcceptedSendersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/acceptedsenders/AcceptedSendersRequestBuilder.java @@ -68,7 +68,7 @@ public AcceptedSendersRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -78,7 +78,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -92,7 +92,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -100,7 +100,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -122,7 +122,7 @@ public AcceptedSendersRequestBuilder withUrl(@jakarta.annotation.Nonnull final S return new AcceptedSendersRequestBuilder(rawUrl, requestAdapter); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/acceptedsenders/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/acceptedsenders/ref/RefRequestBuilder.java index 136e8516982..d6ab6b023ad 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/acceptedsenders/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/acceptedsenders/ref/RefRequestBuilder.java @@ -58,7 +58,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -68,7 +68,7 @@ public StringCollectionResponse get() { return get(null); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -133,7 +133,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -211,7 +211,7 @@ public class DeleteRequestConfiguration extends BaseRequestConfiguration { public DeleteQueryParameters queryParameters = new DeleteQueryParameters(); } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/authenticationstrength/policies/item/usage/UsageRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/authenticationstrength/policies/item/usage/UsageRequestBuilder.java index 1ccc013a9cc..0b02dfa13a6 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/authenticationstrength/policies/item/usage/UsageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/authenticationstrength/policies/item/usage/UsageRequestBuilder.java @@ -36,7 +36,7 @@ public UsageRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/identity/conditionalAccess/authenticationStrength/policies/{authenticationStrengthPolicy%2Did}/usage()", rawUrl); } /** - * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. * @return a {@link AuthenticationStrengthUsage} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public AuthenticationStrengthUsage get() { return get(null); } /** - * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AuthenticationStrengthUsage} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public AuthenticationStrengthUsage get(@jakarta.annotation.Nullable final java.u return this.requestAdapter.send(requestInfo, errorMapping, AuthenticationStrengthUsage::createFromDiscriminatorValue); } /** - * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. * @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/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java index df1010d27ec..2725e00459f 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java @@ -2,11 +2,14 @@ import com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackageassignmentapprovals.AccessPackageAssignmentApprovalsRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackages.AccessPackagesRequestBuilder; +import com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.assignmentpolicies.AssignmentPoliciesRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.assignmentrequests.AssignmentRequestsRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.assignments.AssignmentsRequestBuilder; +import com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.catalogs.CatalogsRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.connectedorganizations.ConnectedOrganizationsRequestBuilder; +import com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.resourceenvironments.ResourceEnvironmentsRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.resourcerequests.ResourceRequestsRequestBuilder; import com.microsoft.graph.identitygovernance.entitlementmanagement.resourcerolescopes.ResourceRoleScopesRequestBuilder; @@ -50,6 +53,14 @@ public AccessPackageAssignmentApprovalsRequestBuilder accessPackageAssignmentApp public AccessPackagesRequestBuilder accessPackages() { return new AccessPackagesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. + * @return a {@link AccessPackageSuggestionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AccessPackageSuggestionsRequestBuilder accessPackageSuggestions() { + return new AccessPackageSuggestionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the assignmentPolicies property of the microsoft.graph.entitlementManagement entity. * @return a {@link AssignmentPoliciesRequestBuilder} @@ -74,6 +85,14 @@ public AssignmentRequestsRequestBuilder assignmentRequests() { public AssignmentsRequestBuilder assignments() { return new AssignmentsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. + * @return a {@link AvailableAccessPackagesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AvailableAccessPackagesRequestBuilder availableAccessPackages() { + return new AvailableAccessPackagesRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the catalogs property of the microsoft.graph.entitlementManagement entity. * @return a {@link CatalogsRequestBuilder} @@ -90,6 +109,14 @@ public CatalogsRequestBuilder catalogs() { public ConnectedOrganizationsRequestBuilder connectedOrganizations() { return new ConnectedOrganizationsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. + * @return a {@link ControlConfigurationsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ControlConfigurationsRequestBuilder controlConfigurations() { + return new ControlConfigurationsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the resourceEnvironments property of the microsoft.graph.entitlementManagement entity. * @return a {@link ResourceEnvironmentsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/AccessPackageSuggestionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/AccessPackageSuggestionsRequestBuilder.java new file mode 100644 index 00000000000..cbd4e0035c4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/AccessPackageSuggestionsRequestBuilder.java @@ -0,0 +1,254 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions; + +import com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder; +import com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder; +import com.microsoft.graph.models.AccessPackageSuggestion; +import com.microsoft.graph.models.AccessPackageSuggestionCollectionResponse; +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 accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AccessPackageSuggestionsRequestBuilder 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 accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. + * @param accessPackageSuggestionId The unique identifier of accessPackageSuggestion + * @return a {@link AccessPackageSuggestionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AccessPackageSuggestionItemRequestBuilder byAccessPackageSuggestionId(@jakarta.annotation.Nonnull final String accessPackageSuggestionId) { + Objects.requireNonNull(accessPackageSuggestionId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("accessPackageSuggestion%2Did", accessPackageSuggestionId); + return new AccessPackageSuggestionItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AccessPackageSuggestionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AccessPackageSuggestionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AccessPackageSuggestionsRequestBuilder} 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 AccessPackageSuggestionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Provides operations to call the filterByCurrentUser method. + * @param on Usage: on='{on}' + * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + */ + @jakarta.annotation.Nonnull + public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { + Objects.requireNonNull(on); + return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @return a {@link AccessPackageSuggestionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestionCollectionResponse get() { + return get(null); + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AccessPackageSuggestionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestionCollectionResponse 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, AccessPackageSuggestionCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to accessPackageSuggestions for identityGovernance + * @param body The request body + * @return a {@link AccessPackageSuggestion} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestion post(@jakarta.annotation.Nonnull final AccessPackageSuggestion body) { + return post(body, null); + } + /** + * Create new navigation property to accessPackageSuggestions for identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AccessPackageSuggestion} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestion post(@jakarta.annotation.Nonnull final AccessPackageSuggestion 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, AccessPackageSuggestion::createFromDiscriminatorValue); + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @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 accessPackageSuggestions for identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSuggestion body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to accessPackageSuggestions for identityGovernance + * @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 AccessPackageSuggestion 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 AccessPackageSuggestionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AccessPackageSuggestionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AccessPackageSuggestionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + */ + @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/identitygovernance/entitlementmanagement/accesspackagesuggestions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/count/CountRequestBuilder.java new file mode 100644 index 00000000000..cc26dd283d6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.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/entitlementManagement/accessPackageSuggestions/$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/entitlementManagement/accessPackageSuggestions/$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/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnGetResponse.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnGetResponse.java new file mode 100644 index 00000000000..0fdf2b1fb54 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnGetResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon; + +import com.microsoft.graph.models.AccessPackageSuggestion; +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 FilterByCurrentUserWithOnGetResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link FilterByCurrentUserWithOnGetResponse} and sets the default values. + */ + public FilterByCurrentUserWithOnGetResponse() { + 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 FilterByCurrentUserWithOnGetResponse} + */ + @jakarta.annotation.Nonnull + public static FilterByCurrentUserWithOnGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new FilterByCurrentUserWithOnGetResponse(); + } + /** + * 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(AccessPackageSuggestion::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/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java new file mode 100644 index 00000000000..df4be14b6ce --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -0,0 +1,168 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon; + +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 call the filterByCurrentUser method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class FilterByCurrentUserWithOnRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link FilterByCurrentUserWithOnRequestBuilder} and sets the default values. + * @param on Usage: on='{on}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String on) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/filterByCurrentUser(on='{on}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + this.pathParameters.put("on", on); + } + /** + * Instantiates a new {@link FilterByCurrentUserWithOnRequestBuilder} 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 FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/filterByCurrentUser(on='{on}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + * @return a {@link FilterByCurrentUserWithOnGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FilterByCurrentUserWithOnGetResponse get() { + return get(null); + } + /** + * Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link FilterByCurrentUserWithOnGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public FilterByCurrentUserWithOnGetResponse 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, FilterByCurrentUserWithOnGetResponse::createFromDiscriminatorValue); + } + /** + * Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + * @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 FilterByCurrentUserWithOnRequestBuilder} + */ + @jakarta.annotation.Nonnull + public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); + } + /** + * Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + */ + @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/entitlementmanagement/accesspackagesuggestions/item/AccessPackageSuggestionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/AccessPackageSuggestionItemRequestBuilder.java new file mode 100644 index 00000000000..9df4669c12c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/AccessPackageSuggestionItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item; + +import com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder; +import com.microsoft.graph.models.AccessPackageSuggestion; +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 accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AccessPackageSuggestionItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageSuggestion entity. + * @return a {@link AccessPackageRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AccessPackageRequestBuilder accessPackage() { + return new AccessPackageRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link AccessPackageSuggestionItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AccessPackageSuggestionItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link AccessPackageSuggestionItemRequestBuilder} 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 AccessPackageSuggestionItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property accessPackageSuggestions for identityGovernance + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property accessPackageSuggestions for identityGovernance + * @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); + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @return a {@link AccessPackageSuggestion} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestion get() { + return get(null); + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AccessPackageSuggestion} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestion 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, AccessPackageSuggestion::createFromDiscriminatorValue); + } + /** + * Update the navigation property accessPackageSuggestions in identityGovernance + * @param body The request body + * @return a {@link AccessPackageSuggestion} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestion patch(@jakarta.annotation.Nonnull final AccessPackageSuggestion body) { + return patch(body, null); + } + /** + * Update the navigation property accessPackageSuggestions in identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AccessPackageSuggestion} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestion patch(@jakarta.annotation.Nonnull final AccessPackageSuggestion 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, AccessPackageSuggestion::createFromDiscriminatorValue); + } + /** + * Delete navigation property accessPackageSuggestions for identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property accessPackageSuggestions for identityGovernance + * @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; + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @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 accessPackageSuggestions in identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSuggestion body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property accessPackageSuggestions in identityGovernance + * @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 AccessPackageSuggestion 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 AccessPackageSuggestionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AccessPackageSuggestionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AccessPackageSuggestionItemRequestBuilder(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 { + } + /** + * Suggested access packages for end users based on various criteria such as related people insights and assignment history. + */ + @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/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/accesspackage/AccessPackageRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/accesspackage/AccessPackageRequestBuilder.java new file mode 100644 index 00000000000..1b4933e10ea --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/accesspackage/AccessPackageRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage; + +import com.microsoft.graph.models.AvailableAccessPackage; +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 accessPackage property of the microsoft.graph.accessPackageSuggestion entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AccessPackageRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AccessPackageRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AccessPackageRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}/accessPackage{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link AccessPackageRequestBuilder} 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 AccessPackageRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}/accessPackage{?%24expand,%24select}", rawUrl); + } + /** + * The access package information for the suggested package. + * @return a {@link AvailableAccessPackage} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage get() { + return get(null); + } + /** + * The access package information for the suggested package. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AvailableAccessPackage} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage 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, AvailableAccessPackage::createFromDiscriminatorValue); + } + /** + * The access package information for the suggested package. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The access package information for the suggested package. + * @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 AccessPackageRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AccessPackageRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AccessPackageRequestBuilder(rawUrl, requestAdapter); + } + /** + * The access package information for the suggested package. + */ + @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/entitlementmanagement/availableaccesspackages/AvailableAccessPackagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/AvailableAccessPackagesRequestBuilder.java new file mode 100644 index 00000000000..68af9784ef0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/AvailableAccessPackagesRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages; + +import com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder; +import com.microsoft.graph.models.AvailableAccessPackage; +import com.microsoft.graph.models.AvailableAccessPackageCollectionResponse; +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 availableAccessPackages property of the microsoft.graph.entitlementManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AvailableAccessPackagesRequestBuilder 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 availableAccessPackages property of the microsoft.graph.entitlementManagement entity. + * @param availableAccessPackageId The unique identifier of availableAccessPackage + * @return a {@link AvailableAccessPackageItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AvailableAccessPackageItemRequestBuilder byAvailableAccessPackageId(@jakarta.annotation.Nonnull final String availableAccessPackageId) { + Objects.requireNonNull(availableAccessPackageId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("availableAccessPackage%2Did", availableAccessPackageId); + return new AvailableAccessPackageItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AvailableAccessPackagesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AvailableAccessPackagesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AvailableAccessPackagesRequestBuilder} 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 AvailableAccessPackagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Access packages available for end users to browse and request. + * @return a {@link AvailableAccessPackageCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackageCollectionResponse get() { + return get(null); + } + /** + * Access packages available for end users to browse and request. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AvailableAccessPackageCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackageCollectionResponse 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, AvailableAccessPackageCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to availableAccessPackages for identityGovernance + * @param body The request body + * @return a {@link AvailableAccessPackage} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage post(@jakarta.annotation.Nonnull final AvailableAccessPackage body) { + return post(body, null); + } + /** + * Create new navigation property to availableAccessPackages for identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AvailableAccessPackage} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage post(@jakarta.annotation.Nonnull final AvailableAccessPackage 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, AvailableAccessPackage::createFromDiscriminatorValue); + } + /** + * Access packages available for end users to browse and request. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Access packages available for end users to browse and request. + * @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 availableAccessPackages for identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AvailableAccessPackage body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to availableAccessPackages for identityGovernance + * @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 AvailableAccessPackage 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 AvailableAccessPackagesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AvailableAccessPackagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AvailableAccessPackagesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Access packages available for end users to browse and request. + */ + @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/identitygovernance/entitlementmanagement/availableaccesspackages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/count/CountRequestBuilder.java new file mode 100644 index 00000000000..10c397b7996 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.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/entitlementManagement/availableAccessPackages/$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/entitlementManagement/availableAccessPackages/$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/entitlementmanagement/availableaccesspackages/item/AvailableAccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/AvailableAccessPackageItemRequestBuilder.java new file mode 100644 index 00000000000..c3440279b4f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/AvailableAccessPackageItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item; + +import com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder; +import com.microsoft.graph.models.AvailableAccessPackage; +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 availableAccessPackages property of the microsoft.graph.entitlementManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AvailableAccessPackageItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. + * @return a {@link ResourceRoleScopesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ResourceRoleScopesRequestBuilder resourceRoleScopes() { + return new ResourceRoleScopesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link AvailableAccessPackageItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AvailableAccessPackageItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link AvailableAccessPackageItemRequestBuilder} 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 AvailableAccessPackageItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property availableAccessPackages for identityGovernance + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property availableAccessPackages for identityGovernance + * @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); + } + /** + * Access packages available for end users to browse and request. + * @return a {@link AvailableAccessPackage} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage get() { + return get(null); + } + /** + * Access packages available for end users to browse and request. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AvailableAccessPackage} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage 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, AvailableAccessPackage::createFromDiscriminatorValue); + } + /** + * Update the navigation property availableAccessPackages in identityGovernance + * @param body The request body + * @return a {@link AvailableAccessPackage} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage patch(@jakarta.annotation.Nonnull final AvailableAccessPackage body) { + return patch(body, null); + } + /** + * Update the navigation property availableAccessPackages in identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AvailableAccessPackage} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage patch(@jakarta.annotation.Nonnull final AvailableAccessPackage 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, AvailableAccessPackage::createFromDiscriminatorValue); + } + /** + * Delete navigation property availableAccessPackages for identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property availableAccessPackages for identityGovernance + * @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; + } + /** + * Access packages available for end users to browse and request. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Access packages available for end users to browse and request. + * @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 availableAccessPackages in identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AvailableAccessPackage body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property availableAccessPackages in identityGovernance + * @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 AvailableAccessPackage 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 AvailableAccessPackageItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AvailableAccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AvailableAccessPackageItemRequestBuilder(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 { + } + /** + * Access packages available for end users to browse and request. + */ + @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/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/ResourceRoleScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/ResourceRoleScopesRequestBuilder.java new file mode 100644 index 00000000000..9b16d245c20 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/ResourceRoleScopesRequestBuilder.java @@ -0,0 +1,189 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes; + +import com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder; +import com.microsoft.graph.models.AccessPackageResourceRoleScopeCollectionResponse; +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 resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ResourceRoleScopesRequestBuilder 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 resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. + * @param accessPackageResourceRoleScopeId The unique identifier of accessPackageResourceRoleScope + * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AccessPackageResourceRoleScopeItemRequestBuilder byAccessPackageResourceRoleScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleScopeId) { + Objects.requireNonNull(accessPackageResourceRoleScopeId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("accessPackageResourceRoleScope%2Did", accessPackageResourceRoleScopeId); + return new AccessPackageResourceRoleScopeItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ResourceRoleScopesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ResourceRoleScopesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ResourceRoleScopesRequestBuilder} 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 ResourceRoleScopesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. + * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public AccessPackageResourceRoleScopeCollectionResponse get() { + return get(null); + } + /** + * Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public AccessPackageResourceRoleScopeCollectionResponse 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, AccessPackageResourceRoleScopeCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. + * @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 ResourceRoleScopesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ResourceRoleScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ResourceRoleScopesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. + */ + @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/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/count/CountRequestBuilder.java new file mode 100644 index 00000000000..56359cfeefc --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.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/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/$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/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/$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/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java new file mode 100644 index 00000000000..77e84cb138c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item; + +import com.microsoft.graph.models.AccessPackageResourceRoleScope; +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 resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AccessPackageResourceRoleScopeItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AccessPackageResourceRoleScopeItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/{accessPackageResourceRoleScope%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link AccessPackageResourceRoleScopeItemRequestBuilder} 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 AccessPackageResourceRoleScopeItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/{accessPackageResourceRoleScope%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * The resource role scopes associated with this available access package. + * @return a {@link AccessPackageResourceRoleScope} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageResourceRoleScope get() { + return get(null); + } + /** + * The resource role scopes associated with this available access package. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AccessPackageResourceRoleScope} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AccessPackageResourceRoleScope 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, AccessPackageResourceRoleScope::createFromDiscriminatorValue); + } + /** + * The resource role scopes associated with this available access package. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The resource role scopes associated with this available access package. + * @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 AccessPackageResourceRoleScopeItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AccessPackageResourceRoleScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The resource role scopes associated with this available access package. + */ + @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/entitlementmanagement/controlconfigurations/ControlConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/controlconfigurations/ControlConfigurationsRequestBuilder.java new file mode 100644 index 00000000000..cd8fb2076db --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/controlconfigurations/ControlConfigurationsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations; + +import com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder; +import com.microsoft.graph.models.ControlConfiguration; +import com.microsoft.graph.models.ControlConfigurationCollectionResponse; +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 controlConfigurations property of the microsoft.graph.entitlementManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ControlConfigurationsRequestBuilder 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 controlConfigurations property of the microsoft.graph.entitlementManagement entity. + * @param controlConfigurationId The unique identifier of controlConfiguration + * @return a {@link ControlConfigurationItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ControlConfigurationItemRequestBuilder byControlConfigurationId(@jakarta.annotation.Nonnull final String controlConfigurationId) { + Objects.requireNonNull(controlConfigurationId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("controlConfiguration%2Did", controlConfigurationId); + return new ControlConfigurationItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ControlConfigurationsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ControlConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ControlConfigurationsRequestBuilder} 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 ControlConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @return a {@link ControlConfigurationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ControlConfigurationCollectionResponse get() { + return get(null); + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ControlConfigurationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ControlConfigurationCollectionResponse 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, ControlConfigurationCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to controlConfigurations for identityGovernance + * @param body The request body + * @return a {@link ControlConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ControlConfiguration post(@jakarta.annotation.Nonnull final ControlConfiguration body) { + return post(body, null); + } + /** + * Create new navigation property to controlConfigurations for identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ControlConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ControlConfiguration post(@jakarta.annotation.Nonnull final ControlConfiguration 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, ControlConfiguration::createFromDiscriminatorValue); + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @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 controlConfigurations for identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ControlConfiguration body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to controlConfigurations for identityGovernance + * @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 ControlConfiguration 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 ControlConfigurationsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ControlConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ControlConfigurationsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + */ + @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/identitygovernance/entitlementmanagement/controlconfigurations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/controlconfigurations/count/CountRequestBuilder.java new file mode 100644 index 00000000000..c8b774ed88f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/controlconfigurations/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.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/entitlementManagement/controlConfigurations/$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/entitlementManagement/controlConfigurations/$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/entitlementmanagement/controlconfigurations/item/ControlConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/controlconfigurations/item/ControlConfigurationItemRequestBuilder.java new file mode 100644 index 00000000000..0defac66881 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/controlconfigurations/item/ControlConfigurationItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item; + +import com.microsoft.graph.models.ControlConfiguration; +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 controlConfigurations property of the microsoft.graph.entitlementManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ControlConfigurationItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ControlConfigurationItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ControlConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations/{controlConfiguration%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ControlConfigurationItemRequestBuilder} 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 ControlConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations/{controlConfiguration%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property controlConfigurations for identityGovernance + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property controlConfigurations for identityGovernance + * @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); + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @return a {@link ControlConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ControlConfiguration get() { + return get(null); + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ControlConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ControlConfiguration 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, ControlConfiguration::createFromDiscriminatorValue); + } + /** + * Update the navigation property controlConfigurations in identityGovernance + * @param body The request body + * @return a {@link ControlConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ControlConfiguration put(@jakarta.annotation.Nonnull final ControlConfiguration body) { + return put(body, null); + } + /** + * Update the navigation property controlConfigurations in identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ControlConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ControlConfiguration put(@jakarta.annotation.Nonnull final ControlConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ControlConfiguration::createFromDiscriminatorValue); + } + /** + * Delete navigation property controlConfigurations for identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property controlConfigurations for identityGovernance + * @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; + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @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 controlConfigurations in identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final ControlConfiguration body) { + return toPutRequestInformation(body, null); + } + /** + * Update the navigation property controlConfigurations in identityGovernance + * @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 toPutRequestInformation(@jakarta.annotation.Nonnull final ControlConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PutRequestConfiguration::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 ControlConfigurationItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ControlConfigurationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ControlConfigurationItemRequestBuilder(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 { + } + /** + * Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + */ + @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 PutRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java index 25427206003..ed14cbde0ad 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java @@ -60,19 +60,21 @@ public SubjectsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get subjects from identityGovernance + * Get the properties of an external directory user represented by an existing accessPackageSubject object. * @return a {@link AccessPackageSubjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackageSubjectCollectionResponse get() { return get(null); } /** - * Get subjects from identityGovernance + * Get the properties of an external directory user represented by an existing accessPackageSubject object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackageSubjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +109,7 @@ public AccessPackageSubject post(@jakarta.annotation.Nonnull final AccessPackage return this.requestAdapter.send(requestInfo, errorMapping, AccessPackageSubject::createFromDiscriminatorValue); } /** - * Get subjects from identityGovernance + * Get the properties of an external directory user represented by an existing accessPackageSubject object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get subjects from identityGovernance + * Get the properties of an external directory user represented by an existing accessPackageSubject object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +163,7 @@ public SubjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r return new SubjectsRequestBuilder(rawUrl, requestAdapter); } /** - * Get subjects from identityGovernance + * Get the properties of an external directory user represented by an existing accessPackageSubject object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java index a5b5837fd50..e6998a97ad3 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java @@ -86,21 +86,23 @@ public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.fun return this.requestAdapter.send(requestInfo, errorMapping, AccessPackageSubject::createFromDiscriminatorValue); } /** - * Update the navigation property subjects in identityGovernance + * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return patch(body, null); } /** - * Update the navigation property subjects in identityGovernance + * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -151,7 +153,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property subjects in identityGovernance + * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @param body The request body * @return a {@link RequestInformation} */ @@ -160,7 +162,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property subjects in identityGovernance + * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @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/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java index 44692c740dc..4e99b2e2a4b 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java @@ -79,21 +79,23 @@ public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.fun return this.requestAdapter.send(requestInfo, errorMapping, AccessPackageSubject::createFromDiscriminatorValue); } /** - * Update the navigation property subjects in identityGovernance + * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return patch(body, null); } /** - * Update the navigation property subjects in identityGovernance + * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -144,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property subjects in identityGovernance + * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @param body The request body * @return a {@link RequestInformation} */ @@ -153,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property subjects in identityGovernance + * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java index f1f2a109fe3..ba58c3ad23d 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 @@ -6,8 +6,12 @@ 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.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.RunsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.taskreports.TaskReportsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.tasks.TasksRequestBuilder; @@ -81,6 +85,14 @@ public MicrosoftGraphIdentityGovernanceActivateRequestBuilder microsoftGraphIden public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoftGraphIdentityGovernanceActivateWithScope() { return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the clearQuarantine method. + * @return a {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder microsoftGraphIdentityGovernanceClearQuarantine() { + return new MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the createNewVersion method. * @return a {@link MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder} @@ -89,6 +101,22 @@ public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoft public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftGraphIdentityGovernanceCreateNewVersion() { return new MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the previewTaskFailures method. + * @return a {@link MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef microsoftGraphIdentityGovernancePreviewTaskFailures() { + return new MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef(pathParameters, requestAdapter); + } + /** + * Provides operations to call the previewWorkflow method. + * @return a {@link MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder microsoftGraphIdentityGovernancePreviewWorkflow() { + return new MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the restore method. * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} @@ -97,6 +125,14 @@ public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftG public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore() { return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + * @return a {@link PreviewScopeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public PreviewScopeRequestBuilder previewScope() { + return new PreviewScopeRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link RunsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java new file mode 100644 index 00000000000..acd6c8c9b1f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine; + +import com.microsoft.graph.models.identitygovernance.Workflow; +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 clearQuarantine method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} 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 MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", rawUrl); + } + /** + * Invoke action clearQuarantine + * @return a {@link Workflow} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Workflow post() { + return post(null); + } + /** + * Invoke action clearQuarantine + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Workflow} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Workflow::createFromDiscriminatorValue); + } + /** + * Invoke action clearQuarantine + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action clearQuarantine + * @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.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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 MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(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/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef.java new file mode 100644 index 00000000000..191809d2354 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures; + +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 previewTaskFailures method. Original name: MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef} 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 MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", rawUrl); + } + /** + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + * @return a {@link PreviewTaskFailuresPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public PreviewTaskFailuresPostResponse post() { + return post(null); + } + /** + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link PreviewTaskFailuresPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public PreviewTaskFailuresPostResponse post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, PreviewTaskFailuresPostResponse::createFromDiscriminatorValue); + } + /** + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + * @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.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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 MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef(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/microsoftgraphidentitygovernancepreviewtaskfailures/PreviewTaskFailuresPostResponse.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/PreviewTaskFailuresPostResponse.java new file mode 100644 index 00000000000..e681235e74e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/PreviewTaskFailuresPostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures; + +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.models.identitygovernance.PreviewFailedTask; +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 PreviewTaskFailuresPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link PreviewTaskFailuresPostResponse} and sets the default values. + */ + public PreviewTaskFailuresPostResponse() { + 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 PreviewTaskFailuresPostResponse} + */ + @jakarta.annotation.Nonnull + public static PreviewTaskFailuresPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PreviewTaskFailuresPostResponse(); + } + /** + * 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(PreviewFailedTask::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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java new file mode 100644 index 00000000000..04368744974 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java @@ -0,0 +1,100 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow; + +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 previewWorkflow method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} 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 MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", rawUrl); + } + /** + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + * @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 PreviewWorkflowPostRequestBody body) { + post(body, null); + } + /** + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + * @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 PreviewWorkflowPostRequestBody 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 in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PreviewWorkflowPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + * @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 PreviewWorkflowPostRequestBody 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 MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(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/microsoftgraphidentitygovernancepreviewworkflow/PreviewWorkflowPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/PreviewWorkflowPostRequestBody.java new file mode 100644 index 00000000000..64ef66f4b52 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/PreviewWorkflowPostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow; + +import com.microsoft.graph.models.DirectoryObject; +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 PreviewWorkflowPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link PreviewWorkflowPostRequestBody} and sets the default values. + */ + public PreviewWorkflowPostRequestBody() { + 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 PreviewWorkflowPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static PreviewWorkflowPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PreviewWorkflowPostRequestBody(); + } + /** + * 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("subjects", (n) -> { this.setSubjects(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the subjects property value. The subjects property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSubjects() { + return this.backingStore.get("subjects"); + } + /** + * 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.writeCollectionOfObjectValues("subjects", this.getSubjects()); + 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 subjects property value. The subjects property + * @param value Value to set for the subjects property. + */ + public void setSubjects(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("subjects", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/PreviewScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/PreviewScopeRequestBuilder.java new file mode 100644 index 00000000000..3c287d8df47 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/PreviewScopeRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder; +import com.microsoft.graph.models.DirectoryObjectCollectionResponse; +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 previewScope property of the microsoft.graph.identityGovernance.workflow entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class PreviewScopeRequestBuilder 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 previewScope property of the microsoft.graph.identityGovernance.workflow entity. + * @param directoryObjectId The unique identifier of directoryObject + * @return a {@link DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { + Objects.requireNonNull(directoryObjectId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("directoryObject%2Did", directoryObjectId); + return new DirectoryObjectItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link PreviewScopeRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public PreviewScopeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link PreviewScopeRequestBuilder} 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 PreviewScopeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The preview scope for the workflow. + * @return a {@link DirectoryObjectCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse get() { + return get(null); + } + /** + * The preview scope for the workflow. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObjectCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse 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, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); + } + /** + * The preview scope for the workflow. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The preview scope for the workflow. + * @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 PreviewScopeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public PreviewScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new PreviewScopeRequestBuilder(rawUrl, requestAdapter); + } + /** + * The preview scope for the workflow. + */ + @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/previewscope/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/count/CountRequestBuilder.java new file mode 100644 index 00000000000..7e4388caae6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.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}/previewScope/$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}/previewScope/$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/previewscope/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java new file mode 100644 index 00000000000..4ce05541073 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item; + +import com.microsoft.graph.models.DirectoryObject; +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 previewScope property of the microsoft.graph.identityGovernance.workflow entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} 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 DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * The preview scope for the workflow. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObject get() { + return get(null); + } + /** + * The preview scope for the workflow. + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObject 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, DirectoryObject::createFromDiscriminatorValue); + } + /** + * The preview scope for the workflow. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The preview scope for the workflow. + * @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 DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The preview scope for the workflow. + */ + @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/insights/microsoftgraphidentitygovernanceworkflowsprocessedsumma_aaef8e4d/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSumma_f0293aa7.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedsumma_aaef8e4d/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSumma_f0293aa7.java index 753b3366c31..588aa7a82ec 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedsumma_aaef8e4d/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSumma_f0293aa7.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedsumma_aaef8e4d/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSumma_f0293aa7.java @@ -41,7 +41,7 @@ public MicrosoftGraphIdentityGovernanceWorkflowsProcessedSumma_f0293aa7(@jakarta super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/insights/microsoft.graph.identityGovernance.workflowsProcessedSummary(startDateTime={startDateTime},endDateTime={endDateTime})", rawUrl); } /** - * Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. + * Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows doesn't tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. * @return a {@link WorkflowsInsightsSummary} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -51,7 +51,7 @@ public WorkflowsInsightsSummary get() { return get(null); } /** - * Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. + * Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows doesn't tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowsInsightsSummary} * @throws ODataError When receiving a 4XX or 5XX status code @@ -65,7 +65,7 @@ public WorkflowsInsightsSummary get(@jakarta.annotation.Nullable final java.util return this.requestAdapter.send(requestInfo, errorMapping, WorkflowsInsightsSummary::createFromDiscriminatorValue); } /** - * Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. + * Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows doesn't tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -73,7 +73,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. + * Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows doesn't tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. * @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/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java index 5d5d0ec65ac..087df39a83b 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java @@ -6,8 +6,12 @@ import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.lastmodifiedby.LastModifiedByRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceactivatewithscope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.RunsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.taskreports.TaskReportsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.tasks.TasksRequestBuilder; @@ -81,6 +85,14 @@ public MicrosoftGraphIdentityGovernanceActivateRequestBuilder microsoftGraphIden public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoftGraphIdentityGovernanceActivateWithScope() { return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the clearQuarantine method. + * @return a {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder microsoftGraphIdentityGovernanceClearQuarantine() { + return new MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the createNewVersion method. * @return a {@link MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder} @@ -89,6 +101,22 @@ public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoft public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftGraphIdentityGovernanceCreateNewVersion() { return new MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the previewTaskFailures method. + * @return a {@link MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef microsoftGraphIdentityGovernancePreviewTaskFailures() { + return new MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef(pathParameters, requestAdapter); + } + /** + * Provides operations to call the previewWorkflow method. + * @return a {@link MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder microsoftGraphIdentityGovernancePreviewWorkflow() { + return new MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the restore method. * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} @@ -97,6 +125,14 @@ public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftG public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore() { return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + * @return a {@link PreviewScopeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public PreviewScopeRequestBuilder previewScope() { + return new PreviewScopeRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link RunsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java new file mode 100644 index 00000000000..c378e39fd9d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine; + +import com.microsoft.graph.models.identitygovernance.Workflow; +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 clearQuarantine method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} 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 MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", rawUrl); + } + /** + * Invoke action clearQuarantine + * @return a {@link Workflow} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Workflow post() { + return post(null); + } + /** + * Invoke action clearQuarantine + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Workflow} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Workflow::createFromDiscriminatorValue); + } + /** + * Invoke action clearQuarantine + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action clearQuarantine + * @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.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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 MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(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/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef.java new file mode 100644 index 00000000000..78ad89fc4ae --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures; + +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 previewTaskFailures method. Original name: MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef} 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 MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", rawUrl); + } + /** + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + * @return a {@link PreviewTaskFailuresPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public PreviewTaskFailuresPostResponse post() { + return post(null); + } + /** + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link PreviewTaskFailuresPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public PreviewTaskFailuresPostResponse post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, PreviewTaskFailuresPostResponse::createFromDiscriminatorValue); + } + /** + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + * @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.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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 MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef(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/microsoftgraphidentitygovernancepreviewtaskfailures/PreviewTaskFailuresPostResponse.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/PreviewTaskFailuresPostResponse.java new file mode 100644 index 00000000000..081e867e9cc --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/PreviewTaskFailuresPostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures; + +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.models.identitygovernance.PreviewFailedTask; +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 PreviewTaskFailuresPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link PreviewTaskFailuresPostResponse} and sets the default values. + */ + public PreviewTaskFailuresPostResponse() { + 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 PreviewTaskFailuresPostResponse} + */ + @jakarta.annotation.Nonnull + public static PreviewTaskFailuresPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PreviewTaskFailuresPostResponse(); + } + /** + * 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(PreviewFailedTask::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/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java new file mode 100644 index 00000000000..35fc7f769f1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java @@ -0,0 +1,100 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow; + +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 previewWorkflow method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} 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 MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", rawUrl); + } + /** + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + * @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 PreviewWorkflowPostRequestBody body) { + post(body, null); + } + /** + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + * @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 PreviewWorkflowPostRequestBody 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 in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PreviewWorkflowPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + * @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 PreviewWorkflowPostRequestBody 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 MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(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/microsoftgraphidentitygovernancepreviewworkflow/PreviewWorkflowPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/PreviewWorkflowPostRequestBody.java new file mode 100644 index 00000000000..3aaa08402a6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/PreviewWorkflowPostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow; + +import com.microsoft.graph.models.DirectoryObject; +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 PreviewWorkflowPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link PreviewWorkflowPostRequestBody} and sets the default values. + */ + public PreviewWorkflowPostRequestBody() { + 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 PreviewWorkflowPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static PreviewWorkflowPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PreviewWorkflowPostRequestBody(); + } + /** + * 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("subjects", (n) -> { this.setSubjects(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the subjects property value. The subjects property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSubjects() { + return this.backingStore.get("subjects"); + } + /** + * 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.writeCollectionOfObjectValues("subjects", this.getSubjects()); + 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 subjects property value. The subjects property + * @param value Value to set for the subjects property. + */ + public void setSubjects(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("subjects", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/PreviewScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/PreviewScopeRequestBuilder.java new file mode 100644 index 00000000000..ad72f000d29 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/PreviewScopeRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder; +import com.microsoft.graph.models.DirectoryObjectCollectionResponse; +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 previewScope property of the microsoft.graph.identityGovernance.workflow entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class PreviewScopeRequestBuilder 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 previewScope property of the microsoft.graph.identityGovernance.workflow entity. + * @param directoryObjectId The unique identifier of directoryObject + * @return a {@link DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { + Objects.requireNonNull(directoryObjectId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("directoryObject%2Did", directoryObjectId); + return new DirectoryObjectItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link PreviewScopeRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public PreviewScopeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link PreviewScopeRequestBuilder} 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 PreviewScopeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The preview scope for the workflow. + * @return a {@link DirectoryObjectCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse get() { + return get(null); + } + /** + * The preview scope for the workflow. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObjectCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse 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, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); + } + /** + * The preview scope for the workflow. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The preview scope for the workflow. + * @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 PreviewScopeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public PreviewScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new PreviewScopeRequestBuilder(rawUrl, requestAdapter); + } + /** + * The preview scope for the workflow. + */ + @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/previewscope/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/count/CountRequestBuilder.java new file mode 100644 index 00000000000..1f6a80cc447 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.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}/previewScope/$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}/previewScope/$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/previewscope/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java new file mode 100644 index 00000000000..8b906cad68c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item; + +import com.microsoft.graph.models.DirectoryObject; +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 previewScope property of the microsoft.graph.identityGovernance.workflow entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} 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 DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * The preview scope for the workflow. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObject get() { + return get(null); + } + /** + * The preview scope for the workflow. + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObject 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, DirectoryObject::createFromDiscriminatorValue); + } + /** + * The preview scope for the workflow. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The preview scope for the workflow. + * @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 DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The preview scope for the workflow. + */ + @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/informationprotection/bitlocker/recoverykeys/RecoveryKeysRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/informationprotection/bitlocker/recoverykeys/RecoveryKeysRequestBuilder.java index c80ff75c794..c70cd32820f 100644 --- a/src/main/java/com/microsoft/graph/generated/informationprotection/bitlocker/recoverykeys/RecoveryKeysRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/informationprotection/bitlocker/recoverykeys/RecoveryKeysRequestBuilder.java @@ -59,7 +59,7 @@ public RecoveryKeysRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/informationProtection/bitlocker/recoveryKeys{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. + * Get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. * @return a {@link BitlockerRecoveryKeyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -69,7 +69,7 @@ public BitlockerRecoveryKeyCollectionResponse get() { return get(null); } /** - * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. + * Get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BitlockerRecoveryKeyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -83,7 +83,7 @@ public BitlockerRecoveryKeyCollectionResponse get(@jakarta.annotation.Nullable f return this.requestAdapter.send(requestInfo, errorMapping, BitlockerRecoveryKeyCollectionResponse::createFromDiscriminatorValue); } /** - * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. + * Get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -91,7 +91,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. + * Get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -113,7 +113,7 @@ public RecoveryKeysRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new RecoveryKeysRequestBuilder(rawUrl, requestAdapter); } /** - * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. + * Get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt index 24eb9fcc60d..4d8be8ca7be 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt @@ -99272,6 +99272,114 @@ com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackages.item com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|toPostRequestInformation(body:AccessPackageResourceRoleScope):RequestInformation com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|toPostRequestInformation(body:AccessPackageResourceRoleScope; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|withUrl(rawUrl:String):ResourceRoleScopesRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|byAccessPackageSuggestionId(accessPackageSuggestionId:String):AccessPackageSuggestionItemRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|filterByCurrentUserWithOn(on:String):FilterByCurrentUserWithOnRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|get():AccessPackageSuggestionCollectionResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AccessPackageSuggestionCollectionResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|post(body:AccessPackageSuggestion):AccessPackageSuggestion +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|post(body:AccessPackageSuggestion; requestConfiguration?:java.util.function.Consumer):AccessPackageSuggestion +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|toPostRequestInformation(body:AccessPackageSuggestion):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|toPostRequestInformation(body:AccessPackageSuggestion; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.AccessPackageSuggestionsRequestBuilder::|public|withUrl(rawUrl:String):AccessPackageSuggestionsRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnGetResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnGetResponse::|public|constructor():void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnGetResponse::|public|getValue():java.util.List +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnGetResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FilterByCurrentUserWithOnGetResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; on?:String):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder::|public|get():FilterByCurrentUserWithOnGetResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):FilterByCurrentUserWithOnGetResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.filterbycurrentuserwithon.FilterByCurrentUserWithOnRequestBuilder::|public|withUrl(rawUrl:String):FilterByCurrentUserWithOnRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder::|public|get():AvailableAccessPackage +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AvailableAccessPackage +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.accesspackage.AccessPackageRequestBuilder::|public|withUrl(rawUrl:String):AccessPackageRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|accessPackage:AccessPackageRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|delete():Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|get():AccessPackageSuggestion +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AccessPackageSuggestion +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|patch(body:AccessPackageSuggestion):AccessPackageSuggestion +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|patch(body:AccessPackageSuggestion; requestConfiguration?:java.util.function.Consumer):AccessPackageSuggestion +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|toPatchRequestInformation(body:AccessPackageSuggestion):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|toPatchRequestInformation(body:AccessPackageSuggestion; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.accesspackagesuggestions.item.AccessPackageSuggestionItemRequestBuilder::|public|withUrl(rawUrl:String):AccessPackageSuggestionItemRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.assignmentpolicies.AssignmentPoliciesRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.assignmentpolicies.AssignmentPoliciesRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.identitygovernance.entitlementmanagement.assignmentpolicies.AssignmentPoliciesRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -99902,6 +100010,122 @@ com.microsoft.graph.identitygovernance.entitlementmanagement.assignments.item.ta com.microsoft.graph.identitygovernance.entitlementmanagement.assignments.item.target.TargetRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.entitlementmanagement.assignments.item.target.TargetRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.entitlementmanagement.assignments.item.target.TargetRequestBuilder::|public|withUrl(rawUrl:String):TargetRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|byAvailableAccessPackageId(availableAccessPackageId:String):AvailableAccessPackageItemRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|get():AvailableAccessPackageCollectionResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AvailableAccessPackageCollectionResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|post(body:AvailableAccessPackage):AvailableAccessPackage +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|post(body:AvailableAccessPackage; requestConfiguration?:java.util.function.Consumer):AvailableAccessPackage +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|toPostRequestInformation(body:AvailableAccessPackage):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|toPostRequestInformation(body:AvailableAccessPackage; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.AvailableAccessPackagesRequestBuilder::|public|withUrl(rawUrl:String):AvailableAccessPackagesRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|delete():Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|get():AvailableAccessPackage +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AvailableAccessPackage +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|patch(body:AvailableAccessPackage):AvailableAccessPackage +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|patch(body:AvailableAccessPackage; requestConfiguration?:java.util.function.Consumer):AvailableAccessPackage +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|resourceRoleScopes:ResourceRoleScopesRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|toPatchRequestInformation(body:AvailableAccessPackage):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|toPatchRequestInformation(body:AvailableAccessPackage; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.AvailableAccessPackageItemRequestBuilder::|public|withUrl(rawUrl:String):AvailableAccessPackageItemRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|get():AccessPackageResourceRoleScope +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AccessPackageResourceRoleScope +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|withUrl(rawUrl:String):AccessPackageResourceRoleScopeItemRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|byAccessPackageResourceRoleScopeId(accessPackageResourceRoleScopeId:String):AccessPackageResourceRoleScopeItemRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|get():AccessPackageResourceRoleScopeCollectionResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AccessPackageResourceRoleScopeCollectionResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.availableaccesspackages.item.resourcerolescopes.ResourceRoleScopesRequestBuilder::|public|withUrl(rawUrl:String):ResourceRoleScopesRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.catalogs.CatalogsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.catalogs.CatalogsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.identitygovernance.entitlementmanagement.catalogs.CatalogsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -101598,6 +101822,71 @@ com.microsoft.graph.identitygovernance.entitlementmanagement.connectedorganizati com.microsoft.graph.identitygovernance.entitlementmanagement.connectedorganizations.item.internalsponsors.ref.RefRequestBuilder::|public|toPostRequestInformation(body:ReferenceCreate):RequestInformation com.microsoft.graph.identitygovernance.entitlementmanagement.connectedorganizations.item.internalsponsors.ref.RefRequestBuilder::|public|toPostRequestInformation(body:ReferenceCreate; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.entitlementmanagement.connectedorganizations.item.internalsponsors.ref.RefRequestBuilder::|public|withUrl(rawUrl:String):RefRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|byControlConfigurationId(controlConfigurationId:String):ControlConfigurationItemRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|get():ControlConfigurationCollectionResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ControlConfigurationCollectionResponse +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|post(body:ControlConfiguration):ControlConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|post(body:ControlConfiguration; requestConfiguration?:java.util.function.Consumer):ControlConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|toPostRequestInformation(body:ControlConfiguration):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|toPostRequestInformation(body:ControlConfiguration; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.ControlConfigurationsRequestBuilder::|public|withUrl(rawUrl:String):ControlConfigurationsRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder.PutRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|delete():Void +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|get():ControlConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ControlConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|put(body:ControlConfiguration):ControlConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|put(body:ControlConfiguration; requestConfiguration?:java.util.function.Consumer):ControlConfiguration +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|toPutRequestInformation(body:ControlConfiguration):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|toPutRequestInformation(body:ControlConfiguration; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.entitlementmanagement.controlconfigurations.item.ControlConfigurationItemRequestBuilder::|public|withUrl(rawUrl:String):ControlConfigurationItemRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -101609,13 +101898,16 @@ com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManageme com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|accessPackageAssignmentApprovals:AccessPackageAssignmentApprovalsRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|accessPackages:AccessPackagesRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|accessPackageSuggestions:AccessPackageSuggestionsRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|assignmentPolicies:AssignmentPoliciesRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|assignmentRequests:AssignmentRequestsRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|assignments:AssignmentsRequestBuilder +com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|availableAccessPackages:AvailableAccessPackagesRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|catalogs:CatalogsRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|connectedOrganizations:ConnectedOrganizationsRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|controlConfigurations:ControlConfigurationsRequestBuilder com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|delete():Void com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.identitygovernance.entitlementmanagement.EntitlementManagementRequestBuilder::|public|get():EntitlementManagement @@ -106201,6 +106493,15 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows 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.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|post():Workflow +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Workflow +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder 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 @@ -106222,6 +106523,43 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|toPostRequestInformation(body:CreateNewVersionPostRequestBody):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|toPostRequestInformation(body:CreateNewVersionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|post():PreviewTaskFailuresPostResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|post(requestConfiguration?:java.util.function.Consumer):PreviewTaskFailuresPostResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|constructor():void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|getValue():java.util.List +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PreviewTaskFailuresPostResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|post(body:PreviewWorkflowPostRequestBody):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|post(body:PreviewWorkflowPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|toPostRequestInformation(body:PreviewWorkflowPostRequestBody):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|toPostRequestInformation(body:PreviewWorkflowPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|constructor():void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|getSubjects():java.util.List +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|setSubjects(value?:java.util.List):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PreviewWorkflowPostRequestBody +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -106231,6 +106569,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|withUrl(rawUrl:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|byDirectoryObjectId(directoryObjectId:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|get():DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|withUrl(rawUrl:String):PreviewScopeRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -108169,8 +108557,12 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows 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|microsoftGraphIdentityGovernanceClearQuarantine:MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion:MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewTaskFailures:MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewWorkflow:MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|previewScope:PreviewScopeRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|runs:RunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|taskReports:TaskReportsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|tasks:TasksRequestBuilder @@ -108693,6 +109085,15 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microso 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.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|post():Workflow +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Workflow +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernanceclearquarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder 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 @@ -108714,6 +109115,43 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microso com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|toPostRequestInformation(body:CreateNewVersionPostRequestBody):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|toPostRequestInformation(body:CreateNewVersionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancecreatenewversion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|post():PreviewTaskFailuresPostResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|post(requestConfiguration?:java.util.function.Consumer):PreviewTaskFailuresPostResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|constructor():void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|getValue():java.util.List +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewtaskfailures.PreviewTaskFailuresPostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PreviewTaskFailuresPostResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|post(body:PreviewWorkflowPostRequestBody):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|post(body:PreviewWorkflowPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|toPostRequestInformation(body:PreviewWorkflowPostRequestBody):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|toPostRequestInformation(body:PreviewWorkflowPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|constructor():void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|getSubjects():java.util.List +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|public|setSubjects(value?:java.util.List):void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PreviewWorkflowPostRequestBody +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancepreviewworkflow.PreviewWorkflowPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -108723,6 +109161,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microso com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.item.DirectoryObjectItemRequestBuilder::|public|withUrl(rawUrl:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|byDirectoryObjectId(directoryObjectId:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|get():DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.previewscope.PreviewScopeRequestBuilder::|public|withUrl(rawUrl:String):PreviewScopeRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.runs.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -110662,10 +111150,14 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.Workflo 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|microsoftGraphIdentityGovernanceClearQuarantine:MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion:MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewTaskFailures:MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequ_71c2adef +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewWorkflow:MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|patch(body:Workflow):Workflow com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|patch(body:Workflow; requestConfiguration?:java.util.function.Consumer):Workflow +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|previewScope:PreviewScopeRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|runs:RunsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|taskReports:TaskReportsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|tasks:TasksRequestBuilder @@ -113780,6 +114272,9 @@ com.microsoft.graph.models.AccessAction::|public|setBackingStore(value:BackingSt com.microsoft.graph.models.AccessAction::|public|setOdataType(value?:String):void com.microsoft.graph.models.AccessAction::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessAction com.microsoft.graph.models.AccessAction~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.AccessEntityType::0000-User +com.microsoft.graph.models.AccessEntityType::0001-Group +com.microsoft.graph.models.AccessEntityType::0002-UnknownFutureValue com.microsoft.graph.models.AccessPackage-->Entity com.microsoft.graph.models.AccessPackage::|public|constructor():void com.microsoft.graph.models.AccessPackage::|public|getAccessPackagesIncompatibleWith():java.util.List @@ -113853,6 +114348,7 @@ com.microsoft.graph.models.AccessPackageAnswer~~>AdditionalDataHolder; BackedMod com.microsoft.graph.models.AccessPackageApprovalStage::|protected|backingStore:BackingStore com.microsoft.graph.models.AccessPackageApprovalStage::|public|constructor():void com.microsoft.graph.models.AccessPackageApprovalStage::|public|getAdditionalData():Map +com.microsoft.graph.models.AccessPackageApprovalStage::|public|getApproverInformationVisibility():ApproverInformationVisibility com.microsoft.graph.models.AccessPackageApprovalStage::|public|getBackingStore():BackingStore com.microsoft.graph.models.AccessPackageApprovalStage::|public|getDurationBeforeAutomaticDenial():PeriodAndDuration com.microsoft.graph.models.AccessPackageApprovalStage::|public|getDurationBeforeEscalation():PeriodAndDuration @@ -113866,6 +114362,7 @@ com.microsoft.graph.models.AccessPackageApprovalStage::|public|getOdataType():St com.microsoft.graph.models.AccessPackageApprovalStage::|public|getPrimaryApprovers():java.util.List com.microsoft.graph.models.AccessPackageApprovalStage::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.AccessPackageApprovalStage::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.AccessPackageApprovalStage::|public|setApproverInformationVisibility(value?:ApproverInformationVisibility):void com.microsoft.graph.models.AccessPackageApprovalStage::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.models.AccessPackageApprovalStage::|public|setDurationBeforeAutomaticDenial(value?:PeriodAndDuration):void com.microsoft.graph.models.AccessPackageApprovalStage::|public|setDurationBeforeEscalation(value?:PeriodAndDuration):void @@ -114474,6 +114971,7 @@ com.microsoft.graph.models.AccessPackageResourceRole::|public|getFieldDeserializ com.microsoft.graph.models.AccessPackageResourceRole::|public|getOriginId():String com.microsoft.graph.models.AccessPackageResourceRole::|public|getOriginSystem():String com.microsoft.graph.models.AccessPackageResourceRole::|public|getResource():AccessPackageResource +com.microsoft.graph.models.AccessPackageResourceRole::|public|getType():RoleType com.microsoft.graph.models.AccessPackageResourceRole::|public|OdataType:String com.microsoft.graph.models.AccessPackageResourceRole::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.AccessPackageResourceRole::|public|setDescription(value?:String):void @@ -114481,6 +114979,7 @@ com.microsoft.graph.models.AccessPackageResourceRole::|public|setDisplayName(val com.microsoft.graph.models.AccessPackageResourceRole::|public|setOriginId(value?:String):void com.microsoft.graph.models.AccessPackageResourceRole::|public|setOriginSystem(value?:String):void com.microsoft.graph.models.AccessPackageResourceRole::|public|setResource(value?:AccessPackageResource):void +com.microsoft.graph.models.AccessPackageResourceRole::|public|setType(value?:RoleType):void com.microsoft.graph.models.AccessPackageResourceRole::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageResourceRole com.microsoft.graph.models.AccessPackageResourceRoleCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.models.AccessPackageResourceRoleCollectionResponse::|public|constructor():void @@ -114570,6 +115069,59 @@ com.microsoft.graph.models.AccessPackageSubjectType::0000-NotSpecified com.microsoft.graph.models.AccessPackageSubjectType::0001-User com.microsoft.graph.models.AccessPackageSubjectType::0002-ServicePrincipal com.microsoft.graph.models.AccessPackageSubjectType::0003-UnknownFutureValue +com.microsoft.graph.models.AccessPackageSuggestion-->Entity +com.microsoft.graph.models.AccessPackageSuggestion::|public|constructor():void +com.microsoft.graph.models.AccessPackageSuggestion::|public|getAccessPackage():AvailableAccessPackage +com.microsoft.graph.models.AccessPackageSuggestion::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AccessPackageSuggestion::|public|getReasons():java.util.List +com.microsoft.graph.models.AccessPackageSuggestion::|public|OdataType:String +com.microsoft.graph.models.AccessPackageSuggestion::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AccessPackageSuggestion::|public|setAccessPackage(value?:AvailableAccessPackage):void +com.microsoft.graph.models.AccessPackageSuggestion::|public|setReasons(value?:java.util.List):void +com.microsoft.graph.models.AccessPackageSuggestion::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageSuggestion +com.microsoft.graph.models.AccessPackageSuggestionCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.AccessPackageSuggestionCollectionResponse::|public|constructor():void +com.microsoft.graph.models.AccessPackageSuggestionCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AccessPackageSuggestionCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.AccessPackageSuggestionCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AccessPackageSuggestionCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.AccessPackageSuggestionCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageSuggestionCollectionResponse +com.microsoft.graph.models.AccessPackageSuggestionReason::|protected|backingStore:BackingStore +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|constructor():void +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|getAdditionalData():Map +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|getBackingStore():BackingStore +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|getOdataType():String +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.AccessPackageSuggestionReason::|public|setOdataType(value?:String):void +com.microsoft.graph.models.AccessPackageSuggestionReason::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageSuggestionReason +com.microsoft.graph.models.AccessPackageSuggestionReason~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased-->AccessPackageSuggestionReason +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|public|constructor():void +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|public|getRelatedPeople():java.util.List +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|public|getRelatedPeopleAssignmentCount():Integer +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|public|OdataType:String +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|public|setRelatedPeople(value?:java.util.List):void +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|public|setRelatedPeopleAssignmentCount(value?:Integer):void +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleBased::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageSuggestionRelatedPeopleBased +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleInsightLevel::0000-Disabled +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleInsightLevel::0001-Count +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleInsightLevel::0002-CountAndNames +com.microsoft.graph.models.AccessPackageSuggestionRelatedPeopleInsightLevel::0003-UnknownFutureValue +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased-->AccessPackageSuggestionReason +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|public|constructor():void +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|public|getLastAssignmentDateTime():OffsetDateTime +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|public|getPastAssignmentCount():Integer +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|public|OdataType:String +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|public|setLastAssignmentDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|public|setPastAssignmentCount(value?:Integer):void +com.microsoft.graph.models.AccessPackageSuggestionSelfAssignmentHistoryBased::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageSuggestionSelfAssignmentHistoryBased com.microsoft.graph.models.AccessPackageTextInputQuestion-->AccessPackageQuestion com.microsoft.graph.models.AccessPackageTextInputQuestion::|public|constructor():void com.microsoft.graph.models.AccessPackageTextInputQuestion::|public|getFieldDeserializers():Map> @@ -116017,6 +116569,12 @@ com.microsoft.graph.models.AllDevicesAssignmentTarget::|public|getFieldDeseriali com.microsoft.graph.models.AllDevicesAssignmentTarget::|public|OdataType:String com.microsoft.graph.models.AllDevicesAssignmentTarget::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.AllDevicesAssignmentTarget::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AllDevicesAssignmentTarget +com.microsoft.graph.models.AllDomains-->ValidatingDomains +com.microsoft.graph.models.AllDomains::|public|constructor():void +com.microsoft.graph.models.AllDomains::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AllDomains::|public|OdataType:String +com.microsoft.graph.models.AllDomains::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AllDomains::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AllDomains com.microsoft.graph.models.AllLicensedUsersAssignmentTarget-->DeviceAndAppManagementAssignmentTarget com.microsoft.graph.models.AllLicensedUsersAssignmentTarget::|public|constructor():void com.microsoft.graph.models.AllLicensedUsersAssignmentTarget::|public|getFieldDeserializers():Map> @@ -117550,6 +118108,10 @@ com.microsoft.graph.models.ApprovedClientAppCollectionResponse::|public|getValue com.microsoft.graph.models.ApprovedClientAppCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.ApprovedClientAppCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.ApprovedClientAppCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ApprovedClientAppCollectionResponse +com.microsoft.graph.models.ApproverInformationVisibility::0000-Default +com.microsoft.graph.models.ApproverInformationVisibility::0001-NotVisible +com.microsoft.graph.models.ApproverInformationVisibility::0002-Visible +com.microsoft.graph.models.ApproverInformationVisibility::0003-UnknownFutureValue com.microsoft.graph.models.AppScope-->Entity com.microsoft.graph.models.AppScope::|public|constructor():void com.microsoft.graph.models.AppScope::|public|getDisplayName():String @@ -119220,6 +119782,25 @@ com.microsoft.graph.models.AvailabilityItem::|public|setStartDateTime(value?:Dat com.microsoft.graph.models.AvailabilityItem::|public|setStatus(value?:BookingsAvailabilityStatus):void com.microsoft.graph.models.AvailabilityItem::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AvailabilityItem com.microsoft.graph.models.AvailabilityItem~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.AvailableAccessPackage-->Entity +com.microsoft.graph.models.AvailableAccessPackage::|public|constructor():void +com.microsoft.graph.models.AvailableAccessPackage::|public|getDescription():String +com.microsoft.graph.models.AvailableAccessPackage::|public|getDisplayName():String +com.microsoft.graph.models.AvailableAccessPackage::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AvailableAccessPackage::|public|getResourceRoleScopes():java.util.List +com.microsoft.graph.models.AvailableAccessPackage::|public|OdataType:String +com.microsoft.graph.models.AvailableAccessPackage::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AvailableAccessPackage::|public|setDescription(value?:String):void +com.microsoft.graph.models.AvailableAccessPackage::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.AvailableAccessPackage::|public|setResourceRoleScopes(value?:java.util.List):void +com.microsoft.graph.models.AvailableAccessPackage::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AvailableAccessPackage +com.microsoft.graph.models.AvailableAccessPackageCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.AvailableAccessPackageCollectionResponse::|public|constructor():void +com.microsoft.graph.models.AvailableAccessPackageCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.AvailableAccessPackageCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.AvailableAccessPackageCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.AvailableAccessPackageCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.AvailableAccessPackageCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AvailableAccessPackageCollectionResponse com.microsoft.graph.models.AverageComparativeScore::|protected|backingStore:BackingStore com.microsoft.graph.models.AverageComparativeScore::|public|constructor():void com.microsoft.graph.models.AverageComparativeScore::|public|getAdditionalData():Map @@ -119346,6 +119927,7 @@ com.microsoft.graph.models.BackupRestoreRoot::|public|getBrowseSessions():java.u com.microsoft.graph.models.BackupRestoreRoot::|public|getDriveInclusionRules():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getDriveProtectionUnits():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getDriveProtectionUnitsBulkAdditionJobs():java.util.List +com.microsoft.graph.models.BackupRestoreRoot::|public|getEmailNotificationsSetting():EmailNotificationsSetting com.microsoft.graph.models.BackupRestoreRoot::|public|getExchangeProtectionPolicies():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getExchangeRestoreSessions():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getFieldDeserializers():Map> @@ -119373,6 +119955,7 @@ com.microsoft.graph.models.BackupRestoreRoot::|public|setBrowseSessions(value?:j com.microsoft.graph.models.BackupRestoreRoot::|public|setDriveInclusionRules(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setDriveProtectionUnits(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setDriveProtectionUnitsBulkAdditionJobs(value?:java.util.List):void +com.microsoft.graph.models.BackupRestoreRoot::|public|setEmailNotificationsSetting(value?:EmailNotificationsSetting):void com.microsoft.graph.models.BackupRestoreRoot::|public|setExchangeProtectionPolicies(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setExchangeRestoreSessions(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setMailboxInclusionRules(value?:java.util.List):void @@ -125155,6 +125738,29 @@ com.microsoft.graph.models.ContractCollectionResponse::|public|getValue():java.u com.microsoft.graph.models.ContractCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.ContractCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.ContractCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ContractCollectionResponse +com.microsoft.graph.models.ControlConfiguration-->Entity +com.microsoft.graph.models.ControlConfiguration::|public|constructor():void +com.microsoft.graph.models.ControlConfiguration::|public|getCreatedBy():String +com.microsoft.graph.models.ControlConfiguration::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.models.ControlConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ControlConfiguration::|public|getIsEnabled():Boolean +com.microsoft.graph.models.ControlConfiguration::|public|getModifiedBy():String +com.microsoft.graph.models.ControlConfiguration::|public|getModifiedDateTime():OffsetDateTime +com.microsoft.graph.models.ControlConfiguration::|public|OdataType:String +com.microsoft.graph.models.ControlConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ControlConfiguration::|public|setCreatedBy(value?:String):void +com.microsoft.graph.models.ControlConfiguration::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.ControlConfiguration::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.models.ControlConfiguration::|public|setModifiedBy(value?:String):void +com.microsoft.graph.models.ControlConfiguration::|public|setModifiedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.ControlConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ControlConfiguration +com.microsoft.graph.models.ControlConfigurationCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.ControlConfigurationCollectionResponse::|public|constructor():void +com.microsoft.graph.models.ControlConfigurationCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ControlConfigurationCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.ControlConfigurationCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ControlConfigurationCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.ControlConfigurationCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ControlConfigurationCollectionResponse com.microsoft.graph.models.ControlScore::|protected|backingStore:BackingStore com.microsoft.graph.models.ControlScore::|public|constructor():void com.microsoft.graph.models.ControlScore::|public|getAdditionalData():Map @@ -125282,12 +125888,22 @@ com.microsoft.graph.models.ConvertIdResult::|static|public|createFromDiscriminat com.microsoft.graph.models.ConvertIdResult~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.CopilotAdmin-->Entity com.microsoft.graph.models.CopilotAdmin::|public|constructor():void +com.microsoft.graph.models.CopilotAdmin::|public|getCatalog():CopilotAdminCatalog com.microsoft.graph.models.CopilotAdmin::|public|getFieldDeserializers():Map> com.microsoft.graph.models.CopilotAdmin::|public|getSettings():CopilotAdminSetting com.microsoft.graph.models.CopilotAdmin::|public|OdataType:String com.microsoft.graph.models.CopilotAdmin::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.CopilotAdmin::|public|setCatalog(value?:CopilotAdminCatalog):void com.microsoft.graph.models.CopilotAdmin::|public|setSettings(value?:CopilotAdminSetting):void com.microsoft.graph.models.CopilotAdmin::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CopilotAdmin +com.microsoft.graph.models.CopilotAdminCatalog-->Entity +com.microsoft.graph.models.CopilotAdminCatalog::|public|constructor():void +com.microsoft.graph.models.CopilotAdminCatalog::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.CopilotAdminCatalog::|public|getPackages():java.util.List +com.microsoft.graph.models.CopilotAdminCatalog::|public|OdataType:String +com.microsoft.graph.models.CopilotAdminCatalog::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.CopilotAdminCatalog::|public|setPackages(value?:java.util.List):void +com.microsoft.graph.models.CopilotAdminCatalog::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CopilotAdminCatalog com.microsoft.graph.models.CopilotAdminLimitedMode-->Entity com.microsoft.graph.models.CopilotAdminLimitedMode::|public|constructor():void com.microsoft.graph.models.CopilotAdminLimitedMode::|public|getFieldDeserializers():Map> @@ -125306,6 +125922,66 @@ com.microsoft.graph.models.CopilotAdminSetting::|public|OdataType:String com.microsoft.graph.models.CopilotAdminSetting::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.CopilotAdminSetting::|public|setLimitedMode(value?:CopilotAdminLimitedMode):void com.microsoft.graph.models.CopilotAdminSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CopilotAdminSetting +com.microsoft.graph.models.CopilotPackage-->Entity +com.microsoft.graph.models.CopilotPackage::|public|constructor():void +com.microsoft.graph.models.CopilotPackage::|public|getAppId():String +com.microsoft.graph.models.CopilotPackage::|public|getAssetId():String +com.microsoft.graph.models.CopilotPackage::|public|getAvailableTo():PackageStatus +com.microsoft.graph.models.CopilotPackage::|public|getDeployedTo():PackageStatus +com.microsoft.graph.models.CopilotPackage::|public|getDisplayName():String +com.microsoft.graph.models.CopilotPackage::|public|getElementTypes():java.util.List +com.microsoft.graph.models.CopilotPackage::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.CopilotPackage::|public|getIsBlocked():Boolean +com.microsoft.graph.models.CopilotPackage::|public|getLastModifiedDateTime():OffsetDateTime +com.microsoft.graph.models.CopilotPackage::|public|getManifestId():String +com.microsoft.graph.models.CopilotPackage::|public|getManifestVersion():String +com.microsoft.graph.models.CopilotPackage::|public|getOwnerId():String +com.microsoft.graph.models.CopilotPackage::|public|getPlatform():String +com.microsoft.graph.models.CopilotPackage::|public|getPublisher():String +com.microsoft.graph.models.CopilotPackage::|public|getShortDescription():String +com.microsoft.graph.models.CopilotPackage::|public|getSupportedHosts():java.util.List +com.microsoft.graph.models.CopilotPackage::|public|getType():PackageType +com.microsoft.graph.models.CopilotPackage::|public|getVersion():String +com.microsoft.graph.models.CopilotPackage::|public|getZipFile():byte[] +com.microsoft.graph.models.CopilotPackage::|public|OdataType:String +com.microsoft.graph.models.CopilotPackage::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.CopilotPackage::|public|setAppId(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setAssetId(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setAvailableTo(value?:PackageStatus):void +com.microsoft.graph.models.CopilotPackage::|public|setDeployedTo(value?:PackageStatus):void +com.microsoft.graph.models.CopilotPackage::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setElementTypes(value?:java.util.List):void +com.microsoft.graph.models.CopilotPackage::|public|setIsBlocked(value?:Boolean):void +com.microsoft.graph.models.CopilotPackage::|public|setLastModifiedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.CopilotPackage::|public|setManifestId(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setManifestVersion(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setOwnerId(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setPlatform(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setPublisher(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setShortDescription(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setSupportedHosts(value?:java.util.List):void +com.microsoft.graph.models.CopilotPackage::|public|setType(value?:PackageType):void +com.microsoft.graph.models.CopilotPackage::|public|setVersion(value?:String):void +com.microsoft.graph.models.CopilotPackage::|public|setZipFile(value?:byte[]):void +com.microsoft.graph.models.CopilotPackage::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CopilotPackage +com.microsoft.graph.models.CopilotPackageDetail-->CopilotPackage +com.microsoft.graph.models.CopilotPackageDetail::|public|constructor():void +com.microsoft.graph.models.CopilotPackageDetail::|public|getAcquireUsersAndGroups():java.util.List +com.microsoft.graph.models.CopilotPackageDetail::|public|getAllowedUsersAndGroups():java.util.List +com.microsoft.graph.models.CopilotPackageDetail::|public|getCategories():java.util.List +com.microsoft.graph.models.CopilotPackageDetail::|public|getElementDetails():java.util.List +com.microsoft.graph.models.CopilotPackageDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.CopilotPackageDetail::|public|getLongDescription():String +com.microsoft.graph.models.CopilotPackageDetail::|public|getSensitivity():String +com.microsoft.graph.models.CopilotPackageDetail::|public|OdataType:String +com.microsoft.graph.models.CopilotPackageDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.CopilotPackageDetail::|public|setAcquireUsersAndGroups(value?:java.util.List):void +com.microsoft.graph.models.CopilotPackageDetail::|public|setAllowedUsersAndGroups(value?:java.util.List):void +com.microsoft.graph.models.CopilotPackageDetail::|public|setCategories(value?:java.util.List):void +com.microsoft.graph.models.CopilotPackageDetail::|public|setElementDetails(value?:java.util.List):void +com.microsoft.graph.models.CopilotPackageDetail::|public|setLongDescription(value?:String):void +com.microsoft.graph.models.CopilotPackageDetail::|public|setSensitivity(value?:String):void +com.microsoft.graph.models.CopilotPackageDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CopilotPackageDetail com.microsoft.graph.models.CopilotReportRoot-->Entity com.microsoft.graph.models.CopilotReportRoot::|public|constructor():void com.microsoft.graph.models.CopilotReportRoot::|public|getFieldDeserializers():Map> @@ -130461,6 +131137,18 @@ com.microsoft.graph.models.EmailIdentity::|public|OdataType:String com.microsoft.graph.models.EmailIdentity::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.EmailIdentity::|public|setEmail(value?:String):void com.microsoft.graph.models.EmailIdentity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EmailIdentity +com.microsoft.graph.models.EmailNotificationsSetting-->Entity +com.microsoft.graph.models.EmailNotificationsSetting::|public|constructor():void +com.microsoft.graph.models.EmailNotificationsSetting::|public|getAdditionalEvents():NotificationEventsType +com.microsoft.graph.models.EmailNotificationsSetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EmailNotificationsSetting::|public|getIsEnabled():Boolean +com.microsoft.graph.models.EmailNotificationsSetting::|public|getRecipients():NotificationRecipients +com.microsoft.graph.models.EmailNotificationsSetting::|public|OdataType:String +com.microsoft.graph.models.EmailNotificationsSetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EmailNotificationsSetting::|public|setAdditionalEvents(value?:NotificationEventsType):void +com.microsoft.graph.models.EmailNotificationsSetting::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.models.EmailNotificationsSetting::|public|setRecipients(value?:NotificationRecipients):void +com.microsoft.graph.models.EmailNotificationsSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EmailNotificationsSetting com.microsoft.graph.models.EmailPayloadDetail-->PayloadDetail com.microsoft.graph.models.EmailPayloadDetail::|public|constructor():void com.microsoft.graph.models.EmailPayloadDetail::|public|getFieldDeserializers():Map> @@ -130701,6 +131389,16 @@ com.microsoft.graph.models.EndUserNotificationType::0002-NoTraining com.microsoft.graph.models.EndUserNotificationType::0003-TrainingAssignment com.microsoft.graph.models.EndUserNotificationType::0004-TrainingReminder com.microsoft.graph.models.EndUserNotificationType::0005-UnknownFutureValue +com.microsoft.graph.models.EndUserSettings-->ControlConfiguration +com.microsoft.graph.models.EndUserSettings::|public|constructor():void +com.microsoft.graph.models.EndUserSettings::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EndUserSettings::|public|getRelatedPeopleInsightLevel():AccessPackageSuggestionRelatedPeopleInsightLevel +com.microsoft.graph.models.EndUserSettings::|public|getShowApproverDetailsToMembers():Boolean +com.microsoft.graph.models.EndUserSettings::|public|OdataType:String +com.microsoft.graph.models.EndUserSettings::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EndUserSettings::|public|setRelatedPeopleInsightLevel(value?:AccessPackageSuggestionRelatedPeopleInsightLevel):void +com.microsoft.graph.models.EndUserSettings::|public|setShowApproverDetailsToMembers(value?:Boolean):void +com.microsoft.graph.models.EndUserSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EndUserSettings com.microsoft.graph.models.EngagementAsyncOperation-->LongRunningOperation com.microsoft.graph.models.EngagementAsyncOperation::|public|constructor():void com.microsoft.graph.models.EngagementAsyncOperation::|public|getFieldDeserializers():Map> @@ -130958,11 +131656,14 @@ com.microsoft.graph.models.EntitlementManagement-->Entity com.microsoft.graph.models.EntitlementManagement::|public|constructor():void com.microsoft.graph.models.EntitlementManagement::|public|getAccessPackageAssignmentApprovals():java.util.List com.microsoft.graph.models.EntitlementManagement::|public|getAccessPackages():java.util.List +com.microsoft.graph.models.EntitlementManagement::|public|getAccessPackageSuggestions():java.util.List com.microsoft.graph.models.EntitlementManagement::|public|getAssignmentPolicies():java.util.List com.microsoft.graph.models.EntitlementManagement::|public|getAssignmentRequests():java.util.List com.microsoft.graph.models.EntitlementManagement::|public|getAssignments():java.util.List +com.microsoft.graph.models.EntitlementManagement::|public|getAvailableAccessPackages():java.util.List com.microsoft.graph.models.EntitlementManagement::|public|getCatalogs():java.util.List com.microsoft.graph.models.EntitlementManagement::|public|getConnectedOrganizations():java.util.List +com.microsoft.graph.models.EntitlementManagement::|public|getControlConfigurations():java.util.List com.microsoft.graph.models.EntitlementManagement::|public|getFieldDeserializers():Map> com.microsoft.graph.models.EntitlementManagement::|public|getResourceEnvironments():java.util.List com.microsoft.graph.models.EntitlementManagement::|public|getResourceRequests():java.util.List @@ -130974,11 +131675,14 @@ com.microsoft.graph.models.EntitlementManagement::|public|OdataType:String com.microsoft.graph.models.EntitlementManagement::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.EntitlementManagement::|public|setAccessPackageAssignmentApprovals(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setAccessPackages(value?:java.util.List):void +com.microsoft.graph.models.EntitlementManagement::|public|setAccessPackageSuggestions(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setAssignmentPolicies(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setAssignmentRequests(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setAssignments(value?:java.util.List):void +com.microsoft.graph.models.EntitlementManagement::|public|setAvailableAccessPackages(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setCatalogs(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setConnectedOrganizations(value?:java.util.List):void +com.microsoft.graph.models.EntitlementManagement::|public|setControlConfigurations(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setResourceEnvironments(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setResourceRequests(value?:java.util.List):void com.microsoft.graph.models.EntitlementManagement::|public|setResourceRoleScopes(value?:java.util.List):void @@ -131051,6 +131755,14 @@ com.microsoft.graph.models.EnumeratedDeviceRegistrationMembership::|public|seria com.microsoft.graph.models.EnumeratedDeviceRegistrationMembership::|public|setGroups(value?:java.util.List):void com.microsoft.graph.models.EnumeratedDeviceRegistrationMembership::|public|setUsers(value?:java.util.List):void com.microsoft.graph.models.EnumeratedDeviceRegistrationMembership::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EnumeratedDeviceRegistrationMembership +com.microsoft.graph.models.EnumeratedDomains-->ValidatingDomains +com.microsoft.graph.models.EnumeratedDomains::|public|constructor():void +com.microsoft.graph.models.EnumeratedDomains::|public|getDomainNames():java.util.List +com.microsoft.graph.models.EnumeratedDomains::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EnumeratedDomains::|public|OdataType:String +com.microsoft.graph.models.EnumeratedDomains::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EnumeratedDomains::|public|setDomainNames(value?:java.util.List):void +com.microsoft.graph.models.EnumeratedDomains::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EnumeratedDomains com.microsoft.graph.models.EnumeratedScopes-->InheritableScopes com.microsoft.graph.models.EnumeratedScopes::|public|constructor():void com.microsoft.graph.models.EnumeratedScopes::|public|getFieldDeserializers():Map> @@ -131884,6 +132596,7 @@ com.microsoft.graph.models.externalconnectors.Label::0050-PersonInterests com.microsoft.graph.models.externalconnectors.Label::0051-PersonLanguages com.microsoft.graph.models.externalconnectors.Label::0052-PersonPublications com.microsoft.graph.models.externalconnectors.Label::0053-PersonPatents +com.microsoft.graph.models.externalconnectors.Label::0054-PersonWorkPositions com.microsoft.graph.models.externalconnectors.Properties::|protected|backingStore:BackingStore com.microsoft.graph.models.externalconnectors.Properties::|public|constructor():void com.microsoft.graph.models.externalconnectors.Properties::|public|getAdditionalData():Map @@ -132196,6 +132909,14 @@ com.microsoft.graph.models.FederatedIdpMfaBehavior::0000-AcceptIfMfaDoneByFedera com.microsoft.graph.models.FederatedIdpMfaBehavior::0001-EnforceMfaByFederatedIdp com.microsoft.graph.models.FederatedIdpMfaBehavior::0002-RejectMfaByFederatedIdp com.microsoft.graph.models.FederatedIdpMfaBehavior::0003-UnknownFutureValue +com.microsoft.graph.models.FederatedTokenValidationPolicy-->DirectoryObject +com.microsoft.graph.models.FederatedTokenValidationPolicy::|public|constructor():void +com.microsoft.graph.models.FederatedTokenValidationPolicy::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.FederatedTokenValidationPolicy::|public|getValidatingDomains():ValidatingDomains +com.microsoft.graph.models.FederatedTokenValidationPolicy::|public|OdataType:String +com.microsoft.graph.models.FederatedTokenValidationPolicy::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.FederatedTokenValidationPolicy::|public|setValidatingDomains(value?:ValidatingDomains):void +com.microsoft.graph.models.FederatedTokenValidationPolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FederatedTokenValidationPolicy com.microsoft.graph.models.FedRampLevel::0000-None com.microsoft.graph.models.FedRampLevel::0001-High com.microsoft.graph.models.FedRampLevel::0002-LiSaas @@ -133078,6 +133799,7 @@ com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse::|stati com.microsoft.graph.models.Group-->DirectoryObject com.microsoft.graph.models.Group::|public|constructor():void com.microsoft.graph.models.Group::|public|getAcceptedSenders():java.util.List +com.microsoft.graph.models.Group::|public|getAccessType():GroupAccessType com.microsoft.graph.models.Group::|public|getAllowExternalSenders():Boolean com.microsoft.graph.models.Group::|public|getAppRoleAssignments():java.util.List com.microsoft.graph.models.Group::|public|getAssignedLabels():java.util.List @@ -133105,6 +133827,7 @@ com.microsoft.graph.models.Group::|public|getHideFromOutlookClients():Boolean com.microsoft.graph.models.Group::|public|getInfoCatalogs():java.util.List com.microsoft.graph.models.Group::|public|getIsArchived():Boolean com.microsoft.graph.models.Group::|public|getIsAssignableToRole():Boolean +com.microsoft.graph.models.Group::|public|getIsFavorite():Boolean com.microsoft.graph.models.Group::|public|getIsManagementRestricted():Boolean com.microsoft.graph.models.Group::|public|getIsSubscribedByMail():Boolean com.microsoft.graph.models.Group::|public|getLicenseProcessingState():LicenseProcessingState @@ -133118,6 +133841,7 @@ com.microsoft.graph.models.Group::|public|getMembershipRuleProcessingState():Str com.microsoft.graph.models.Group::|public|getMembersWithLicenseErrors():java.util.List com.microsoft.graph.models.Group::|public|getOnenote():Onenote com.microsoft.graph.models.Group::|public|getOnPremisesDomainName():String +com.microsoft.graph.models.Group::|public|getOnPremisesExtensionAttributes():OnPremisesExtensionAttributes com.microsoft.graph.models.Group::|public|getOnPremisesLastSyncDateTime():OffsetDateTime com.microsoft.graph.models.Group::|public|getOnPremisesNetBiosName():String com.microsoft.graph.models.Group::|public|getOnPremisesProvisioningErrors():java.util.List @@ -133148,12 +133872,15 @@ com.microsoft.graph.models.Group::|public|getThreads():java.util.List com.microsoft.graph.models.Group::|public|getTransitiveMembers():java.util.List com.microsoft.graph.models.Group::|public|getUniqueName():String +com.microsoft.graph.models.Group::|public|getUnseenConversationsCount():Integer com.microsoft.graph.models.Group::|public|getUnseenCount():Integer +com.microsoft.graph.models.Group::|public|getUnseenMessagesCount():Integer com.microsoft.graph.models.Group::|public|getVisibility():String com.microsoft.graph.models.Group::|public|getWelcomeMessageEnabled():Boolean com.microsoft.graph.models.Group::|public|OdataType:String com.microsoft.graph.models.Group::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.Group::|public|setAcceptedSenders(value?:java.util.List):void +com.microsoft.graph.models.Group::|public|setAccessType(value?:GroupAccessType):void com.microsoft.graph.models.Group::|public|setAllowExternalSenders(value?:Boolean):void com.microsoft.graph.models.Group::|public|setAppRoleAssignments(value?:java.util.List):void com.microsoft.graph.models.Group::|public|setAssignedLabels(value?:java.util.List):void @@ -133180,6 +133907,7 @@ com.microsoft.graph.models.Group::|public|setHideFromOutlookClients(value?:Boole com.microsoft.graph.models.Group::|public|setInfoCatalogs(value?:java.util.List):void com.microsoft.graph.models.Group::|public|setIsArchived(value?:Boolean):void com.microsoft.graph.models.Group::|public|setIsAssignableToRole(value?:Boolean):void +com.microsoft.graph.models.Group::|public|setIsFavorite(value?:Boolean):void com.microsoft.graph.models.Group::|public|setIsManagementRestricted(value?:Boolean):void com.microsoft.graph.models.Group::|public|setIsSubscribedByMail(value?:Boolean):void com.microsoft.graph.models.Group::|public|setLicenseProcessingState(value?:LicenseProcessingState):void @@ -133193,6 +133921,7 @@ com.microsoft.graph.models.Group::|public|setMembershipRuleProcessingState(value com.microsoft.graph.models.Group::|public|setMembersWithLicenseErrors(value?:java.util.List):void com.microsoft.graph.models.Group::|public|setOnenote(value?:Onenote):void com.microsoft.graph.models.Group::|public|setOnPremisesDomainName(value?:String):void +com.microsoft.graph.models.Group::|public|setOnPremisesExtensionAttributes(value?:OnPremisesExtensionAttributes):void com.microsoft.graph.models.Group::|public|setOnPremisesLastSyncDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.Group::|public|setOnPremisesNetBiosName(value?:String):void com.microsoft.graph.models.Group::|public|setOnPremisesProvisioningErrors(value?:java.util.List):void @@ -133223,10 +133952,17 @@ com.microsoft.graph.models.Group::|public|setThreads(value?:java.util.List):void com.microsoft.graph.models.Group::|public|setTransitiveMembers(value?:java.util.List):void com.microsoft.graph.models.Group::|public|setUniqueName(value?:String):void +com.microsoft.graph.models.Group::|public|setUnseenConversationsCount(value?:Integer):void com.microsoft.graph.models.Group::|public|setUnseenCount(value?:Integer):void +com.microsoft.graph.models.Group::|public|setUnseenMessagesCount(value?:Integer):void com.microsoft.graph.models.Group::|public|setVisibility(value?:String):void com.microsoft.graph.models.Group::|public|setWelcomeMessageEnabled(value?:Boolean):void com.microsoft.graph.models.Group::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Group +com.microsoft.graph.models.GroupAccessType::0000-None +com.microsoft.graph.models.GroupAccessType::0001-Private +com.microsoft.graph.models.GroupAccessType::0002-Secret +com.microsoft.graph.models.GroupAccessType::0003-Public +com.microsoft.graph.models.GroupAccessType::0004-UnknownFutureValue com.microsoft.graph.models.GroupAssignmentTarget-->DeviceAndAppManagementAssignmentTarget com.microsoft.graph.models.GroupAssignmentTarget::|public|constructor():void com.microsoft.graph.models.GroupAssignmentTarget::|public|getFieldDeserializers():Map> @@ -133657,6 +134393,14 @@ com.microsoft.graph.models.identitygovernance.AttributeChangeTrigger::|public|Od com.microsoft.graph.models.identitygovernance.AttributeChangeTrigger::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.identitygovernance.AttributeChangeTrigger::|public|setTriggerAttributes(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.AttributeChangeTrigger::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AttributeChangeTrigger +com.microsoft.graph.models.identitygovernance.CountBasedQuarantineCondition-->QuarantineCondition +com.microsoft.graph.models.identitygovernance.CountBasedQuarantineCondition::|public|constructor():void +com.microsoft.graph.models.identitygovernance.CountBasedQuarantineCondition::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.CountBasedQuarantineCondition::|public|getThreshold():Long +com.microsoft.graph.models.identitygovernance.CountBasedQuarantineCondition::|public|OdataType:String +com.microsoft.graph.models.identitygovernance.CountBasedQuarantineCondition::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.CountBasedQuarantineCondition::|public|setThreshold(value?:Long):void +com.microsoft.graph.models.identitygovernance.CountBasedQuarantineCondition::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CountBasedQuarantineCondition com.microsoft.graph.models.identitygovernance.CustomTaskExtension-->CustomCalloutExtension com.microsoft.graph.models.identitygovernance.CustomTaskExtension::|public|constructor():void com.microsoft.graph.models.identitygovernance.CustomTaskExtension::|public|getCallbackConfiguration():CustomExtensionCallbackConfiguration @@ -133731,10 +134475,12 @@ com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings-->Enti com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|constructor():void com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|getEmailSettings():EmailSettings com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|getQuarantineConfiguration():QuarantineConfiguration com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|getWorkflowScheduleIntervalInHours():Integer com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|OdataType:String com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|setEmailSettings(value?:EmailSettings):void +com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|setQuarantineConfiguration(value?:QuarantineConfiguration):void com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|public|setWorkflowScheduleIntervalInHours(value?:Integer):void com.microsoft.graph.models.identitygovernance.LifecycleManagementSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecycleManagementSettings com.microsoft.graph.models.identitygovernance.LifecycleTaskCategory::0000-Joiner @@ -133752,6 +134498,7 @@ com.microsoft.graph.models.identitygovernance.LifecycleWorkflowProcessingStatus: com.microsoft.graph.models.identitygovernance.LifecycleWorkflowProcessingStatus::0004-Canceled com.microsoft.graph.models.identitygovernance.LifecycleWorkflowProcessingStatus::0005-Failed com.microsoft.graph.models.identitygovernance.LifecycleWorkflowProcessingStatus::0006-UnknownFutureValue +com.microsoft.graph.models.identitygovernance.LifecycleWorkflowProcessingStatus::0007-Quarantined com.microsoft.graph.models.identitygovernance.LifecycleWorkflowsContainer-->Entity com.microsoft.graph.models.identitygovernance.LifecycleWorkflowsContainer::|public|constructor():void com.microsoft.graph.models.identitygovernance.LifecycleWorkflowsContainer::|public|getCustomTaskExtensions():java.util.List @@ -133772,6 +134519,9 @@ com.microsoft.graph.models.identitygovernance.LifecycleWorkflowsContainer::|publ com.microsoft.graph.models.identitygovernance.LifecycleWorkflowsContainer::|public|setWorkflows(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.LifecycleWorkflowsContainer::|public|setWorkflowTemplates(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.LifecycleWorkflowsContainer::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecycleWorkflowsContainer +com.microsoft.graph.models.identitygovernance.MatchMode::0000-Any +com.microsoft.graph.models.identitygovernance.MatchMode::0001-All +com.microsoft.graph.models.identitygovernance.MatchMode::0002-UnknownFutureValue com.microsoft.graph.models.identitygovernance.MembershipChangeTrigger-->WorkflowExecutionTrigger com.microsoft.graph.models.identitygovernance.MembershipChangeTrigger::|public|constructor():void com.microsoft.graph.models.identitygovernance.MembershipChangeTrigger::|public|getChangeType():MembershipChangeType @@ -133807,6 +134557,85 @@ com.microsoft.graph.models.identitygovernance.Parameter::|public|setValues(value com.microsoft.graph.models.identitygovernance.Parameter::|public|setValueType(value?:ValueType):void com.microsoft.graph.models.identitygovernance.Parameter::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Parameter com.microsoft.graph.models.identitygovernance.Parameter~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.identitygovernance.PercentageBasedQuarantineCondition-->QuarantineCondition +com.microsoft.graph.models.identitygovernance.PercentageBasedQuarantineCondition::|public|constructor():void +com.microsoft.graph.models.identitygovernance.PercentageBasedQuarantineCondition::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.PercentageBasedQuarantineCondition::|public|getPercentage():Integer +com.microsoft.graph.models.identitygovernance.PercentageBasedQuarantineCondition::|public|OdataType:String +com.microsoft.graph.models.identitygovernance.PercentageBasedQuarantineCondition::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.PercentageBasedQuarantineCondition::|public|setPercentage(value?:Integer):void +com.microsoft.graph.models.identitygovernance.PercentageBasedQuarantineCondition::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PercentageBasedQuarantineCondition +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|protected|backingStore:BackingStore +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|constructor():void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|getAdditionalData():Map +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|getBackingStore():BackingStore +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|getDefinitionId():String +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|getFailureReason():String +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|getName():String +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|getOdataType():String +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|getTaskId():String +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|setDefinitionId(value?:String):void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|setFailureReason(value?:String):void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|setName(value?:String):void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|setOdataType(value?:String):void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|public|setTaskId(value?:String):void +com.microsoft.graph.models.identitygovernance.PreviewFailedTask::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PreviewFailedTask +com.microsoft.graph.models.identitygovernance.PreviewFailedTask~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|protected|backingStore:BackingStore +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|constructor():void +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|getAdditionalData():Map +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|getBackingStore():BackingStore +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|getOdataType():String +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|public|setOdataType(value?:String):void +com.microsoft.graph.models.identitygovernance.QuarantineCondition::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):QuarantineCondition +com.microsoft.graph.models.identitygovernance.QuarantineCondition~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|constructor():void +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|getConditions():java.util.List +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|getMatchMode():MatchMode +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|getOdataType():String +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|setConditions(value?:java.util.List):void +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|setMatchMode(value?:MatchMode):void +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):QuarantineConfiguration +com.microsoft.graph.models.identitygovernance.QuarantineConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|protected|backingStore:BackingStore +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|constructor():void +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|getAdditionalData():Map +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|getBackingStore():BackingStore +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|getOdataType():String +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|getQuarantinedDateTime():OffsetDateTime +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|getQuarantineReason():String +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|getQuarantineType():QuarantineType +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|setOdataType(value?:String):void +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|setQuarantinedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|setQuarantineReason(value?:String):void +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|public|setQuarantineType(value?:QuarantineType):void +com.microsoft.graph.models.identitygovernance.QuarantineDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):QuarantineDetails +com.microsoft.graph.models.identitygovernance.QuarantineDetails~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.identitygovernance.QuarantineType::0000-NotQuarantined +com.microsoft.graph.models.identitygovernance.QuarantineType::0001-CountBasedThresholdExceeded +com.microsoft.graph.models.identitygovernance.QuarantineType::0002-PercentageBasedThresholdExceeded +com.microsoft.graph.models.identitygovernance.QuarantineType::0003-MultipleConditionsExceeded +com.microsoft.graph.models.identitygovernance.QuarantineType::0004-UnknownFutureValue com.microsoft.graph.models.identitygovernance.RuleBasedSubjectSet-->SubjectSet com.microsoft.graph.models.identitygovernance.RuleBasedSubjectSet::|public|constructor():void com.microsoft.graph.models.identitygovernance.RuleBasedSubjectSet::|public|getFieldDeserializers():Map> @@ -134199,7 +135028,10 @@ com.microsoft.graph.models.identitygovernance.Workflow::|public|getExecutionScop com.microsoft.graph.models.identitygovernance.Workflow::|public|getFieldDeserializers():Map> com.microsoft.graph.models.identitygovernance.Workflow::|public|getId():String com.microsoft.graph.models.identitygovernance.Workflow::|public|getNextScheduleRunDateTime():OffsetDateTime +com.microsoft.graph.models.identitygovernance.Workflow::|public|getPreviewScope():java.util.List +com.microsoft.graph.models.identitygovernance.Workflow::|public|getQuarantineDetails():QuarantineDetails com.microsoft.graph.models.identitygovernance.Workflow::|public|getRuns():java.util.List +com.microsoft.graph.models.identitygovernance.Workflow::|public|getSettings():WorkflowSetting com.microsoft.graph.models.identitygovernance.Workflow::|public|getTaskReports():java.util.List com.microsoft.graph.models.identitygovernance.Workflow::|public|getUserProcessingResults():java.util.List com.microsoft.graph.models.identitygovernance.Workflow::|public|getVersion():Integer @@ -134210,7 +135042,10 @@ com.microsoft.graph.models.identitygovernance.Workflow::|public|setDeletedDateTi com.microsoft.graph.models.identitygovernance.Workflow::|public|setExecutionScope(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.Workflow::|public|setId(value?:String):void com.microsoft.graph.models.identitygovernance.Workflow::|public|setNextScheduleRunDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.identitygovernance.Workflow::|public|setPreviewScope(value?:java.util.List):void +com.microsoft.graph.models.identitygovernance.Workflow::|public|setQuarantineDetails(value?:QuarantineDetails):void com.microsoft.graph.models.identitygovernance.Workflow::|public|setRuns(value?:java.util.List):void +com.microsoft.graph.models.identitygovernance.Workflow::|public|setSettings(value?:WorkflowSetting):void com.microsoft.graph.models.identitygovernance.Workflow::|public|setTaskReports(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.Workflow::|public|setUserProcessingResults(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.Workflow::|public|setVersion(value?:Integer):void @@ -134287,6 +135122,21 @@ com.microsoft.graph.models.identitygovernance.WorkflowExecutionType::0000-Schedu 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.WorkflowExecutionType::0004-Preview +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|protected|backingStore:BackingStore +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|constructor():void +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|getAdditionalData():Map +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|getBackingStore():BackingStore +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|getOdataType():String +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|getQuarantineConfiguration():QuarantineConfiguration +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|setOdataType(value?:String):void +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|public|setQuarantineConfiguration(value?:QuarantineConfiguration):void +com.microsoft.graph.models.identitygovernance.WorkflowSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WorkflowSetting +com.microsoft.graph.models.identitygovernance.WorkflowSetting~~>AdditionalDataHolder; BackedModel; Parsable 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 @@ -134377,9 +135227,11 @@ com.microsoft.graph.models.identitygovernance.WorkflowTriggerTimeBasedAttribute: com.microsoft.graph.models.identitygovernance.WorkflowVersion-->WorkflowBase com.microsoft.graph.models.identitygovernance.WorkflowVersion::|public|constructor():void com.microsoft.graph.models.identitygovernance.WorkflowVersion::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.WorkflowVersion::|public|getSettings():WorkflowSetting com.microsoft.graph.models.identitygovernance.WorkflowVersion::|public|getVersionNumber():Integer com.microsoft.graph.models.identitygovernance.WorkflowVersion::|public|OdataType:String com.microsoft.graph.models.identitygovernance.WorkflowVersion::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.identitygovernance.WorkflowVersion::|public|setSettings(value?:WorkflowSetting):void com.microsoft.graph.models.identitygovernance.WorkflowVersion::|public|setVersionNumber(value?:Integer):void com.microsoft.graph.models.identitygovernance.WorkflowVersion::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WorkflowVersion com.microsoft.graph.models.identitygovernance.WorkflowVersionCollectionResponse-->BaseCollectionPaginationCountResponse @@ -140192,6 +141044,9 @@ com.microsoft.graph.models.NotificationDeliveryPreference::0000-Unknown com.microsoft.graph.models.NotificationDeliveryPreference::0001-DeliverImmedietly com.microsoft.graph.models.NotificationDeliveryPreference::0002-DeliverAfterCampaignEnd com.microsoft.graph.models.NotificationDeliveryPreference::0003-UnknownFutureValue +com.microsoft.graph.models.NotificationEventsType::0000-None +com.microsoft.graph.models.NotificationEventsType::0001-RestoreAndPolicyUpdates +com.microsoft.graph.models.NotificationEventsType::0002-UnknownFutureValue com.microsoft.graph.models.NotificationMessageTemplate-->Entity com.microsoft.graph.models.NotificationMessageTemplate::|public|constructor():void com.microsoft.graph.models.NotificationMessageTemplate::|public|getBrandingOptions():NotificationTemplateBrandingOptions @@ -140217,6 +141072,28 @@ com.microsoft.graph.models.NotificationMessageTemplateCollectionResponse::|publi com.microsoft.graph.models.NotificationMessageTemplateCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.NotificationMessageTemplateCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.NotificationMessageTemplateCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NotificationMessageTemplateCollectionResponse +com.microsoft.graph.models.NotificationRecipients::|protected|backingStore:BackingStore +com.microsoft.graph.models.NotificationRecipients::|public|constructor():void +com.microsoft.graph.models.NotificationRecipients::|public|getAdditionalData():Map +com.microsoft.graph.models.NotificationRecipients::|public|getBackingStore():BackingStore +com.microsoft.graph.models.NotificationRecipients::|public|getCustomRecipients():java.util.List +com.microsoft.graph.models.NotificationRecipients::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.NotificationRecipients::|public|getOdataType():String +com.microsoft.graph.models.NotificationRecipients::|public|getRole():NotificationRecipientsType +com.microsoft.graph.models.NotificationRecipients::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.NotificationRecipients::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.NotificationRecipients::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.NotificationRecipients::|public|setCustomRecipients(value?:java.util.List):void +com.microsoft.graph.models.NotificationRecipients::|public|setOdataType(value?:String):void +com.microsoft.graph.models.NotificationRecipients::|public|setRole(value?:NotificationRecipientsType):void +com.microsoft.graph.models.NotificationRecipients::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NotificationRecipients +com.microsoft.graph.models.NotificationRecipientsType::0000-None +com.microsoft.graph.models.NotificationRecipientsType::0001-GlobalAdmins +com.microsoft.graph.models.NotificationRecipientsType::0002-BackupAdmins +com.microsoft.graph.models.NotificationRecipientsType::0003-Custom +com.microsoft.graph.models.NotificationRecipientsType::0004-AllAdmins +com.microsoft.graph.models.NotificationRecipientsType::0005-UnknownFutureValue +com.microsoft.graph.models.NotificationRecipients~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.NotificationTemplateBrandingOptions::0000-None com.microsoft.graph.models.NotificationTemplateBrandingOptions::0001-IncludeCompanyLogo com.microsoft.graph.models.NotificationTemplateBrandingOptions::0002-IncludeCompanyName @@ -142288,6 +143165,54 @@ com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setNotificationDuration com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setPolicyWebUrl(value?:String):void com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setTargetOwners(value?:TargetOwners):void com.microsoft.graph.models.OwnerlessGroupPolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OwnerlessGroupPolicy +com.microsoft.graph.models.PackageAccessEntity::|protected|backingStore:BackingStore +com.microsoft.graph.models.PackageAccessEntity::|public|constructor():void +com.microsoft.graph.models.PackageAccessEntity::|public|getAdditionalData():Map +com.microsoft.graph.models.PackageAccessEntity::|public|getBackingStore():BackingStore +com.microsoft.graph.models.PackageAccessEntity::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.PackageAccessEntity::|public|getOdataType():String +com.microsoft.graph.models.PackageAccessEntity::|public|getResourceId():String +com.microsoft.graph.models.PackageAccessEntity::|public|getResourceType():AccessEntityType +com.microsoft.graph.models.PackageAccessEntity::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.PackageAccessEntity::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.PackageAccessEntity::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.PackageAccessEntity::|public|setOdataType(value?:String):void +com.microsoft.graph.models.PackageAccessEntity::|public|setResourceId(value?:String):void +com.microsoft.graph.models.PackageAccessEntity::|public|setResourceType(value?:AccessEntityType):void +com.microsoft.graph.models.PackageAccessEntity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PackageAccessEntity +com.microsoft.graph.models.PackageAccessEntity~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.PackageElement::|protected|backingStore:BackingStore +com.microsoft.graph.models.PackageElement::|public|constructor():void +com.microsoft.graph.models.PackageElement::|public|getAdditionalData():Map +com.microsoft.graph.models.PackageElement::|public|getBackingStore():BackingStore +com.microsoft.graph.models.PackageElement::|public|getDefinition():UntypedNode +com.microsoft.graph.models.PackageElement::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.PackageElement::|public|getId():String +com.microsoft.graph.models.PackageElement::|public|getOdataType():String +com.microsoft.graph.models.PackageElement::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.PackageElement::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.PackageElement::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.PackageElement::|public|setDefinition(value?:UntypedNode):void +com.microsoft.graph.models.PackageElement::|public|setId(value?:String):void +com.microsoft.graph.models.PackageElement::|public|setOdataType(value?:String):void +com.microsoft.graph.models.PackageElement::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PackageElement +com.microsoft.graph.models.PackageElementDetail::|protected|backingStore:BackingStore +com.microsoft.graph.models.PackageElementDetail::|public|constructor():void +com.microsoft.graph.models.PackageElementDetail::|public|getAdditionalData():Map +com.microsoft.graph.models.PackageElementDetail::|public|getBackingStore():BackingStore +com.microsoft.graph.models.PackageElementDetail::|public|getElements():java.util.List +com.microsoft.graph.models.PackageElementDetail::|public|getElementType():String +com.microsoft.graph.models.PackageElementDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.PackageElementDetail::|public|getOdataType():String +com.microsoft.graph.models.PackageElementDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.PackageElementDetail::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.PackageElementDetail::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.PackageElementDetail::|public|setElements(value?:java.util.List):void +com.microsoft.graph.models.PackageElementDetail::|public|setElementType(value?:String):void +com.microsoft.graph.models.PackageElementDetail::|public|setOdataType(value?:String):void +com.microsoft.graph.models.PackageElementDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PackageElementDetail +com.microsoft.graph.models.PackageElementDetail~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.PackageElement~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.PackageEscaped::|protected|backingStore:BackingStore com.microsoft.graph.models.PackageEscaped::|public|constructor():void com.microsoft.graph.models.PackageEscaped::|public|getAdditionalData():Map @@ -142302,6 +143227,15 @@ com.microsoft.graph.models.PackageEscaped::|public|setOdataType(value?:String):v com.microsoft.graph.models.PackageEscaped::|public|setType(value?:String):void com.microsoft.graph.models.PackageEscaped::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PackageEscaped com.microsoft.graph.models.PackageEscaped~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.PackageStatus::0000-None +com.microsoft.graph.models.PackageStatus::0001-Some +com.microsoft.graph.models.PackageStatus::0002-All +com.microsoft.graph.models.PackageStatus::0003-UnknownFutureValue +com.microsoft.graph.models.PackageType::0000-Microsoft +com.microsoft.graph.models.PackageType::0001-External +com.microsoft.graph.models.PackageType::0002-Shared +com.microsoft.graph.models.PackageType::0003-Custom +com.microsoft.graph.models.PackageType::0004-UnknownFutureValue com.microsoft.graph.models.PageLayoutType::0000-MicrosoftReserved com.microsoft.graph.models.PageLayoutType::0001-Article com.microsoft.graph.models.PageLayoutType::0002-Home @@ -143895,6 +144829,7 @@ com.microsoft.graph.models.PolicyRoot::|public|getCrossTenantAccessPolicy():Cros com.microsoft.graph.models.PolicyRoot::|public|getDefaultAppManagementPolicy():TenantAppManagementPolicy com.microsoft.graph.models.PolicyRoot::|public|getDeviceRegistrationPolicy():DeviceRegistrationPolicy com.microsoft.graph.models.PolicyRoot::|public|getFeatureRolloutPolicies():java.util.List +com.microsoft.graph.models.PolicyRoot::|public|getFederatedTokenValidationPolicy():FederatedTokenValidationPolicy com.microsoft.graph.models.PolicyRoot::|public|getFieldDeserializers():Map> com.microsoft.graph.models.PolicyRoot::|public|getHomeRealmDiscoveryPolicies():java.util.List com.microsoft.graph.models.PolicyRoot::|public|getIdentitySecurityDefaultsEnforcementPolicy():IdentitySecurityDefaultsEnforcementPolicy @@ -143919,6 +144854,7 @@ com.microsoft.graph.models.PolicyRoot::|public|setCrossTenantAccessPolicy(value? com.microsoft.graph.models.PolicyRoot::|public|setDefaultAppManagementPolicy(value?:TenantAppManagementPolicy):void com.microsoft.graph.models.PolicyRoot::|public|setDeviceRegistrationPolicy(value?:DeviceRegistrationPolicy):void com.microsoft.graph.models.PolicyRoot::|public|setFeatureRolloutPolicies(value?:java.util.List):void +com.microsoft.graph.models.PolicyRoot::|public|setFederatedTokenValidationPolicy(value?:FederatedTokenValidationPolicy):void com.microsoft.graph.models.PolicyRoot::|public|setHomeRealmDiscoveryPolicies(value?:java.util.List):void com.microsoft.graph.models.PolicyRoot::|public|setIdentitySecurityDefaultsEnforcementPolicy(value?:IdentitySecurityDefaultsEnforcementPolicy):void com.microsoft.graph.models.PolicyRoot::|public|setOwnerlessGroupPolicy(value?:OwnerlessGroupPolicy):void @@ -146270,10 +147206,12 @@ com.microsoft.graph.models.ProfileCardProperty::|public|constructor():void com.microsoft.graph.models.ProfileCardProperty::|public|getAnnotations():java.util.List com.microsoft.graph.models.ProfileCardProperty::|public|getDirectoryPropertyName():String com.microsoft.graph.models.ProfileCardProperty::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ProfileCardProperty::|public|getIsVisible():Boolean com.microsoft.graph.models.ProfileCardProperty::|public|OdataType:String com.microsoft.graph.models.ProfileCardProperty::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.ProfileCardProperty::|public|setAnnotations(value?:java.util.List):void com.microsoft.graph.models.ProfileCardProperty::|public|setDirectoryPropertyName(value?:String):void +com.microsoft.graph.models.ProfileCardProperty::|public|setIsVisible(value?:Boolean):void com.microsoft.graph.models.ProfileCardProperty::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProfileCardProperty com.microsoft.graph.models.ProfileCardPropertyCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.models.ProfileCardPropertyCollectionResponse::|public|constructor():void @@ -148898,6 +149836,11 @@ com.microsoft.graph.models.RolePermission::|public|setOdataType(value?:String):v com.microsoft.graph.models.RolePermission::|public|setResourceActions(value?:java.util.List):void com.microsoft.graph.models.RolePermission::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RolePermission com.microsoft.graph.models.RolePermission~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.RoleType::0000-Active +com.microsoft.graph.models.RoleType::0001-Eligible +com.microsoft.graph.models.RoleType::0002-Application +com.microsoft.graph.models.RoleType::0003-Delegated +com.microsoft.graph.models.RoleType::0004-UnknownFutureValue com.microsoft.graph.models.Room-->Place com.microsoft.graph.models.Room::|public|constructor():void com.microsoft.graph.models.Room::|public|getAudioDeviceName():String @@ -148965,6 +149908,13 @@ com.microsoft.graph.models.Root::|public|setAdditionalData(value?:MapAdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.RotateBitLockerKeysDeviceActionResult-->DeviceActionResult com.microsoft.graph.models.RotateBitLockerKeysDeviceActionResult::|public|constructor():void @@ -150052,6 +151002,7 @@ com.microsoft.graph.models.security.AdditionalDataOptions::0005-HtmlTranscripts com.microsoft.graph.models.security.AdditionalDataOptions::0006-MessageConversationExpansion com.microsoft.graph.models.security.AdditionalDataOptions::0007-LocationsWithoutHits com.microsoft.graph.models.security.AdditionalDataOptions::0008-AllItemsInFolder +com.microsoft.graph.models.security.AdditionalDataOptions::0009-CloudNativeHtmlConversion com.microsoft.graph.models.security.AdditionalOptions::0000-None com.microsoft.graph.models.security.AdditionalOptions::0001-TeamsAndYammerConversations com.microsoft.graph.models.security.AdditionalOptions::0002-CloudAttachments @@ -150259,6 +151210,263 @@ com.microsoft.graph.models.security.AmazonResourceEvidence::|public|setAmazonRes com.microsoft.graph.models.security.AmazonResourceEvidence::|public|setResourceName(value?:String):void com.microsoft.graph.models.security.AmazonResourceEvidence::|public|setResourceType(value?:String):void com.microsoft.graph.models.security.AmazonResourceEvidence::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AmazonResourceEvidence +com.microsoft.graph.models.security.AnalyzedEmail-->Entity +com.microsoft.graph.models.security.AnalyzedEmail::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmail::|public|getAlertIds():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getAttachments():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getAuthenticationDetails():AnalyzedEmailAuthenticationDetail +com.microsoft.graph.models.security.AnalyzedEmail::|public|getBulkComplaintLevel():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getClientType():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getContexts():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getDetectionMethods():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getDirectionality():AntispamDirectionality +com.microsoft.graph.models.security.AnalyzedEmail::|public|getDistributionList():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getDlpRules():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getEmailClusterId():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getExchangeTransportRules():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmail::|public|getForwardingDetail():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getInboundConnectorFormattedName():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getInternetMessageId():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getLanguage():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getLatestDelivery():AnalyzedEmailDeliveryDetail +com.microsoft.graph.models.security.AnalyzedEmail::|public|getLoggedDateTime():OffsetDateTime +com.microsoft.graph.models.security.AnalyzedEmail::|public|getNetworkMessageId():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getOriginalDelivery():AnalyzedEmailDeliveryDetail +com.microsoft.graph.models.security.AnalyzedEmail::|public|getOverrideSources():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getPhishConfidenceLevel():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getPolicy():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getPolicyAction():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getPolicyType():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getPrimaryOverrideSource():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getRecipientDetail():AnalyzedEmailRecipientDetail +com.microsoft.graph.models.security.AnalyzedEmail::|public|getRecipientEmailAddress():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getReturnPath():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getSenderDetail():AnalyzedEmailSenderDetail +com.microsoft.graph.models.security.AnalyzedEmail::|public|getSizeInBytes():Integer +com.microsoft.graph.models.security.AnalyzedEmail::|public|getSpamConfidenceLevel():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getSubject():String +com.microsoft.graph.models.security.AnalyzedEmail::|public|getThreatDetectionDetails():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getThreatTypes():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getTimelineEvents():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|getUrls():java.util.List +com.microsoft.graph.models.security.AnalyzedEmail::|public|OdataType:String +com.microsoft.graph.models.security.AnalyzedEmail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setAlertIds(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setAttachments(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setAuthenticationDetails(value?:AnalyzedEmailAuthenticationDetail):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setBulkComplaintLevel(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setClientType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setContexts(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setDetectionMethods(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setDirectionality(value?:AntispamDirectionality):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setDistributionList(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setDlpRules(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setEmailClusterId(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setExchangeTransportRules(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setForwardingDetail(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setInboundConnectorFormattedName(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setInternetMessageId(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setLanguage(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setLatestDelivery(value?:AnalyzedEmailDeliveryDetail):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setLoggedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setNetworkMessageId(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setOriginalDelivery(value?:AnalyzedEmailDeliveryDetail):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setOverrideSources(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setPhishConfidenceLevel(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setPolicy(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setPolicyAction(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setPolicyType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setPrimaryOverrideSource(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setRecipientDetail(value?:AnalyzedEmailRecipientDetail):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setRecipientEmailAddress(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setReturnPath(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setSenderDetail(value?:AnalyzedEmailSenderDetail):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setSizeInBytes(value?:Integer):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setSpamConfidenceLevel(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setSubject(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setThreatDetectionDetails(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setThreatTypes(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setTimelineEvents(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|public|setUrls(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmail +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getAdditionalData():Map +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getDetonationDetails():DetonationDetails +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getFileExtension():String +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getFileName():String +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getFileSize():Integer +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getFileType():String +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getMalwareFamily():String +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getOdataType():String +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getSha256():String +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getTenantAllowBlockListDetailInfo():String +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|getThreatType():ThreatType +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setDetonationDetails(value?:DetonationDetails):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setFileExtension(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setFileName(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setFileSize(value?:Integer):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setFileType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setMalwareFamily(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setSha256(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setTenantAllowBlockListDetailInfo(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|public|setThreatType(value?:ThreatType):void +com.microsoft.graph.models.security.AnalyzedEmailAttachment::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailAttachment +com.microsoft.graph.models.security.AnalyzedEmailAttachment~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|getAdditionalData():Map +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|getCompositeAuthentication():String +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|getDkim():String +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|getDmarc():String +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|getOdataType():String +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|getSenderPolicyFramework():String +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|setCompositeAuthentication(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|setDkim(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|setDmarc(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|public|setSenderPolicyFramework(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailAuthenticationDetail +com.microsoft.graph.models.security.AnalyzedEmailAuthenticationDetail~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.AnalyzedEmailCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.security.AnalyzedEmailCollectionResponse::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.security.AnalyzedEmailCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmailCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailCollectionResponse +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|getAction():DeliveryAction +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|getAdditionalData():Map +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|getLatestThreats():String +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|getLocation():DeliveryLocation +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|getOdataType():String +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|getOriginalThreats():String +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|setAction(value?:DeliveryAction):void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|setLatestThreats(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|setLocation(value?:DeliveryLocation):void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|public|setOriginalThreats(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailDeliveryDetail +com.microsoft.graph.models.security.AnalyzedEmailDeliveryDetail~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|getAdditionalData():Map +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|getName():String +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|getOdataType():String +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|getRuleId():String +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|setName(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|public|setRuleId(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailDlpRuleInfo +com.microsoft.graph.models.security.AnalyzedEmailDlpRuleInfo~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|getAdditionalData():Map +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|getName():String +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|getOdataType():String +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|getRuleId():String +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|setName(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|public|setRuleId(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailExchangeTransportRuleInfo +com.microsoft.graph.models.security.AnalyzedEmailExchangeTransportRuleInfo~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|getAdditionalData():Map +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|getCcRecipients():java.util.List +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|getDomainName():String +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|getOdataType():String +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|setCcRecipients(value?:java.util.List):void +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|setDomainName(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailRecipientDetail +com.microsoft.graph.models.security.AnalyzedEmailRecipientDetail~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getAdditionalData():Map +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getDisplayName():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getDomainCreationDateTime():OffsetDateTime +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getDomainName():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getDomainOwner():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getFromAddress():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getIpv4():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getLocation():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getMailFromAddress():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getMailFromDomainName():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|getOdataType():String +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setDomainCreationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setDomainName(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setDomainOwner(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setFromAddress(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setIpv4(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setLocation(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setMailFromAddress(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setMailFromDomainName(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailSenderDetail +com.microsoft.graph.models.security.AnalyzedEmailSenderDetail~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.AnalyzedEmailUrl::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|constructor():void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getAdditionalData():Map +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getDetectionMethod():String +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getDetonationDetails():DetonationDetails +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getOdataType():String +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getTenantAllowBlockListDetailInfo():String +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getThreatType():ThreatType +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|getUrl():String +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|setDetectionMethod(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|setDetonationDetails(value?:DetonationDetails):void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|setTenantAllowBlockListDetailInfo(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|setThreatType(value?:ThreatType):void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|public|setUrl(value?:String):void +com.microsoft.graph.models.security.AnalyzedEmailUrl::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedEmailUrl +com.microsoft.graph.models.security.AnalyzedEmailUrl~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.security.AnalyzedMessageEvidence-->AlertEvidence com.microsoft.graph.models.security.AnalyzedMessageEvidence::|public|constructor():void com.microsoft.graph.models.security.AnalyzedMessageEvidence::|public|getAntiSpamDirection():String @@ -150301,6 +151509,11 @@ com.microsoft.graph.models.security.AnalyzedMessageEvidence::|public|setUrlCount com.microsoft.graph.models.security.AnalyzedMessageEvidence::|public|setUrls(value?:java.util.List):void com.microsoft.graph.models.security.AnalyzedMessageEvidence::|public|setUrn(value?:String):void com.microsoft.graph.models.security.AnalyzedMessageEvidence::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AnalyzedMessageEvidence +com.microsoft.graph.models.security.AntispamDirectionality::0000-Unknown +com.microsoft.graph.models.security.AntispamDirectionality::0001-Inbound +com.microsoft.graph.models.security.AntispamDirectionality::0002-Outbound +com.microsoft.graph.models.security.AntispamDirectionality::0003-IntraOrg +com.microsoft.graph.models.security.AntispamDirectionality::0004-UnknownFutureValue com.microsoft.graph.models.security.AntispamTeamsDirection::0000-Unknown com.microsoft.graph.models.security.AntispamTeamsDirection::0001-Inbound com.microsoft.graph.models.security.AntispamTeamsDirection::0002-Outbound @@ -150614,6 +151827,30 @@ com.microsoft.graph.models.security.CloudLogonSessionEvidence::|public|setSessio com.microsoft.graph.models.security.CloudLogonSessionEvidence::|public|setStartUtcDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.security.CloudLogonSessionEvidence::|public|setUserAgent(value?:String):void com.microsoft.graph.models.security.CloudLogonSessionEvidence::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudLogonSessionEvidence +com.microsoft.graph.models.security.CollaborationRoot-->Entity +com.microsoft.graph.models.security.CollaborationRoot::|public|constructor():void +com.microsoft.graph.models.security.CollaborationRoot::|public|getAnalyzedEmails():java.util.List +com.microsoft.graph.models.security.CollaborationRoot::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.CollaborationRoot::|public|OdataType:String +com.microsoft.graph.models.security.CollaborationRoot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.CollaborationRoot::|public|setAnalyzedEmails(value?:java.util.List):void +com.microsoft.graph.models.security.CollaborationRoot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CollaborationRoot +com.microsoft.graph.models.security.CompromiseIndicator::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.CompromiseIndicator::|public|constructor():void +com.microsoft.graph.models.security.CompromiseIndicator::|public|getAdditionalData():Map +com.microsoft.graph.models.security.CompromiseIndicator::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.CompromiseIndicator::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.CompromiseIndicator::|public|getOdataType():String +com.microsoft.graph.models.security.CompromiseIndicator::|public|getValue():String +com.microsoft.graph.models.security.CompromiseIndicator::|public|getVerdict():VerdictCategory +com.microsoft.graph.models.security.CompromiseIndicator::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.CompromiseIndicator::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.CompromiseIndicator::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.CompromiseIndicator::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.CompromiseIndicator::|public|setValue(value?:String):void +com.microsoft.graph.models.security.CompromiseIndicator::|public|setVerdict(value?:VerdictCategory):void +com.microsoft.graph.models.security.CompromiseIndicator::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CompromiseIndicator +com.microsoft.graph.models.security.CompromiseIndicator~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.security.ContainerEvidence-->AlertEvidence com.microsoft.graph.models.security.ContainerEvidence::|public|constructor():void com.microsoft.graph.models.security.ContainerEvidence::|public|getArgs():java.util.List @@ -150776,6 +152013,22 @@ com.microsoft.graph.models.security.DefenderAvStatus::0003-Updated com.microsoft.graph.models.security.DefenderAvStatus::0004-Unknown com.microsoft.graph.models.security.DefenderAvStatus::0005-NotSupported com.microsoft.graph.models.security.DefenderAvStatus::0006-UnknownFutureValue +com.microsoft.graph.models.security.DeliveryAction::0000-Unknown +com.microsoft.graph.models.security.DeliveryAction::0001-DeliveredToJunk +com.microsoft.graph.models.security.DeliveryAction::0002-Delivered +com.microsoft.graph.models.security.DeliveryAction::0003-Blocked +com.microsoft.graph.models.security.DeliveryAction::0004-Replaced +com.microsoft.graph.models.security.DeliveryAction::0005-UnknownFutureValue +com.microsoft.graph.models.security.DeliveryLocation::0000-Unknown +com.microsoft.graph.models.security.DeliveryLocation::0001-Inbox_folder +com.microsoft.graph.models.security.DeliveryLocation::0002-JunkFolder +com.microsoft.graph.models.security.DeliveryLocation::0003-DeletedFolder +com.microsoft.graph.models.security.DeliveryLocation::0004-Quarantine +com.microsoft.graph.models.security.DeliveryLocation::0005-Onprem_external +com.microsoft.graph.models.security.DeliveryLocation::0006-Failed +com.microsoft.graph.models.security.DeliveryLocation::0007-Dropped +com.microsoft.graph.models.security.DeliveryLocation::0008-Others +com.microsoft.graph.models.security.DeliveryLocation::0009-UnknownFutureValue com.microsoft.graph.models.security.DepartmentTemplate-->FilePlanDescriptorTemplate com.microsoft.graph.models.security.DepartmentTemplate::|public|constructor():void com.microsoft.graph.models.security.DepartmentTemplate::|public|getFieldDeserializers():Map> @@ -150856,6 +152109,108 @@ com.microsoft.graph.models.security.DetectionStatus::0000-Detected com.microsoft.graph.models.security.DetectionStatus::0001-Blocked com.microsoft.graph.models.security.DetectionStatus::0002-Prevented com.microsoft.graph.models.security.DetectionStatus::0003-UnknownFutureValue +com.microsoft.graph.models.security.DetonationBehaviourDetails::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|constructor():void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getActionStatus():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getAdditionalData():Map +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getBehaviourCapability():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getBehaviourGroup():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getDetails():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getEventDateTime():OffsetDateTime +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getOdataType():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getOperation():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getProcessId():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getProcessName():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|getTarget():String +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setActionStatus(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setBehaviourCapability(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setBehaviourGroup(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setDetails(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setEventDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setOperation(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setProcessId(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setProcessName(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|public|setTarget(value?:String):void +com.microsoft.graph.models.security.DetonationBehaviourDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DetonationBehaviourDetails +com.microsoft.graph.models.security.DetonationBehaviourDetails~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.DetonationChain::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.DetonationChain::|public|constructor():void +com.microsoft.graph.models.security.DetonationChain::|public|getAdditionalData():Map +com.microsoft.graph.models.security.DetonationChain::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.DetonationChain::|public|getChildNodes():java.util.List +com.microsoft.graph.models.security.DetonationChain::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.DetonationChain::|public|getOdataType():String +com.microsoft.graph.models.security.DetonationChain::|public|getValue():String +com.microsoft.graph.models.security.DetonationChain::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.DetonationChain::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.DetonationChain::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.DetonationChain::|public|setChildNodes(value?:java.util.List):void +com.microsoft.graph.models.security.DetonationChain::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.DetonationChain::|public|setValue(value?:String):void +com.microsoft.graph.models.security.DetonationChain::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DetonationChain +com.microsoft.graph.models.security.DetonationChain~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.DetonationDetails::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.DetonationDetails::|public|constructor():void +com.microsoft.graph.models.security.DetonationDetails::|public|getAdditionalData():Map +com.microsoft.graph.models.security.DetonationDetails::|public|getAnalysisDateTime():OffsetDateTime +com.microsoft.graph.models.security.DetonationDetails::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.DetonationDetails::|public|getCompromiseIndicators():java.util.List +com.microsoft.graph.models.security.DetonationDetails::|public|getDetonationBehaviourDetails():DetonationBehaviourDetails +com.microsoft.graph.models.security.DetonationDetails::|public|getDetonationBehaviourDetailsV2():String +com.microsoft.graph.models.security.DetonationDetails::|public|getDetonationChain():DetonationChain +com.microsoft.graph.models.security.DetonationDetails::|public|getDetonationObservables():DetonationObservables +com.microsoft.graph.models.security.DetonationDetails::|public|getDetonationScreenshotUri():String +com.microsoft.graph.models.security.DetonationDetails::|public|getDetonationVerdict():String +com.microsoft.graph.models.security.DetonationDetails::|public|getDetonationVerdictReason():String +com.microsoft.graph.models.security.DetonationDetails::|public|getEntityMetadata():String +com.microsoft.graph.models.security.DetonationDetails::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.DetonationDetails::|public|getMitreTechniques():String +com.microsoft.graph.models.security.DetonationDetails::|public|getOdataType():String +com.microsoft.graph.models.security.DetonationDetails::|public|getStaticAnalysis():String +com.microsoft.graph.models.security.DetonationDetails::|public|getSubmissionSource():String +com.microsoft.graph.models.security.DetonationDetails::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.DetonationDetails::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.DetonationDetails::|public|setAnalysisDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.security.DetonationDetails::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.DetonationDetails::|public|setCompromiseIndicators(value?:java.util.List):void +com.microsoft.graph.models.security.DetonationDetails::|public|setDetonationBehaviourDetails(value?:DetonationBehaviourDetails):void +com.microsoft.graph.models.security.DetonationDetails::|public|setDetonationBehaviourDetailsV2(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|public|setDetonationChain(value?:DetonationChain):void +com.microsoft.graph.models.security.DetonationDetails::|public|setDetonationObservables(value?:DetonationObservables):void +com.microsoft.graph.models.security.DetonationDetails::|public|setDetonationScreenshotUri(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|public|setDetonationVerdict(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|public|setDetonationVerdictReason(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|public|setEntityMetadata(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|public|setMitreTechniques(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|public|setStaticAnalysis(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|public|setSubmissionSource(value?:String):void +com.microsoft.graph.models.security.DetonationDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DetonationDetails +com.microsoft.graph.models.security.DetonationDetails~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.DetonationObservables::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.DetonationObservables::|public|constructor():void +com.microsoft.graph.models.security.DetonationObservables::|public|getAdditionalData():Map +com.microsoft.graph.models.security.DetonationObservables::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.DetonationObservables::|public|getContactedIps():java.util.List +com.microsoft.graph.models.security.DetonationObservables::|public|getContactedUrls():java.util.List +com.microsoft.graph.models.security.DetonationObservables::|public|getDroppedfiles():java.util.List +com.microsoft.graph.models.security.DetonationObservables::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.DetonationObservables::|public|getOdataType():String +com.microsoft.graph.models.security.DetonationObservables::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.DetonationObservables::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.DetonationObservables::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.DetonationObservables::|public|setContactedIps(value?:java.util.List):void +com.microsoft.graph.models.security.DetonationObservables::|public|setContactedUrls(value?:java.util.List):void +com.microsoft.graph.models.security.DetonationObservables::|public|setDroppedfiles(value?:java.util.List):void +com.microsoft.graph.models.security.DetonationObservables::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.DetonationObservables::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DetonationObservables +com.microsoft.graph.models.security.DetonationObservables~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.security.DeviceEvidence-->AlertEvidence com.microsoft.graph.models.security.DeviceEvidence::|public|constructor():void com.microsoft.graph.models.security.DeviceEvidence::|public|getAzureAdDeviceId():String @@ -151338,6 +152693,10 @@ com.microsoft.graph.models.security.EventQuery::|public|setQuery(value?:String): com.microsoft.graph.models.security.EventQuery::|public|setQueryType(value?:QueryType):void com.microsoft.graph.models.security.EventQuery::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EventQuery com.microsoft.graph.models.security.EventQuery~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.security.EventSource::0000-System +com.microsoft.graph.models.security.EventSource::0001-Admin +com.microsoft.graph.models.security.EventSource::0002-User +com.microsoft.graph.models.security.EventSource::0003-UnknownFutureValue com.microsoft.graph.models.security.EventStatusType::0000-Pending com.microsoft.graph.models.security.EventStatusType::0001-Error com.microsoft.graph.models.security.EventStatusType::0002-Success @@ -152913,6 +154272,17 @@ com.microsoft.graph.models.security.RegistryValueEvidence::|public|setRegistryVa com.microsoft.graph.models.security.RegistryValueEvidence::|public|setRegistryValueName(value?:String):void com.microsoft.graph.models.security.RegistryValueEvidence::|public|setRegistryValueType(value?:String):void com.microsoft.graph.models.security.RegistryValueEvidence::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RegistryValueEvidence +com.microsoft.graph.models.security.RemediationAction::0000-MoveToJunk +com.microsoft.graph.models.security.RemediationAction::0001-MoveToInbox +com.microsoft.graph.models.security.RemediationAction::0002-HardDelete +com.microsoft.graph.models.security.RemediationAction::0003-SoftDelete +com.microsoft.graph.models.security.RemediationAction::0004-MoveToDeletedItems +com.microsoft.graph.models.security.RemediationAction::0005-UnknownFutureValue +com.microsoft.graph.models.security.RemediationAction::0006-MoveToQuarantine +com.microsoft.graph.models.security.RemediationSeverity::0000-Low +com.microsoft.graph.models.security.RemediationSeverity::0001-Medium +com.microsoft.graph.models.security.RemediationSeverity::0002-High +com.microsoft.graph.models.security.RemediationSeverity::0003-UnknownFutureValue com.microsoft.graph.models.security.ReportFileMetadata::|protected|backingStore:BackingStore com.microsoft.graph.models.security.ReportFileMetadata::|public|constructor():void com.microsoft.graph.models.security.ReportFileMetadata::|public|getAdditionalData():Map @@ -153325,6 +154695,7 @@ com.microsoft.graph.models.security.ServiceSource::0010-MicrosoftDefenderForClou com.microsoft.graph.models.security.ServiceSource::0011-MicrosoftSentinel com.microsoft.graph.models.security.ServiceSource::0012-MicrosoftInsiderRiskManagement com.microsoft.graph.models.security.ServiceSource::0013-MicrosoftThreatIntelligence +com.microsoft.graph.models.security.ServiceSource::0014-MicrosoftSecurityForAI com.microsoft.graph.models.security.ServiceStatus::0000-Stopped com.microsoft.graph.models.security.ServiceStatus::0001-Starting com.microsoft.graph.models.security.ServiceStatus::0002-Running @@ -153590,6 +154961,24 @@ com.microsoft.graph.models.security.TeamsMessageEvidence::|public|setThreadId(va com.microsoft.graph.models.security.TeamsMessageEvidence::|public|setThreadType(value?:String):void com.microsoft.graph.models.security.TeamsMessageEvidence::|public|setUrls(value?:java.util.List):void com.microsoft.graph.models.security.TeamsMessageEvidence::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TeamsMessageEvidence +com.microsoft.graph.models.security.ThreatDetectionDetail::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|constructor():void +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|getAdditionalData():Map +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|getConfidenceLevel():String +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|getOdataType():String +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|getPriorityAccountProtection():String +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|getThreats():String +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|setConfidenceLevel(value?:String):void +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|setPriorityAccountProtection(value?:String):void +com.microsoft.graph.models.security.ThreatDetectionDetail::|public|setThreats(value?:String):void +com.microsoft.graph.models.security.ThreatDetectionDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ThreatDetectionDetail +com.microsoft.graph.models.security.ThreatDetectionDetail~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.security.ThreatIntelligence-->Entity com.microsoft.graph.models.security.ThreatIntelligence::|public|constructor():void com.microsoft.graph.models.security.ThreatIntelligence::|public|getArticleIndicators():java.util.List @@ -153630,6 +155019,46 @@ com.microsoft.graph.models.security.ThreatIntelligence::|public|setVulnerabiliti com.microsoft.graph.models.security.ThreatIntelligence::|public|setWhoisHistoryRecords(value?:java.util.List):void com.microsoft.graph.models.security.ThreatIntelligence::|public|setWhoisRecords(value?:java.util.List):void com.microsoft.graph.models.security.ThreatIntelligence::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ThreatIntelligence +com.microsoft.graph.models.security.ThreatType::0000-Unknown +com.microsoft.graph.models.security.ThreatType::0001-Spam +com.microsoft.graph.models.security.ThreatType::0002-Malware +com.microsoft.graph.models.security.ThreatType::0003-Phish +com.microsoft.graph.models.security.ThreatType::0004-None +com.microsoft.graph.models.security.ThreatType::0005-UnknownFutureValue +com.microsoft.graph.models.security.TimelineEvent::|protected|backingStore:BackingStore +com.microsoft.graph.models.security.TimelineEvent::|public|constructor():void +com.microsoft.graph.models.security.TimelineEvent::|public|getAdditionalData():Map +com.microsoft.graph.models.security.TimelineEvent::|public|getBackingStore():BackingStore +com.microsoft.graph.models.security.TimelineEvent::|public|getEventDateTime():OffsetDateTime +com.microsoft.graph.models.security.TimelineEvent::|public|getEventDetails():String +com.microsoft.graph.models.security.TimelineEvent::|public|getEventResult():String +com.microsoft.graph.models.security.TimelineEvent::|public|getEventSource():EventSource +com.microsoft.graph.models.security.TimelineEvent::|public|getEventThreats():java.util.List +com.microsoft.graph.models.security.TimelineEvent::|public|getEventType():TimelineEventType +com.microsoft.graph.models.security.TimelineEvent::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.security.TimelineEvent::|public|getOdataType():String +com.microsoft.graph.models.security.TimelineEvent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.security.TimelineEvent::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.security.TimelineEvent::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.security.TimelineEvent::|public|setEventDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.security.TimelineEvent::|public|setEventDetails(value?:String):void +com.microsoft.graph.models.security.TimelineEvent::|public|setEventResult(value?:String):void +com.microsoft.graph.models.security.TimelineEvent::|public|setEventSource(value?:EventSource):void +com.microsoft.graph.models.security.TimelineEvent::|public|setEventThreats(value?:java.util.List):void +com.microsoft.graph.models.security.TimelineEvent::|public|setEventType(value?:TimelineEventType):void +com.microsoft.graph.models.security.TimelineEvent::|public|setOdataType(value?:String):void +com.microsoft.graph.models.security.TimelineEvent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TimelineEvent +com.microsoft.graph.models.security.TimelineEventType::0000-OriginalDelivery +com.microsoft.graph.models.security.TimelineEventType::0001-SystemTimeTravel +com.microsoft.graph.models.security.TimelineEventType::0002-DynamicDelivery +com.microsoft.graph.models.security.TimelineEventType::0003-UserUrlClick +com.microsoft.graph.models.security.TimelineEventType::0004-Reprocessed +com.microsoft.graph.models.security.TimelineEventType::0005-Zap +com.microsoft.graph.models.security.TimelineEventType::0006-QuarantineRelease +com.microsoft.graph.models.security.TimelineEventType::0007-Air +com.microsoft.graph.models.security.TimelineEventType::0008-Unknown +com.microsoft.graph.models.security.TimelineEventType::0009-UnknownFutureValue +com.microsoft.graph.models.security.TimelineEvent~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.security.TopicModelingSettings::|protected|backingStore:BackingStore com.microsoft.graph.models.security.TopicModelingSettings::|public|constructor():void com.microsoft.graph.models.security.TopicModelingSettings::|public|getAdditionalData():Map @@ -153770,6 +155199,16 @@ com.microsoft.graph.models.security.UserSourceCollectionResponse::|public|getVal com.microsoft.graph.models.security.UserSourceCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.security.UserSourceCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.security.UserSourceCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserSourceCollectionResponse +com.microsoft.graph.models.security.VerdictCategory::0000-None +com.microsoft.graph.models.security.VerdictCategory::0001-Malware +com.microsoft.graph.models.security.VerdictCategory::0002-Phish +com.microsoft.graph.models.security.VerdictCategory::0003-SiteUnavailable +com.microsoft.graph.models.security.VerdictCategory::0004-Spam +com.microsoft.graph.models.security.VerdictCategory::0005-DecryptionFailed +com.microsoft.graph.models.security.VerdictCategory::0006-UnsupportedUriScheme +com.microsoft.graph.models.security.VerdictCategory::0007-UnsupportedFileType +com.microsoft.graph.models.security.VerdictCategory::0008-Undefined +com.microsoft.graph.models.security.VerdictCategory::0009-UnknownFutureValue com.microsoft.graph.models.security.VmCloudProvider::0000-Unknown com.microsoft.graph.models.security.VmCloudProvider::0001-Azure com.microsoft.graph.models.security.VmCloudProvider::0002-UnknownFutureValue @@ -153978,6 +155417,7 @@ com.microsoft.graph.models.Security::|public|getAlerts():java.util.List com.microsoft.graph.models.Security::|public|getAlertsV2():java.util.List com.microsoft.graph.models.Security::|public|getAttackSimulation():AttackSimulationRoot com.microsoft.graph.models.Security::|public|getCases():CasesRoot +com.microsoft.graph.models.Security::|public|getCollaboration():CollaborationRoot com.microsoft.graph.models.Security::|public|getDataSecurityAndGovernance():TenantDataSecurityAndGovernance com.microsoft.graph.models.Security::|public|getFieldDeserializers():Map> com.microsoft.graph.models.Security::|public|getIdentities():IdentityContainer @@ -153995,6 +155435,7 @@ com.microsoft.graph.models.Security::|public|setAlerts(value?:java.util.List):void com.microsoft.graph.models.Security::|public|setAttackSimulation(value?:AttackSimulationRoot):void com.microsoft.graph.models.Security::|public|setCases(value?:CasesRoot):void +com.microsoft.graph.models.Security::|public|setCollaboration(value?:CollaborationRoot):void com.microsoft.graph.models.Security::|public|setDataSecurityAndGovernance(value?:TenantDataSecurityAndGovernance):void com.microsoft.graph.models.Security::|public|setIdentities(value?:IdentityContainer):void com.microsoft.graph.models.Security::|public|setIncidents(value?:java.util.List):void @@ -162673,6 +164114,20 @@ com.microsoft.graph.models.UserWorkLocation::|public|setSource(value?:WorkLocati com.microsoft.graph.models.UserWorkLocation::|public|setWorkLocationType(value?:WorkLocationType):void com.microsoft.graph.models.UserWorkLocation::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserWorkLocation com.microsoft.graph.models.UserWorkLocation~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.ValidatingDomains::|protected|backingStore:BackingStore +com.microsoft.graph.models.ValidatingDomains::|public|constructor():void +com.microsoft.graph.models.ValidatingDomains::|public|getAdditionalData():Map +com.microsoft.graph.models.ValidatingDomains::|public|getBackingStore():BackingStore +com.microsoft.graph.models.ValidatingDomains::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ValidatingDomains::|public|getOdataType():String +com.microsoft.graph.models.ValidatingDomains::|public|getRootDomains():RootDomains +com.microsoft.graph.models.ValidatingDomains::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ValidatingDomains::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.ValidatingDomains::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.ValidatingDomains::|public|setOdataType(value?:String):void +com.microsoft.graph.models.ValidatingDomains::|public|setRootDomains(value?:RootDomains):void +com.microsoft.graph.models.ValidatingDomains::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ValidatingDomains +com.microsoft.graph.models.ValidatingDomains~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.VerifiableCredentialAuthenticationMethodTarget-->AuthenticationMethodTarget com.microsoft.graph.models.VerifiableCredentialAuthenticationMethodTarget::|public|constructor():void com.microsoft.graph.models.VerifiableCredentialAuthenticationMethodTarget::|public|getFieldDeserializers():Map> @@ -172217,6 +173672,30 @@ com.microsoft.graph.policies.featurerolloutpolicies.item.FeatureRolloutPolicyIte com.microsoft.graph.policies.featurerolloutpolicies.item.FeatureRolloutPolicyItemRequestBuilder::|public|toPatchRequestInformation(body:FeatureRolloutPolicy):RequestInformation com.microsoft.graph.policies.featurerolloutpolicies.item.FeatureRolloutPolicyItemRequestBuilder::|public|toPatchRequestInformation(body:FeatureRolloutPolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.policies.featurerolloutpolicies.item.FeatureRolloutPolicyItemRequestBuilder::|public|withUrl(rawUrl:String):FeatureRolloutPolicyItemRequestBuilder +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|delete():Void +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|get():FederatedTokenValidationPolicy +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):FederatedTokenValidationPolicy +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|patch(body:FederatedTokenValidationPolicy):FederatedTokenValidationPolicy +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|patch(body:FederatedTokenValidationPolicy; requestConfiguration?:java.util.function.Consumer):FederatedTokenValidationPolicy +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|toPatchRequestInformation(body:FederatedTokenValidationPolicy):RequestInformation +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|toPatchRequestInformation(body:FederatedTokenValidationPolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder::|public|withUrl(rawUrl:String):FederatedTokenValidationPolicyRequestBuilder com.microsoft.graph.policies.homerealmdiscoverypolicies.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.policies.homerealmdiscoverypolicies.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.policies.homerealmdiscoverypolicies.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -172596,6 +174075,7 @@ com.microsoft.graph.policies.PoliciesRequestBuilder::|public|crossTenantAccessPo com.microsoft.graph.policies.PoliciesRequestBuilder::|public|defaultAppManagementPolicy:DefaultAppManagementPolicyRequestBuilder com.microsoft.graph.policies.PoliciesRequestBuilder::|public|deviceRegistrationPolicy:DeviceRegistrationPolicyRequestBuilder com.microsoft.graph.policies.PoliciesRequestBuilder::|public|featureRolloutPolicies:FeatureRolloutPoliciesRequestBuilder +com.microsoft.graph.policies.PoliciesRequestBuilder::|public|federatedTokenValidationPolicy:FederatedTokenValidationPolicyRequestBuilder com.microsoft.graph.policies.PoliciesRequestBuilder::|public|get():PolicyRoot com.microsoft.graph.policies.PoliciesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):PolicyRoot com.microsoft.graph.policies.PoliciesRequestBuilder::|public|homeRealmDiscoveryPolicies:HomeRealmDiscoveryPoliciesRequestBuilder @@ -183330,6 +184810,128 @@ com.microsoft.graph.security.cases.ediscoverycases.item.tags.TagsRequestBuilder: com.microsoft.graph.security.cases.ediscoverycases.item.tags.TagsRequestBuilder::|public|toPostRequestInformation(body:EdiscoveryReviewTag):RequestInformation com.microsoft.graph.security.cases.ediscoverycases.item.tags.TagsRequestBuilder::|public|toPostRequestInformation(body:EdiscoveryReviewTag; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.security.cases.ediscoverycases.item.tags.TagsRequestBuilder::|public|withUrl(rawUrl:String):TagsRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|byAnalyzedEmailId(analyzedEmailId:String):AnalyzedEmailItemRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|get():AnalyzedEmailCollectionResponse +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AnalyzedEmailCollectionResponse +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|microsoftGraphSecurityRemediate:MicrosoftGraphSecurityRemediateRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|post(body:AnalyzedEmail):AnalyzedEmail +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|post(body:AnalyzedEmail; requestConfiguration?:java.util.function.Consumer):AnalyzedEmail +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|toPostRequestInformation(body:AnalyzedEmail):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|toPostRequestInformation(body:AnalyzedEmail; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder::|public|withUrl(rawUrl:String):AnalyzedEmailsRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|delete():Void +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|get():AnalyzedEmail +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AnalyzedEmail +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|patch(body:AnalyzedEmail):AnalyzedEmail +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|patch(body:AnalyzedEmail; requestConfiguration?:java.util.function.Consumer):AnalyzedEmail +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|toPatchRequestInformation(body:AnalyzedEmail):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|toPatchRequestInformation(body:AnalyzedEmail; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder::|public|withUrl(rawUrl:String):AnalyzedEmailItemRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder::|public|post(body:RemediatePostRequestBody):Void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder::|public|post(body:RemediatePostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder::|public|toPostRequestInformation(body:RemediatePostRequestBody):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder::|public|toPostRequestInformation(body:RemediatePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphSecurityRemediateRequestBuilder +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|constructor():void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getAction():RemediationAction +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getAnalyzedEmails():java.util.List +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getDescription():String +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getDisplayName():String +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getRemediateSendersCopy():Boolean +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|getSeverity():RemediationSeverity +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|setAction(value?:RemediationAction):void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|setAnalyzedEmails(value?:java.util.List):void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|setDescription(value?:String):void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|setDisplayName(value?:String):void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|setRemediateSendersCopy(value?:Boolean):void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|public|setSeverity(value?:RemediationSeverity):void +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemediatePostRequestBody +com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.RemediatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|analyzedEmails:AnalyzedEmailsRequestBuilder +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|delete():Void +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|get():CollaborationRoot +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CollaborationRoot +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|patch(body:CollaborationRoot):CollaborationRoot +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|patch(body:CollaborationRoot; requestConfiguration?:java.util.function.Consumer):CollaborationRoot +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|toPatchRequestInformation(body:CollaborationRoot):RequestInformation +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|toPatchRequestInformation(body:CollaborationRoot; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.security.collaboration.CollaborationRequestBuilder::|public|withUrl(rawUrl:String):CollaborationRequestBuilder com.microsoft.graph.security.datasecurityandgovernance.DataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder com.microsoft.graph.security.datasecurityandgovernance.DataSecurityAndGovernanceRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.security.datasecurityandgovernance.DataSecurityAndGovernanceRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -185174,6 +186776,7 @@ com.microsoft.graph.security.SecurityRequestBuilder::|public|alerts:AlertsReques com.microsoft.graph.security.SecurityRequestBuilder::|public|alertsV2:AlertsV2RequestBuilder com.microsoft.graph.security.SecurityRequestBuilder::|public|attackSimulation:AttackSimulationRequestBuilder com.microsoft.graph.security.SecurityRequestBuilder::|public|cases:CasesRequestBuilder +com.microsoft.graph.security.SecurityRequestBuilder::|public|collaboration:CollaborationRequestBuilder com.microsoft.graph.security.SecurityRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.security.SecurityRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.security.SecurityRequestBuilder::|public|dataSecurityAndGovernance:DataSecurityAndGovernanceRequestBuilder @@ -205846,6 +207449,7 @@ com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|driveInclusionRules:DriveInclusionRulesRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|driveProtectionUnits:DriveProtectionUnitsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|driveProtectionUnitsBulkAdditionJobs:DriveProtectionUnitsBulkAdditionJobsRequestBuilder +com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|emailNotificationsSetting:EmailNotificationsSettingRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|enable:EnableRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|exchangeProtectionPolicies:ExchangeProtectionPoliciesRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|exchangeRestoreSessions:ExchangeRestoreSessionsRequestBuilder @@ -206197,6 +207801,30 @@ com.microsoft.graph.solutions.backuprestore.driveprotectionunitsbulkadditionjobs com.microsoft.graph.solutions.backuprestore.driveprotectionunitsbulkadditionjobs.item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|toPatchRequestInformation(body:DriveProtectionUnitsBulkAdditionJob):RequestInformation com.microsoft.graph.solutions.backuprestore.driveprotectionunitsbulkadditionjobs.item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|toPatchRequestInformation(body:DriveProtectionUnitsBulkAdditionJob; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.solutions.backuprestore.driveprotectionunitsbulkadditionjobs.item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|withUrl(rawUrl:String):DriveProtectionUnitsBulkAdditionJobItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|delete():Void +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|get():EmailNotificationsSetting +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EmailNotificationsSetting +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|patch(body:EmailNotificationsSetting):EmailNotificationsSetting +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|patch(body:EmailNotificationsSetting; requestConfiguration?:java.util.function.Consumer):EmailNotificationsSetting +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|toPatchRequestInformation(body:EmailNotificationsSetting):RequestInformation +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|toPatchRequestInformation(body:EmailNotificationsSetting; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder::|public|withUrl(rawUrl:String):EmailNotificationsSettingRequestBuilder com.microsoft.graph.solutions.backuprestore.enable.EnablePostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.solutions.backuprestore.enable.EnablePostRequestBody::|public|constructor():void com.microsoft.graph.solutions.backuprestore.enable.EnablePostRequestBody::|public|getAdditionalData():Map 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 ba66b2eb4f8..93a243cc0ad 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "97F3B2E09C7BF210BAB9B2EFE8F6FFBEC1461143746217371010828212DAFD8AE03454FCC2231996478D2BD98C5A6C3E55A7973B6028E5D5F8744F2F0F19A76C", + "descriptionHash": "81A3F2CEF8AD7E8B0DC8DAF4A7C4E07672D69D094EE849AE7B05813CD52A6CC56906953EBF167E4C25F51F229DD26B6D5ABF233FB4DAF3FBD152C61389DBF10A", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.32.2", + "kiotaVersion": "1.32.4", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "com.Microsoft.Graph", diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessEntityType.java b/src/main/java/com/microsoft/graph/generated/models/AccessEntityType.java new file mode 100644 index 00000000000..73b42565942 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AccessEntityType.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum AccessEntityType implements ValuedEnum { + User("user"), + Group("group"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + AccessEntityType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static AccessEntityType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "user": return User; + case "group": return Group; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessPackageApprovalStage.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageApprovalStage.java index 6bc2dcccd4d..3b744496b8f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AccessPackageApprovalStage.java +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageApprovalStage.java @@ -55,6 +55,14 @@ public Map getAdditionalData() { } return value; } + /** + * Gets the approverInformationVisibility property value. The approverInformationVisibility property + * @return a {@link ApproverInformationVisibility} + */ + @jakarta.annotation.Nullable + public ApproverInformationVisibility getApproverInformationVisibility() { + return this.backingStore.get("approverInformationVisibility"); + } /** * Gets the backingStore property value. Stores model information. * @return a {@link BackingStore} @@ -80,7 +88,7 @@ public PeriodAndDuration getDurationBeforeEscalation() { return this.backingStore.get("durationBeforeEscalation"); } /** - * Gets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. + * Gets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who are asked to approve requests. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -109,7 +117,8 @@ public java.util.List getFallbackPrimaryApprovers() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(9); + final HashMap> deserializerMap = new HashMap>(10); + deserializerMap.put("approverInformationVisibility", (n) -> { this.setApproverInformationVisibility(n.getEnumValue(ApproverInformationVisibility::forValue)); }); deserializerMap.put("durationBeforeAutomaticDenial", (n) -> { this.setDurationBeforeAutomaticDenial(n.getPeriodAndDurationValue()); }); deserializerMap.put("durationBeforeEscalation", (n) -> { this.setDurationBeforeEscalation(n.getPeriodAndDurationValue()); }); deserializerMap.put("escalationApprovers", (n) -> { this.setEscalationApprovers(n.getCollectionOfObjectValues(SubjectSet::createFromDiscriminatorValue)); }); @@ -146,7 +155,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the primaryApprovers property value. The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. + * Gets the primaryApprovers property value. The subjects, typically users, who are asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -159,6 +168,7 @@ public java.util.List getPrimaryApprovers() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); + writer.writeEnumValue("approverInformationVisibility", this.getApproverInformationVisibility()); writer.writePeriodAndDurationValue("durationBeforeAutomaticDenial", this.getDurationBeforeAutomaticDenial()); writer.writePeriodAndDurationValue("durationBeforeEscalation", this.getDurationBeforeEscalation()); writer.writeCollectionOfObjectValues("escalationApprovers", this.getEscalationApprovers()); @@ -177,6 +187,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { this.backingStore.set("additionalData", value); } + /** + * Sets the approverInformationVisibility property value. The approverInformationVisibility property + * @param value Value to set for the approverInformationVisibility property. + */ + public void setApproverInformationVisibility(@jakarta.annotation.Nullable final ApproverInformationVisibility value) { + this.backingStore.set("approverInformationVisibility", value); + } /** * Sets the backingStore property value. Stores model information. * @param value Value to set for the backingStore property. @@ -200,7 +217,7 @@ public void setDurationBeforeEscalation(@jakarta.annotation.Nullable final Perio this.backingStore.set("durationBeforeEscalation", value); } /** - * Sets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. + * Sets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who are asked to approve requests. * @param value Value to set for the escalationApprovers property. */ public void setEscalationApprovers(@jakarta.annotation.Nullable final java.util.List value) { @@ -242,7 +259,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the primaryApprovers property value. The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. + * Sets the primaryApprovers property value. The subjects, typically users, who are asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. * @param value Value to set for the primaryApprovers property. */ public void setPrimaryApprovers(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessPackageResourceRole.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageResourceRole.java index a8aa7d3241b..f4b1611cc87 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AccessPackageResourceRole.java +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageResourceRole.java @@ -52,6 +52,7 @@ public Map> getFieldDeserializers deserializerMap.put("originId", (n) -> { this.setOriginId(n.getStringValue()); }); deserializerMap.put("originSystem", (n) -> { this.setOriginSystem(n.getStringValue()); }); deserializerMap.put("resource", (n) -> { this.setResource(n.getObjectValue(AccessPackageResource::createFromDiscriminatorValue)); }); + deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(RoleType::forValue)); }); return deserializerMap; } /** @@ -63,7 +64,7 @@ public String getOriginId() { return this.backingStore.get("originId"); } /** - * Gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. + * Gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, AzureResources, or AadGroup. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -78,6 +79,14 @@ public String getOriginSystem() { public AccessPackageResource getResource() { return this.backingStore.get("resource"); } + /** + * Gets the type property value. The role type for the Azure resource role. The possible values are: active, eligible, application, delegated, unknownFutureValue. The values active and eligible are only supported where originSystem is AzureResources while application and delegated aren't currently implemented. + * @return a {@link RoleType} + */ + @jakarta.annotation.Nullable + public RoleType getType() { + return this.backingStore.get("type"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -90,6 +99,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("originId", this.getOriginId()); writer.writeStringValue("originSystem", this.getOriginSystem()); writer.writeObjectValue("resource", this.getResource()); + writer.writeEnumValue("type", this.getType()); } /** * Sets the description property value. A description for the resource role. @@ -113,7 +123,7 @@ public void setOriginId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("originId", value); } /** - * Sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. + * Sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, AzureResources, or AadGroup. * @param value Value to set for the originSystem property. */ public void setOriginSystem(@jakarta.annotation.Nullable final String value) { @@ -126,4 +136,11 @@ public void setOriginSystem(@jakarta.annotation.Nullable final String value) { public void setResource(@jakarta.annotation.Nullable final AccessPackageResource value) { this.backingStore.set("resource", value); } + /** + * Sets the type property value. The role type for the Azure resource role. The possible values are: active, eligible, application, delegated, unknownFutureValue. The values active and eligible are only supported where originSystem is AzureResources while application and delegated aren't currently implemented. + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final RoleType value) { + this.backingStore.set("type", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessPackageResourceScope.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageResourceScope.java index 29fe34ecafb..770c630a3a2 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AccessPackageResourceScope.java +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageResourceScope.java @@ -64,7 +64,7 @@ public Boolean getIsRootScope() { return this.backingStore.get("isRootScope"); } /** - * Gets the originId property value. The unique identifier for the scope in the resource as defined in the origin system. + * Gets the originId property value. The unique identifier of the resource in the origin system. If a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -72,7 +72,7 @@ public String getOriginId() { return this.backingStore.get("originId"); } /** - * Gets the originSystem property value. The origin system for the scope. + * Gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, AadGroup, AzureResources, or CustomDataProvidedResource. Supports $filter (eq). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -123,14 +123,14 @@ public void setIsRootScope(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isRootScope", value); } /** - * Sets the originId property value. The unique identifier for the scope in the resource as defined in the origin system. + * Sets the originId property value. The unique identifier of the resource in the origin system. If a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). * @param value Value to set for the originId property. */ public void setOriginId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("originId", value); } /** - * Sets the originSystem property value. The origin system for the scope. + * Sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, AadGroup, AzureResources, or CustomDataProvidedResource. Supports $filter (eq). * @param value Value to set for the originSystem property. */ public void setOriginSystem(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestion.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestion.java new file mode 100644 index 00000000000..26e6d938e4a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestion.java @@ -0,0 +1,78 @@ +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 AccessPackageSuggestion extends Entity implements Parsable { + /** + * Instantiates a new {@link AccessPackageSuggestion} and sets the default values. + */ + public AccessPackageSuggestion() { + 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 AccessPackageSuggestion} + */ + @jakarta.annotation.Nonnull + public static AccessPackageSuggestion createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AccessPackageSuggestion(); + } + /** + * Gets the accessPackage property value. The access package information for the suggested package. + * @return a {@link AvailableAccessPackage} + */ + @jakarta.annotation.Nullable + public AvailableAccessPackage getAccessPackage() { + return this.backingStore.get("accessPackage"); + } + /** + * 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("accessPackage", (n) -> { this.setAccessPackage(n.getObjectValue(AvailableAccessPackage::createFromDiscriminatorValue)); }); + deserializerMap.put("reasons", (n) -> { this.setReasons(n.getCollectionOfObjectValues(AccessPackageSuggestionReason::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the reasons property value. A collection of reasons why this access package is being suggested to the user. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getReasons() { + return this.backingStore.get("reasons"); + } + /** + * 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("accessPackage", this.getAccessPackage()); + writer.writeCollectionOfObjectValues("reasons", this.getReasons()); + } + /** + * Sets the accessPackage property value. The access package information for the suggested package. + * @param value Value to set for the accessPackage property. + */ + public void setAccessPackage(@jakarta.annotation.Nullable final AvailableAccessPackage value) { + this.backingStore.set("accessPackage", value); + } + /** + * Sets the reasons property value. A collection of reasons why this access package is being suggested to the user. + * @param value Value to set for the reasons property. + */ + public void setReasons(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("reasons", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionCollectionResponse.java new file mode 100644 index 00000000000..7d91a50e185 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionCollectionResponse.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 AccessPackageSuggestionCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link AccessPackageSuggestionCollectionResponse} and sets the default values. + */ + public AccessPackageSuggestionCollectionResponse() { + 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 AccessPackageSuggestionCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static AccessPackageSuggestionCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AccessPackageSuggestionCollectionResponse(); + } + /** + * 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(AccessPackageSuggestion::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/AccessPackageSuggestionReason.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionReason.java new file mode 100644 index 00000000000..80149b03b03 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionReason.java @@ -0,0 +1,115 @@ +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 AccessPackageSuggestionReason implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AccessPackageSuggestionReason} and sets the default values. + */ + public AccessPackageSuggestionReason() { + 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 AccessPackageSuggestionReason} + */ + @jakarta.annotation.Nonnull + public static AccessPackageSuggestionReason 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.accessPackageSuggestionRelatedPeopleBased": return new AccessPackageSuggestionRelatedPeopleBased(); + case "#microsoft.graph.accessPackageSuggestionSelfAssignmentHistoryBased": return new AccessPackageSuggestionSelfAssignmentHistoryBased(); + } + } + return new AccessPackageSuggestionReason(); + } + /** + * 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/AccessPackageSuggestionRelatedPeopleBased.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionRelatedPeopleBased.java new file mode 100644 index 00000000000..7e36d92ddeb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionRelatedPeopleBased.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 AccessPackageSuggestionRelatedPeopleBased extends AccessPackageSuggestionReason implements Parsable { + /** + * Instantiates a new {@link AccessPackageSuggestionRelatedPeopleBased} and sets the default values. + */ + public AccessPackageSuggestionRelatedPeopleBased() { + super(); + this.setOdataType("#microsoft.graph.accessPackageSuggestionRelatedPeopleBased"); + } + /** + * 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 AccessPackageSuggestionRelatedPeopleBased} + */ + @jakarta.annotation.Nonnull + public static AccessPackageSuggestionRelatedPeopleBased createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AccessPackageSuggestionRelatedPeopleBased(); + } + /** + * 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("relatedPeople", (n) -> { this.setRelatedPeople(n.getCollectionOfObjectValues(Identity::createFromDiscriminatorValue)); }); + deserializerMap.put("relatedPeopleAssignmentCount", (n) -> { this.setRelatedPeopleAssignmentCount(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the relatedPeople property value. A collection of identities representing people related to the current user who may have access to similar resources. This property is only populated when the tenant's endUserSettings have relatedPeopleInsightLevel set to countAndNames. This includes both the user ID and display name information. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRelatedPeople() { + return this.backingStore.get("relatedPeople"); + } + /** + * Gets the relatedPeopleAssignmentCount property value. The number of related people who have assignments to this access package. This count is always provided regardless of the relatedPeopleInsightLevel setting. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getRelatedPeopleAssignmentCount() { + return this.backingStore.get("relatedPeopleAssignmentCount"); + } + /** + * 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("relatedPeople", this.getRelatedPeople()); + writer.writeIntegerValue("relatedPeopleAssignmentCount", this.getRelatedPeopleAssignmentCount()); + } + /** + * Sets the relatedPeople property value. A collection of identities representing people related to the current user who may have access to similar resources. This property is only populated when the tenant's endUserSettings have relatedPeopleInsightLevel set to countAndNames. This includes both the user ID and display name information. + * @param value Value to set for the relatedPeople property. + */ + public void setRelatedPeople(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("relatedPeople", value); + } + /** + * Sets the relatedPeopleAssignmentCount property value. The number of related people who have assignments to this access package. This count is always provided regardless of the relatedPeopleInsightLevel setting. + * @param value Value to set for the relatedPeopleAssignmentCount property. + */ + public void setRelatedPeopleAssignmentCount(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("relatedPeopleAssignmentCount", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionRelatedPeopleInsightLevel.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionRelatedPeopleInsightLevel.java new file mode 100644 index 00000000000..0a361c4da60 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionRelatedPeopleInsightLevel.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum AccessPackageSuggestionRelatedPeopleInsightLevel implements ValuedEnum { + Disabled("disabled"), + Count("count"), + CountAndNames("countAndNames"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + AccessPackageSuggestionRelatedPeopleInsightLevel(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static AccessPackageSuggestionRelatedPeopleInsightLevel forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "disabled": return Disabled; + case "count": return Count; + case "countAndNames": return CountAndNames; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionSelfAssignmentHistoryBased.java b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionSelfAssignmentHistoryBased.java new file mode 100644 index 00000000000..1453ba2b9a5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AccessPackageSuggestionSelfAssignmentHistoryBased.java @@ -0,0 +1,80 @@ +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; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AccessPackageSuggestionSelfAssignmentHistoryBased extends AccessPackageSuggestionReason implements Parsable { + /** + * Instantiates a new {@link AccessPackageSuggestionSelfAssignmentHistoryBased} and sets the default values. + */ + public AccessPackageSuggestionSelfAssignmentHistoryBased() { + super(); + this.setOdataType("#microsoft.graph.accessPackageSuggestionSelfAssignmentHistoryBased"); + } + /** + * 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 AccessPackageSuggestionSelfAssignmentHistoryBased} + */ + @jakarta.annotation.Nonnull + public static AccessPackageSuggestionSelfAssignmentHistoryBased createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AccessPackageSuggestionSelfAssignmentHistoryBased(); + } + /** + * 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("lastAssignmentDateTime", (n) -> { this.setLastAssignmentDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("pastAssignmentCount", (n) -> { this.setPastAssignmentCount(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the lastAssignmentDateTime property value. The date and time when the user was last assigned to this access package. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastAssignmentDateTime() { + return this.backingStore.get("lastAssignmentDateTime"); + } + /** + * Gets the pastAssignmentCount property value. The number of times the user has been assigned to this access package in the past. Read-only. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getPastAssignmentCount() { + return this.backingStore.get("pastAssignmentCount"); + } + /** + * 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.writeOffsetDateTimeValue("lastAssignmentDateTime", this.getLastAssignmentDateTime()); + writer.writeIntegerValue("pastAssignmentCount", this.getPastAssignmentCount()); + } + /** + * Sets the lastAssignmentDateTime property value. The date and time when the user was last assigned to this access package. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @param value Value to set for the lastAssignmentDateTime property. + */ + public void setLastAssignmentDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastAssignmentDateTime", value); + } + /** + * Sets the pastAssignmentCount property value. The number of times the user has been assigned to this access package in the past. Read-only. + * @param value Value to set for the pastAssignmentCount property. + */ + public void setPastAssignmentCount(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("pastAssignmentCount", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AllDomains.java b/src/main/java/com/microsoft/graph/generated/models/AllDomains.java new file mode 100644 index 00000000000..057dac69f1c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AllDomains.java @@ -0,0 +1,45 @@ +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 AllDomains extends ValidatingDomains implements Parsable { + /** + * Instantiates a new {@link AllDomains} and sets the default values. + */ + public AllDomains() { + super(); + this.setOdataType("#microsoft.graph.allDomains"); + } + /** + * 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 AllDomains} + */ + @jakarta.annotation.Nonnull + public static AllDomains createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AllDomains(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + 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); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ApproverInformationVisibility.java b/src/main/java/com/microsoft/graph/generated/models/ApproverInformationVisibility.java new file mode 100644 index 00000000000..0786027bc2e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ApproverInformationVisibility.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ApproverInformationVisibility implements ValuedEnum { + Default("default"), + NotVisible("notVisible"), + Visible("visible"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ApproverInformationVisibility(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ApproverInformationVisibility forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "default": return Default; + case "notVisible": return NotVisible; + case "visible": return Visible; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AvailableAccessPackage.java b/src/main/java/com/microsoft/graph/generated/models/AvailableAccessPackage.java new file mode 100644 index 00000000000..06c69bab077 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AvailableAccessPackage.java @@ -0,0 +1,95 @@ +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 AvailableAccessPackage extends Entity implements Parsable { + /** + * Instantiates a new {@link AvailableAccessPackage} and sets the default values. + */ + public AvailableAccessPackage() { + 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 AvailableAccessPackage} + */ + @jakarta.annotation.Nonnull + public static AvailableAccessPackage createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AvailableAccessPackage(); + } + /** + * Gets the description property value. The description of the access package. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * Gets the displayName property value. The display name of the access package. + * @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("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("resourceRoleScopes", (n) -> { this.setResourceRoleScopes(n.getCollectionOfObjectValues(AccessPackageResourceRoleScope::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the resourceRoleScopes property value. The resource role scopes associated with this available access package. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getResourceRoleScopes() { + return this.backingStore.get("resourceRoleScopes"); + } + /** + * 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("description", this.getDescription()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeCollectionOfObjectValues("resourceRoleScopes", this.getResourceRoleScopes()); + } + /** + * Sets the description property value. The description of the access package. + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the displayName property value. The display name of the access package. + * @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 resourceRoleScopes property value. The resource role scopes associated with this available access package. + * @param value Value to set for the resourceRoleScopes property. + */ + public void setResourceRoleScopes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("resourceRoleScopes", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/AvailableAccessPackageCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/AvailableAccessPackageCollectionResponse.java new file mode 100644 index 00000000000..57c7117fc4c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/AvailableAccessPackageCollectionResponse.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 AvailableAccessPackageCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link AvailableAccessPackageCollectionResponse} and sets the default values. + */ + public AvailableAccessPackageCollectionResponse() { + 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 AvailableAccessPackageCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static AvailableAccessPackageCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AvailableAccessPackageCollectionResponse(); + } + /** + * 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(AvailableAccessPackage::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/AzureActiveDirectoryTenant.java b/src/main/java/com/microsoft/graph/generated/models/AzureActiveDirectoryTenant.java index f4fb7d2a3b3..27fcf78270f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AzureActiveDirectoryTenant.java +++ b/src/main/java/com/microsoft/graph/generated/models/AzureActiveDirectoryTenant.java @@ -26,7 +26,7 @@ public static AzureActiveDirectoryTenant createFromDiscriminatorValue(@jakarta.a return new AzureActiveDirectoryTenant(); } /** - * Gets the displayName property value. The name of the Microsoft Entra tenant. Read only. + * Gets the displayName property value. The name of the Microsoft Entra tenant. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -45,7 +45,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the tenantId property value. The ID of the Microsoft Entra tenant. Read only. + * Gets the tenantId property value. The ID of the Microsoft Entra tenant. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -63,14 +63,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("tenantId", this.getTenantId()); } /** - * Sets the displayName property value. The name of the Microsoft Entra tenant. Read only. + * Sets the displayName property value. The name of the Microsoft Entra tenant. Read-only. * @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 tenantId property value. The ID of the Microsoft Entra tenant. Read only. + * Sets the tenantId property value. The ID of the Microsoft Entra tenant. Read-only. * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/BackupRestoreRoot.java b/src/main/java/com/microsoft/graph/generated/models/BackupRestoreRoot.java index c654613c603..88ac20ed5c2 100644 --- a/src/main/java/com/microsoft/graph/generated/models/BackupRestoreRoot.java +++ b/src/main/java/com/microsoft/graph/generated/models/BackupRestoreRoot.java @@ -56,6 +56,14 @@ public java.util.List getDriveProtectionUnits() { public java.util.List getDriveProtectionUnitsBulkAdditionJobs() { return this.backingStore.get("driveProtectionUnitsBulkAdditionJobs"); } + /** + * Gets the emailNotificationsSetting property value. The email notification settings in the tenant. + * @return a {@link EmailNotificationsSetting} + */ + @jakarta.annotation.Nullable + public EmailNotificationsSetting getEmailNotificationsSetting() { + return this.backingStore.get("emailNotificationsSetting"); + } /** * Gets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant. * @return a {@link java.util.List} @@ -83,6 +91,7 @@ public Map> getFieldDeserializers deserializerMap.put("driveInclusionRules", (n) -> { this.setDriveInclusionRules(n.getCollectionOfObjectValues(DriveProtectionRule::createFromDiscriminatorValue)); }); deserializerMap.put("driveProtectionUnits", (n) -> { this.setDriveProtectionUnits(n.getCollectionOfObjectValues(DriveProtectionUnit::createFromDiscriminatorValue)); }); deserializerMap.put("driveProtectionUnitsBulkAdditionJobs", (n) -> { this.setDriveProtectionUnitsBulkAdditionJobs(n.getCollectionOfObjectValues(DriveProtectionUnitsBulkAdditionJob::createFromDiscriminatorValue)); }); + deserializerMap.put("emailNotificationsSetting", (n) -> { this.setEmailNotificationsSetting(n.getObjectValue(EmailNotificationsSetting::createFromDiscriminatorValue)); }); deserializerMap.put("exchangeProtectionPolicies", (n) -> { this.setExchangeProtectionPolicies(n.getCollectionOfObjectValues(ExchangeProtectionPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("exchangeRestoreSessions", (n) -> { this.setExchangeRestoreSessions(n.getCollectionOfObjectValues(ExchangeRestoreSession::createFromDiscriminatorValue)); }); deserializerMap.put("mailboxInclusionRules", (n) -> { this.setMailboxInclusionRules(n.getCollectionOfObjectValues(MailboxProtectionRule::createFromDiscriminatorValue)); }); @@ -260,6 +269,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("driveInclusionRules", this.getDriveInclusionRules()); writer.writeCollectionOfObjectValues("driveProtectionUnits", this.getDriveProtectionUnits()); writer.writeCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", this.getDriveProtectionUnitsBulkAdditionJobs()); + writer.writeObjectValue("emailNotificationsSetting", this.getEmailNotificationsSetting()); writer.writeCollectionOfObjectValues("exchangeProtectionPolicies", this.getExchangeProtectionPolicies()); writer.writeCollectionOfObjectValues("exchangeRestoreSessions", this.getExchangeRestoreSessions()); writer.writeCollectionOfObjectValues("mailboxInclusionRules", this.getMailboxInclusionRules()); @@ -309,6 +319,13 @@ public void setDriveProtectionUnits(@jakarta.annotation.Nullable final java.util public void setDriveProtectionUnitsBulkAdditionJobs(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("driveProtectionUnitsBulkAdditionJobs", value); } + /** + * Sets the emailNotificationsSetting property value. The email notification settings in the tenant. + * @param value Value to set for the emailNotificationsSetting property. + */ + public void setEmailNotificationsSetting(@jakarta.annotation.Nullable final EmailNotificationsSetting value) { + this.backingStore.set("emailNotificationsSetting", value); + } /** * Sets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant. * @param value Value to set for the exchangeProtectionPolicies property. diff --git a/src/main/java/com/microsoft/graph/generated/models/Channel.java b/src/main/java/com/microsoft/graph/generated/models/Channel.java index 3b0b7c4da3f..c54a0684261 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Channel.java +++ b/src/main/java/com/microsoft/graph/generated/models/Channel.java @@ -34,7 +34,7 @@ public java.util.List getAllMembers() { return this.backingStore.get("allMembers"); } /** - * Gets the createdDateTime property value. Read only. Timestamp at which the channel was created. + * Gets the createdDateTime property value. Read-only. Timestamp at which the channel was created. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -250,7 +250,7 @@ public void setAllMembers(@jakarta.annotation.Nullable final java.util.List>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdBy", (n) -> { this.setCreatedBy(n.getStringValue()); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + deserializerMap.put("modifiedBy", (n) -> { this.setModifiedBy(n.getStringValue()); }); + deserializerMap.put("modifiedDateTime", (n) -> { this.setModifiedDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the isEnabled property value. Determines whether or not the control configuration is enabled. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * Gets the modifiedBy property value. The userPrincipalName of the user or identity that modified the control configuration. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getModifiedBy() { + return this.backingStore.get("modifiedBy"); + } + /** + * Gets the modifiedDateTime property value. The date and time the control configuration was modified. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getModifiedDateTime() { + return this.backingStore.get("modifiedDateTime"); + } + /** + * 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("createdBy", this.getCreatedBy()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + writer.writeStringValue("modifiedBy", this.getModifiedBy()); + writer.writeOffsetDateTimeValue("modifiedDateTime", this.getModifiedDateTime()); + } + /** + * Sets the createdBy property value. The userPrincipalName of the user or identity that created the control configuration. + * @param value Value to set for the createdBy property. + */ + public void setCreatedBy(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("createdBy", value); + } + /** + * Sets the createdDateTime property value. The date and time the control configuration was created. + * @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 isEnabled property value. Determines whether or not the control configuration is enabled. + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } + /** + * Sets the modifiedBy property value. The userPrincipalName of the user or identity that modified the control configuration. + * @param value Value to set for the modifiedBy property. + */ + public void setModifiedBy(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("modifiedBy", value); + } + /** + * Sets the modifiedDateTime property value. The date and time the control configuration was modified. + * @param value Value to set for the modifiedDateTime property. + */ + public void setModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("modifiedDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ControlConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/ControlConfigurationCollectionResponse.java new file mode 100644 index 00000000000..b0787dc0090 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ControlConfigurationCollectionResponse.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 ControlConfigurationCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link ControlConfigurationCollectionResponse} and sets the default values. + */ + public ControlConfigurationCollectionResponse() { + 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 ControlConfigurationCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static ControlConfigurationCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ControlConfigurationCollectionResponse(); + } + /** + * 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(ControlConfiguration::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/CopilotAdmin.java b/src/main/java/com/microsoft/graph/generated/models/CopilotAdmin.java index a7af35a6765..1c58156bfca 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CopilotAdmin.java +++ b/src/main/java/com/microsoft/graph/generated/models/CopilotAdmin.java @@ -24,6 +24,14 @@ public static CopilotAdmin createFromDiscriminatorValue(@jakarta.annotation.Nonn Objects.requireNonNull(parseNode); return new CopilotAdmin(); } + /** + * Gets the catalog property value. The catalog property + * @return a {@link CopilotAdminCatalog} + */ + @jakarta.annotation.Nullable + public CopilotAdminCatalog getCatalog() { + return this.backingStore.get("catalog"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -31,6 +39,7 @@ public static CopilotAdmin createFromDiscriminatorValue(@jakarta.annotation.Nonn @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("catalog", (n) -> { this.setCatalog(n.getObjectValue(CopilotAdminCatalog::createFromDiscriminatorValue)); }); deserializerMap.put("settings", (n) -> { this.setSettings(n.getObjectValue(CopilotAdminSetting::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -49,8 +58,16 @@ public CopilotAdminSetting getSettings() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeObjectValue("catalog", this.getCatalog()); writer.writeObjectValue("settings", this.getSettings()); } + /** + * Sets the catalog property value. The catalog property + * @param value Value to set for the catalog property. + */ + public void setCatalog(@jakarta.annotation.Nullable final CopilotAdminCatalog value) { + this.backingStore.set("catalog", value); + } /** * Sets the settings property value. The settings property * @param value Value to set for the settings property. diff --git a/src/main/java/com/microsoft/graph/generated/models/CopilotAdminCatalog.java b/src/main/java/com/microsoft/graph/generated/models/CopilotAdminCatalog.java new file mode 100644 index 00000000000..1e2ae94a2c7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/CopilotAdminCatalog.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 CopilotAdminCatalog extends Entity implements Parsable { + /** + * Instantiates a new {@link CopilotAdminCatalog} and sets the default values. + */ + public CopilotAdminCatalog() { + 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 CopilotAdminCatalog} + */ + @jakarta.annotation.Nonnull + public static CopilotAdminCatalog createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CopilotAdminCatalog(); + } + /** + * 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("packages", (n) -> { this.setPackages(n.getCollectionOfObjectValues(CopilotPackageDetail::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the packages property value. The packages property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getPackages() { + return this.backingStore.get("packages"); + } + /** + * 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("packages", this.getPackages()); + } + /** + * Sets the packages property value. The packages property + * @param value Value to set for the packages property. + */ + public void setPackages(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("packages", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/CopilotPackage.java b/src/main/java/com/microsoft/graph/generated/models/CopilotPackage.java new file mode 100644 index 00000000000..ae9343fe381 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/CopilotPackage.java @@ -0,0 +1,358 @@ +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; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CopilotPackage extends Entity implements Parsable { + /** + * Instantiates a new {@link CopilotPackage} and sets the default values. + */ + public CopilotPackage() { + 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 CopilotPackage} + */ + @jakarta.annotation.Nonnull + public static CopilotPackage 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.copilotPackageDetail": return new CopilotPackageDetail(); + } + } + return new CopilotPackage(); + } + /** + * Gets the appId property value. The appId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppId() { + return this.backingStore.get("appId"); + } + /** + * Gets the assetId property value. The assetId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAssetId() { + return this.backingStore.get("assetId"); + } + /** + * Gets the availableTo property value. The availableTo property + * @return a {@link PackageStatus} + */ + @jakarta.annotation.Nullable + public PackageStatus getAvailableTo() { + return this.backingStore.get("availableTo"); + } + /** + * Gets the deployedTo property value. The deployedTo property + * @return a {@link PackageStatus} + */ + @jakarta.annotation.Nullable + public PackageStatus getDeployedTo() { + return this.backingStore.get("deployedTo"); + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * Gets the elementTypes property value. The elementTypes property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getElementTypes() { + return this.backingStore.get("elementTypes"); + } + /** + * 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("assetId", (n) -> { this.setAssetId(n.getStringValue()); }); + deserializerMap.put("availableTo", (n) -> { this.setAvailableTo(n.getEnumValue(PackageStatus::forValue)); }); + deserializerMap.put("deployedTo", (n) -> { this.setDeployedTo(n.getEnumValue(PackageStatus::forValue)); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("elementTypes", (n) -> { this.setElementTypes(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("isBlocked", (n) -> { this.setIsBlocked(n.getBooleanValue()); }); + deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("manifestId", (n) -> { this.setManifestId(n.getStringValue()); }); + deserializerMap.put("manifestVersion", (n) -> { this.setManifestVersion(n.getStringValue()); }); + deserializerMap.put("ownerId", (n) -> { this.setOwnerId(n.getStringValue()); }); + deserializerMap.put("platform", (n) -> { this.setPlatform(n.getStringValue()); }); + deserializerMap.put("publisher", (n) -> { this.setPublisher(n.getStringValue()); }); + deserializerMap.put("shortDescription", (n) -> { this.setShortDescription(n.getStringValue()); }); + deserializerMap.put("supportedHosts", (n) -> { this.setSupportedHosts(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(PackageType::forValue)); }); + deserializerMap.put("version", (n) -> { this.setVersion(n.getStringValue()); }); + deserializerMap.put("zipFile", (n) -> { this.setZipFile(n.getByteArrayValue()); }); + return deserializerMap; + } + /** + * Gets the isBlocked property value. The isBlocked property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsBlocked() { + return this.backingStore.get("isBlocked"); + } + /** + * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastModifiedDateTime() { + return this.backingStore.get("lastModifiedDateTime"); + } + /** + * Gets the manifestId property value. The manifestId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getManifestId() { + return this.backingStore.get("manifestId"); + } + /** + * Gets the manifestVersion property value. The manifestVersion property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getManifestVersion() { + return this.backingStore.get("manifestVersion"); + } + /** + * Gets the ownerId property value. The ownerId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOwnerId() { + return this.backingStore.get("ownerId"); + } + /** + * Gets the platform property value. The platform property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPlatform() { + return this.backingStore.get("platform"); + } + /** + * Gets the publisher property value. The publisher property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPublisher() { + return this.backingStore.get("publisher"); + } + /** + * Gets the shortDescription property value. The shortDescription property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getShortDescription() { + return this.backingStore.get("shortDescription"); + } + /** + * Gets the supportedHosts property value. The supportedHosts property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSupportedHosts() { + return this.backingStore.get("supportedHosts"); + } + /** + * Gets the type property value. The type property + * @return a {@link PackageType} + */ + @jakarta.annotation.Nullable + public PackageType getType() { + return this.backingStore.get("type"); + } + /** + * Gets the version property value. The version property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getVersion() { + return this.backingStore.get("version"); + } + /** + * Gets the zipFile property value. The zipFile property + * @return a {@link byte[]} + */ + @jakarta.annotation.Nullable + public byte[] getZipFile() { + return this.backingStore.get("zipFile"); + } + /** + * 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("assetId", this.getAssetId()); + writer.writeEnumValue("availableTo", this.getAvailableTo()); + writer.writeEnumValue("deployedTo", this.getDeployedTo()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeCollectionOfPrimitiveValues("elementTypes", this.getElementTypes()); + writer.writeBooleanValue("isBlocked", this.getIsBlocked()); + writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); + writer.writeStringValue("manifestId", this.getManifestId()); + writer.writeStringValue("manifestVersion", this.getManifestVersion()); + writer.writeStringValue("ownerId", this.getOwnerId()); + writer.writeStringValue("platform", this.getPlatform()); + writer.writeStringValue("publisher", this.getPublisher()); + writer.writeStringValue("shortDescription", this.getShortDescription()); + writer.writeCollectionOfPrimitiveValues("supportedHosts", this.getSupportedHosts()); + writer.writeEnumValue("type", this.getType()); + writer.writeStringValue("version", this.getVersion()); + writer.writeByteArrayValue("zipFile", this.getZipFile()); + } + /** + * Sets the appId property value. The appId property + * @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 assetId property value. The assetId property + * @param value Value to set for the assetId property. + */ + public void setAssetId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("assetId", value); + } + /** + * Sets the availableTo property value. The availableTo property + * @param value Value to set for the availableTo property. + */ + public void setAvailableTo(@jakarta.annotation.Nullable final PackageStatus value) { + this.backingStore.set("availableTo", value); + } + /** + * Sets the deployedTo property value. The deployedTo property + * @param value Value to set for the deployedTo property. + */ + public void setDeployedTo(@jakarta.annotation.Nullable final PackageStatus value) { + this.backingStore.set("deployedTo", value); + } + /** + * Sets the displayName property value. The displayName property + * @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 elementTypes property value. The elementTypes property + * @param value Value to set for the elementTypes property. + */ + public void setElementTypes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("elementTypes", value); + } + /** + * Sets the isBlocked property value. The isBlocked property + * @param value Value to set for the isBlocked property. + */ + public void setIsBlocked(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isBlocked", value); + } + /** + * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @param value Value to set for the lastModifiedDateTime property. + */ + public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastModifiedDateTime", value); + } + /** + * Sets the manifestId property value. The manifestId property + * @param value Value to set for the manifestId property. + */ + public void setManifestId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("manifestId", value); + } + /** + * Sets the manifestVersion property value. The manifestVersion property + * @param value Value to set for the manifestVersion property. + */ + public void setManifestVersion(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("manifestVersion", value); + } + /** + * Sets the ownerId property value. The ownerId property + * @param value Value to set for the ownerId property. + */ + public void setOwnerId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("ownerId", value); + } + /** + * Sets the platform property value. The platform property + * @param value Value to set for the platform property. + */ + public void setPlatform(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("platform", value); + } + /** + * Sets the publisher property value. The publisher property + * @param value Value to set for the publisher property. + */ + public void setPublisher(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("publisher", value); + } + /** + * Sets the shortDescription property value. The shortDescription property + * @param value Value to set for the shortDescription property. + */ + public void setShortDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("shortDescription", value); + } + /** + * Sets the supportedHosts property value. The supportedHosts property + * @param value Value to set for the supportedHosts property. + */ + public void setSupportedHosts(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("supportedHosts", value); + } + /** + * Sets the type property value. The type property + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final PackageType value) { + this.backingStore.set("type", value); + } + /** + * Sets the version property value. The version property + * @param value Value to set for the version property. + */ + public void setVersion(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("version", value); + } + /** + * Sets the zipFile property value. The zipFile property + * @param value Value to set for the zipFile property. + */ + public void setZipFile(@jakarta.annotation.Nullable final byte[] value) { + this.backingStore.set("zipFile", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/CopilotPackageDetail.java b/src/main/java/com/microsoft/graph/generated/models/CopilotPackageDetail.java new file mode 100644 index 00000000000..92d65df6233 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/CopilotPackageDetail.java @@ -0,0 +1,146 @@ +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 CopilotPackageDetail extends CopilotPackage implements Parsable { + /** + * Instantiates a new {@link CopilotPackageDetail} and sets the default values. + */ + public CopilotPackageDetail() { + 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 CopilotPackageDetail} + */ + @jakarta.annotation.Nonnull + public static CopilotPackageDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CopilotPackageDetail(); + } + /** + * Gets the acquireUsersAndGroups property value. The acquireUsersAndGroups property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAcquireUsersAndGroups() { + return this.backingStore.get("acquireUsersAndGroups"); + } + /** + * Gets the allowedUsersAndGroups property value. The allowedUsersAndGroups property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAllowedUsersAndGroups() { + return this.backingStore.get("allowedUsersAndGroups"); + } + /** + * Gets the categories property value. The categories property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCategories() { + return this.backingStore.get("categories"); + } + /** + * Gets the elementDetails property value. The elementDetails property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getElementDetails() { + return this.backingStore.get("elementDetails"); + } + /** + * 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("acquireUsersAndGroups", (n) -> { this.setAcquireUsersAndGroups(n.getCollectionOfObjectValues(PackageAccessEntity::createFromDiscriminatorValue)); }); + deserializerMap.put("allowedUsersAndGroups", (n) -> { this.setAllowedUsersAndGroups(n.getCollectionOfObjectValues(PackageAccessEntity::createFromDiscriminatorValue)); }); + deserializerMap.put("categories", (n) -> { this.setCategories(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("elementDetails", (n) -> { this.setElementDetails(n.getCollectionOfObjectValues(PackageElementDetail::createFromDiscriminatorValue)); }); + deserializerMap.put("longDescription", (n) -> { this.setLongDescription(n.getStringValue()); }); + deserializerMap.put("sensitivity", (n) -> { this.setSensitivity(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the longDescription property value. The longDescription property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLongDescription() { + return this.backingStore.get("longDescription"); + } + /** + * Gets the sensitivity property value. The sensitivity property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSensitivity() { + return this.backingStore.get("sensitivity"); + } + /** + * 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("acquireUsersAndGroups", this.getAcquireUsersAndGroups()); + writer.writeCollectionOfObjectValues("allowedUsersAndGroups", this.getAllowedUsersAndGroups()); + writer.writeCollectionOfPrimitiveValues("categories", this.getCategories()); + writer.writeCollectionOfObjectValues("elementDetails", this.getElementDetails()); + writer.writeStringValue("longDescription", this.getLongDescription()); + writer.writeStringValue("sensitivity", this.getSensitivity()); + } + /** + * Sets the acquireUsersAndGroups property value. The acquireUsersAndGroups property + * @param value Value to set for the acquireUsersAndGroups property. + */ + public void setAcquireUsersAndGroups(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("acquireUsersAndGroups", value); + } + /** + * Sets the allowedUsersAndGroups property value. The allowedUsersAndGroups property + * @param value Value to set for the allowedUsersAndGroups property. + */ + public void setAllowedUsersAndGroups(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("allowedUsersAndGroups", value); + } + /** + * Sets the categories property value. The categories property + * @param value Value to set for the categories property. + */ + public void setCategories(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("categories", value); + } + /** + * Sets the elementDetails property value. The elementDetails property + * @param value Value to set for the elementDetails property. + */ + public void setElementDetails(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("elementDetails", value); + } + /** + * Sets the longDescription property value. The longDescription property + * @param value Value to set for the longDescription property. + */ + public void setLongDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("longDescription", value); + } + /** + * Sets the sensitivity property value. The sensitivity property + * @param value Value to set for the sensitivity property. + */ + public void setSensitivity(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("sensitivity", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/CrossCloudAzureActiveDirectoryTenant.java b/src/main/java/com/microsoft/graph/generated/models/CrossCloudAzureActiveDirectoryTenant.java index 308020fd117..1c72735c477 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CrossCloudAzureActiveDirectoryTenant.java +++ b/src/main/java/com/microsoft/graph/generated/models/CrossCloudAzureActiveDirectoryTenant.java @@ -26,7 +26,7 @@ public static CrossCloudAzureActiveDirectoryTenant createFromDiscriminatorValue( return new CrossCloudAzureActiveDirectoryTenant(); } /** - * Gets the cloudInstance property value. The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read only. + * Gets the cloudInstance property value. The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public String getCloudInstance() { return this.backingStore.get("cloudInstance"); } /** - * Gets the displayName property value. The name of the Microsoft Entra tenant. Read only. + * Gets the displayName property value. The name of the Microsoft Entra tenant. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the tenantId property value. The ID of the Microsoft Entra tenant. Read only. + * Gets the tenantId property value. The ID of the Microsoft Entra tenant. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -73,21 +73,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("tenantId", this.getTenantId()); } /** - * Sets the cloudInstance property value. The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read only. + * Sets the cloudInstance property value. The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read-only. * @param value Value to set for the cloudInstance property. */ public void setCloudInstance(@jakarta.annotation.Nullable final String value) { this.backingStore.set("cloudInstance", value); } /** - * Sets the displayName property value. The name of the Microsoft Entra tenant. Read only. + * Sets the displayName property value. The name of the Microsoft Entra tenant. Read-only. * @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 tenantId property value. The ID of the Microsoft Entra tenant. Read only. + * Sets the tenantId property value. The ID of the Microsoft Entra tenant. Read-only. * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/DelegatedAdminRelationship.java b/src/main/java/com/microsoft/graph/generated/models/DelegatedAdminRelationship.java index ed39639e83c..d4f5a84bea4 100644 --- a/src/main/java/com/microsoft/graph/generated/models/DelegatedAdminRelationship.java +++ b/src/main/java/com/microsoft/graph/generated/models/DelegatedAdminRelationship.java @@ -152,7 +152,7 @@ public java.util.List getRequests() { return this.backingStore.get("requests"); } /** - * Gets the status property value. The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. + * Gets the status property value. The status of the relationship. Read-only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. * @return a {@link DelegatedAdminRelationshipStatus} */ @jakarta.annotation.Nullable @@ -265,7 +265,7 @@ public void setRequests(@jakarta.annotation.Nullable final java.util.List getMembers() { return this.backingStore.get("members"); } /** - * Gets the roleTemplateId property value. The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. + * Gets the roleTemplateId property value. The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read-only. Supports $filter (eq), $select. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -114,7 +114,7 @@ public void setMembers(@jakarta.annotation.Nullable final java.util.List} + */ + @jakarta.annotation.Nullable + public EnumSet getAdditionalEvents() { + return this.backingStore.get("additionalEvents"); + } + /** + * 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("additionalEvents", (n) -> { this.setAdditionalEvents(n.getEnumSetValue(NotificationEventsType::forValue)); }); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + deserializerMap.put("recipients", (n) -> { this.setRecipients(n.getObjectValue(NotificationRecipients::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the isEnabled property value. Indicates whether notifications are enabled. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * Gets the recipients property value. The recipients property + * @return a {@link NotificationRecipients} + */ + @jakarta.annotation.Nullable + public NotificationRecipients getRecipients() { + return this.backingStore.get("recipients"); + } + /** + * 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.writeEnumSetValue("additionalEvents", this.getAdditionalEvents()); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + writer.writeObjectValue("recipients", this.getRecipients()); + } + /** + * Sets the additionalEvents property value. The additionalEvents property + * @param value Value to set for the additionalEvents property. + */ + public void setAdditionalEvents(@jakarta.annotation.Nullable final EnumSet value) { + this.backingStore.set("additionalEvents", value); + } + /** + * Sets the isEnabled property value. Indicates whether notifications are enabled. + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } + /** + * Sets the recipients property value. The recipients property + * @param value Value to set for the recipients property. + */ + public void setRecipients(@jakarta.annotation.Nullable final NotificationRecipients value) { + this.backingStore.set("recipients", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/EndUserSettings.java b/src/main/java/com/microsoft/graph/generated/models/EndUserSettings.java new file mode 100644 index 00000000000..d71457fa1b3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/EndUserSettings.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 EndUserSettings extends ControlConfiguration implements Parsable { + /** + * Instantiates a new {@link EndUserSettings} and sets the default values. + */ + public EndUserSettings() { + super(); + this.setOdataType("#microsoft.graph.endUserSettings"); + } + /** + * 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 EndUserSettings} + */ + @jakarta.annotation.Nonnull + public static EndUserSettings createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EndUserSettings(); + } + /** + * 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("relatedPeopleInsightLevel", (n) -> { this.setRelatedPeopleInsightLevel(n.getEnumValue(AccessPackageSuggestionRelatedPeopleInsightLevel::forValue)); }); + deserializerMap.put("showApproverDetailsToMembers", (n) -> { this.setShowApproverDetailsToMembers(n.getBooleanValue()); }); + return deserializerMap; + } + /** + * Gets the relatedPeopleInsightLevel property value. The level of related people insights to show in access package suggestions. The possible values are: disabled, count, countAndNames, unknownFutureValue. + * @return a {@link AccessPackageSuggestionRelatedPeopleInsightLevel} + */ + @jakarta.annotation.Nullable + public AccessPackageSuggestionRelatedPeopleInsightLevel getRelatedPeopleInsightLevel() { + return this.backingStore.get("relatedPeopleInsightLevel"); + } + /** + * Gets the showApproverDetailsToMembers property value. Indicates whether approver details are shown to end users. When true, approver information is visible to members. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getShowApproverDetailsToMembers() { + return this.backingStore.get("showApproverDetailsToMembers"); + } + /** + * 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("relatedPeopleInsightLevel", this.getRelatedPeopleInsightLevel()); + writer.writeBooleanValue("showApproverDetailsToMembers", this.getShowApproverDetailsToMembers()); + } + /** + * Sets the relatedPeopleInsightLevel property value. The level of related people insights to show in access package suggestions. The possible values are: disabled, count, countAndNames, unknownFutureValue. + * @param value Value to set for the relatedPeopleInsightLevel property. + */ + public void setRelatedPeopleInsightLevel(@jakarta.annotation.Nullable final AccessPackageSuggestionRelatedPeopleInsightLevel value) { + this.backingStore.set("relatedPeopleInsightLevel", value); + } + /** + * Sets the showApproverDetailsToMembers property value. Indicates whether approver details are shown to end users. When true, approver information is visible to members. + * @param value Value to set for the showApproverDetailsToMembers property. + */ + public void setShowApproverDetailsToMembers(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("showApproverDetailsToMembers", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/EntitlementManagement.java b/src/main/java/com/microsoft/graph/generated/models/EntitlementManagement.java index 9a9552cf6fd..521f071a13f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/EntitlementManagement.java +++ b/src/main/java/com/microsoft/graph/generated/models/EntitlementManagement.java @@ -40,6 +40,14 @@ public java.util.List getAccessPackageAssignmentApprovals() { public java.util.List getAccessPackages() { return this.backingStore.get("accessPackages"); } + /** + * Gets the accessPackageSuggestions property value. Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAccessPackageSuggestions() { + return this.backingStore.get("accessPackageSuggestions"); + } /** * Gets the assignmentPolicies property value. Access package assignment policies govern which subjects can request or be assigned an access package via an access package assignment. * @return a {@link java.util.List} @@ -64,6 +72,14 @@ public java.util.List getAssignmentRequests() { public java.util.List getAssignments() { return this.backingStore.get("assignments"); } + /** + * Gets the availableAccessPackages property value. Access packages available for end users to browse and request. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAvailableAccessPackages() { + return this.backingStore.get("availableAccessPackages"); + } /** * Gets the catalogs property value. A container for access packages. * @return a {@link java.util.List} @@ -80,6 +96,14 @@ public java.util.List getCatalogs() { public java.util.List getConnectedOrganizations() { return this.backingStore.get("connectedOrganizations"); } + /** + * Gets the controlConfigurations property value. Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getControlConfigurations() { + return this.backingStore.get("controlConfigurations"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -89,11 +113,14 @@ public Map> getFieldDeserializers final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("accessPackageAssignmentApprovals", (n) -> { this.setAccessPackageAssignmentApprovals(n.getCollectionOfObjectValues(Approval::createFromDiscriminatorValue)); }); deserializerMap.put("accessPackages", (n) -> { this.setAccessPackages(n.getCollectionOfObjectValues(AccessPackage::createFromDiscriminatorValue)); }); + deserializerMap.put("accessPackageSuggestions", (n) -> { this.setAccessPackageSuggestions(n.getCollectionOfObjectValues(AccessPackageSuggestion::createFromDiscriminatorValue)); }); deserializerMap.put("assignmentPolicies", (n) -> { this.setAssignmentPolicies(n.getCollectionOfObjectValues(AccessPackageAssignmentPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("assignmentRequests", (n) -> { this.setAssignmentRequests(n.getCollectionOfObjectValues(AccessPackageAssignmentRequest::createFromDiscriminatorValue)); }); deserializerMap.put("assignments", (n) -> { this.setAssignments(n.getCollectionOfObjectValues(AccessPackageAssignment::createFromDiscriminatorValue)); }); + deserializerMap.put("availableAccessPackages", (n) -> { this.setAvailableAccessPackages(n.getCollectionOfObjectValues(AvailableAccessPackage::createFromDiscriminatorValue)); }); deserializerMap.put("catalogs", (n) -> { this.setCatalogs(n.getCollectionOfObjectValues(AccessPackageCatalog::createFromDiscriminatorValue)); }); deserializerMap.put("connectedOrganizations", (n) -> { this.setConnectedOrganizations(n.getCollectionOfObjectValues(ConnectedOrganization::createFromDiscriminatorValue)); }); + deserializerMap.put("controlConfigurations", (n) -> { this.setControlConfigurations(n.getCollectionOfObjectValues(ControlConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("resourceEnvironments", (n) -> { this.setResourceEnvironments(n.getCollectionOfObjectValues(AccessPackageResourceEnvironment::createFromDiscriminatorValue)); }); deserializerMap.put("resourceRequests", (n) -> { this.setResourceRequests(n.getCollectionOfObjectValues(AccessPackageResourceRequest::createFromDiscriminatorValue)); }); deserializerMap.put("resourceRoleScopes", (n) -> { this.setResourceRoleScopes(n.getCollectionOfObjectValues(AccessPackageResourceRoleScope::createFromDiscriminatorValue)); }); @@ -159,11 +186,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeCollectionOfObjectValues("accessPackageAssignmentApprovals", this.getAccessPackageAssignmentApprovals()); writer.writeCollectionOfObjectValues("accessPackages", this.getAccessPackages()); + writer.writeCollectionOfObjectValues("accessPackageSuggestions", this.getAccessPackageSuggestions()); writer.writeCollectionOfObjectValues("assignmentPolicies", this.getAssignmentPolicies()); writer.writeCollectionOfObjectValues("assignmentRequests", this.getAssignmentRequests()); writer.writeCollectionOfObjectValues("assignments", this.getAssignments()); + writer.writeCollectionOfObjectValues("availableAccessPackages", this.getAvailableAccessPackages()); writer.writeCollectionOfObjectValues("catalogs", this.getCatalogs()); writer.writeCollectionOfObjectValues("connectedOrganizations", this.getConnectedOrganizations()); + writer.writeCollectionOfObjectValues("controlConfigurations", this.getControlConfigurations()); writer.writeCollectionOfObjectValues("resourceEnvironments", this.getResourceEnvironments()); writer.writeCollectionOfObjectValues("resourceRequests", this.getResourceRequests()); writer.writeCollectionOfObjectValues("resourceRoleScopes", this.getResourceRoleScopes()); @@ -185,6 +215,13 @@ public void setAccessPackageAssignmentApprovals(@jakarta.annotation.Nullable fin public void setAccessPackages(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("accessPackages", value); } + /** + * Sets the accessPackageSuggestions property value. Suggested access packages for end users based on various criteria such as related people insights and assignment history. + * @param value Value to set for the accessPackageSuggestions property. + */ + public void setAccessPackageSuggestions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("accessPackageSuggestions", value); + } /** * Sets the assignmentPolicies property value. Access package assignment policies govern which subjects can request or be assigned an access package via an access package assignment. * @param value Value to set for the assignmentPolicies property. @@ -206,6 +243,13 @@ public void setAssignmentRequests(@jakarta.annotation.Nullable final java.util.L public void setAssignments(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("assignments", value); } + /** + * Sets the availableAccessPackages property value. Access packages available for end users to browse and request. + * @param value Value to set for the availableAccessPackages property. + */ + public void setAvailableAccessPackages(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("availableAccessPackages", value); + } /** * Sets the catalogs property value. A container for access packages. * @param value Value to set for the catalogs property. @@ -220,6 +264,13 @@ public void setCatalogs(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("connectedOrganizations", value); } + /** + * Sets the controlConfigurations property value. Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + * @param value Value to set for the controlConfigurations property. + */ + public void setControlConfigurations(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("controlConfigurations", value); + } /** * Sets the resourceEnvironments property value. A reference to the geolocation environments in which a resource is located. * @param value Value to set for the resourceEnvironments property. 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 7ffdd595390..d2730745d3b 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Entity.java +++ b/src/main/java/com/microsoft/graph/generated/models/Entity.java @@ -42,6 +42,7 @@ import com.microsoft.graph.models.search.Qna; import com.microsoft.graph.models.search.SearchAnswer; import com.microsoft.graph.models.security.Alert; +import com.microsoft.graph.models.security.AnalyzedEmail; import com.microsoft.graph.models.security.Article; import com.microsoft.graph.models.security.ArticleIndicator; import com.microsoft.graph.models.security.Artifact; @@ -52,6 +53,7 @@ import com.microsoft.graph.models.security.CasesRoot; import com.microsoft.graph.models.security.CategoryTemplate; import com.microsoft.graph.models.security.CitationTemplate; +import com.microsoft.graph.models.security.CollaborationRoot; import com.microsoft.graph.models.security.DataSet; import com.microsoft.graph.models.security.DataSource; import com.microsoft.graph.models.security.DataSourceContainer; @@ -211,6 +213,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.accessPackageResourceRoleScope": return new AccessPackageResourceRoleScope(); case "#microsoft.graph.accessPackageResourceScope": return new AccessPackageResourceScope(); case "#microsoft.graph.accessPackageSubject": return new AccessPackageSubject(); + case "#microsoft.graph.accessPackageSuggestion": return new AccessPackageSuggestion(); case "#microsoft.graph.accessPackageTextInputQuestion": return new AccessPackageTextInputQuestion(); case "#microsoft.graph.accessReviewHistoryDefinition": return new AccessReviewHistoryDefinition(); case "#microsoft.graph.accessReviewHistoryInstance": return new AccessReviewHistoryInstance(); @@ -301,6 +304,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.authenticationStrengthRoot": return new AuthenticationStrengthRoot(); case "#microsoft.graph.authoredNote": return new AuthoredNote(); case "#microsoft.graph.authorizationPolicy": return new AuthorizationPolicy(); + case "#microsoft.graph.availableAccessPackage": return new AvailableAccessPackage(); case "#microsoft.graph.azureCommunicationServicesUserConversationMember": return new AzureCommunicationServicesUserConversationMember(); case "#microsoft.graph.b2xIdentityUserFlow": return new B2xIdentityUserFlow(); case "#microsoft.graph.backupRestoreRoot": return new BackupRestoreRoot(); @@ -390,12 +394,16 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.contentSharingSession": return new ContentSharingSession(); case "#microsoft.graph.contentType": return new ContentType(); case "#microsoft.graph.contract": return new Contract(); + case "#microsoft.graph.controlConfiguration": return new ControlConfiguration(); case "#microsoft.graph.conversation": return new Conversation(); case "#microsoft.graph.conversationMember": return new ConversationMember(); case "#microsoft.graph.conversationThread": return new ConversationThread(); case "#microsoft.graph.copilotAdmin": return new CopilotAdmin(); + case "#microsoft.graph.copilotAdminCatalog": return new CopilotAdminCatalog(); case "#microsoft.graph.copilotAdminLimitedMode": return new CopilotAdminLimitedMode(); case "#microsoft.graph.copilotAdminSetting": return new CopilotAdminSetting(); + case "#microsoft.graph.copilotPackage": return new CopilotPackage(); + case "#microsoft.graph.copilotPackageDetail": return new CopilotPackageDetail(); case "#microsoft.graph.copilotReportRoot": return new CopilotReportRoot(); case "#microsoft.graph.crossTenantAccessPolicy": return new CrossTenantAccessPolicy(); case "#microsoft.graph.crossTenantAccessPolicyConfigurationDefault": return new CrossTenantAccessPolicyConfigurationDefault(); @@ -510,11 +518,13 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.emailAuthenticationMethod": return new EmailAuthenticationMethod(); case "#microsoft.graph.emailAuthenticationMethodConfiguration": return new EmailAuthenticationMethodConfiguration(); case "#microsoft.graph.emailFileAssessmentRequest": return new EmailFileAssessmentRequest(); + case "#microsoft.graph.emailNotificationsSetting": return new EmailNotificationsSetting(); case "#microsoft.graph.emergencyCallEvent": return new EmergencyCallEvent(); case "#microsoft.graph.employeeExperienceUser": return new EmployeeExperienceUser(); case "#microsoft.graph.endpoint": return new Endpoint(); case "#microsoft.graph.endUserNotification": return new EndUserNotification(); case "#microsoft.graph.endUserNotificationDetail": return new EndUserNotificationDetail(); + case "#microsoft.graph.endUserSettings": return new EndUserSettings(); case "#microsoft.graph.engagementAsyncOperation": return new EngagementAsyncOperation(); case "#microsoft.graph.engagementConversation": return new EngagementConversation(); case "#microsoft.graph.engagementConversationDiscussionMessage": return new EngagementConversationDiscussionMessage(); @@ -555,6 +565,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.externalUsersSelfServiceSignUpEventsFlow": return new ExternalUsersSelfServiceSignUpEventsFlow(); case "#microsoft.graph.featureRolloutPolicy": return new FeatureRolloutPolicy(); case "#microsoft.graph.federatedIdentityCredential": return new FederatedIdentityCredential(); + case "#microsoft.graph.federatedTokenValidationPolicy": return new FederatedTokenValidationPolicy(); case "#microsoft.graph.fido2AuthenticationMethod": return new Fido2AuthenticationMethod(); case "#microsoft.graph.fido2AuthenticationMethodConfiguration": return new Fido2AuthenticationMethodConfiguration(); case "#microsoft.graph.fido2CombinationConfiguration": return new Fido2CombinationConfiguration(); @@ -685,15 +696,6 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.managedAppPolicyDeploymentSummary": return new ManagedAppPolicyDeploymentSummary(); case "#microsoft.graph.managedAppProtection": return new ManagedAppProtection(); case "#microsoft.graph.managedAppRegistration": return new ManagedAppRegistration(); - case "#microsoft.graph.managedAppStatus": return new ManagedAppStatus(); - case "#microsoft.graph.managedAppStatusRaw": return new ManagedAppStatusRaw(); - case "#microsoft.graph.managedDevice": return new ManagedDevice(); - case "#microsoft.graph.managedDeviceMobileAppConfiguration": return new ManagedDeviceMobileAppConfiguration(); - case "#microsoft.graph.managedDeviceMobileAppConfigurationAssignment": return new ManagedDeviceMobileAppConfigurationAssignment(); - case "#microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus": return new ManagedDeviceMobileAppConfigurationDeviceStatus(); - case "#microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary": return new ManagedDeviceMobileAppConfigurationDeviceSummary(); - case "#microsoft.graph.managedDeviceMobileAppConfigurationUserStatus": return new ManagedDeviceMobileAppConfigurationUserStatus(); - case "#microsoft.graph.managedDeviceMobileAppConfigurationUserSummary": return new ManagedDeviceMobileAppConfigurationUserSummary(); } return null; } @@ -705,6 +707,15 @@ 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.managedAppStatus": return new ManagedAppStatus(); + case "#microsoft.graph.managedAppStatusRaw": return new ManagedAppStatusRaw(); + case "#microsoft.graph.managedDevice": return new ManagedDevice(); + case "#microsoft.graph.managedDeviceMobileAppConfiguration": return new ManagedDeviceMobileAppConfiguration(); + case "#microsoft.graph.managedDeviceMobileAppConfigurationAssignment": return new ManagedDeviceMobileAppConfigurationAssignment(); + case "#microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus": return new ManagedDeviceMobileAppConfigurationDeviceStatus(); + case "#microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary": return new ManagedDeviceMobileAppConfigurationDeviceSummary(); + case "#microsoft.graph.managedDeviceMobileAppConfigurationUserStatus": return new ManagedDeviceMobileAppConfigurationUserStatus(); + case "#microsoft.graph.managedDeviceMobileAppConfigurationUserSummary": return new ManagedDeviceMobileAppConfigurationUserSummary(); case "#microsoft.graph.managedDeviceOverview": return new ManagedDeviceOverview(); case "#microsoft.graph.managedEBook": return new ManagedEBook(); case "#microsoft.graph.managedEBookAssignment": return new ManagedEBookAssignment(); @@ -931,6 +942,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.secureScoreControlProfile": return new SecureScoreControlProfile(); case "#microsoft.graph.security": return new Security(); case "#microsoft.graph.security.alert": return new Alert(); + case "#microsoft.graph.security.analyzedEmail": return new AnalyzedEmail(); case "#microsoft.graph.security.article": return new Article(); case "#microsoft.graph.security.articleIndicator": return new ArticleIndicator(); case "#microsoft.graph.security.artifact": return new Artifact(); @@ -941,6 +953,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.security.casesRoot": return new CasesRoot(); case "#microsoft.graph.security.categoryTemplate": return new CategoryTemplate(); case "#microsoft.graph.security.citationTemplate": return new CitationTemplate(); + case "#microsoft.graph.security.collaborationRoot": return new CollaborationRoot(); case "#microsoft.graph.security.dataSet": return new DataSet(); case "#microsoft.graph.security.dataSource": return new DataSource(); case "#microsoft.graph.security.dataSourceContainer": return new DataSourceContainer(); @@ -1194,17 +1207,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.userExperienceAnalyticsModelScores": return new UserExperienceAnalyticsModelScores(); case "#microsoft.graph.userExperienceAnalyticsOverview": return new UserExperienceAnalyticsOverview(); case "#microsoft.graph.userExperienceAnalyticsScoreHistory": return new UserExperienceAnalyticsScoreHistory(); - case "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereDevice": return new UserExperienceAnalyticsWorkFromAnywhereDevice(); - case "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric": return new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric(); - case "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric": return new UserExperienceAnalyticsWorkFromAnywhereMetric(); - case "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereModelPerformance": return new UserExperienceAnalyticsWorkFromAnywhereModelPerformance(); - case "#microsoft.graph.userFlowLanguageConfiguration": return new UserFlowLanguageConfiguration(); - case "#microsoft.graph.userFlowLanguagePage": return new UserFlowLanguagePage(); - case "#microsoft.graph.userInsightsSettings": return new UserInsightsSettings(); - case "#microsoft.graph.userInstallStateSummary": return new UserInstallStateSummary(); - case "#microsoft.graph.userProtectionScopeContainer": return new UserProtectionScopeContainer(); - case "#microsoft.graph.userRegistrationDetails": return new UserRegistrationDetails(); - case "#microsoft.graph.userScopeTeamsAppInstallation": return new UserScopeTeamsAppInstallation(); } return null; } @@ -1216,6 +1218,17 @@ 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.userExperienceAnalyticsWorkFromAnywhereDevice": return new UserExperienceAnalyticsWorkFromAnywhereDevice(); + case "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric": return new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric(); + case "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric": return new UserExperienceAnalyticsWorkFromAnywhereMetric(); + case "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereModelPerformance": return new UserExperienceAnalyticsWorkFromAnywhereModelPerformance(); + case "#microsoft.graph.userFlowLanguageConfiguration": return new UserFlowLanguageConfiguration(); + case "#microsoft.graph.userFlowLanguagePage": return new UserFlowLanguagePage(); + case "#microsoft.graph.userInsightsSettings": return new UserInsightsSettings(); + case "#microsoft.graph.userInstallStateSummary": return new UserInstallStateSummary(); + case "#microsoft.graph.userProtectionScopeContainer": return new UserProtectionScopeContainer(); + case "#microsoft.graph.userRegistrationDetails": return new UserRegistrationDetails(); + case "#microsoft.graph.userScopeTeamsAppInstallation": return new UserScopeTeamsAppInstallation(); case "#microsoft.graph.userSettings": return new UserSettings(); case "#microsoft.graph.userSignInInsight": return new UserSignInInsight(); case "#microsoft.graph.userSolutionRoot": return new UserSolutionRoot(); diff --git a/src/main/java/com/microsoft/graph/generated/models/EnumeratedDomains.java b/src/main/java/com/microsoft/graph/generated/models/EnumeratedDomains.java new file mode 100644 index 00000000000..59ac6f98d03 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/EnumeratedDomains.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 EnumeratedDomains extends ValidatingDomains implements Parsable { + /** + * Instantiates a new {@link EnumeratedDomains} and sets the default values. + */ + public EnumeratedDomains() { + super(); + this.setOdataType("#microsoft.graph.enumeratedDomains"); + } + /** + * 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 EnumeratedDomains} + */ + @jakarta.annotation.Nonnull + public static EnumeratedDomains createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EnumeratedDomains(); + } + /** + * Gets the domainNames property value. The domainNames property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getDomainNames() { + return this.backingStore.get("domainNames"); + } + /** + * 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("domainNames", (n) -> { this.setDomainNames(n.getCollectionOfPrimitiveValues(String.class)); }); + 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.writeCollectionOfPrimitiveValues("domainNames", this.getDomainNames()); + } + /** + * Sets the domainNames property value. The domainNames property + * @param value Value to set for the domainNames property. + */ + public void setDomainNames(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("domainNames", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ExternalDomainFederation.java b/src/main/java/com/microsoft/graph/generated/models/ExternalDomainFederation.java index f84ef52fe6a..e8062df865f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ExternalDomainFederation.java +++ b/src/main/java/com/microsoft/graph/generated/models/ExternalDomainFederation.java @@ -26,7 +26,7 @@ public static ExternalDomainFederation createFromDiscriminatorValue(@jakarta.ann return new ExternalDomainFederation(); } /** - * Gets the displayName property value. The name of the identity source, typically also the domain name. Read only. + * Gets the displayName property value. The name of the identity source, typically also the domain name. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public String getDisplayName() { return this.backingStore.get("displayName"); } /** - * Gets the domainName property value. The domain name. Read only. + * Gets the domainName property value. The domain name. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the issuerUri property value. The issuerURI of the incoming federation. Read only. + * Gets the issuerUri property value. The issuerURI of the incoming federation. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -73,21 +73,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("issuerUri", this.getIssuerUri()); } /** - * Sets the displayName property value. The name of the identity source, typically also the domain name. Read only. + * Sets the displayName property value. The name of the identity source, typically also the domain name. Read-only. * @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 domainName property value. The domain name. Read only. + * Sets the domainName property value. The domain name. Read-only. * @param value Value to set for the domainName property. */ public void setDomainName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("domainName", value); } /** - * Sets the issuerUri property value. The issuerURI of the incoming federation. Read only. + * Sets the issuerUri property value. The issuerURI of the incoming federation. Read-only. * @param value Value to set for the issuerUri property. */ public void setIssuerUri(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/FederatedTokenValidationPolicy.java b/src/main/java/com/microsoft/graph/generated/models/FederatedTokenValidationPolicy.java new file mode 100644 index 00000000000..84942882545 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/FederatedTokenValidationPolicy.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 FederatedTokenValidationPolicy extends DirectoryObject implements Parsable { + /** + * Instantiates a new {@link FederatedTokenValidationPolicy} and sets the default values. + */ + public FederatedTokenValidationPolicy() { + super(); + this.setOdataType("#microsoft.graph.federatedTokenValidationPolicy"); + } + /** + * 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 FederatedTokenValidationPolicy} + */ + @jakarta.annotation.Nonnull + public static FederatedTokenValidationPolicy createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new FederatedTokenValidationPolicy(); + } + /** + * 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("validatingDomains", (n) -> { this.setValidatingDomains(n.getObjectValue(ValidatingDomains::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the validatingDomains property value. The validatingDomains property + * @return a {@link ValidatingDomains} + */ + @jakarta.annotation.Nullable + public ValidatingDomains getValidatingDomains() { + return this.backingStore.get("validatingDomains"); + } + /** + * 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("validatingDomains", this.getValidatingDomains()); + } + /** + * Sets the validatingDomains property value. The validatingDomains property + * @param value Value to set for the validatingDomains property. + */ + public void setValidatingDomains(@jakarta.annotation.Nullable final ValidatingDomains value) { + this.backingStore.set("validatingDomains", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/Group.java b/src/main/java/com/microsoft/graph/generated/models/Group.java index 5afba281083..578ff72d5bf 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Group.java +++ b/src/main/java/com/microsoft/graph/generated/models/Group.java @@ -37,6 +37,14 @@ public static Group createFromDiscriminatorValue(@jakarta.annotation.Nonnull fin public java.util.List getAcceptedSenders() { return this.backingStore.get("acceptedSenders"); } + /** + * Gets the accessType property value. Indicates the type of access to the group. The possible values are: none, private, secret, public, unknownFutureValue. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * @return a {@link GroupAccessType} + */ + @jakarta.annotation.Nullable + public GroupAccessType getAccessType() { + return this.backingStore.get("accessType"); + } /** * Gets the allowExternalSenders property value. Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). * @return a {@link Boolean} @@ -189,6 +197,7 @@ public java.util.List getExtensions() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("acceptedSenders", (n) -> { this.setAcceptedSenders(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + deserializerMap.put("accessType", (n) -> { this.setAccessType(n.getEnumValue(GroupAccessType::forValue)); }); deserializerMap.put("allowExternalSenders", (n) -> { this.setAllowExternalSenders(n.getBooleanValue()); }); deserializerMap.put("appRoleAssignments", (n) -> { this.setAppRoleAssignments(n.getCollectionOfObjectValues(AppRoleAssignment::createFromDiscriminatorValue)); }); deserializerMap.put("assignedLabels", (n) -> { this.setAssignedLabels(n.getCollectionOfObjectValues(AssignedLabel::createFromDiscriminatorValue)); }); @@ -215,6 +224,7 @@ public Map> getFieldDeserializers deserializerMap.put("infoCatalogs", (n) -> { this.setInfoCatalogs(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("isArchived", (n) -> { this.setIsArchived(n.getBooleanValue()); }); deserializerMap.put("isAssignableToRole", (n) -> { this.setIsAssignableToRole(n.getBooleanValue()); }); + deserializerMap.put("isFavorite", (n) -> { this.setIsFavorite(n.getBooleanValue()); }); deserializerMap.put("isManagementRestricted", (n) -> { this.setIsManagementRestricted(n.getBooleanValue()); }); deserializerMap.put("isSubscribedByMail", (n) -> { this.setIsSubscribedByMail(n.getBooleanValue()); }); deserializerMap.put("licenseProcessingState", (n) -> { this.setLicenseProcessingState(n.getObjectValue(LicenseProcessingState::createFromDiscriminatorValue)); }); @@ -228,6 +238,7 @@ public Map> getFieldDeserializers deserializerMap.put("membersWithLicenseErrors", (n) -> { this.setMembersWithLicenseErrors(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); deserializerMap.put("onenote", (n) -> { this.setOnenote(n.getObjectValue(Onenote::createFromDiscriminatorValue)); }); deserializerMap.put("onPremisesDomainName", (n) -> { this.setOnPremisesDomainName(n.getStringValue()); }); + deserializerMap.put("onPremisesExtensionAttributes", (n) -> { this.setOnPremisesExtensionAttributes(n.getObjectValue(OnPremisesExtensionAttributes::createFromDiscriminatorValue)); }); deserializerMap.put("onPremisesLastSyncDateTime", (n) -> { this.setOnPremisesLastSyncDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("onPremisesNetBiosName", (n) -> { this.setOnPremisesNetBiosName(n.getStringValue()); }); deserializerMap.put("onPremisesProvisioningErrors", (n) -> { this.setOnPremisesProvisioningErrors(n.getCollectionOfObjectValues(OnPremisesProvisioningError::createFromDiscriminatorValue)); }); @@ -258,7 +269,9 @@ public Map> getFieldDeserializers deserializerMap.put("transitiveMemberOf", (n) -> { this.setTransitiveMemberOf(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); deserializerMap.put("transitiveMembers", (n) -> { this.setTransitiveMembers(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); deserializerMap.put("uniqueName", (n) -> { this.setUniqueName(n.getStringValue()); }); + deserializerMap.put("unseenConversationsCount", (n) -> { this.setUnseenConversationsCount(n.getIntegerValue()); }); deserializerMap.put("unseenCount", (n) -> { this.setUnseenCount(n.getIntegerValue()); }); + deserializerMap.put("unseenMessagesCount", (n) -> { this.setUnseenMessagesCount(n.getIntegerValue()); }); deserializerMap.put("visibility", (n) -> { this.setVisibility(n.getStringValue()); }); deserializerMap.put("welcomeMessageEnabled", (n) -> { this.setWelcomeMessageEnabled(n.getBooleanValue()); }); return deserializerMap; @@ -327,6 +340,14 @@ public Boolean getIsArchived() { public Boolean getIsAssignableToRole() { return this.backingStore.get("isAssignableToRole"); } + /** + * Gets the isFavorite property value. Indicates whether the user marked the group as favorite. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsFavorite() { + return this.backingStore.get("isFavorite"); + } /** * Gets the isManagementRestricted property value. Indicates whether the group is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a group member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Requires $select to retrieve. * @return a {@link Boolean} @@ -431,6 +452,14 @@ public Onenote getOnenote() { public String getOnPremisesDomainName() { return this.backingStore.get("onPremisesDomainName"); } + /** + * Gets the onPremisesExtensionAttributes property value. The onPremisesExtensionAttributes property + * @return a {@link OnPremisesExtensionAttributes} + */ + @jakarta.annotation.Nullable + public OnPremisesExtensionAttributes getOnPremisesExtensionAttributes() { + return this.backingStore.get("onPremisesExtensionAttributes"); + } /** * Gets the onPremisesLastSyncDateTime property value. Indicates the last time at which the group was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). * @return a {@link OffsetDateTime} @@ -672,13 +701,29 @@ public String getUniqueName() { return this.backingStore.get("uniqueName"); } /** - * Gets the unseenCount property value. Count of conversations that received new posts since the signed-in user last visited the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * Gets the unseenConversationsCount property value. Count of conversations that have had one or more new posts delivered since the signed-in user's last visit to the group. This property is the same as unseenCount. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getUnseenConversationsCount() { + return this.backingStore.get("unseenConversationsCount"); + } + /** + * Gets the unseenCount property value. Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). * @return a {@link Integer} */ @jakarta.annotation.Nullable public Integer getUnseenCount() { return this.backingStore.get("unseenCount"); } + /** + * Gets the unseenMessagesCount property value. Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getUnseenMessagesCount() { + return this.backingStore.get("unseenMessagesCount"); + } /** * Gets the visibility property value. Specifies the group join policy and group content visibility for groups. The possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. * @return a {@link String} @@ -703,6 +748,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeCollectionOfObjectValues("acceptedSenders", this.getAcceptedSenders()); + writer.writeEnumValue("accessType", this.getAccessType()); writer.writeBooleanValue("allowExternalSenders", this.getAllowExternalSenders()); writer.writeCollectionOfObjectValues("appRoleAssignments", this.getAppRoleAssignments()); writer.writeCollectionOfObjectValues("assignedLabels", this.getAssignedLabels()); @@ -729,6 +775,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfPrimitiveValues("infoCatalogs", this.getInfoCatalogs()); writer.writeBooleanValue("isArchived", this.getIsArchived()); writer.writeBooleanValue("isAssignableToRole", this.getIsAssignableToRole()); + writer.writeBooleanValue("isFavorite", this.getIsFavorite()); writer.writeBooleanValue("isManagementRestricted", this.getIsManagementRestricted()); writer.writeBooleanValue("isSubscribedByMail", this.getIsSubscribedByMail()); writer.writeObjectValue("licenseProcessingState", this.getLicenseProcessingState()); @@ -742,6 +789,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("membersWithLicenseErrors", this.getMembersWithLicenseErrors()); writer.writeObjectValue("onenote", this.getOnenote()); writer.writeStringValue("onPremisesDomainName", this.getOnPremisesDomainName()); + writer.writeObjectValue("onPremisesExtensionAttributes", this.getOnPremisesExtensionAttributes()); writer.writeOffsetDateTimeValue("onPremisesLastSyncDateTime", this.getOnPremisesLastSyncDateTime()); writer.writeStringValue("onPremisesNetBiosName", this.getOnPremisesNetBiosName()); writer.writeCollectionOfObjectValues("onPremisesProvisioningErrors", this.getOnPremisesProvisioningErrors()); @@ -772,7 +820,9 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("transitiveMemberOf", this.getTransitiveMemberOf()); writer.writeCollectionOfObjectValues("transitiveMembers", this.getTransitiveMembers()); writer.writeStringValue("uniqueName", this.getUniqueName()); + writer.writeIntegerValue("unseenConversationsCount", this.getUnseenConversationsCount()); writer.writeIntegerValue("unseenCount", this.getUnseenCount()); + writer.writeIntegerValue("unseenMessagesCount", this.getUnseenMessagesCount()); writer.writeStringValue("visibility", this.getVisibility()); writer.writeBooleanValue("welcomeMessageEnabled", this.getWelcomeMessageEnabled()); } @@ -783,6 +833,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAcceptedSenders(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("acceptedSenders", value); } + /** + * Sets the accessType property value. Indicates the type of access to the group. The possible values are: none, private, secret, public, unknownFutureValue. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * @param value Value to set for the accessType property. + */ + public void setAccessType(@jakarta.annotation.Nullable final GroupAccessType value) { + this.backingStore.set("accessType", value); + } /** * Sets the allowExternalSenders property value. Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). * @param value Value to set for the allowExternalSenders property. @@ -965,6 +1022,13 @@ public void setIsArchived(@jakarta.annotation.Nullable final Boolean value) { public void setIsAssignableToRole(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isAssignableToRole", value); } + /** + * Sets the isFavorite property value. Indicates whether the user marked the group as favorite. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * @param value Value to set for the isFavorite property. + */ + public void setIsFavorite(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isFavorite", value); + } /** * Sets the isManagementRestricted property value. Indicates whether the group is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a group member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Requires $select to retrieve. * @param value Value to set for the isManagementRestricted property. @@ -1056,6 +1120,13 @@ public void setOnenote(@jakarta.annotation.Nullable final Onenote value) { public void setOnPremisesDomainName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("onPremisesDomainName", value); } + /** + * Sets the onPremisesExtensionAttributes property value. The onPremisesExtensionAttributes property + * @param value Value to set for the onPremisesExtensionAttributes property. + */ + public void setOnPremisesExtensionAttributes(@jakarta.annotation.Nullable final OnPremisesExtensionAttributes value) { + this.backingStore.set("onPremisesExtensionAttributes", value); + } /** * Sets the onPremisesLastSyncDateTime property value. Indicates the last time at which the group was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). * @param value Value to set for the onPremisesLastSyncDateTime property. @@ -1267,12 +1338,26 @@ public void setUniqueName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("uniqueName", value); } /** - * Sets the unseenCount property value. Count of conversations that received new posts since the signed-in user last visited the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * Sets the unseenConversationsCount property value. Count of conversations that have had one or more new posts delivered since the signed-in user's last visit to the group. This property is the same as unseenCount. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * @param value Value to set for the unseenConversationsCount property. + */ + public void setUnseenConversationsCount(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("unseenConversationsCount", value); + } + /** + * Sets the unseenCount property value. Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). * @param value Value to set for the unseenCount property. */ public void setUnseenCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("unseenCount", value); } + /** + * Sets the unseenMessagesCount property value. Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + * @param value Value to set for the unseenMessagesCount property. + */ + public void setUnseenMessagesCount(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("unseenMessagesCount", value); + } /** * Sets the visibility property value. Specifies the group join policy and group content visibility for groups. The possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. * @param value Value to set for the visibility property. diff --git a/src/main/java/com/microsoft/graph/generated/models/GroupAccessType.java b/src/main/java/com/microsoft/graph/generated/models/GroupAccessType.java new file mode 100644 index 00000000000..5a25454d98c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/GroupAccessType.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 GroupAccessType implements ValuedEnum { + None("none"), + Private("private"), + Secret("secret"), + Public("public"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + GroupAccessType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static GroupAccessType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "private": return Private; + case "secret": return Secret; + case "public": return Public; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/NotificationEventsType.java b/src/main/java/com/microsoft/graph/generated/models/NotificationEventsType.java new file mode 100644 index 00000000000..2e4aef6a5b4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/NotificationEventsType.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum NotificationEventsType implements ValuedEnum { + None("none"), + RestoreAndPolicyUpdates("restoreAndPolicyUpdates"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + NotificationEventsType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static NotificationEventsType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "restoreAndPolicyUpdates": return RestoreAndPolicyUpdates; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/NotificationRecipients.java b/src/main/java/com/microsoft/graph/generated/models/NotificationRecipients.java new file mode 100644 index 00000000000..267cabfb8a4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/NotificationRecipients.java @@ -0,0 +1,142 @@ +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.EnumSet; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class NotificationRecipients implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link NotificationRecipients} and sets the default values. + */ + public NotificationRecipients() { + 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 NotificationRecipients} + */ + @jakarta.annotation.Nonnull + public static NotificationRecipients createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new NotificationRecipients(); + } + /** + * 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 customRecipients property value. A list of users or groups that receive notifications. Only specify this property when role is set to custom. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCustomRecipients() { + return this.backingStore.get("customRecipients"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("customRecipients", (n) -> { this.setCustomRecipients(n.getCollectionOfObjectValues(EmailIdentity::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("role", (n) -> { this.setRole(n.getEnumSetValue(NotificationRecipientsType::forValue)); }); + 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"); + } + /** + * Gets the role property value. The role property + * @return a {@link EnumSet} + */ + @jakarta.annotation.Nullable + public EnumSet getRole() { + return this.backingStore.get("role"); + } + /** + * 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.writeCollectionOfObjectValues("customRecipients", this.getCustomRecipients()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumSetValue("role", this.getRole()); + 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 customRecipients property value. A list of users or groups that receive notifications. Only specify this property when role is set to custom. + * @param value Value to set for the customRecipients property. + */ + public void setCustomRecipients(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("customRecipients", 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); + } + /** + * Sets the role property value. The role property + * @param value Value to set for the role property. + */ + public void setRole(@jakarta.annotation.Nullable final EnumSet value) { + this.backingStore.set("role", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/NotificationRecipientsType.java b/src/main/java/com/microsoft/graph/generated/models/NotificationRecipientsType.java new file mode 100644 index 00000000000..fd86cd61240 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/NotificationRecipientsType.java @@ -0,0 +1,33 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum NotificationRecipientsType implements ValuedEnum { + None("none"), + GlobalAdmins("globalAdmins"), + BackupAdmins("backupAdmins"), + Custom("custom"), + AllAdmins("allAdmins"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + NotificationRecipientsType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static NotificationRecipientsType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "globalAdmins": return GlobalAdmins; + case "backupAdmins": return BackupAdmins; + case "custom": return Custom; + case "allAdmins": return AllAdmins; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/PackageAccessEntity.java b/src/main/java/com/microsoft/graph/generated/models/PackageAccessEntity.java new file mode 100644 index 00000000000..85b0e6f01cb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/PackageAccessEntity.java @@ -0,0 +1,141 @@ +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 PackageAccessEntity implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link PackageAccessEntity} and sets the default values. + */ + public PackageAccessEntity() { + 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 PackageAccessEntity} + */ + @jakarta.annotation.Nonnull + public static PackageAccessEntity createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PackageAccessEntity(); + } + /** + * 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>(3); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("resourceId", (n) -> { this.setResourceId(n.getStringValue()); }); + deserializerMap.put("resourceType", (n) -> { this.setResourceType(n.getEnumValue(AccessEntityType::forValue)); }); + 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"); + } + /** + * Gets the resourceId property value. The resourceId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getResourceId() { + return this.backingStore.get("resourceId"); + } + /** + * Gets the resourceType property value. The resourceType property + * @return a {@link AccessEntityType} + */ + @jakarta.annotation.Nullable + public AccessEntityType getResourceType() { + return this.backingStore.get("resourceType"); + } + /** + * 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.writeStringValue("resourceId", this.getResourceId()); + writer.writeEnumValue("resourceType", this.getResourceType()); + 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); + } + /** + * Sets the resourceId property value. The resourceId property + * @param value Value to set for the resourceId property. + */ + public void setResourceId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("resourceId", value); + } + /** + * Sets the resourceType property value. The resourceType property + * @param value Value to set for the resourceType property. + */ + public void setResourceType(@jakarta.annotation.Nullable final AccessEntityType value) { + this.backingStore.set("resourceType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/PackageElement.java b/src/main/java/com/microsoft/graph/generated/models/PackageElement.java new file mode 100644 index 00000000000..df1ae60036c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/PackageElement.java @@ -0,0 +1,142 @@ +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.serialization.UntypedNode; +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 PackageElement implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link PackageElement} and sets the default values. + */ + public PackageElement() { + 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 PackageElement} + */ + @jakarta.annotation.Nonnull + public static PackageElement createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PackageElement(); + } + /** + * 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 definition property value. The definition property + * @return a {@link UntypedNode} + */ + @jakarta.annotation.Nullable + public UntypedNode getDefinition() { + return this.backingStore.get("definition"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("definition", (n) -> { this.setDefinition(n.getObjectValue(UntypedNode::createFromDiscriminatorValue)); }); + deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the id property value. The id property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getId() { + return this.backingStore.get("id"); + } + /** + * 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.writeObjectValue("definition", this.getDefinition()); + writer.writeStringValue("id", this.getId()); + 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 definition property value. The definition property + * @param value Value to set for the definition property. + */ + public void setDefinition(@jakarta.annotation.Nullable final UntypedNode value) { + this.backingStore.set("definition", value); + } + /** + * Sets the id property value. The id property + * @param value Value to set for the id property. + */ + public void setId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("id", 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/PackageElementDetail.java b/src/main/java/com/microsoft/graph/generated/models/PackageElementDetail.java new file mode 100644 index 00000000000..cbdb8207eba --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/PackageElementDetail.java @@ -0,0 +1,141 @@ +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 PackageElementDetail implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link PackageElementDetail} and sets the default values. + */ + public PackageElementDetail() { + 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 PackageElementDetail} + */ + @jakarta.annotation.Nonnull + public static PackageElementDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PackageElementDetail(); + } + /** + * 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 elements property value. The elements property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getElements() { + return this.backingStore.get("elements"); + } + /** + * Gets the elementType property value. The elementType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getElementType() { + return this.backingStore.get("elementType"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("elements", (n) -> { this.setElements(n.getCollectionOfObjectValues(PackageElement::createFromDiscriminatorValue)); }); + deserializerMap.put("elementType", (n) -> { this.setElementType(n.getStringValue()); }); + 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.writeCollectionOfObjectValues("elements", this.getElements()); + writer.writeStringValue("elementType", this.getElementType()); + 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 elements property value. The elements property + * @param value Value to set for the elements property. + */ + public void setElements(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("elements", value); + } + /** + * Sets the elementType property value. The elementType property + * @param value Value to set for the elementType property. + */ + public void setElementType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("elementType", 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/PackageStatus.java b/src/main/java/com/microsoft/graph/generated/models/PackageStatus.java new file mode 100644 index 00000000000..d5454f8a759 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/PackageStatus.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum PackageStatus implements ValuedEnum { + None("none"), + Some("some"), + All("all"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + PackageStatus(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static PackageStatus forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "some": return Some; + case "all": return All; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/PackageType.java b/src/main/java/com/microsoft/graph/generated/models/PackageType.java new file mode 100644 index 00000000000..f1a276bd3b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/PackageType.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 PackageType implements ValuedEnum { + Microsoft("microsoft"), + External("external"), + Shared("shared"), + Custom("custom"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + PackageType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static PackageType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "microsoft": return Microsoft; + case "external": return External; + case "shared": return Shared; + case "custom": return Custom; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/PolicyRoot.java b/src/main/java/com/microsoft/graph/generated/models/PolicyRoot.java index 9bc4e027419..741fbaf6afa 100644 --- a/src/main/java/com/microsoft/graph/generated/models/PolicyRoot.java +++ b/src/main/java/com/microsoft/graph/generated/models/PolicyRoot.java @@ -128,6 +128,14 @@ public DeviceRegistrationPolicy getDeviceRegistrationPolicy() { public java.util.List getFeatureRolloutPolicies() { return this.backingStore.get("featureRolloutPolicies"); } + /** + * Gets the federatedTokenValidationPolicy property value. The federatedTokenValidationPolicy property + * @return a {@link FederatedTokenValidationPolicy} + */ + @jakarta.annotation.Nullable + public FederatedTokenValidationPolicy getFederatedTokenValidationPolicy() { + return this.backingStore.get("federatedTokenValidationPolicy"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -148,6 +156,7 @@ public Map> getFieldDeserializers deserializerMap.put("defaultAppManagementPolicy", (n) -> { this.setDefaultAppManagementPolicy(n.getObjectValue(TenantAppManagementPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("deviceRegistrationPolicy", (n) -> { this.setDeviceRegistrationPolicy(n.getObjectValue(DeviceRegistrationPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("featureRolloutPolicies", (n) -> { this.setFeatureRolloutPolicies(n.getCollectionOfObjectValues(FeatureRolloutPolicy::createFromDiscriminatorValue)); }); + deserializerMap.put("federatedTokenValidationPolicy", (n) -> { this.setFederatedTokenValidationPolicy(n.getObjectValue(FederatedTokenValidationPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("homeRealmDiscoveryPolicies", (n) -> { this.setHomeRealmDiscoveryPolicies(n.getCollectionOfObjectValues(HomeRealmDiscoveryPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("identitySecurityDefaultsEnforcementPolicy", (n) -> { this.setIdentitySecurityDefaultsEnforcementPolicy(n.getObjectValue(IdentitySecurityDefaultsEnforcementPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("ownerlessGroupPolicy", (n) -> { this.setOwnerlessGroupPolicy(n.getObjectValue(OwnerlessGroupPolicy::createFromDiscriminatorValue)); }); @@ -242,6 +251,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("defaultAppManagementPolicy", this.getDefaultAppManagementPolicy()); writer.writeObjectValue("deviceRegistrationPolicy", this.getDeviceRegistrationPolicy()); writer.writeCollectionOfObjectValues("featureRolloutPolicies", this.getFeatureRolloutPolicies()); + writer.writeObjectValue("federatedTokenValidationPolicy", this.getFederatedTokenValidationPolicy()); writer.writeCollectionOfObjectValues("homeRealmDiscoveryPolicies", this.getHomeRealmDiscoveryPolicies()); writer.writeObjectValue("identitySecurityDefaultsEnforcementPolicy", this.getIdentitySecurityDefaultsEnforcementPolicy()); writer.writeObjectValue("ownerlessGroupPolicy", this.getOwnerlessGroupPolicy()); @@ -342,6 +352,13 @@ public void setDeviceRegistrationPolicy(@jakarta.annotation.Nullable final Devic public void setFeatureRolloutPolicies(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("featureRolloutPolicies", value); } + /** + * Sets the federatedTokenValidationPolicy property value. The federatedTokenValidationPolicy property + * @param value Value to set for the federatedTokenValidationPolicy property. + */ + public void setFederatedTokenValidationPolicy(@jakarta.annotation.Nullable final FederatedTokenValidationPolicy value) { + this.backingStore.set("federatedTokenValidationPolicy", value); + } /** * Sets the homeRealmDiscoveryPolicies property value. The policy to control Microsoft Entra authentication behavior for federated users. * @param value Value to set for the homeRealmDiscoveryPolicies property. diff --git a/src/main/java/com/microsoft/graph/generated/models/ProfileCardProperty.java b/src/main/java/com/microsoft/graph/generated/models/ProfileCardProperty.java index d6028640cab..e678d5f1ae9 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ProfileCardProperty.java +++ b/src/main/java/com/microsoft/graph/generated/models/ProfileCardProperty.java @@ -49,8 +49,17 @@ public Map> getFieldDeserializers final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("annotations", (n) -> { this.setAnnotations(n.getCollectionOfObjectValues(ProfileCardAnnotation::createFromDiscriminatorValue)); }); deserializerMap.put("directoryPropertyName", (n) -> { this.setDirectoryPropertyName(n.getStringValue()); }); + deserializerMap.put("isVisible", (n) -> { this.setIsVisible(n.getBooleanValue()); }); return deserializerMap; } + /** + * Gets the isVisible property value. Indicates whether the given directory property should be shown on a users profile card. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsVisible() { + return this.backingStore.get("isVisible"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -60,6 +69,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeCollectionOfObjectValues("annotations", this.getAnnotations()); writer.writeStringValue("directoryPropertyName", this.getDirectoryPropertyName()); + writer.writeBooleanValue("isVisible", this.getIsVisible()); } /** * Sets the annotations property value. Allows an administrator to set a custom display label for the directory property and localize it for the users in their tenant. @@ -75,4 +85,11 @@ public void setAnnotations(@jakarta.annotation.Nullable final java.util.List getTimesOff() { return this.backingStore.get("timesOff"); } /** - * Gets the timeZone property value. Indicates the time zone of the schedule team using tz database format. Required. + * Gets the timeZone property value. The time zone of the schedule team as an IANA time zone database (tz database) name; for example, America/Chicago. For the full list of valid values, see List of tz database time zones. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -434,7 +434,7 @@ public void setTimesOff(@jakarta.annotation.Nullable final java.util.List> getFieldDeserializers deserializerMap.put("alerts_v2", (n) -> { this.setAlertsV2(n.getCollectionOfObjectValues(Alert::createFromDiscriminatorValue)); }); deserializerMap.put("attackSimulation", (n) -> { this.setAttackSimulation(n.getObjectValue(AttackSimulationRoot::createFromDiscriminatorValue)); }); deserializerMap.put("cases", (n) -> { this.setCases(n.getObjectValue(CasesRoot::createFromDiscriminatorValue)); }); + deserializerMap.put("collaboration", (n) -> { this.setCollaboration(n.getObjectValue(CollaborationRoot::createFromDiscriminatorValue)); }); deserializerMap.put("dataSecurityAndGovernance", (n) -> { this.setDataSecurityAndGovernance(n.getObjectValue(TenantDataSecurityAndGovernance::createFromDiscriminatorValue)); }); deserializerMap.put("identities", (n) -> { this.setIdentities(n.getObjectValue(IdentityContainer::createFromDiscriminatorValue)); }); deserializerMap.put("incidents", (n) -> { this.setIncidents(n.getCollectionOfObjectValues(Incident::createFromDiscriminatorValue)); }); @@ -178,6 +188,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("alerts_v2", this.getAlertsV2()); writer.writeObjectValue("attackSimulation", this.getAttackSimulation()); writer.writeObjectValue("cases", this.getCases()); + writer.writeObjectValue("collaboration", this.getCollaboration()); writer.writeObjectValue("dataSecurityAndGovernance", this.getDataSecurityAndGovernance()); writer.writeObjectValue("identities", this.getIdentities()); writer.writeCollectionOfObjectValues("incidents", this.getIncidents()); @@ -217,6 +228,13 @@ public void setAttackSimulation(@jakarta.annotation.Nullable final AttackSimulat public void setCases(@jakarta.annotation.Nullable final CasesRoot value) { this.backingStore.set("cases", value); } + /** + * Sets the collaboration property value. The collaboration property + * @param value Value to set for the collaboration property. + */ + public void setCollaboration(@jakarta.annotation.Nullable final CollaborationRoot value) { + this.backingStore.set("collaboration", value); + } /** * Sets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property * @param value Value to set for the dataSecurityAndGovernance property. diff --git a/src/main/java/com/microsoft/graph/generated/models/ServiceAnnouncement.java b/src/main/java/com/microsoft/graph/generated/models/ServiceAnnouncement.java index 185599d92c6..c2d8967a3d0 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ServiceAnnouncement.java +++ b/src/main/java/com/microsoft/graph/generated/models/ServiceAnnouncement.java @@ -37,7 +37,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. + * Gets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and read-only. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -45,7 +45,7 @@ public java.util.List getHealthOverviews() { return this.backingStore.get("healthOverviews"); } /** - * Gets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. + * Gets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and read-only. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public java.util.List getIssues() { return this.backingStore.get("issues"); } /** - * Gets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. + * Gets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and read-only. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -72,21 +72,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("messages", this.getMessages()); } /** - * Sets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. + * Sets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and read-only. * @param value Value to set for the healthOverviews property. */ public void setHealthOverviews(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("healthOverviews", value); } /** - * Sets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. + * Sets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and read-only. * @param value Value to set for the issues property. */ public void setIssues(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("issues", value); } /** - * Sets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. + * Sets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and read-only. * @param value Value to set for the messages property. */ public void setMessages(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/SharedInsight.java b/src/main/java/com/microsoft/graph/generated/models/SharedInsight.java index ebac3e3f8db..6bac521c960 100644 --- a/src/main/java/com/microsoft/graph/generated/models/SharedInsight.java +++ b/src/main/java/com/microsoft/graph/generated/models/SharedInsight.java @@ -40,7 +40,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the lastShared property value. Details about the shared item. Read only. + * Gets the lastShared property value. Details about the shared item. Read-only. * @return a {@link SharingDetail} */ @jakarta.annotation.Nullable @@ -100,7 +100,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("sharingHistory", this.getSharingHistory()); } /** - * Sets the lastShared property value. Details about the shared item. Read only. + * Sets the lastShared property value. Details about the shared item. Read-only. * @param value Value to set for the lastShared property. */ public void setLastShared(@jakarta.annotation.Nullable final SharingDetail value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ValidatingDomains.java b/src/main/java/com/microsoft/graph/generated/models/ValidatingDomains.java new file mode 100644 index 00000000000..e40f2e25eba --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ValidatingDomains.java @@ -0,0 +1,132 @@ +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 ValidatingDomains implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ValidatingDomains} and sets the default values. + */ + public ValidatingDomains() { + 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 ValidatingDomains} + */ + @jakarta.annotation.Nonnull + public static ValidatingDomains 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.allDomains": return new AllDomains(); + case "#microsoft.graph.enumeratedDomains": return new EnumeratedDomains(); + } + } + return new ValidatingDomains(); + } + /** + * 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>(2); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("rootDomains", (n) -> { this.setRootDomains(n.getEnumValue(RootDomains::forValue)); }); + 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"); + } + /** + * Gets the rootDomains property value. The rootDomains property + * @return a {@link RootDomains} + */ + @jakarta.annotation.Nullable + public RootDomains getRootDomains() { + return this.backingStore.get("rootDomains"); + } + /** + * 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.writeEnumValue("rootDomains", this.getRootDomains()); + 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); + } + /** + * Sets the rootDomains property value. The rootDomains property + * @param value Value to set for the rootDomains property. + */ + public void setRootDomains(@jakarta.annotation.Nullable final RootDomains value) { + this.backingStore.set("rootDomains", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java index 84cba1723a8..7b3a18591a0 100644 --- a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java +++ b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java @@ -58,7 +58,8 @@ public enum Label implements ValuedEnum { PersonInterests("personInterests"), PersonLanguages("personLanguages"), PersonPublications("personPublications"), - PersonPatents("personPatents"); + PersonPatents("personPatents"), + PersonWorkPositions("personWorkPositions"); public final String value; Label(final String value) { this.value = value; @@ -123,6 +124,7 @@ public static Label forValue(@jakarta.annotation.Nonnull final String searchValu case "personLanguages": return PersonLanguages; case "personPublications": return PersonPublications; case "personPatents": return PersonPatents; + case "personWorkPositions": return PersonWorkPositions; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/CountBasedQuarantineCondition.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/CountBasedQuarantineCondition.java new file mode 100644 index 00000000000..25f0b382498 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/CountBasedQuarantineCondition.java @@ -0,0 +1,62 @@ +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 CountBasedQuarantineCondition extends QuarantineCondition implements Parsable { + /** + * Instantiates a new {@link CountBasedQuarantineCondition} and sets the default values. + */ + public CountBasedQuarantineCondition() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.countBasedQuarantineCondition"); + } + /** + * 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 CountBasedQuarantineCondition} + */ + @jakarta.annotation.Nonnull + public static CountBasedQuarantineCondition createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CountBasedQuarantineCondition(); + } + /** + * 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("threshold", (n) -> { this.setThreshold(n.getLongValue()); }); + return deserializerMap; + } + /** + * Gets the threshold property value. The threshold property + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getThreshold() { + return this.backingStore.get("threshold"); + } + /** + * 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.writeLongValue("threshold", this.getThreshold()); + } + /** + * Sets the threshold property value. The threshold property + * @param value Value to set for the threshold property. + */ + public void setThreshold(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("threshold", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/LifecycleManagementSettings.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/LifecycleManagementSettings.java index 8fb83855eb3..f59f7815cca 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/LifecycleManagementSettings.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/LifecycleManagementSettings.java @@ -42,9 +42,18 @@ public EmailSettings getEmailSettings() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("emailSettings", (n) -> { this.setEmailSettings(n.getObjectValue(EmailSettings::createFromDiscriminatorValue)); }); + deserializerMap.put("quarantineConfiguration", (n) -> { this.setQuarantineConfiguration(n.getObjectValue(QuarantineConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("workflowScheduleIntervalInHours", (n) -> { this.setWorkflowScheduleIntervalInHours(n.getIntegerValue()); }); return deserializerMap; } + /** + * Gets the quarantineConfiguration property value. The quarantineConfiguration property + * @return a {@link QuarantineConfiguration} + */ + @jakarta.annotation.Nullable + public QuarantineConfiguration getQuarantineConfiguration() { + return this.backingStore.get("quarantineConfiguration"); + } /** * Gets the workflowScheduleIntervalInHours property value. The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours. * @return a {@link Integer} @@ -61,6 +70,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeObjectValue("emailSettings", this.getEmailSettings()); + writer.writeObjectValue("quarantineConfiguration", this.getQuarantineConfiguration()); writer.writeIntegerValue("workflowScheduleIntervalInHours", this.getWorkflowScheduleIntervalInHours()); } /** @@ -70,6 +80,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setEmailSettings(@jakarta.annotation.Nullable final EmailSettings value) { this.backingStore.set("emailSettings", value); } + /** + * Sets the quarantineConfiguration property value. The quarantineConfiguration property + * @param value Value to set for the quarantineConfiguration property. + */ + public void setQuarantineConfiguration(@jakarta.annotation.Nullable final QuarantineConfiguration value) { + this.backingStore.set("quarantineConfiguration", value); + } /** * Sets the workflowScheduleIntervalInHours property value. The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours. * @param value Value to set for the workflowScheduleIntervalInHours property. diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/LifecycleWorkflowProcessingStatus.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/LifecycleWorkflowProcessingStatus.java index 48c67abf866..a3301c0af83 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/LifecycleWorkflowProcessingStatus.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/LifecycleWorkflowProcessingStatus.java @@ -11,7 +11,8 @@ public enum LifecycleWorkflowProcessingStatus implements ValuedEnum { CompletedWithErrors("completedWithErrors"), Canceled("canceled"), Failed("failed"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + Quarantined("quarantined"); public final String value; LifecycleWorkflowProcessingStatus(final String value) { this.value = value; @@ -29,6 +30,7 @@ public static LifecycleWorkflowProcessingStatus forValue(@jakarta.annotation.Non case "canceled": return Canceled; case "failed": return Failed; case "unknownFutureValue": return UnknownFutureValue; + case "quarantined": return Quarantined; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/MatchMode.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/MatchMode.java new file mode 100644 index 00000000000..4dc2dbf75ee --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/MatchMode.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 MatchMode implements ValuedEnum { + Any("any"), + All("all"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + MatchMode(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static MatchMode forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "any": return Any; + case "all": return All; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/PercentageBasedQuarantineCondition.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/PercentageBasedQuarantineCondition.java new file mode 100644 index 00000000000..9665f5b829c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/PercentageBasedQuarantineCondition.java @@ -0,0 +1,62 @@ +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 PercentageBasedQuarantineCondition extends QuarantineCondition implements Parsable { + /** + * Instantiates a new {@link PercentageBasedQuarantineCondition} and sets the default values. + */ + public PercentageBasedQuarantineCondition() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.percentageBasedQuarantineCondition"); + } + /** + * 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 PercentageBasedQuarantineCondition} + */ + @jakarta.annotation.Nonnull + public static PercentageBasedQuarantineCondition createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PercentageBasedQuarantineCondition(); + } + /** + * 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("percentage", (n) -> { this.setPercentage(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the percentage property value. The percentage property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getPercentage() { + return this.backingStore.get("percentage"); + } + /** + * 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.writeIntegerValue("percentage", this.getPercentage()); + } + /** + * Sets the percentage property value. The percentage property + * @param value Value to set for the percentage property. + */ + public void setPercentage(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("percentage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/PreviewFailedTask.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/PreviewFailedTask.java new file mode 100644 index 00000000000..6a268352ff3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/PreviewFailedTask.java @@ -0,0 +1,175 @@ +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 PreviewFailedTask implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link PreviewFailedTask} and sets the default values. + */ + public PreviewFailedTask() { + 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 PreviewFailedTask} + */ + @jakarta.annotation.Nonnull + public static PreviewFailedTask createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PreviewFailedTask(); + } + /** + * 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 definitionId property value. The identifier of the task definition of the task that failed during the preview operation of a workflow. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDefinitionId() { + return this.backingStore.get("definitionId"); + } + /** + * Gets the failureReason property value. The reason why the task failed in the preview operation of a workflow. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFailureReason() { + return this.backingStore.get("failureReason"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(5); + deserializerMap.put("definitionId", (n) -> { this.setDefinitionId(n.getStringValue()); }); + deserializerMap.put("failureReason", (n) -> { this.setFailureReason(n.getStringValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("taskId", (n) -> { this.setTaskId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the name property value. The name of the task that failed within the preview operation of a workflow. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the taskId property value. The identifier of the task that failed during the preview operation of a workflow. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTaskId() { + return this.backingStore.get("taskId"); + } + /** + * 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("definitionId", this.getDefinitionId()); + writer.writeStringValue("failureReason", this.getFailureReason()); + writer.writeStringValue("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("taskId", this.getTaskId()); + 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 definitionId property value. The identifier of the task definition of the task that failed during the preview operation of a workflow. + * @param value Value to set for the definitionId property. + */ + public void setDefinitionId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("definitionId", value); + } + /** + * Sets the failureReason property value. The reason why the task failed in the preview operation of a workflow. + * @param value Value to set for the failureReason property. + */ + public void setFailureReason(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("failureReason", value); + } + /** + * Sets the name property value. The name of the task that failed within the preview operation of a workflow. + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", 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); + } + /** + * Sets the taskId property value. The identifier of the task that failed during the preview operation of a workflow. + * @param value Value to set for the taskId property. + */ + public void setTaskId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("taskId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineCondition.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineCondition.java new file mode 100644 index 00000000000..8e74d7eacc3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineCondition.java @@ -0,0 +1,115 @@ +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 QuarantineCondition implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link QuarantineCondition} and sets the default values. + */ + public QuarantineCondition() { + 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 QuarantineCondition} + */ + @jakarta.annotation.Nonnull + public static QuarantineCondition 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.countBasedQuarantineCondition": return new CountBasedQuarantineCondition(); + case "#microsoft.graph.identityGovernance.percentageBasedQuarantineCondition": return new PercentageBasedQuarantineCondition(); + } + } + return new QuarantineCondition(); + } + /** + * 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/QuarantineConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineConfiguration.java new file mode 100644 index 00000000000..615c94e0e4d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineConfiguration.java @@ -0,0 +1,141 @@ +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 QuarantineConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link QuarantineConfiguration} and sets the default values. + */ + public QuarantineConfiguration() { + 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 QuarantineConfiguration} + */ + @jakarta.annotation.Nonnull + public static QuarantineConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new QuarantineConfiguration(); + } + /** + * 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 conditions property value. The conditions property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getConditions() { + return this.backingStore.get("conditions"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("conditions", (n) -> { this.setConditions(n.getCollectionOfObjectValues(QuarantineCondition::createFromDiscriminatorValue)); }); + deserializerMap.put("matchMode", (n) -> { this.setMatchMode(n.getEnumValue(MatchMode::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the matchMode property value. The matchMode property + * @return a {@link MatchMode} + */ + @jakarta.annotation.Nullable + public MatchMode getMatchMode() { + return this.backingStore.get("matchMode"); + } + /** + * 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.writeCollectionOfObjectValues("conditions", this.getConditions()); + writer.writeEnumValue("matchMode", this.getMatchMode()); + 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 conditions property value. The conditions property + * @param value Value to set for the conditions property. + */ + public void setConditions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("conditions", value); + } + /** + * Sets the matchMode property value. The matchMode property + * @param value Value to set for the matchMode property. + */ + public void setMatchMode(@jakarta.annotation.Nullable final MatchMode value) { + this.backingStore.set("matchMode", 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/QuarantineDetails.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineDetails.java new file mode 100644 index 00000000000..0e784b29580 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineDetails.java @@ -0,0 +1,159 @@ +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.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class QuarantineDetails implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link QuarantineDetails} and sets the default values. + */ + public QuarantineDetails() { + 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 QuarantineDetails} + */ + @jakarta.annotation.Nonnull + public static QuarantineDetails createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new QuarantineDetails(); + } + /** + * 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>(4); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("quarantinedDateTime", (n) -> { this.setQuarantinedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("quarantineReason", (n) -> { this.setQuarantineReason(n.getStringValue()); }); + deserializerMap.put("quarantineType", (n) -> { this.setQuarantineType(n.getEnumValue(QuarantineType::forValue)); }); + 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"); + } + /** + * Gets the quarantinedDateTime property value. The quarantinedDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getQuarantinedDateTime() { + return this.backingStore.get("quarantinedDateTime"); + } + /** + * Gets the quarantineReason property value. The quarantineReason property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getQuarantineReason() { + return this.backingStore.get("quarantineReason"); + } + /** + * Gets the quarantineType property value. The quarantineType property + * @return a {@link QuarantineType} + */ + @jakarta.annotation.Nullable + public QuarantineType getQuarantineType() { + return this.backingStore.get("quarantineType"); + } + /** + * 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.writeOffsetDateTimeValue("quarantinedDateTime", this.getQuarantinedDateTime()); + writer.writeStringValue("quarantineReason", this.getQuarantineReason()); + writer.writeEnumValue("quarantineType", this.getQuarantineType()); + 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); + } + /** + * Sets the quarantinedDateTime property value. The quarantinedDateTime property + * @param value Value to set for the quarantinedDateTime property. + */ + public void setQuarantinedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("quarantinedDateTime", value); + } + /** + * Sets the quarantineReason property value. The quarantineReason property + * @param value Value to set for the quarantineReason property. + */ + public void setQuarantineReason(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("quarantineReason", value); + } + /** + * Sets the quarantineType property value. The quarantineType property + * @param value Value to set for the quarantineType property. + */ + public void setQuarantineType(@jakarta.annotation.Nullable final QuarantineType value) { + this.backingStore.set("quarantineType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineType.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineType.java new file mode 100644 index 00000000000..ffd82ef3230 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/QuarantineType.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.models.identitygovernance; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum QuarantineType implements ValuedEnum { + NotQuarantined("notQuarantined"), + CountBasedThresholdExceeded("countBasedThresholdExceeded"), + PercentageBasedThresholdExceeded("percentageBasedThresholdExceeded"), + MultipleConditionsExceeded("multipleConditionsExceeded"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + QuarantineType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static QuarantineType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "notQuarantined": return NotQuarantined; + case "countBasedThresholdExceeded": return CountBasedThresholdExceeded; + case "percentageBasedThresholdExceeded": return PercentageBasedThresholdExceeded; + case "multipleConditionsExceeded": return MultipleConditionsExceeded; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/Workflow.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/Workflow.java index c1ec2a20db0..9d7d8336067 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/Workflow.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/Workflow.java @@ -1,5 +1,6 @@ package com.microsoft.graph.models.identitygovernance; +import com.microsoft.graph.models.DirectoryObject; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -53,7 +54,10 @@ public Map> getFieldDeserializers deserializerMap.put("executionScope", (n) -> { this.setExecutionScope(n.getCollectionOfObjectValues(UserProcessingResult::createFromDiscriminatorValue)); }); deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); deserializerMap.put("nextScheduleRunDateTime", (n) -> { this.setNextScheduleRunDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("previewScope", (n) -> { this.setPreviewScope(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + deserializerMap.put("quarantineDetails", (n) -> { this.setQuarantineDetails(n.getObjectValue(QuarantineDetails::createFromDiscriminatorValue)); }); deserializerMap.put("runs", (n) -> { this.setRuns(n.getCollectionOfObjectValues(Run::createFromDiscriminatorValue)); }); + deserializerMap.put("settings", (n) -> { this.setSettings(n.getObjectValue(WorkflowSetting::createFromDiscriminatorValue)); }); deserializerMap.put("taskReports", (n) -> { this.setTaskReports(n.getCollectionOfObjectValues(TaskReport::createFromDiscriminatorValue)); }); deserializerMap.put("userProcessingResults", (n) -> { this.setUserProcessingResults(n.getCollectionOfObjectValues(UserProcessingResult::createFromDiscriminatorValue)); }); deserializerMap.put("version", (n) -> { this.setVersion(n.getIntegerValue()); }); @@ -76,6 +80,22 @@ public String getId() { public OffsetDateTime getNextScheduleRunDateTime() { return this.backingStore.get("nextScheduleRunDateTime"); } + /** + * Gets the previewScope property value. The preview scope for the workflow. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getPreviewScope() { + return this.backingStore.get("previewScope"); + } + /** + * Gets the quarantineDetails property value. The quarantineDetails property + * @return a {@link QuarantineDetails} + */ + @jakarta.annotation.Nullable + public QuarantineDetails getQuarantineDetails() { + return this.backingStore.get("quarantineDetails"); + } /** * Gets the runs property value. Workflow runs. * @return a {@link java.util.List} @@ -84,6 +104,14 @@ public OffsetDateTime getNextScheduleRunDateTime() { public java.util.List getRuns() { return this.backingStore.get("runs"); } + /** + * Gets the settings property value. The settings property + * @return a {@link WorkflowSetting} + */ + @jakarta.annotation.Nullable + public WorkflowSetting getSettings() { + return this.backingStore.get("settings"); + } /** * Gets the taskReports property value. Represents the aggregation of task execution data for tasks within a workflow object. * @return a {@link java.util.List} @@ -127,7 +155,10 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("executionScope", this.getExecutionScope()); writer.writeStringValue("id", this.getId()); writer.writeOffsetDateTimeValue("nextScheduleRunDateTime", this.getNextScheduleRunDateTime()); + writer.writeCollectionOfObjectValues("previewScope", this.getPreviewScope()); + writer.writeObjectValue("quarantineDetails", this.getQuarantineDetails()); writer.writeCollectionOfObjectValues("runs", this.getRuns()); + writer.writeObjectValue("settings", this.getSettings()); writer.writeCollectionOfObjectValues("taskReports", this.getTaskReports()); writer.writeCollectionOfObjectValues("userProcessingResults", this.getUserProcessingResults()); writer.writeIntegerValue("version", this.getVersion()); @@ -161,6 +192,20 @@ public void setId(@jakarta.annotation.Nullable final String value) { public void setNextScheduleRunDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("nextScheduleRunDateTime", value); } + /** + * Sets the previewScope property value. The preview scope for the workflow. + * @param value Value to set for the previewScope property. + */ + public void setPreviewScope(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("previewScope", value); + } + /** + * Sets the quarantineDetails property value. The quarantineDetails property + * @param value Value to set for the quarantineDetails property. + */ + public void setQuarantineDetails(@jakarta.annotation.Nullable final QuarantineDetails value) { + this.backingStore.set("quarantineDetails", value); + } /** * Sets the runs property value. Workflow runs. * @param value Value to set for the runs property. @@ -168,6 +213,13 @@ public void setNextScheduleRunDateTime(@jakarta.annotation.Nullable final Offset public void setRuns(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("runs", value); } + /** + * Sets the settings property value. The settings property + * @param value Value to set for the settings property. + */ + public void setSettings(@jakarta.annotation.Nullable final WorkflowSetting value) { + this.backingStore.set("settings", value); + } /** * Sets the taskReports property value. Represents the aggregation of task execution data for tasks within a workflow object. * @param value Value to set for the taskReports property. 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 eb86929b2a7..ec10c5d2676 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 @@ -8,7 +8,8 @@ public enum WorkflowExecutionType implements ValuedEnum { Scheduled("scheduled"), OnDemand("onDemand"), UnknownFutureValue("unknownFutureValue"), - ActivatedWithScope("activatedWithScope"); + ActivatedWithScope("activatedWithScope"), + Preview("preview"); public final String value; WorkflowExecutionType(final String value) { this.value = value; @@ -23,6 +24,7 @@ public static WorkflowExecutionType forValue(@jakarta.annotation.Nonnull final S case "onDemand": return OnDemand; case "unknownFutureValue": return UnknownFutureValue; case "activatedWithScope": return ActivatedWithScope; + case "preview": return Preview; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowSetting.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowSetting.java new file mode 100644 index 00000000000..405a43f253c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowSetting.java @@ -0,0 +1,124 @@ +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 WorkflowSetting implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WorkflowSetting} and sets the default values. + */ + public WorkflowSetting() { + 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 WorkflowSetting} + */ + @jakarta.annotation.Nonnull + public static WorkflowSetting createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WorkflowSetting(); + } + /** + * 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>(2); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("quarantineConfiguration", (n) -> { this.setQuarantineConfiguration(n.getObjectValue(QuarantineConfiguration::createFromDiscriminatorValue)); }); + 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"); + } + /** + * Gets the quarantineConfiguration property value. The quarantineConfiguration property + * @return a {@link QuarantineConfiguration} + */ + @jakarta.annotation.Nullable + public QuarantineConfiguration getQuarantineConfiguration() { + return this.backingStore.get("quarantineConfiguration"); + } + /** + * 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.writeObjectValue("quarantineConfiguration", this.getQuarantineConfiguration()); + 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); + } + /** + * Sets the quarantineConfiguration property value. The quarantineConfiguration property + * @param value Value to set for the quarantineConfiguration property. + */ + public void setQuarantineConfiguration(@jakarta.annotation.Nullable final QuarantineConfiguration value) { + this.backingStore.set("quarantineConfiguration", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowVersion.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowVersion.java index 1ebfb64cafd..7ac202ec31f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowVersion.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowVersion.java @@ -32,9 +32,18 @@ public static WorkflowVersion createFromDiscriminatorValue(@jakarta.annotation.N @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("settings", (n) -> { this.setSettings(n.getObjectValue(WorkflowSetting::createFromDiscriminatorValue)); }); deserializerMap.put("versionNumber", (n) -> { this.setVersionNumber(n.getIntegerValue()); }); return deserializerMap; } + /** + * Gets the settings property value. The settings property + * @return a {@link WorkflowSetting} + */ + @jakarta.annotation.Nullable + public WorkflowSetting getSettings() { + return this.backingStore.get("settings"); + } /** * Gets the versionNumber property value. The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @return a {@link Integer} @@ -50,8 +59,16 @@ public Integer getVersionNumber() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeObjectValue("settings", this.getSettings()); writer.writeIntegerValue("versionNumber", this.getVersionNumber()); } + /** + * Sets the settings property value. The settings property + * @param value Value to set for the settings property. + */ + public void setSettings(@jakarta.annotation.Nullable final WorkflowSetting value) { + this.backingStore.set("settings", value); + } /** * Sets the versionNumber property value. The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * @param value Value to set for the versionNumber property. diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AdditionalDataOptions.java b/src/main/java/com/microsoft/graph/generated/models/security/AdditionalDataOptions.java index cefc71bc4b0..e94e9cc8595 100644 --- a/src/main/java/com/microsoft/graph/generated/models/security/AdditionalDataOptions.java +++ b/src/main/java/com/microsoft/graph/generated/models/security/AdditionalDataOptions.java @@ -13,7 +13,8 @@ public enum AdditionalDataOptions implements ValuedEnum { HtmlTranscripts("htmlTranscripts"), MessageConversationExpansion("messageConversationExpansion"), LocationsWithoutHits("locationsWithoutHits"), - AllItemsInFolder("allItemsInFolder"); + AllItemsInFolder("allItemsInFolder"), + CloudNativeHtmlConversion("cloudNativeHtmlConversion"); public final String value; AdditionalDataOptions(final String value) { this.value = value; @@ -33,6 +34,7 @@ public static AdditionalDataOptions forValue(@jakarta.annotation.Nonnull final S case "messageConversationExpansion": return MessageConversationExpansion; case "locationsWithoutHits": return LocationsWithoutHits; case "allItemsInFolder": return AllItemsInFolder; + case "cloudNativeHtmlConversion": return CloudNativeHtmlConversion; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmail.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmail.java new file mode 100644 index 00000000000..bf5bd07dff6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmail.java @@ -0,0 +1,675 @@ +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 AnalyzedEmail extends Entity implements Parsable { + /** + * Instantiates a new {@link AnalyzedEmail} and sets the default values. + */ + public AnalyzedEmail() { + 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 AnalyzedEmail} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmail(); + } + /** + * Gets the alertIds property value. A collection of values that contain the IDs of any alerts associated with the email. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAlertIds() { + return this.backingStore.get("alertIds"); + } + /** + * Gets the attachments property value. A collection of the attachments in the email. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAttachments() { + return this.backingStore.get("attachments"); + } + /** + * Gets the authenticationDetails property value. The authentication details associated with the email. + * @return a {@link AnalyzedEmailAuthenticationDetail} + */ + @jakarta.annotation.Nullable + public AnalyzedEmailAuthenticationDetail getAuthenticationDetails() { + return this.backingStore.get("authenticationDetails"); + } + /** + * Gets the bulkComplaintLevel property value. The bulk complaint level of the email. A higher level is more likely to be spam. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBulkComplaintLevel() { + return this.backingStore.get("bulkComplaintLevel"); + } + /** + * Gets the clientType property value. Shows the type of client that sent the message (for example, REST). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getClientType() { + return this.backingStore.get("clientType"); + } + /** + * Gets the contexts property value. Provides context of the email. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getContexts() { + return this.backingStore.get("contexts"); + } + /** + * Gets the detectionMethods property value. The methods of detection used. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getDetectionMethods() { + return this.backingStore.get("detectionMethods"); + } + /** + * Gets the directionality property value. The direction of the emails. The possible values are: unknown, inbound, outbound, intraOrg, unknownFutureValue. + * @return a {@link AntispamDirectionality} + */ + @jakarta.annotation.Nullable + public AntispamDirectionality getDirectionality() { + return this.backingStore.get("directionality"); + } + /** + * Gets the distributionList property value. The distribution list details to which the email was sent. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDistributionList() { + return this.backingStore.get("distributionList"); + } + /** + * Gets the dlpRules property value. Data loss prevention rules configured in purview. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getDlpRules() { + return this.backingStore.get("dlpRules"); + } + /** + * Gets the emailClusterId property value. The identifier for the group of similar emails clustered based on heuristic analysis of their content. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEmailClusterId() { + return this.backingStore.get("emailClusterId"); + } + /** + * Gets the exchangeTransportRules property value. The name of the Exchange transport rules (ETRs) associated with the email. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getExchangeTransportRules() { + return this.backingStore.get("exchangeTransportRules"); + } + /** + * 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("alertIds", (n) -> { this.setAlertIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("attachments", (n) -> { this.setAttachments(n.getCollectionOfObjectValues(AnalyzedEmailAttachment::createFromDiscriminatorValue)); }); + deserializerMap.put("authenticationDetails", (n) -> { this.setAuthenticationDetails(n.getObjectValue(AnalyzedEmailAuthenticationDetail::createFromDiscriminatorValue)); }); + deserializerMap.put("bulkComplaintLevel", (n) -> { this.setBulkComplaintLevel(n.getStringValue()); }); + deserializerMap.put("clientType", (n) -> { this.setClientType(n.getStringValue()); }); + deserializerMap.put("contexts", (n) -> { this.setContexts(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("detectionMethods", (n) -> { this.setDetectionMethods(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("directionality", (n) -> { this.setDirectionality(n.getEnumValue(AntispamDirectionality::forValue)); }); + deserializerMap.put("distributionList", (n) -> { this.setDistributionList(n.getStringValue()); }); + deserializerMap.put("dlpRules", (n) -> { this.setDlpRules(n.getCollectionOfObjectValues(AnalyzedEmailDlpRuleInfo::createFromDiscriminatorValue)); }); + deserializerMap.put("emailClusterId", (n) -> { this.setEmailClusterId(n.getStringValue()); }); + deserializerMap.put("exchangeTransportRules", (n) -> { this.setExchangeTransportRules(n.getCollectionOfObjectValues(AnalyzedEmailExchangeTransportRuleInfo::createFromDiscriminatorValue)); }); + deserializerMap.put("forwardingDetail", (n) -> { this.setForwardingDetail(n.getStringValue()); }); + deserializerMap.put("inboundConnectorFormattedName", (n) -> { this.setInboundConnectorFormattedName(n.getStringValue()); }); + deserializerMap.put("internetMessageId", (n) -> { this.setInternetMessageId(n.getStringValue()); }); + deserializerMap.put("language", (n) -> { this.setLanguage(n.getStringValue()); }); + deserializerMap.put("latestDelivery", (n) -> { this.setLatestDelivery(n.getObjectValue(AnalyzedEmailDeliveryDetail::createFromDiscriminatorValue)); }); + deserializerMap.put("loggedDateTime", (n) -> { this.setLoggedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("networkMessageId", (n) -> { this.setNetworkMessageId(n.getStringValue()); }); + deserializerMap.put("originalDelivery", (n) -> { this.setOriginalDelivery(n.getObjectValue(AnalyzedEmailDeliveryDetail::createFromDiscriminatorValue)); }); + deserializerMap.put("overrideSources", (n) -> { this.setOverrideSources(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("phishConfidenceLevel", (n) -> { this.setPhishConfidenceLevel(n.getStringValue()); }); + deserializerMap.put("policy", (n) -> { this.setPolicy(n.getStringValue()); }); + deserializerMap.put("policyAction", (n) -> { this.setPolicyAction(n.getStringValue()); }); + deserializerMap.put("policyType", (n) -> { this.setPolicyType(n.getStringValue()); }); + deserializerMap.put("primaryOverrideSource", (n) -> { this.setPrimaryOverrideSource(n.getStringValue()); }); + deserializerMap.put("recipientDetail", (n) -> { this.setRecipientDetail(n.getObjectValue(AnalyzedEmailRecipientDetail::createFromDiscriminatorValue)); }); + deserializerMap.put("recipientEmailAddress", (n) -> { this.setRecipientEmailAddress(n.getStringValue()); }); + deserializerMap.put("returnPath", (n) -> { this.setReturnPath(n.getStringValue()); }); + deserializerMap.put("senderDetail", (n) -> { this.setSenderDetail(n.getObjectValue(AnalyzedEmailSenderDetail::createFromDiscriminatorValue)); }); + deserializerMap.put("sizeInBytes", (n) -> { this.setSizeInBytes(n.getIntegerValue()); }); + deserializerMap.put("spamConfidenceLevel", (n) -> { this.setSpamConfidenceLevel(n.getStringValue()); }); + deserializerMap.put("subject", (n) -> { this.setSubject(n.getStringValue()); }); + deserializerMap.put("threatDetectionDetails", (n) -> { this.setThreatDetectionDetails(n.getCollectionOfObjectValues(ThreatDetectionDetail::createFromDiscriminatorValue)); }); + deserializerMap.put("threatTypes", (n) -> { this.setThreatTypes(n.getCollectionOfEnumValues(ThreatType::forValue)); }); + deserializerMap.put("timelineEvents", (n) -> { this.setTimelineEvents(n.getCollectionOfObjectValues(TimelineEvent::createFromDiscriminatorValue)); }); + deserializerMap.put("urls", (n) -> { this.setUrls(n.getCollectionOfObjectValues(AnalyzedEmailUrl::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the forwardingDetail property value. Email smtp forwarding details. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getForwardingDetail() { + return this.backingStore.get("forwardingDetail"); + } + /** + * Gets the inboundConnectorFormattedName property value. Custom instructions name that defines organizational mail flow and how the email was routed. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getInboundConnectorFormattedName() { + return this.backingStore.get("inboundConnectorFormattedName"); + } + /** + * Gets the internetMessageId property value. A public-facing identifier for the email that is sent. The message ID is in the format specified by RFC2822. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getInternetMessageId() { + return this.backingStore.get("internetMessageId"); + } + /** + * Gets the language property value. The detected language of the email content. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLanguage() { + return this.backingStore.get("language"); + } + /** + * Gets the latestDelivery property value. The latest delivery details of the email. + * @return a {@link AnalyzedEmailDeliveryDetail} + */ + @jakarta.annotation.Nullable + public AnalyzedEmailDeliveryDetail getLatestDelivery() { + return this.backingStore.get("latestDelivery"); + } + /** + * Gets the loggedDateTime property value. Date-time when the email record was logged. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLoggedDateTime() { + return this.backingStore.get("loggedDateTime"); + } + /** + * Gets the networkMessageId property value. An internal identifier for the email generated by Microsoft 365. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getNetworkMessageId() { + return this.backingStore.get("networkMessageId"); + } + /** + * Gets the originalDelivery property value. The original delivery details of the email. + * @return a {@link AnalyzedEmailDeliveryDetail} + */ + @jakarta.annotation.Nullable + public AnalyzedEmailDeliveryDetail getOriginalDelivery() { + return this.backingStore.get("originalDelivery"); + } + /** + * Gets the overrideSources property value. An aggregated list of all overrides with source on email. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getOverrideSources() { + return this.backingStore.get("overrideSources"); + } + /** + * Gets the phishConfidenceLevel property value. The phish confidence level associated with the email + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPhishConfidenceLevel() { + return this.backingStore.get("phishConfidenceLevel"); + } + /** + * Gets the policy property value. The action policy that took effect. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPolicy() { + return this.backingStore.get("policy"); + } + /** + * Gets the policyAction property value. The action taken on the email based on the configured policy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPolicyAction() { + return this.backingStore.get("policyAction"); + } + /** + * Gets the policyType property value. Type of policy configured that defines the delivery action on email. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPolicyType() { + return this.backingStore.get("policyType"); + } + /** + * Gets the primaryOverrideSource property value. Shows the organization or user setting that altered the intended delivery location of the message (allowed instead of blocked, or blocked instead of allowed). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPrimaryOverrideSource() { + return this.backingStore.get("primaryOverrideSource"); + } + /** + * Gets the recipientDetail property value. Details of the recipients. + * @return a {@link AnalyzedEmailRecipientDetail} + */ + @jakarta.annotation.Nullable + public AnalyzedEmailRecipientDetail getRecipientDetail() { + return this.backingStore.get("recipientDetail"); + } + /** + * Gets the recipientEmailAddress property value. Contains the email address of the recipient. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRecipientEmailAddress() { + return this.backingStore.get("recipientEmailAddress"); + } + /** + * Gets the returnPath property value. A field that indicates where and how bounced emails are processed. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getReturnPath() { + return this.backingStore.get("returnPath"); + } + /** + * Gets the senderDetail property value. Sender details of the email. + * @return a {@link AnalyzedEmailSenderDetail} + */ + @jakarta.annotation.Nullable + public AnalyzedEmailSenderDetail getSenderDetail() { + return this.backingStore.get("senderDetail"); + } + /** + * Gets the sizeInBytes property value. Size of the email in bytes. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getSizeInBytes() { + return this.backingStore.get("sizeInBytes"); + } + /** + * Gets the spamConfidenceLevel property value. Spam confidence of the email. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSpamConfidenceLevel() { + return this.backingStore.get("spamConfidenceLevel"); + } + /** + * Gets the subject property value. Subject of the email. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSubject() { + return this.backingStore.get("subject"); + } + /** + * Gets the threatDetectionDetails property value. Information about threats detected in the email. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getThreatDetectionDetails() { + return this.backingStore.get("threatDetectionDetails"); + } + /** + * Gets the threatTypes property value. Indicates the threat types. The possible values are: unknown, spam, malware, phish, none, unknownFutureValue. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getThreatTypes() { + return this.backingStore.get("threatTypes"); + } + /** + * Gets the timelineEvents property value. Delivery and post-delivery events that happened to the email. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getTimelineEvents() { + return this.backingStore.get("timelineEvents"); + } + /** + * Gets the urls property value. A collection of the URLs in the email. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getUrls() { + return this.backingStore.get("urls"); + } + /** + * 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.writeCollectionOfPrimitiveValues("alertIds", this.getAlertIds()); + writer.writeCollectionOfObjectValues("attachments", this.getAttachments()); + writer.writeObjectValue("authenticationDetails", this.getAuthenticationDetails()); + writer.writeStringValue("bulkComplaintLevel", this.getBulkComplaintLevel()); + writer.writeStringValue("clientType", this.getClientType()); + writer.writeCollectionOfPrimitiveValues("contexts", this.getContexts()); + writer.writeCollectionOfPrimitiveValues("detectionMethods", this.getDetectionMethods()); + writer.writeEnumValue("directionality", this.getDirectionality()); + writer.writeStringValue("distributionList", this.getDistributionList()); + writer.writeCollectionOfObjectValues("dlpRules", this.getDlpRules()); + writer.writeStringValue("emailClusterId", this.getEmailClusterId()); + writer.writeCollectionOfObjectValues("exchangeTransportRules", this.getExchangeTransportRules()); + writer.writeStringValue("forwardingDetail", this.getForwardingDetail()); + writer.writeStringValue("inboundConnectorFormattedName", this.getInboundConnectorFormattedName()); + writer.writeStringValue("internetMessageId", this.getInternetMessageId()); + writer.writeStringValue("language", this.getLanguage()); + writer.writeObjectValue("latestDelivery", this.getLatestDelivery()); + writer.writeOffsetDateTimeValue("loggedDateTime", this.getLoggedDateTime()); + writer.writeStringValue("networkMessageId", this.getNetworkMessageId()); + writer.writeObjectValue("originalDelivery", this.getOriginalDelivery()); + writer.writeCollectionOfPrimitiveValues("overrideSources", this.getOverrideSources()); + writer.writeStringValue("phishConfidenceLevel", this.getPhishConfidenceLevel()); + writer.writeStringValue("policy", this.getPolicy()); + writer.writeStringValue("policyAction", this.getPolicyAction()); + writer.writeStringValue("policyType", this.getPolicyType()); + writer.writeStringValue("primaryOverrideSource", this.getPrimaryOverrideSource()); + writer.writeObjectValue("recipientDetail", this.getRecipientDetail()); + writer.writeStringValue("recipientEmailAddress", this.getRecipientEmailAddress()); + writer.writeStringValue("returnPath", this.getReturnPath()); + writer.writeObjectValue("senderDetail", this.getSenderDetail()); + writer.writeIntegerValue("sizeInBytes", this.getSizeInBytes()); + writer.writeStringValue("spamConfidenceLevel", this.getSpamConfidenceLevel()); + writer.writeStringValue("subject", this.getSubject()); + writer.writeCollectionOfObjectValues("threatDetectionDetails", this.getThreatDetectionDetails()); + writer.writeCollectionOfEnumValues("threatTypes", this.getThreatTypes()); + writer.writeCollectionOfObjectValues("timelineEvents", this.getTimelineEvents()); + writer.writeCollectionOfObjectValues("urls", this.getUrls()); + } + /** + * Sets the alertIds property value. A collection of values that contain the IDs of any alerts associated with the email. + * @param value Value to set for the alertIds property. + */ + public void setAlertIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("alertIds", value); + } + /** + * Sets the attachments property value. A collection of the attachments in the email. + * @param value Value to set for the attachments property. + */ + public void setAttachments(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("attachments", value); + } + /** + * Sets the authenticationDetails property value. The authentication details associated with the email. + * @param value Value to set for the authenticationDetails property. + */ + public void setAuthenticationDetails(@jakarta.annotation.Nullable final AnalyzedEmailAuthenticationDetail value) { + this.backingStore.set("authenticationDetails", value); + } + /** + * Sets the bulkComplaintLevel property value. The bulk complaint level of the email. A higher level is more likely to be spam. + * @param value Value to set for the bulkComplaintLevel property. + */ + public void setBulkComplaintLevel(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("bulkComplaintLevel", value); + } + /** + * Sets the clientType property value. Shows the type of client that sent the message (for example, REST). + * @param value Value to set for the clientType property. + */ + public void setClientType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("clientType", value); + } + /** + * Sets the contexts property value. Provides context of the email. + * @param value Value to set for the contexts property. + */ + public void setContexts(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("contexts", value); + } + /** + * Sets the detectionMethods property value. The methods of detection used. + * @param value Value to set for the detectionMethods property. + */ + public void setDetectionMethods(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("detectionMethods", value); + } + /** + * Sets the directionality property value. The direction of the emails. The possible values are: unknown, inbound, outbound, intraOrg, unknownFutureValue. + * @param value Value to set for the directionality property. + */ + public void setDirectionality(@jakarta.annotation.Nullable final AntispamDirectionality value) { + this.backingStore.set("directionality", value); + } + /** + * Sets the distributionList property value. The distribution list details to which the email was sent. + * @param value Value to set for the distributionList property. + */ + public void setDistributionList(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("distributionList", value); + } + /** + * Sets the dlpRules property value. Data loss prevention rules configured in purview. + * @param value Value to set for the dlpRules property. + */ + public void setDlpRules(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("dlpRules", value); + } + /** + * Sets the emailClusterId property value. The identifier for the group of similar emails clustered based on heuristic analysis of their content. + * @param value Value to set for the emailClusterId property. + */ + public void setEmailClusterId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("emailClusterId", value); + } + /** + * Sets the exchangeTransportRules property value. The name of the Exchange transport rules (ETRs) associated with the email. + * @param value Value to set for the exchangeTransportRules property. + */ + public void setExchangeTransportRules(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("exchangeTransportRules", value); + } + /** + * Sets the forwardingDetail property value. Email smtp forwarding details. + * @param value Value to set for the forwardingDetail property. + */ + public void setForwardingDetail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("forwardingDetail", value); + } + /** + * Sets the inboundConnectorFormattedName property value. Custom instructions name that defines organizational mail flow and how the email was routed. + * @param value Value to set for the inboundConnectorFormattedName property. + */ + public void setInboundConnectorFormattedName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("inboundConnectorFormattedName", value); + } + /** + * Sets the internetMessageId property value. A public-facing identifier for the email that is sent. The message ID is in the format specified by RFC2822. + * @param value Value to set for the internetMessageId property. + */ + public void setInternetMessageId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("internetMessageId", value); + } + /** + * Sets the language property value. The detected language of the email content. + * @param value Value to set for the language property. + */ + public void setLanguage(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("language", value); + } + /** + * Sets the latestDelivery property value. The latest delivery details of the email. + * @param value Value to set for the latestDelivery property. + */ + public void setLatestDelivery(@jakarta.annotation.Nullable final AnalyzedEmailDeliveryDetail value) { + this.backingStore.set("latestDelivery", value); + } + /** + * Sets the loggedDateTime property value. Date-time when the email record was logged. + * @param value Value to set for the loggedDateTime property. + */ + public void setLoggedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("loggedDateTime", value); + } + /** + * Sets the networkMessageId property value. An internal identifier for the email generated by Microsoft 365. + * @param value Value to set for the networkMessageId property. + */ + public void setNetworkMessageId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("networkMessageId", value); + } + /** + * Sets the originalDelivery property value. The original delivery details of the email. + * @param value Value to set for the originalDelivery property. + */ + public void setOriginalDelivery(@jakarta.annotation.Nullable final AnalyzedEmailDeliveryDetail value) { + this.backingStore.set("originalDelivery", value); + } + /** + * Sets the overrideSources property value. An aggregated list of all overrides with source on email. + * @param value Value to set for the overrideSources property. + */ + public void setOverrideSources(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("overrideSources", value); + } + /** + * Sets the phishConfidenceLevel property value. The phish confidence level associated with the email + * @param value Value to set for the phishConfidenceLevel property. + */ + public void setPhishConfidenceLevel(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("phishConfidenceLevel", value); + } + /** + * Sets the policy property value. The action policy that took effect. + * @param value Value to set for the policy property. + */ + public void setPolicy(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("policy", value); + } + /** + * Sets the policyAction property value. The action taken on the email based on the configured policy. + * @param value Value to set for the policyAction property. + */ + public void setPolicyAction(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("policyAction", value); + } + /** + * Sets the policyType property value. Type of policy configured that defines the delivery action on email. + * @param value Value to set for the policyType property. + */ + public void setPolicyType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("policyType", value); + } + /** + * Sets the primaryOverrideSource property value. Shows the organization or user setting that altered the intended delivery location of the message (allowed instead of blocked, or blocked instead of allowed). + * @param value Value to set for the primaryOverrideSource property. + */ + public void setPrimaryOverrideSource(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("primaryOverrideSource", value); + } + /** + * Sets the recipientDetail property value. Details of the recipients. + * @param value Value to set for the recipientDetail property. + */ + public void setRecipientDetail(@jakarta.annotation.Nullable final AnalyzedEmailRecipientDetail value) { + this.backingStore.set("recipientDetail", value); + } + /** + * Sets the recipientEmailAddress property value. Contains the email address of the recipient. + * @param value Value to set for the recipientEmailAddress property. + */ + public void setRecipientEmailAddress(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("recipientEmailAddress", value); + } + /** + * Sets the returnPath property value. A field that indicates where and how bounced emails are processed. + * @param value Value to set for the returnPath property. + */ + public void setReturnPath(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("returnPath", value); + } + /** + * Sets the senderDetail property value. Sender details of the email. + * @param value Value to set for the senderDetail property. + */ + public void setSenderDetail(@jakarta.annotation.Nullable final AnalyzedEmailSenderDetail value) { + this.backingStore.set("senderDetail", value); + } + /** + * Sets the sizeInBytes property value. Size of the email in bytes. + * @param value Value to set for the sizeInBytes property. + */ + public void setSizeInBytes(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("sizeInBytes", value); + } + /** + * Sets the spamConfidenceLevel property value. Spam confidence of the email. + * @param value Value to set for the spamConfidenceLevel property. + */ + public void setSpamConfidenceLevel(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("spamConfidenceLevel", value); + } + /** + * Sets the subject property value. Subject of the email. + * @param value Value to set for the subject property. + */ + public void setSubject(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("subject", value); + } + /** + * Sets the threatDetectionDetails property value. Information about threats detected in the email. + * @param value Value to set for the threatDetectionDetails property. + */ + public void setThreatDetectionDetails(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("threatDetectionDetails", value); + } + /** + * Sets the threatTypes property value. Indicates the threat types. The possible values are: unknown, spam, malware, phish, none, unknownFutureValue. + * @param value Value to set for the threatTypes property. + */ + public void setThreatTypes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("threatTypes", value); + } + /** + * Sets the timelineEvents property value. Delivery and post-delivery events that happened to the email. + * @param value Value to set for the timelineEvents property. + */ + public void setTimelineEvents(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("timelineEvents", value); + } + /** + * Sets the urls property value. A collection of the URLs in the email. + * @param value Value to set for the urls property. + */ + public void setUrls(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("urls", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailAttachment.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailAttachment.java new file mode 100644 index 00000000000..767b4a83dd0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailAttachment.java @@ -0,0 +1,260 @@ +package com.microsoft.graph.models.security; + +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 AnalyzedEmailAttachment implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AnalyzedEmailAttachment} and sets the default values. + */ + public AnalyzedEmailAttachment() { + 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 AnalyzedEmailAttachment} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailAttachment createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailAttachment(); + } + /** + * 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 detonationDetails property value. The detonation details of the attachment. + * @return a {@link DetonationDetails} + */ + @jakarta.annotation.Nullable + public DetonationDetails getDetonationDetails() { + return this.backingStore.get("detonationDetails"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(10); + deserializerMap.put("detonationDetails", (n) -> { this.setDetonationDetails(n.getObjectValue(DetonationDetails::createFromDiscriminatorValue)); }); + deserializerMap.put("fileExtension", (n) -> { this.setFileExtension(n.getStringValue()); }); + deserializerMap.put("fileName", (n) -> { this.setFileName(n.getStringValue()); }); + deserializerMap.put("fileSize", (n) -> { this.setFileSize(n.getIntegerValue()); }); + deserializerMap.put("fileType", (n) -> { this.setFileType(n.getStringValue()); }); + deserializerMap.put("malwareFamily", (n) -> { this.setMalwareFamily(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("sha256", (n) -> { this.setSha256(n.getStringValue()); }); + deserializerMap.put("tenantAllowBlockListDetailInfo", (n) -> { this.setTenantAllowBlockListDetailInfo(n.getStringValue()); }); + deserializerMap.put("threatType", (n) -> { this.setThreatType(n.getEnumValue(ThreatType::forValue)); }); + return deserializerMap; + } + /** + * Gets the fileExtension property value. Extension of the file. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFileExtension() { + return this.backingStore.get("fileExtension"); + } + /** + * Gets the fileName property value. The name of the attachment in the email. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFileName() { + return this.backingStore.get("fileName"); + } + /** + * Gets the fileSize property value. Size of the file. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getFileSize() { + return this.backingStore.get("fileSize"); + } + /** + * Gets the fileType property value. The type of the attachment in the email. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFileType() { + return this.backingStore.get("fileType"); + } + /** + * Gets the malwareFamily property value. The threat name associated with the threat type. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMalwareFamily() { + return this.backingStore.get("malwareFamily"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the sha256 property value. The SHA256 file hash of the attachment. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSha256() { + return this.backingStore.get("sha256"); + } + /** + * Gets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTenantAllowBlockListDetailInfo() { + return this.backingStore.get("tenantAllowBlockListDetailInfo"); + } + /** + * Gets the threatType property value. The threat type associated with the attachment. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. + * @return a {@link ThreatType} + */ + @jakarta.annotation.Nullable + public ThreatType getThreatType() { + return this.backingStore.get("threatType"); + } + /** + * 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("detonationDetails", this.getDetonationDetails()); + writer.writeStringValue("fileExtension", this.getFileExtension()); + writer.writeStringValue("fileName", this.getFileName()); + writer.writeIntegerValue("fileSize", this.getFileSize()); + writer.writeStringValue("fileType", this.getFileType()); + writer.writeStringValue("malwareFamily", this.getMalwareFamily()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("sha256", this.getSha256()); + writer.writeStringValue("tenantAllowBlockListDetailInfo", this.getTenantAllowBlockListDetailInfo()); + writer.writeEnumValue("threatType", this.getThreatType()); + 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 detonationDetails property value. The detonation details of the attachment. + * @param value Value to set for the detonationDetails property. + */ + public void setDetonationDetails(@jakarta.annotation.Nullable final DetonationDetails value) { + this.backingStore.set("detonationDetails", value); + } + /** + * Sets the fileExtension property value. Extension of the file. + * @param value Value to set for the fileExtension property. + */ + public void setFileExtension(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("fileExtension", value); + } + /** + * Sets the fileName property value. The name of the attachment in the email. + * @param value Value to set for the fileName property. + */ + public void setFileName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("fileName", value); + } + /** + * Sets the fileSize property value. Size of the file. + * @param value Value to set for the fileSize property. + */ + public void setFileSize(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("fileSize", value); + } + /** + * Sets the fileType property value. The type of the attachment in the email. + * @param value Value to set for the fileType property. + */ + public void setFileType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("fileType", value); + } + /** + * Sets the malwareFamily property value. The threat name associated with the threat type. + * @param value Value to set for the malwareFamily property. + */ + public void setMalwareFamily(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("malwareFamily", 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); + } + /** + * Sets the sha256 property value. The SHA256 file hash of the attachment. + * @param value Value to set for the sha256 property. + */ + public void setSha256(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("sha256", value); + } + /** + * Sets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. + * @param value Value to set for the tenantAllowBlockListDetailInfo property. + */ + public void setTenantAllowBlockListDetailInfo(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("tenantAllowBlockListDetailInfo", value); + } + /** + * Sets the threatType property value. The threat type associated with the attachment. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. + * @param value Value to set for the threatType property. + */ + public void setThreatType(@jakarta.annotation.Nullable final ThreatType value) { + this.backingStore.set("threatType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailAuthenticationDetail.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailAuthenticationDetail.java new file mode 100644 index 00000000000..c45b48a1100 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailAuthenticationDetail.java @@ -0,0 +1,175 @@ +package com.microsoft.graph.models.security; + +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 AnalyzedEmailAuthenticationDetail implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AnalyzedEmailAuthenticationDetail} and sets the default values. + */ + public AnalyzedEmailAuthenticationDetail() { + 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 AnalyzedEmailAuthenticationDetail} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailAuthenticationDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailAuthenticationDetail(); + } + /** + * 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 compositeAuthentication property value. A value used by Microsoft 365 to combine email authentication such as SPF, DKIM, and DMARC, to determine whether the message is authentic. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCompositeAuthentication() { + return this.backingStore.get("compositeAuthentication"); + } + /** + * Gets the dkim property value. DomainKeys identified mail (DKIM). Indicates whether it was pass/fail/soft fail. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDkim() { + return this.backingStore.get("dkim"); + } + /** + * Gets the dmarc property value. Domain-based Message Authentication. Indicates whether it was pass/fail/soft fail. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDmarc() { + return this.backingStore.get("dmarc"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(5); + deserializerMap.put("compositeAuthentication", (n) -> { this.setCompositeAuthentication(n.getStringValue()); }); + deserializerMap.put("dkim", (n) -> { this.setDkim(n.getStringValue()); }); + deserializerMap.put("dmarc", (n) -> { this.setDmarc(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("senderPolicyFramework", (n) -> { this.setSenderPolicyFramework(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"); + } + /** + * Gets the senderPolicyFramework property value. Sender Policy Framework (SPF). Indicates whether it was pass/fail/soft fail. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSenderPolicyFramework() { + return this.backingStore.get("senderPolicyFramework"); + } + /** + * 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("compositeAuthentication", this.getCompositeAuthentication()); + writer.writeStringValue("dkim", this.getDkim()); + writer.writeStringValue("dmarc", this.getDmarc()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("senderPolicyFramework", this.getSenderPolicyFramework()); + 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 compositeAuthentication property value. A value used by Microsoft 365 to combine email authentication such as SPF, DKIM, and DMARC, to determine whether the message is authentic. + * @param value Value to set for the compositeAuthentication property. + */ + public void setCompositeAuthentication(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("compositeAuthentication", value); + } + /** + * Sets the dkim property value. DomainKeys identified mail (DKIM). Indicates whether it was pass/fail/soft fail. + * @param value Value to set for the dkim property. + */ + public void setDkim(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("dkim", value); + } + /** + * Sets the dmarc property value. Domain-based Message Authentication. Indicates whether it was pass/fail/soft fail. + * @param value Value to set for the dmarc property. + */ + public void setDmarc(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("dmarc", 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); + } + /** + * Sets the senderPolicyFramework property value. Sender Policy Framework (SPF). Indicates whether it was pass/fail/soft fail. + * @param value Value to set for the senderPolicyFramework property. + */ + public void setSenderPolicyFramework(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("senderPolicyFramework", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailCollectionResponse.java new file mode 100644 index 00000000000..a8ea06a0f3e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailCollectionResponse.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 AnalyzedEmailCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link AnalyzedEmailCollectionResponse} and sets the default values. + */ + public AnalyzedEmailCollectionResponse() { + 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 AnalyzedEmailCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailCollectionResponse(); + } + /** + * 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(AnalyzedEmail::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/security/AnalyzedEmailDeliveryDetail.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailDeliveryDetail.java new file mode 100644 index 00000000000..b50423a8b94 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailDeliveryDetail.java @@ -0,0 +1,175 @@ +package com.microsoft.graph.models.security; + +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 AnalyzedEmailDeliveryDetail implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AnalyzedEmailDeliveryDetail} and sets the default values. + */ + public AnalyzedEmailDeliveryDetail() { + 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 AnalyzedEmailDeliveryDetail} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailDeliveryDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailDeliveryDetail(); + } + /** + * Gets the action property value. The delivery action of the email. The possible values are: unknown, deliveredToJunk, delivered, blocked, replaced, unknownFutureValue. + * @return a {@link DeliveryAction} + */ + @jakarta.annotation.Nullable + public DeliveryAction getAction() { + return this.backingStore.get("action"); + } + /** + * 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>(5); + deserializerMap.put("action", (n) -> { this.setAction(n.getEnumValue(DeliveryAction::forValue)); }); + deserializerMap.put("latestThreats", (n) -> { this.setLatestThreats(n.getStringValue()); }); + deserializerMap.put("location", (n) -> { this.setLocation(n.getEnumValue(DeliveryLocation::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("originalThreats", (n) -> { this.setOriginalThreats(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the latestThreats property value. Latest known threat on the email. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLatestThreats() { + return this.backingStore.get("latestThreats"); + } + /** + * Gets the location property value. The delivery location of the email. The possible values are: unknown, inboxfolder, junkFolder, deletedFolder, quarantine, onpremexternal, failed, dropped, others, unknownFutureValue. + * @return a {@link DeliveryLocation} + */ + @jakarta.annotation.Nullable + public DeliveryLocation getLocation() { + return this.backingStore.get("location"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the originalThreats property value. Threats identified at the time of delivery. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOriginalThreats() { + return this.backingStore.get("originalThreats"); + } + /** + * 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.writeEnumValue("action", this.getAction()); + writer.writeStringValue("latestThreats", this.getLatestThreats()); + writer.writeEnumValue("location", this.getLocation()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("originalThreats", this.getOriginalThreats()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the action property value. The delivery action of the email. The possible values are: unknown, deliveredToJunk, delivered, blocked, replaced, unknownFutureValue. + * @param value Value to set for the action property. + */ + public void setAction(@jakarta.annotation.Nullable final DeliveryAction value) { + this.backingStore.set("action", value); + } + /** + * 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 latestThreats property value. Latest known threat on the email. + * @param value Value to set for the latestThreats property. + */ + public void setLatestThreats(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("latestThreats", value); + } + /** + * Sets the location property value. The delivery location of the email. The possible values are: unknown, inboxfolder, junkFolder, deletedFolder, quarantine, onpremexternal, failed, dropped, others, unknownFutureValue. + * @param value Value to set for the location property. + */ + public void setLocation(@jakarta.annotation.Nullable final DeliveryLocation value) { + this.backingStore.set("location", 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); + } + /** + * Sets the originalThreats property value. Threats identified at the time of delivery. + * @param value Value to set for the originalThreats property. + */ + public void setOriginalThreats(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("originalThreats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailDlpRuleInfo.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailDlpRuleInfo.java new file mode 100644 index 00000000000..12d4e8ae97c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailDlpRuleInfo.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models.security; + +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 AnalyzedEmailDlpRuleInfo implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AnalyzedEmailDlpRuleInfo} and sets the default values. + */ + public AnalyzedEmailDlpRuleInfo() { + 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 AnalyzedEmailDlpRuleInfo} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailDlpRuleInfo createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailDlpRuleInfo(); + } + /** + * 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>(3); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("ruleId", (n) -> { this.setRuleId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the name property value. Name of the the data loss prevention rule. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the ruleId property value. Unique identifier of the data loss prevention rule. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRuleId() { + return this.backingStore.get("ruleId"); + } + /** + * 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("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("ruleId", this.getRuleId()); + 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 name property value. Name of the the data loss prevention rule. + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", 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); + } + /** + * Sets the ruleId property value. Unique identifier of the data loss prevention rule. + * @param value Value to set for the ruleId property. + */ + public void setRuleId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("ruleId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailExchangeTransportRuleInfo.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailExchangeTransportRuleInfo.java new file mode 100644 index 00000000000..b8a0dd3b4cd --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailExchangeTransportRuleInfo.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models.security; + +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 AnalyzedEmailExchangeTransportRuleInfo implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AnalyzedEmailExchangeTransportRuleInfo} and sets the default values. + */ + public AnalyzedEmailExchangeTransportRuleInfo() { + 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 AnalyzedEmailExchangeTransportRuleInfo} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailExchangeTransportRuleInfo createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailExchangeTransportRuleInfo(); + } + /** + * 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>(3); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("ruleId", (n) -> { this.setRuleId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the name property value. Name of the Exchange transport rules (ETRs) that are part of the email. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the ruleId property value. The ETR rule ID. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRuleId() { + return this.backingStore.get("ruleId"); + } + /** + * 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("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("ruleId", this.getRuleId()); + 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 name property value. Name of the Exchange transport rules (ETRs) that are part of the email. + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", 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); + } + /** + * Sets the ruleId property value. The ETR rule ID. + * @param value Value to set for the ruleId property. + */ + public void setRuleId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("ruleId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailRecipientDetail.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailRecipientDetail.java new file mode 100644 index 00000000000..db9b2b1c812 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailRecipientDetail.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models.security; + +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 AnalyzedEmailRecipientDetail implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AnalyzedEmailRecipientDetail} and sets the default values. + */ + public AnalyzedEmailRecipientDetail() { + 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 AnalyzedEmailRecipientDetail} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailRecipientDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailRecipientDetail(); + } + /** + * 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 ccRecipients property value. Recipient address in the cc field. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCcRecipients() { + return this.backingStore.get("ccRecipients"); + } + /** + * Gets the domainName property value. Domain name of the recipient. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDomainName() { + return this.backingStore.get("domainName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("ccRecipients", (n) -> { this.setCcRecipients(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("domainName", (n) -> { this.setDomainName(n.getStringValue()); }); + 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.writeCollectionOfPrimitiveValues("ccRecipients", this.getCcRecipients()); + writer.writeStringValue("domainName", this.getDomainName()); + 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 ccRecipients property value. Recipient address in the cc field. + * @param value Value to set for the ccRecipients property. + */ + public void setCcRecipients(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("ccRecipients", value); + } + /** + * Sets the domainName property value. Domain name of the recipient. + * @param value Value to set for the domainName property. + */ + public void setDomainName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("domainName", 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/security/AnalyzedEmailSenderDetail.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailSenderDetail.java new file mode 100644 index 00000000000..9d2dd870b55 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailSenderDetail.java @@ -0,0 +1,261 @@ +package com.microsoft.graph.models.security; + +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 AnalyzedEmailSenderDetail implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AnalyzedEmailSenderDetail} and sets the default values. + */ + public AnalyzedEmailSenderDetail() { + 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 AnalyzedEmailSenderDetail} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailSenderDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailSenderDetail(); + } + /** + * 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 displayName property value. Display name of sender from address. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * Gets the domainCreationDateTime property value. Date and time of creation of the sender domain. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getDomainCreationDateTime() { + return this.backingStore.get("domainCreationDateTime"); + } + /** + * Gets the domainName property value. Registered name of the domain. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDomainName() { + return this.backingStore.get("domainName"); + } + /** + * Gets the domainOwner property value. Owner of the domain. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDomainOwner() { + return this.backingStore.get("domainOwner"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(10); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("domainCreationDateTime", (n) -> { this.setDomainCreationDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("domainName", (n) -> { this.setDomainName(n.getStringValue()); }); + deserializerMap.put("domainOwner", (n) -> { this.setDomainOwner(n.getStringValue()); }); + deserializerMap.put("fromAddress", (n) -> { this.setFromAddress(n.getStringValue()); }); + deserializerMap.put("ipv4", (n) -> { this.setIpv4(n.getStringValue()); }); + deserializerMap.put("location", (n) -> { this.setLocation(n.getStringValue()); }); + deserializerMap.put("mailFromAddress", (n) -> { this.setMailFromAddress(n.getStringValue()); }); + deserializerMap.put("mailFromDomainName", (n) -> { this.setMailFromDomainName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the fromAddress property value. The sender email address in the mail From header, also known as the envelope sender or the P1 sender. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFromAddress() { + return this.backingStore.get("fromAddress"); + } + /** + * Gets the ipv4 property value. The IPv4 address of the last detected mail server that relayed the message. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getIpv4() { + return this.backingStore.get("ipv4"); + } + /** + * Gets the location property value. Location of the domain. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocation() { + return this.backingStore.get("location"); + } + /** + * Gets the mailFromAddress property value. The sender email address in the From header, which is visible to email recipients on their email clients. Also known as P2 sender. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMailFromAddress() { + return this.backingStore.get("mailFromAddress"); + } + /** + * Gets the mailFromDomainName property value. Domain name of sender mail from address. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMailFromDomainName() { + return this.backingStore.get("mailFromDomainName"); + } + /** + * 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("displayName", this.getDisplayName()); + writer.writeOffsetDateTimeValue("domainCreationDateTime", this.getDomainCreationDateTime()); + writer.writeStringValue("domainName", this.getDomainName()); + writer.writeStringValue("domainOwner", this.getDomainOwner()); + writer.writeStringValue("fromAddress", this.getFromAddress()); + writer.writeStringValue("ipv4", this.getIpv4()); + writer.writeStringValue("location", this.getLocation()); + writer.writeStringValue("mailFromAddress", this.getMailFromAddress()); + writer.writeStringValue("mailFromDomainName", this.getMailFromDomainName()); + 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 displayName property value. Display name of sender from address. + * @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 domainCreationDateTime property value. Date and time of creation of the sender domain. + * @param value Value to set for the domainCreationDateTime property. + */ + public void setDomainCreationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("domainCreationDateTime", value); + } + /** + * Sets the domainName property value. Registered name of the domain. + * @param value Value to set for the domainName property. + */ + public void setDomainName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("domainName", value); + } + /** + * Sets the domainOwner property value. Owner of the domain. + * @param value Value to set for the domainOwner property. + */ + public void setDomainOwner(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("domainOwner", value); + } + /** + * Sets the fromAddress property value. The sender email address in the mail From header, also known as the envelope sender or the P1 sender. + * @param value Value to set for the fromAddress property. + */ + public void setFromAddress(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("fromAddress", value); + } + /** + * Sets the ipv4 property value. The IPv4 address of the last detected mail server that relayed the message. + * @param value Value to set for the ipv4 property. + */ + public void setIpv4(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("ipv4", value); + } + /** + * Sets the location property value. Location of the domain. + * @param value Value to set for the location property. + */ + public void setLocation(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("location", value); + } + /** + * Sets the mailFromAddress property value. The sender email address in the From header, which is visible to email recipients on their email clients. Also known as P2 sender. + * @param value Value to set for the mailFromAddress property. + */ + public void setMailFromAddress(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("mailFromAddress", value); + } + /** + * Sets the mailFromDomainName property value. Domain name of sender mail from address. + * @param value Value to set for the mailFromDomainName property. + */ + public void setMailFromDomainName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("mailFromDomainName", 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/security/AnalyzedEmailUrl.java b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailUrl.java new file mode 100644 index 00000000000..5122392ebf0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AnalyzedEmailUrl.java @@ -0,0 +1,192 @@ +package com.microsoft.graph.models.security; + +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 AnalyzedEmailUrl implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AnalyzedEmailUrl} and sets the default values. + */ + public AnalyzedEmailUrl() { + 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 AnalyzedEmailUrl} + */ + @jakarta.annotation.Nonnull + public static AnalyzedEmailUrl createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AnalyzedEmailUrl(); + } + /** + * 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 detectionMethod property value. The method used to detect threats in the URL. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDetectionMethod() { + return this.backingStore.get("detectionMethod"); + } + /** + * Gets the detonationDetails property value. Detonation data associated with the URL. + * @return a {@link DetonationDetails} + */ + @jakarta.annotation.Nullable + public DetonationDetails getDetonationDetails() { + return this.backingStore.get("detonationDetails"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(6); + deserializerMap.put("detectionMethod", (n) -> { this.setDetectionMethod(n.getStringValue()); }); + deserializerMap.put("detonationDetails", (n) -> { this.setDetonationDetails(n.getObjectValue(DetonationDetails::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("tenantAllowBlockListDetailInfo", (n) -> { this.setTenantAllowBlockListDetailInfo(n.getStringValue()); }); + deserializerMap.put("threatType", (n) -> { this.setThreatType(n.getEnumValue(ThreatType::forValue)); }); + deserializerMap.put("url", (n) -> { this.setUrl(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"); + } + /** + * Gets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTenantAllowBlockListDetailInfo() { + return this.backingStore.get("tenantAllowBlockListDetailInfo"); + } + /** + * Gets the threatType property value. The type of threat associated with the URL. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. + * @return a {@link ThreatType} + */ + @jakarta.annotation.Nullable + public ThreatType getThreatType() { + return this.backingStore.get("threatType"); + } + /** + * Gets the url property value. The URL that is found in the email. This is full URL string, including query parameters. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getUrl() { + return this.backingStore.get("url"); + } + /** + * 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("detectionMethod", this.getDetectionMethod()); + writer.writeObjectValue("detonationDetails", this.getDetonationDetails()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("tenantAllowBlockListDetailInfo", this.getTenantAllowBlockListDetailInfo()); + writer.writeEnumValue("threatType", this.getThreatType()); + writer.writeStringValue("url", this.getUrl()); + 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 detectionMethod property value. The method used to detect threats in the URL. + * @param value Value to set for the detectionMethod property. + */ + public void setDetectionMethod(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("detectionMethod", value); + } + /** + * Sets the detonationDetails property value. Detonation data associated with the URL. + * @param value Value to set for the detonationDetails property. + */ + public void setDetonationDetails(@jakarta.annotation.Nullable final DetonationDetails value) { + this.backingStore.set("detonationDetails", 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); + } + /** + * Sets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. + * @param value Value to set for the tenantAllowBlockListDetailInfo property. + */ + public void setTenantAllowBlockListDetailInfo(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("tenantAllowBlockListDetailInfo", value); + } + /** + * Sets the threatType property value. The type of threat associated with the URL. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. + * @param value Value to set for the threatType property. + */ + public void setThreatType(@jakarta.annotation.Nullable final ThreatType value) { + this.backingStore.set("threatType", value); + } + /** + * Sets the url property value. The URL that is found in the email. This is full URL string, including query parameters. + * @param value Value to set for the url property. + */ + public void setUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("url", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/AntispamDirectionality.java b/src/main/java/com/microsoft/graph/generated/models/security/AntispamDirectionality.java new file mode 100644 index 00000000000..557cd40a216 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/AntispamDirectionality.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum AntispamDirectionality implements ValuedEnum { + Unknown("unknown"), + Inbound("inbound"), + Outbound("outbound"), + IntraOrg("intraOrg"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + AntispamDirectionality(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static AntispamDirectionality forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "unknown": return Unknown; + case "inbound": return Inbound; + case "outbound": return Outbound; + case "intraOrg": return IntraOrg; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/CollaborationRoot.java b/src/main/java/com/microsoft/graph/generated/models/security/CollaborationRoot.java new file mode 100644 index 00000000000..68b329677d0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/CollaborationRoot.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 CollaborationRoot extends Entity implements Parsable { + /** + * Instantiates a new {@link CollaborationRoot} and sets the default values. + */ + public CollaborationRoot() { + 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 CollaborationRoot} + */ + @jakarta.annotation.Nonnull + public static CollaborationRoot createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CollaborationRoot(); + } + /** + * Gets the analyzedEmails property value. Contains metadata for analyzed emails. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAnalyzedEmails() { + return this.backingStore.get("analyzedEmails"); + } + /** + * 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("analyzedEmails", (n) -> { this.setAnalyzedEmails(n.getCollectionOfObjectValues(AnalyzedEmail::createFromDiscriminatorValue)); }); + 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.writeCollectionOfObjectValues("analyzedEmails", this.getAnalyzedEmails()); + } + /** + * Sets the analyzedEmails property value. Contains metadata for analyzed emails. + * @param value Value to set for the analyzedEmails property. + */ + public void setAnalyzedEmails(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("analyzedEmails", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/CompromiseIndicator.java b/src/main/java/com/microsoft/graph/generated/models/security/CompromiseIndicator.java new file mode 100644 index 00000000000..d453fa78b36 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/CompromiseIndicator.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models.security; + +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 CompromiseIndicator implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CompromiseIndicator} and sets the default values. + */ + public CompromiseIndicator() { + 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 CompromiseIndicator} + */ + @jakarta.annotation.Nonnull + public static CompromiseIndicator createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CompromiseIndicator(); + } + /** + * 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>(3); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + deserializerMap.put("verdict", (n) -> { this.setVerdict(n.getEnumValue(VerdictCategory::forValue)); }); + 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"); + } + /** + * Gets the value property value. Indicator. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getValue() { + return this.backingStore.get("value"); + } + /** + * Gets the verdict property value. The possible values are: none, malware, phish, siteUnavailable, spam, decryptionFailed, unsupportedUriScheme, unsupportedFileType, undefined, unknownFutureValue. + * @return a {@link VerdictCategory} + */ + @jakarta.annotation.Nullable + public VerdictCategory getVerdict() { + return this.backingStore.get("verdict"); + } + /** + * 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.writeStringValue("value", this.getValue()); + writer.writeEnumValue("verdict", this.getVerdict()); + 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); + } + /** + * Sets the value property value. Indicator. + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } + /** + * Sets the verdict property value. The possible values are: none, malware, phish, siteUnavailable, spam, decryptionFailed, unsupportedUriScheme, unsupportedFileType, undefined, unknownFutureValue. + * @param value Value to set for the verdict property. + */ + public void setVerdict(@jakarta.annotation.Nullable final VerdictCategory value) { + this.backingStore.set("verdict", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/DeliveryAction.java b/src/main/java/com/microsoft/graph/generated/models/security/DeliveryAction.java new file mode 100644 index 00000000000..743bd04f625 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/DeliveryAction.java @@ -0,0 +1,33 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum DeliveryAction implements ValuedEnum { + Unknown("unknown"), + DeliveredToJunk("deliveredToJunk"), + Delivered("delivered"), + Blocked("blocked"), + Replaced("replaced"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + DeliveryAction(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static DeliveryAction forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "unknown": return Unknown; + case "deliveredToJunk": return DeliveredToJunk; + case "delivered": return Delivered; + case "blocked": return Blocked; + case "replaced": return Replaced; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/DeliveryLocation.java b/src/main/java/com/microsoft/graph/generated/models/security/DeliveryLocation.java new file mode 100644 index 00000000000..84cf4c7b38b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/DeliveryLocation.java @@ -0,0 +1,41 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum DeliveryLocation implements ValuedEnum { + Unknown("unknown"), + Inbox_folder("inbox_folder"), + JunkFolder("junkFolder"), + DeletedFolder("deletedFolder"), + Quarantine("quarantine"), + Onprem_external("onprem_external"), + Failed("failed"), + Dropped("dropped"), + Others("others"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + DeliveryLocation(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static DeliveryLocation forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "unknown": return Unknown; + case "inbox_folder": return Inbox_folder; + case "junkFolder": return JunkFolder; + case "deletedFolder": return DeletedFolder; + case "quarantine": return Quarantine; + case "onprem_external": return Onprem_external; + case "failed": return Failed; + case "dropped": return Dropped; + case "others": return Others; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/DetonationBehaviourDetails.java b/src/main/java/com/microsoft/graph/generated/models/security/DetonationBehaviourDetails.java new file mode 100644 index 00000000000..2dd86585a43 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/DetonationBehaviourDetails.java @@ -0,0 +1,261 @@ +package com.microsoft.graph.models.security; + +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 DetonationBehaviourDetails implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DetonationBehaviourDetails} and sets the default values. + */ + public DetonationBehaviourDetails() { + 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 DetonationBehaviourDetails} + */ + @jakarta.annotation.Nonnull + public static DetonationBehaviourDetails createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DetonationBehaviourDetails(); + } + /** + * Gets the actionStatus property value. The status of the action performed during detonation (e.g., 'Successful', 'Failed', 'Blocked'). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getActionStatus() { + return this.backingStore.get("actionStatus"); + } + /** + * 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 behaviourCapability property value. Categorizes the capability or type of behavior observed. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBehaviourCapability() { + return this.backingStore.get("behaviourCapability"); + } + /** + * Gets the behaviourGroup property value. Groups related behaviors together for classification purposes. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBehaviourGroup() { + return this.backingStore.get("behaviourGroup"); + } + /** + * Gets the details property value. More contextual information about the observed behavior or action. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDetails() { + return this.backingStore.get("details"); + } + /** + * Gets the eventDateTime property value. The date and time when the behavior or action was observed during detonation. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getEventDateTime() { + return this.backingStore.get("eventDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(10); + deserializerMap.put("actionStatus", (n) -> { this.setActionStatus(n.getStringValue()); }); + deserializerMap.put("behaviourCapability", (n) -> { this.setBehaviourCapability(n.getStringValue()); }); + deserializerMap.put("behaviourGroup", (n) -> { this.setBehaviourGroup(n.getStringValue()); }); + deserializerMap.put("details", (n) -> { this.setDetails(n.getStringValue()); }); + deserializerMap.put("eventDateTime", (n) -> { this.setEventDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("operation", (n) -> { this.setOperation(n.getStringValue()); }); + deserializerMap.put("processId", (n) -> { this.setProcessId(n.getStringValue()); }); + deserializerMap.put("processName", (n) -> { this.setProcessName(n.getStringValue()); }); + deserializerMap.put("target", (n) -> { this.setTarget(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"); + } + /** + * Gets the operation property value. The specific operation or action that was performed. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOperation() { + return this.backingStore.get("operation"); + } + /** + * Gets the processId property value. The unique identifier of the process involved in the behavior. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getProcessId() { + return this.backingStore.get("processId"); + } + /** + * Gets the processName property value. The name of the process that performed or was involved in the behavior. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getProcessName() { + return this.backingStore.get("processName"); + } + /** + * Gets the target property value. The target of the operation. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTarget() { + return this.backingStore.get("target"); + } + /** + * 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("actionStatus", this.getActionStatus()); + writer.writeStringValue("behaviourCapability", this.getBehaviourCapability()); + writer.writeStringValue("behaviourGroup", this.getBehaviourGroup()); + writer.writeStringValue("details", this.getDetails()); + writer.writeOffsetDateTimeValue("eventDateTime", this.getEventDateTime()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("operation", this.getOperation()); + writer.writeStringValue("processId", this.getProcessId()); + writer.writeStringValue("processName", this.getProcessName()); + writer.writeStringValue("target", this.getTarget()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the actionStatus property value. The status of the action performed during detonation (e.g., 'Successful', 'Failed', 'Blocked'). + * @param value Value to set for the actionStatus property. + */ + public void setActionStatus(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("actionStatus", value); + } + /** + * 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 behaviourCapability property value. Categorizes the capability or type of behavior observed. + * @param value Value to set for the behaviourCapability property. + */ + public void setBehaviourCapability(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("behaviourCapability", value); + } + /** + * Sets the behaviourGroup property value. Groups related behaviors together for classification purposes. + * @param value Value to set for the behaviourGroup property. + */ + public void setBehaviourGroup(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("behaviourGroup", value); + } + /** + * Sets the details property value. More contextual information about the observed behavior or action. + * @param value Value to set for the details property. + */ + public void setDetails(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("details", value); + } + /** + * Sets the eventDateTime property value. The date and time when the behavior or action was observed during detonation. + * @param value Value to set for the eventDateTime property. + */ + public void setEventDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("eventDateTime", 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); + } + /** + * Sets the operation property value. The specific operation or action that was performed. + * @param value Value to set for the operation property. + */ + public void setOperation(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("operation", value); + } + /** + * Sets the processId property value. The unique identifier of the process involved in the behavior. + * @param value Value to set for the processId property. + */ + public void setProcessId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("processId", value); + } + /** + * Sets the processName property value. The name of the process that performed or was involved in the behavior. + * @param value Value to set for the processName property. + */ + public void setProcessName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("processName", value); + } + /** + * Sets the target property value. The target of the operation. + * @param value Value to set for the target property. + */ + public void setTarget(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("target", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/DetonationChain.java b/src/main/java/com/microsoft/graph/generated/models/security/DetonationChain.java new file mode 100644 index 00000000000..e307d763724 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/DetonationChain.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models.security; + +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 DetonationChain implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DetonationChain} and sets the default values. + */ + public DetonationChain() { + 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 DetonationChain} + */ + @jakarta.annotation.Nonnull + public static DetonationChain createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DetonationChain(); + } + /** + * 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 childNodes property value. A list of all child nodes in the chain. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getChildNodes() { + return this.backingStore.get("childNodes"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("childNodes", (n) -> { this.setChildNodes(n.getCollectionOfObjectValues(DetonationChain::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("value", (n) -> { this.setValue(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"); + } + /** + * Gets the value property value. The value of the chain. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeCollectionOfObjectValues("childNodes", this.getChildNodes()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("value", this.getValue()); + 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 childNodes property value. A list of all child nodes in the chain. + * @param value Value to set for the childNodes property. + */ + public void setChildNodes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("childNodes", 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); + } + /** + * Sets the value property value. The value of the chain. + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/DetonationDetails.java b/src/main/java/com/microsoft/graph/generated/models/security/DetonationDetails.java new file mode 100644 index 00000000000..ec9e30eb37e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/DetonationDetails.java @@ -0,0 +1,329 @@ +package com.microsoft.graph.models.security; + +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 DetonationDetails implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DetonationDetails} and sets the default values. + */ + public DetonationDetails() { + 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 DetonationDetails} + */ + @jakarta.annotation.Nonnull + public static DetonationDetails createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DetonationDetails(); + } + /** + * 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 analysisDateTime property value. The time of detonation. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getAnalysisDateTime() { + return this.backingStore.get("analysisDateTime"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the compromiseIndicators property value. Represents indicators and its associated verdict that suggests whether an email is compromised. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCompromiseIndicators() { + return this.backingStore.get("compromiseIndicators"); + } + /** + * Gets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. + * @return a {@link DetonationBehaviourDetails} + */ + @jakarta.annotation.Nullable + public DetonationBehaviourDetails getDetonationBehaviourDetails() { + return this.backingStore.get("detonationBehaviourDetails"); + } + /** + * Gets the detonationBehaviourDetailsV2 property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDetonationBehaviourDetailsV2() { + return this.backingStore.get("detonationBehaviourDetailsV2"); + } + /** + * Gets the detonationChain property value. The chain of detonation. + * @return a {@link DetonationChain} + */ + @jakarta.annotation.Nullable + public DetonationChain getDetonationChain() { + return this.backingStore.get("detonationChain"); + } + /** + * Gets the detonationObservables property value. All observables in the detonation tree. + * @return a {@link DetonationObservables} + */ + @jakarta.annotation.Nullable + public DetonationObservables getDetonationObservables() { + return this.backingStore.get("detonationObservables"); + } + /** + * Gets the detonationScreenshotUri property value. Show any screenshots that were captured during detonation. No screenshots are captured if the URL opens into a link that directly downloads a file. However, you see the downloaded file in the detonation chain. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDetonationScreenshotUri() { + return this.backingStore.get("detonationScreenshotUri"); + } + /** + * Gets the detonationVerdict property value. The verdict of the detonation. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDetonationVerdict() { + return this.backingStore.get("detonationVerdict"); + } + /** + * Gets the detonationVerdictReason property value. The reason for the verdict of the detonation. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDetonationVerdictReason() { + return this.backingStore.get("detonationVerdictReason"); + } + /** + * Gets the entityMetadata property value. Additional metadata about the entity in JSON format. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEntityMetadata() { + return this.backingStore.get("entityMetadata"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(14); + deserializerMap.put("analysisDateTime", (n) -> { this.setAnalysisDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("compromiseIndicators", (n) -> { this.setCompromiseIndicators(n.getCollectionOfObjectValues(CompromiseIndicator::createFromDiscriminatorValue)); }); + deserializerMap.put("detonationBehaviourDetails", (n) -> { this.setDetonationBehaviourDetails(n.getObjectValue(DetonationBehaviourDetails::createFromDiscriminatorValue)); }); + deserializerMap.put("detonationBehaviourDetailsV2", (n) -> { this.setDetonationBehaviourDetailsV2(n.getStringValue()); }); + deserializerMap.put("detonationChain", (n) -> { this.setDetonationChain(n.getObjectValue(DetonationChain::createFromDiscriminatorValue)); }); + deserializerMap.put("detonationObservables", (n) -> { this.setDetonationObservables(n.getObjectValue(DetonationObservables::createFromDiscriminatorValue)); }); + deserializerMap.put("detonationScreenshotUri", (n) -> { this.setDetonationScreenshotUri(n.getStringValue()); }); + deserializerMap.put("detonationVerdict", (n) -> { this.setDetonationVerdict(n.getStringValue()); }); + deserializerMap.put("detonationVerdictReason", (n) -> { this.setDetonationVerdictReason(n.getStringValue()); }); + deserializerMap.put("entityMetadata", (n) -> { this.setEntityMetadata(n.getStringValue()); }); + deserializerMap.put("mitreTechniques", (n) -> { this.setMitreTechniques(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("staticAnalysis", (n) -> { this.setStaticAnalysis(n.getStringValue()); }); + deserializerMap.put("submissionSource", (n) -> { this.setSubmissionSource(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMitreTechniques() { + return this.backingStore.get("mitreTechniques"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the staticAnalysis property value. The results of static analysis performed on the file or URL. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getStaticAnalysis() { + return this.backingStore.get("staticAnalysis"); + } + /** + * Gets the submissionSource property value. The source of the submission. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSubmissionSource() { + return this.backingStore.get("submissionSource"); + } + /** + * 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.writeOffsetDateTimeValue("analysisDateTime", this.getAnalysisDateTime()); + writer.writeCollectionOfObjectValues("compromiseIndicators", this.getCompromiseIndicators()); + writer.writeObjectValue("detonationBehaviourDetails", this.getDetonationBehaviourDetails()); + writer.writeStringValue("detonationBehaviourDetailsV2", this.getDetonationBehaviourDetailsV2()); + writer.writeObjectValue("detonationChain", this.getDetonationChain()); + writer.writeObjectValue("detonationObservables", this.getDetonationObservables()); + writer.writeStringValue("detonationScreenshotUri", this.getDetonationScreenshotUri()); + writer.writeStringValue("detonationVerdict", this.getDetonationVerdict()); + writer.writeStringValue("detonationVerdictReason", this.getDetonationVerdictReason()); + writer.writeStringValue("entityMetadata", this.getEntityMetadata()); + writer.writeStringValue("mitreTechniques", this.getMitreTechniques()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("staticAnalysis", this.getStaticAnalysis()); + writer.writeStringValue("submissionSource", this.getSubmissionSource()); + 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 analysisDateTime property value. The time of detonation. + * @param value Value to set for the analysisDateTime property. + */ + public void setAnalysisDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("analysisDateTime", 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 compromiseIndicators property value. Represents indicators and its associated verdict that suggests whether an email is compromised. + * @param value Value to set for the compromiseIndicators property. + */ + public void setCompromiseIndicators(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("compromiseIndicators", value); + } + /** + * Sets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. + * @param value Value to set for the detonationBehaviourDetails property. + */ + public void setDetonationBehaviourDetails(@jakarta.annotation.Nullable final DetonationBehaviourDetails value) { + this.backingStore.set("detonationBehaviourDetails", value); + } + /** + * Sets the detonationBehaviourDetailsV2 property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. + * @param value Value to set for the detonationBehaviourDetailsV2 property. + */ + public void setDetonationBehaviourDetailsV2(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("detonationBehaviourDetailsV2", value); + } + /** + * Sets the detonationChain property value. The chain of detonation. + * @param value Value to set for the detonationChain property. + */ + public void setDetonationChain(@jakarta.annotation.Nullable final DetonationChain value) { + this.backingStore.set("detonationChain", value); + } + /** + * Sets the detonationObservables property value. All observables in the detonation tree. + * @param value Value to set for the detonationObservables property. + */ + public void setDetonationObservables(@jakarta.annotation.Nullable final DetonationObservables value) { + this.backingStore.set("detonationObservables", value); + } + /** + * Sets the detonationScreenshotUri property value. Show any screenshots that were captured during detonation. No screenshots are captured if the URL opens into a link that directly downloads a file. However, you see the downloaded file in the detonation chain. + * @param value Value to set for the detonationScreenshotUri property. + */ + public void setDetonationScreenshotUri(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("detonationScreenshotUri", value); + } + /** + * Sets the detonationVerdict property value. The verdict of the detonation. + * @param value Value to set for the detonationVerdict property. + */ + public void setDetonationVerdict(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("detonationVerdict", value); + } + /** + * Sets the detonationVerdictReason property value. The reason for the verdict of the detonation. + * @param value Value to set for the detonationVerdictReason property. + */ + public void setDetonationVerdictReason(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("detonationVerdictReason", value); + } + /** + * Sets the entityMetadata property value. Additional metadata about the entity in JSON format. + * @param value Value to set for the entityMetadata property. + */ + public void setEntityMetadata(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("entityMetadata", value); + } + /** + * Sets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. + * @param value Value to set for the mitreTechniques property. + */ + public void setMitreTechniques(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("mitreTechniques", 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); + } + /** + * Sets the staticAnalysis property value. The results of static analysis performed on the file or URL. + * @param value Value to set for the staticAnalysis property. + */ + public void setStaticAnalysis(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("staticAnalysis", value); + } + /** + * Sets the submissionSource property value. The source of the submission. + * @param value Value to set for the submissionSource property. + */ + public void setSubmissionSource(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("submissionSource", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/DetonationObservables.java b/src/main/java/com/microsoft/graph/generated/models/security/DetonationObservables.java new file mode 100644 index 00000000000..540fe9ffefd --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/DetonationObservables.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.models.security; + +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 DetonationObservables implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DetonationObservables} and sets the default values. + */ + public DetonationObservables() { + 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 DetonationObservables} + */ + @jakarta.annotation.Nonnull + public static DetonationObservables createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DetonationObservables(); + } + /** + * 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 contactedIps property value. The list of all contacted IPs in the detonation. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getContactedIps() { + return this.backingStore.get("contactedIps"); + } + /** + * Gets the contactedUrls property value. The list of all URLs found in the detonation. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getContactedUrls() { + return this.backingStore.get("contactedUrls"); + } + /** + * Gets the droppedfiles property value. The list of all dropped files in the detonation. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getDroppedfiles() { + return this.backingStore.get("droppedfiles"); + } + /** + * 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("contactedIps", (n) -> { this.setContactedIps(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("contactedUrls", (n) -> { this.setContactedUrls(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("droppedfiles", (n) -> { this.setDroppedfiles(n.getCollectionOfPrimitiveValues(String.class)); }); + 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.writeCollectionOfPrimitiveValues("contactedIps", this.getContactedIps()); + writer.writeCollectionOfPrimitiveValues("contactedUrls", this.getContactedUrls()); + writer.writeCollectionOfPrimitiveValues("droppedfiles", this.getDroppedfiles()); + 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 contactedIps property value. The list of all contacted IPs in the detonation. + * @param value Value to set for the contactedIps property. + */ + public void setContactedIps(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("contactedIps", value); + } + /** + * Sets the contactedUrls property value. The list of all URLs found in the detonation. + * @param value Value to set for the contactedUrls property. + */ + public void setContactedUrls(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("contactedUrls", value); + } + /** + * Sets the droppedfiles property value. The list of all dropped files in the detonation. + * @param value Value to set for the droppedfiles property. + */ + public void setDroppedfiles(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("droppedfiles", 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/security/EdiscoveryAddToReviewSetOperation.java b/src/main/java/com/microsoft/graph/generated/models/security/EdiscoveryAddToReviewSetOperation.java index 00466b50d2d..4ca9824da08 100644 --- a/src/main/java/com/microsoft/graph/generated/models/security/EdiscoveryAddToReviewSetOperation.java +++ b/src/main/java/com/microsoft/graph/generated/models/security/EdiscoveryAddToReviewSetOperation.java @@ -26,7 +26,7 @@ public static EdiscoveryAddToReviewSetOperation createFromDiscriminatorValue(@ja return new EdiscoveryAddToReviewSetOperation(); } /** - * Gets the additionalDataOptions property value. The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. + * Gets the additionalDataOptions property value. The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. * @return a {@link EnumSet} */ @jakarta.annotation.Nullable @@ -113,7 +113,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("search", this.getSearch()); } /** - * Sets the additionalDataOptions property value. The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. + * Sets the additionalDataOptions property value. The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. * @param value Value to set for the additionalDataOptions property. */ public void setAdditionalDataOptions(@jakarta.annotation.Nullable final EnumSet value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/security/EventSource.java b/src/main/java/com/microsoft/graph/generated/models/security/EventSource.java new file mode 100644 index 00000000000..d98d89730aa --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/EventSource.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum EventSource implements ValuedEnum { + System("system"), + Admin("admin"), + User("user"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + EventSource(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static EventSource forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "system": return System; + case "admin": return Admin; + case "user": return User; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/MergeResponse.java b/src/main/java/com/microsoft/graph/generated/models/security/MergeResponse.java index b491d0b37fa..282b7948bbe 100644 --- a/src/main/java/com/microsoft/graph/generated/models/security/MergeResponse.java +++ b/src/main/java/com/microsoft/graph/generated/models/security/MergeResponse.java @@ -75,7 +75,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the targetIncidentId property value. The targetIncidentId property + * Gets the targetIncidentId property value. The ID of the target incident after the operation completes. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -115,7 +115,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the targetIncidentId property value. The targetIncidentId property + * Sets the targetIncidentId property value. The ID of the target incident after the operation completes. * @param value Value to set for the targetIncidentId property. */ public void setTargetIncidentId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/security/RemediationAction.java b/src/main/java/com/microsoft/graph/generated/models/security/RemediationAction.java new file mode 100644 index 00000000000..c277de8c1eb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/RemediationAction.java @@ -0,0 +1,35 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum RemediationAction implements ValuedEnum { + MoveToJunk("moveToJunk"), + MoveToInbox("moveToInbox"), + HardDelete("hardDelete"), + SoftDelete("softDelete"), + MoveToDeletedItems("moveToDeletedItems"), + UnknownFutureValue("unknownFutureValue"), + MoveToQuarantine("moveToQuarantine"); + public final String value; + RemediationAction(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static RemediationAction forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "moveToJunk": return MoveToJunk; + case "moveToInbox": return MoveToInbox; + case "hardDelete": return HardDelete; + case "softDelete": return SoftDelete; + case "moveToDeletedItems": return MoveToDeletedItems; + case "unknownFutureValue": return UnknownFutureValue; + case "moveToQuarantine": return MoveToQuarantine; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/RemediationSeverity.java b/src/main/java/com/microsoft/graph/generated/models/security/RemediationSeverity.java new file mode 100644 index 00000000000..6964c64e003 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/RemediationSeverity.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum RemediationSeverity implements ValuedEnum { + Low("low"), + Medium("medium"), + High("high"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + RemediationSeverity(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static RemediationSeverity forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "low": return Low; + case "medium": return Medium; + case "high": return High; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/ServiceSource.java b/src/main/java/com/microsoft/graph/generated/models/security/ServiceSource.java index b50c042ac0d..b71ce17230a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/security/ServiceSource.java +++ b/src/main/java/com/microsoft/graph/generated/models/security/ServiceSource.java @@ -18,7 +18,8 @@ public enum ServiceSource implements ValuedEnum { MicrosoftDefenderForCloud("microsoftDefenderForCloud"), MicrosoftSentinel("microsoftSentinel"), MicrosoftInsiderRiskManagement("microsoftInsiderRiskManagement"), - MicrosoftThreatIntelligence("microsoftThreatIntelligence"); + MicrosoftThreatIntelligence("microsoftThreatIntelligence"), + MicrosoftSecurityForAI("microsoftSecurityForAI"); public final String value; ServiceSource(final String value) { this.value = value; @@ -43,6 +44,7 @@ public static ServiceSource forValue(@jakarta.annotation.Nonnull final String se case "microsoftSentinel": return MicrosoftSentinel; case "microsoftInsiderRiskManagement": return MicrosoftInsiderRiskManagement; case "microsoftThreatIntelligence": return MicrosoftThreatIntelligence; + case "microsoftSecurityForAI": return MicrosoftSecurityForAI; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/security/ThreatDetectionDetail.java b/src/main/java/com/microsoft/graph/generated/models/security/ThreatDetectionDetail.java new file mode 100644 index 00000000000..84797149e7d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/ThreatDetectionDetail.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.models.security; + +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 ThreatDetectionDetail implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ThreatDetectionDetail} and sets the default values. + */ + public ThreatDetectionDetail() { + 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 ThreatDetectionDetail} + */ + @jakarta.annotation.Nonnull + public static ThreatDetectionDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ThreatDetectionDetail(); + } + /** + * 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 confidenceLevel property value. Indicates the confidence level in the threat detection. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getConfidenceLevel() { + return this.backingStore.get("confidenceLevel"); + } + /** + * 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("confidenceLevel", (n) -> { this.setConfidenceLevel(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("priorityAccountProtection", (n) -> { this.setPriorityAccountProtection(n.getStringValue()); }); + deserializerMap.put("threats", (n) -> { this.setThreats(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"); + } + /** + * Gets the priorityAccountProtection property value. Indicates if the account has priority protection enabled. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPriorityAccountProtection() { + return this.backingStore.get("priorityAccountProtection"); + } + /** + * Gets the threats property value. Lists the detected threats. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getThreats() { + return this.backingStore.get("threats"); + } + /** + * 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("confidenceLevel", this.getConfidenceLevel()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("priorityAccountProtection", this.getPriorityAccountProtection()); + writer.writeStringValue("threats", this.getThreats()); + 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 confidenceLevel property value. Indicates the confidence level in the threat detection. + * @param value Value to set for the confidenceLevel property. + */ + public void setConfidenceLevel(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("confidenceLevel", 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); + } + /** + * Sets the priorityAccountProtection property value. Indicates if the account has priority protection enabled. + * @param value Value to set for the priorityAccountProtection property. + */ + public void setPriorityAccountProtection(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("priorityAccountProtection", value); + } + /** + * Sets the threats property value. Lists the detected threats. + * @param value Value to set for the threats property. + */ + public void setThreats(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("threats", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/ThreatType.java b/src/main/java/com/microsoft/graph/generated/models/security/ThreatType.java new file mode 100644 index 00000000000..d4cfe20a228 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/ThreatType.java @@ -0,0 +1,33 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ThreatType implements ValuedEnum { + Unknown("unknown"), + Spam("spam"), + Malware("malware"), + Phish("phish"), + None("none"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ThreatType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ThreatType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "unknown": return Unknown; + case "spam": return Spam; + case "malware": return Malware; + case "phish": return Phish; + case "none": return None; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/TimelineEvent.java b/src/main/java/com/microsoft/graph/generated/models/security/TimelineEvent.java new file mode 100644 index 00000000000..4c4c5822b46 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/TimelineEvent.java @@ -0,0 +1,210 @@ +package com.microsoft.graph.models.security; + +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 TimelineEvent implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link TimelineEvent} and sets the default values. + */ + public TimelineEvent() { + 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 TimelineEvent} + */ + @jakarta.annotation.Nonnull + public static TimelineEvent createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new TimelineEvent(); + } + /** + * 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 eventDateTime property value. The date and time when the event occurred. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getEventDateTime() { + return this.backingStore.get("eventDateTime"); + } + /** + * Gets the eventDetails property value. Additional details or context about the event. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEventDetails() { + return this.backingStore.get("eventDetails"); + } + /** + * Gets the eventResult property value. The outcome or result of the event, such as delivery location or action taken. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEventResult() { + return this.backingStore.get("eventResult"); + } + /** + * Gets the eventSource property value. The origin or actor that triggered the event. The possible values are: system, admin, user, unknownFutureValue. + * @return a {@link EventSource} + */ + @jakarta.annotation.Nullable + public EventSource getEventSource() { + return this.backingStore.get("eventSource"); + } + /** + * Gets the eventThreats property value. Collection of threats identified or associated with this event. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getEventThreats() { + return this.backingStore.get("eventThreats"); + } + /** + * Gets the eventType property value. The type of event that occurred. The possible values are: originalDelivery, systemTimeTravel, dynamicDelivery, userUrlClick, reprocessed, zap, quarantineRelease, air, unknown, unknownFutureValue. + * @return a {@link TimelineEventType} + */ + @jakarta.annotation.Nullable + public TimelineEventType getEventType() { + return this.backingStore.get("eventType"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(7); + deserializerMap.put("eventDateTime", (n) -> { this.setEventDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("eventDetails", (n) -> { this.setEventDetails(n.getStringValue()); }); + deserializerMap.put("eventResult", (n) -> { this.setEventResult(n.getStringValue()); }); + deserializerMap.put("eventSource", (n) -> { this.setEventSource(n.getEnumValue(EventSource::forValue)); }); + deserializerMap.put("eventThreats", (n) -> { this.setEventThreats(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("eventType", (n) -> { this.setEventType(n.getEnumValue(TimelineEventType::forValue)); }); + 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.writeOffsetDateTimeValue("eventDateTime", this.getEventDateTime()); + writer.writeStringValue("eventDetails", this.getEventDetails()); + writer.writeStringValue("eventResult", this.getEventResult()); + writer.writeEnumValue("eventSource", this.getEventSource()); + writer.writeCollectionOfPrimitiveValues("eventThreats", this.getEventThreats()); + writer.writeEnumValue("eventType", this.getEventType()); + 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 eventDateTime property value. The date and time when the event occurred. + * @param value Value to set for the eventDateTime property. + */ + public void setEventDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("eventDateTime", value); + } + /** + * Sets the eventDetails property value. Additional details or context about the event. + * @param value Value to set for the eventDetails property. + */ + public void setEventDetails(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("eventDetails", value); + } + /** + * Sets the eventResult property value. The outcome or result of the event, such as delivery location or action taken. + * @param value Value to set for the eventResult property. + */ + public void setEventResult(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("eventResult", value); + } + /** + * Sets the eventSource property value. The origin or actor that triggered the event. The possible values are: system, admin, user, unknownFutureValue. + * @param value Value to set for the eventSource property. + */ + public void setEventSource(@jakarta.annotation.Nullable final EventSource value) { + this.backingStore.set("eventSource", value); + } + /** + * Sets the eventThreats property value. Collection of threats identified or associated with this event. + * @param value Value to set for the eventThreats property. + */ + public void setEventThreats(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("eventThreats", value); + } + /** + * Sets the eventType property value. The type of event that occurred. The possible values are: originalDelivery, systemTimeTravel, dynamicDelivery, userUrlClick, reprocessed, zap, quarantineRelease, air, unknown, unknownFutureValue. + * @param value Value to set for the eventType property. + */ + public void setEventType(@jakarta.annotation.Nullable final TimelineEventType value) { + this.backingStore.set("eventType", 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/security/TimelineEventType.java b/src/main/java/com/microsoft/graph/generated/models/security/TimelineEventType.java new file mode 100644 index 00000000000..cd4d4dff21e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/TimelineEventType.java @@ -0,0 +1,41 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum TimelineEventType implements ValuedEnum { + OriginalDelivery("originalDelivery"), + SystemTimeTravel("systemTimeTravel"), + DynamicDelivery("dynamicDelivery"), + UserUrlClick("userUrlClick"), + Reprocessed("reprocessed"), + Zap("zap"), + QuarantineRelease("quarantineRelease"), + Air("air"), + Unknown("unknown"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + TimelineEventType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static TimelineEventType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "originalDelivery": return OriginalDelivery; + case "systemTimeTravel": return SystemTimeTravel; + case "dynamicDelivery": return DynamicDelivery; + case "userUrlClick": return UserUrlClick; + case "reprocessed": return Reprocessed; + case "zap": return Zap; + case "quarantineRelease": return QuarantineRelease; + case "air": return Air; + case "unknown": return Unknown; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/security/UserAccount.java b/src/main/java/com/microsoft/graph/generated/models/security/UserAccount.java index 37ea062a711..f9dd17d78ae 100644 --- a/src/main/java/com/microsoft/graph/generated/models/security/UserAccount.java +++ b/src/main/java/com/microsoft/graph/generated/models/security/UserAccount.java @@ -132,7 +132,7 @@ public java.util.List getResourceAccessEvents() { return this.backingStore.get("resourceAccessEvents"); } /** - * Gets the tenantId property value. The tenantId property + * Gets the tenantId property value. The Microsoft Entra tenant ID of the user account. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -238,7 +238,7 @@ public void setResourceAccessEvents(@jakarta.annotation.Nullable final java.util this.backingStore.set("resourceAccessEvents", value); } /** - * Sets the tenantId property value. The tenantId property + * Sets the tenantId property value. The Microsoft Entra tenant ID of the user account. * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/security/VerdictCategory.java b/src/main/java/com/microsoft/graph/generated/models/security/VerdictCategory.java new file mode 100644 index 00000000000..09269ea643f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/security/VerdictCategory.java @@ -0,0 +1,41 @@ +package com.microsoft.graph.models.security; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum VerdictCategory implements ValuedEnum { + None("none"), + Malware("malware"), + Phish("phish"), + SiteUnavailable("siteUnavailable"), + Spam("spam"), + DecryptionFailed("decryptionFailed"), + UnsupportedUriScheme("unsupportedUriScheme"), + UnsupportedFileType("unsupportedFileType"), + Undefined("undefined"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + VerdictCategory(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static VerdictCategory forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "malware": return Malware; + case "phish": return Phish; + case "siteUnavailable": return SiteUnavailable; + case "spam": return Spam; + case "decryptionFailed": return DecryptionFailed; + case "unsupportedUriScheme": return UnsupportedUriScheme; + case "unsupportedFileType": return UnsupportedFileType; + case "undefined": return Undefined; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/policies/PoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/policies/PoliciesRequestBuilder.java index a55ccf3f570..63caeb1f547 100644 --- a/src/main/java/com/microsoft/graph/generated/policies/PoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/policies/PoliciesRequestBuilder.java @@ -15,6 +15,7 @@ import com.microsoft.graph.policies.defaultappmanagementpolicy.DefaultAppManagementPolicyRequestBuilder; import com.microsoft.graph.policies.deviceregistrationpolicy.DeviceRegistrationPolicyRequestBuilder; import com.microsoft.graph.policies.featurerolloutpolicies.FeatureRolloutPoliciesRequestBuilder; +import com.microsoft.graph.policies.federatedtokenvalidationpolicy.FederatedTokenValidationPolicyRequestBuilder; import com.microsoft.graph.policies.homerealmdiscoverypolicies.HomeRealmDiscoveryPoliciesRequestBuilder; import com.microsoft.graph.policies.identitysecuritydefaultsenforcementpolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder; import com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder; @@ -145,6 +146,14 @@ public DeviceRegistrationPolicyRequestBuilder deviceRegistrationPolicy() { public FeatureRolloutPoliciesRequestBuilder featureRolloutPolicies() { return new FeatureRolloutPoliciesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the federatedTokenValidationPolicy property of the microsoft.graph.policyRoot entity. + * @return a {@link FederatedTokenValidationPolicyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public FederatedTokenValidationPolicyRequestBuilder federatedTokenValidationPolicy() { + return new FederatedTokenValidationPolicyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.policyRoot entity. * @return a {@link HomeRealmDiscoveryPoliciesRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/policies/authenticationstrengthpolicies/item/usage/UsageRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/policies/authenticationstrengthpolicies/item/usage/UsageRequestBuilder.java index a4dff1ccc30..e793e8a151e 100644 --- a/src/main/java/com/microsoft/graph/generated/policies/authenticationstrengthpolicies/item/usage/UsageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/policies/authenticationstrengthpolicies/item/usage/UsageRequestBuilder.java @@ -36,7 +36,7 @@ public UsageRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/policies/authenticationStrengthPolicies/{authenticationStrengthPolicy%2Did}/usage()", rawUrl); } /** - * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. * @return a {@link AuthenticationStrengthUsage} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public AuthenticationStrengthUsage get() { return get(null); } /** - * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AuthenticationStrengthUsage} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public AuthenticationStrengthUsage get(@jakarta.annotation.Nullable final java.u return this.requestAdapter.send(requestInfo, errorMapping, AuthenticationStrengthUsage::createFromDiscriminatorValue); } /** - * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + * Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. * @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/policies/federatedtokenvalidationpolicy/FederatedTokenValidationPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/policies/federatedtokenvalidationpolicy/FederatedTokenValidationPolicyRequestBuilder.java new file mode 100644 index 00000000000..e15d5bf7243 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/policies/federatedtokenvalidationpolicy/FederatedTokenValidationPolicyRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.policies.federatedtokenvalidationpolicy; + +import com.microsoft.graph.models.FederatedTokenValidationPolicy; +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 federatedTokenValidationPolicy property of the microsoft.graph.policyRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class FederatedTokenValidationPolicyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link FederatedTokenValidationPolicyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public FederatedTokenValidationPolicyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/policies/federatedTokenValidationPolicy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link FederatedTokenValidationPolicyRequestBuilder} 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 FederatedTokenValidationPolicyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/policies/federatedTokenValidationPolicy{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property federatedTokenValidationPolicy for policies + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property federatedTokenValidationPolicy for policies + * @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 federatedTokenValidationPolicy from policies + * @return a {@link FederatedTokenValidationPolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public FederatedTokenValidationPolicy get() { + return get(null); + } + /** + * Get federatedTokenValidationPolicy from policies + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link FederatedTokenValidationPolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public FederatedTokenValidationPolicy 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, FederatedTokenValidationPolicy::createFromDiscriminatorValue); + } + /** + * Update the navigation property federatedTokenValidationPolicy in policies + * @param body The request body + * @return a {@link FederatedTokenValidationPolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public FederatedTokenValidationPolicy patch(@jakarta.annotation.Nonnull final FederatedTokenValidationPolicy body) { + return patch(body, null); + } + /** + * Update the navigation property federatedTokenValidationPolicy in policies + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link FederatedTokenValidationPolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public FederatedTokenValidationPolicy patch(@jakarta.annotation.Nonnull final FederatedTokenValidationPolicy 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, FederatedTokenValidationPolicy::createFromDiscriminatorValue); + } + /** + * Delete navigation property federatedTokenValidationPolicy for policies + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property federatedTokenValidationPolicy for policies + * @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 federatedTokenValidationPolicy from policies + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get federatedTokenValidationPolicy from policies + * @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 federatedTokenValidationPolicy in policies + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final FederatedTokenValidationPolicy body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property federatedTokenValidationPolicy in policies + * @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 FederatedTokenValidationPolicy 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 FederatedTokenValidationPolicyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public FederatedTokenValidationPolicyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new FederatedTokenValidationPolicyRequestBuilder(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 federatedTokenValidationPolicy from policies + */ + @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/schemaextensions/item/SchemaExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/schemaextensions/item/SchemaExtensionItemRequestBuilder.java index ed0bb251ce4..db31f936288 100644 --- a/src/main/java/com/microsoft/graph/generated/schemaextensions/item/SchemaExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/schemaextensions/item/SchemaExtensionItemRequestBuilder.java @@ -37,7 +37,7 @@ public SchemaExtensionItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/schemaExtensions/{schemaExtension%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. + * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition doesn't affect accessing custom data that has been added to resource instances based on that definition. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -45,7 +45,7 @@ public void delete() { delete(null); } /** - * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. + * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition doesn't affect accessing custom data that has been added to resource instances based on that definition. * @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 @@ -108,7 +108,7 @@ public SchemaExtension patch(@jakarta.annotation.Nonnull final SchemaExtension b return this.requestAdapter.send(requestInfo, errorMapping, SchemaExtension::createFromDiscriminatorValue); } /** - * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. + * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition doesn't affect accessing custom data that has been added to resource instances based on that definition. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. + * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition doesn't affect accessing custom data that has been added to resource instances based on that definition. * @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/security/SecurityRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/SecurityRequestBuilder.java index 3734c6e92c7..ae125875180 100644 --- a/src/main/java/com/microsoft/graph/generated/security/SecurityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/security/SecurityRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.security.alerts.AlertsRequestBuilder; import com.microsoft.graph.security.attacksimulation.AttackSimulationRequestBuilder; import com.microsoft.graph.security.cases.CasesRequestBuilder; +import com.microsoft.graph.security.collaboration.CollaborationRequestBuilder; import com.microsoft.graph.security.datasecurityandgovernance.DataSecurityAndGovernanceRequestBuilder; import com.microsoft.graph.security.identities.IdentitiesRequestBuilder; import com.microsoft.graph.security.incidents.IncidentsRequestBuilder; @@ -67,6 +68,14 @@ public AttackSimulationRequestBuilder attackSimulation() { public CasesRequestBuilder cases() { return new CasesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the collaboration property of the microsoft.graph.security entity. + * @return a {@link CollaborationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CollaborationRequestBuilder collaboration() { + return new CollaborationRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. * @return a {@link DataSecurityAndGovernanceRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/security/alerts_v2/microsoftgraphsecuritymovealerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/alerts_v2/microsoftgraphsecuritymovealerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.java index 8d56537ae3f..54ae9d32355 100644 --- a/src/main/java/com/microsoft/graph/generated/security/alerts_v2/microsoftgraphsecuritymovealerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/security/alerts_v2/microsoftgraphsecuritymovealerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.java @@ -36,7 +36,7 @@ public MicrosoftGraphSecurityMoveAlertsRequestBuilder(@jakarta.annotation.Nonnul super(requestAdapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.moveAlerts", rawUrl); } /** - * Invoke action moveAlerts + * Move one or more alert resources to a new or existing incident. * @param body The request body * @return a {@link MergeResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -46,7 +46,7 @@ public MergeResponse post(@jakarta.annotation.Nonnull final MoveAlertsPostReques return post(body, null); } /** - * Invoke action moveAlerts + * Move one or more alert resources to a new or existing incident. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MergeResponse} @@ -61,7 +61,7 @@ public MergeResponse post(@jakarta.annotation.Nonnull final MoveAlertsPostReques return this.requestAdapter.send(requestInfo, errorMapping, MergeResponse::createFromDiscriminatorValue); } /** - * Invoke action moveAlerts + * Move one or more alert resources to a new or existing incident. * @param body The request body * @return a {@link RequestInformation} */ @@ -70,7 +70,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action moveAlerts + * Move one or more alert resources to a new or existing incident. * @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/security/attacksimulation/simulations/item/SimulationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/attacksimulation/simulations/item/SimulationItemRequestBuilder.java index eab90346ee7..0228d5bf1c1 100644 --- a/src/main/java/com/microsoft/graph/generated/security/attacksimulation/simulations/item/SimulationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/security/attacksimulation/simulations/item/SimulationItemRequestBuilder.java @@ -108,7 +108,7 @@ public Simulation get(@jakarta.annotation.Nullable final java.util.function.Cons return this.requestAdapter.send(requestInfo, errorMapping, Simulation::createFromDiscriminatorValue); } /** - * Update an attack simulation campaign for a tenant. + * Update an attack simulation campaign for a tenant. You can only update simulations that are in draft status. * @param body The request body * @return a {@link Simulation} * @throws ODataError When receiving a 4XX or 5XX status code @@ -119,7 +119,7 @@ public Simulation patch(@jakarta.annotation.Nonnull final Simulation body) { return patch(body, null); } /** - * Update an attack simulation campaign for a tenant. + * Update an attack simulation campaign for a tenant. You can only update simulations that are in draft status. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Simulation} @@ -175,7 +175,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update an attack simulation campaign for a tenant. + * Update an attack simulation campaign for a tenant. You can only update simulations that are in draft status. * @param body The request body * @return a {@link RequestInformation} */ @@ -184,7 +184,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update an attack simulation campaign for a tenant. + * Update an attack simulation campaign for a tenant. You can only update simulations that are in draft status. * @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/security/collaboration/CollaborationRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/collaboration/CollaborationRequestBuilder.java new file mode 100644 index 00000000000..e333c7caead --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/collaboration/CollaborationRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.security.collaboration; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.security.CollaborationRoot; +import com.microsoft.graph.security.collaboration.analyzedemails.AnalyzedEmailsRequestBuilder; +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 collaboration property of the microsoft.graph.security entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CollaborationRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. + * @return a {@link AnalyzedEmailsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AnalyzedEmailsRequestBuilder analyzedEmails() { + return new AnalyzedEmailsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link CollaborationRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CollaborationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/collaboration{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CollaborationRequestBuilder} 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 CollaborationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/collaboration{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property collaboration for security + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property collaboration 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); + } + /** + * Get collaboration from security + * @return a {@link CollaborationRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CollaborationRoot get() { + return get(null); + } + /** + * Get collaboration from security + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CollaborationRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CollaborationRoot 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, CollaborationRoot::createFromDiscriminatorValue); + } + /** + * Update the navigation property collaboration in security + * @param body The request body + * @return a {@link CollaborationRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CollaborationRoot patch(@jakarta.annotation.Nonnull final CollaborationRoot body) { + return patch(body, null); + } + /** + * Update the navigation property collaboration in security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CollaborationRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public CollaborationRoot patch(@jakarta.annotation.Nonnull final CollaborationRoot 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, CollaborationRoot::createFromDiscriminatorValue); + } + /** + * Delete navigation property collaboration for security + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property collaboration 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; + } + /** + * Get collaboration from security + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get collaboration from security + * @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 collaboration in security + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CollaborationRoot body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property collaboration 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 CollaborationRoot 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 CollaborationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CollaborationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CollaborationRequestBuilder(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 collaboration from security + */ + @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/collaboration/analyzedemails/AnalyzedEmailsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/AnalyzedEmailsRequestBuilder.java new file mode 100644 index 00000000000..5a21b740256 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/AnalyzedEmailsRequestBuilder.java @@ -0,0 +1,254 @@ +package com.microsoft.graph.security.collaboration.analyzedemails; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.security.AnalyzedEmail; +import com.microsoft.graph.models.security.AnalyzedEmailCollectionResponse; +import com.microsoft.graph.security.collaboration.analyzedemails.count.CountRequestBuilder; +import com.microsoft.graph.security.collaboration.analyzedemails.item.AnalyzedEmailItemRequestBuilder; +import com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate.MicrosoftGraphSecurityRemediateRequestBuilder; +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 analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AnalyzedEmailsRequestBuilder 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 remediate method. + * @return a {@link MicrosoftGraphSecurityRemediateRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphSecurityRemediateRequestBuilder microsoftGraphSecurityRemediate() { + return new MicrosoftGraphSecurityRemediateRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. + * @param analyzedEmailId The unique identifier of analyzedEmail + * @return a {@link AnalyzedEmailItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AnalyzedEmailItemRequestBuilder byAnalyzedEmailId(@jakarta.annotation.Nonnull final String analyzedEmailId) { + Objects.requireNonNull(analyzedEmailId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("analyzedEmail%2Did", analyzedEmailId); + return new AnalyzedEmailItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AnalyzedEmailsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AnalyzedEmailsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AnalyzedEmailsRequestBuilder} 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 AnalyzedEmailsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. + * @return a {@link AnalyzedEmailCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public AnalyzedEmailCollectionResponse get() { + return get(null); + } + /** + * Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AnalyzedEmailCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public AnalyzedEmailCollectionResponse 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, AnalyzedEmailCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to analyzedEmails for security + * @param body The request body + * @return a {@link AnalyzedEmail} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AnalyzedEmail post(@jakarta.annotation.Nonnull final AnalyzedEmail body) { + return post(body, null); + } + /** + * Create new navigation property to analyzedEmails for security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AnalyzedEmail} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AnalyzedEmail post(@jakarta.annotation.Nonnull final AnalyzedEmail 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, AnalyzedEmail::createFromDiscriminatorValue); + } + /** + * Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. + * @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 analyzedEmails for security + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AnalyzedEmail body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to analyzedEmails 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 AnalyzedEmail 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 AnalyzedEmailsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AnalyzedEmailsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AnalyzedEmailsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. + */ + @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/collaboration/analyzedemails/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/count/CountRequestBuilder.java new file mode 100644 index 00000000000..2807bacbca6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.security.collaboration.analyzedemails.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/collaboration/analyzedEmails/$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/collaboration/analyzedEmails/$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/collaboration/analyzedemails/item/AnalyzedEmailItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/item/AnalyzedEmailItemRequestBuilder.java new file mode 100644 index 00000000000..5bf483c11cd --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/item/AnalyzedEmailItemRequestBuilder.java @@ -0,0 +1,230 @@ +package com.microsoft.graph.security.collaboration.analyzedemails.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.security.AnalyzedEmail; +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 analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AnalyzedEmailItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AnalyzedEmailItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AnalyzedEmailItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/{analyzedEmail%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link AnalyzedEmailItemRequestBuilder} 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 AnalyzedEmailItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/{analyzedEmail%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property analyzedEmails for security + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property analyzedEmails 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 an analyzedEmail object. + * @return a {@link AnalyzedEmail} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public AnalyzedEmail get() { + return get(null); + } + /** + * Read the properties and relationships of an analyzedEmail object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AnalyzedEmail} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public AnalyzedEmail 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, AnalyzedEmail::createFromDiscriminatorValue); + } + /** + * Update the navigation property analyzedEmails in security + * @param body The request body + * @return a {@link AnalyzedEmail} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AnalyzedEmail patch(@jakarta.annotation.Nonnull final AnalyzedEmail body) { + return patch(body, null); + } + /** + * Update the navigation property analyzedEmails in security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AnalyzedEmail} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AnalyzedEmail patch(@jakarta.annotation.Nonnull final AnalyzedEmail 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, AnalyzedEmail::createFromDiscriminatorValue); + } + /** + * Delete navigation property analyzedEmails for security + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property analyzedEmails 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 an analyzedEmail object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of an analyzedEmail 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 analyzedEmails in security + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AnalyzedEmail body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property analyzedEmails 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 AnalyzedEmail 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 AnalyzedEmailItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AnalyzedEmailItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AnalyzedEmailItemRequestBuilder(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 an analyzedEmail 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/collaboration/analyzedemails/microsoftgraphsecurityremediate/MicrosoftGraphSecurityRemediateRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/microsoftgraphsecurityremediate/MicrosoftGraphSecurityRemediateRequestBuilder.java new file mode 100644 index 00000000000..795e7430445 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/microsoftgraphsecurityremediate/MicrosoftGraphSecurityRemediateRequestBuilder.java @@ -0,0 +1,98 @@ +package com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate; + +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 remediate method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphSecurityRemediateRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphSecurityRemediateRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphSecurityRemediateRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/microsoft.graph.security.remediate", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphSecurityRemediateRequestBuilder} 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 MicrosoftGraphSecurityRemediateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/microsoft.graph.security.remediate", rawUrl); + } + /** + * Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final RemediatePostRequestBody body) { + post(body, null); + } + /** + * Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. + * @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 RemediatePostRequestBody 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); + } + /** + * Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemediatePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. + * @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 RemediatePostRequestBody 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 MicrosoftGraphSecurityRemediateRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphSecurityRemediateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphSecurityRemediateRequestBuilder(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/security/collaboration/analyzedemails/microsoftgraphsecurityremediate/RemediatePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/microsoftgraphsecurityremediate/RemediatePostRequestBody.java new file mode 100644 index 00000000000..420ce1db7fb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/security/collaboration/analyzedemails/microsoftgraphsecurityremediate/RemediatePostRequestBody.java @@ -0,0 +1,196 @@ +package com.microsoft.graph.security.collaboration.analyzedemails.microsoftgraphsecurityremediate; + +import com.microsoft.graph.models.security.AnalyzedEmail; +import com.microsoft.graph.models.security.RemediationAction; +import com.microsoft.graph.models.security.RemediationSeverity; +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 RemediatePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemediatePostRequestBody} and sets the default values. + */ + public RemediatePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + this.setRemediateSendersCopy(false); + } + /** + * 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 RemediatePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemediatePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemediatePostRequestBody(); + } + /** + * Gets the action property value. The action property + * @return a {@link RemediationAction} + */ + @jakarta.annotation.Nullable + public RemediationAction getAction() { + return this.backingStore.get("action"); + } + /** + * 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 analyzedEmails property value. The analyzedEmails property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAnalyzedEmails() { + return this.backingStore.get("analyzedEmails"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the description property value. The description property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * Gets the displayName property value. The displayName property + * @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>(6); + deserializerMap.put("action", (n) -> { this.setAction(n.getEnumValue(RemediationAction::forValue)); }); + deserializerMap.put("analyzedEmails", (n) -> { this.setAnalyzedEmails(n.getCollectionOfObjectValues(AnalyzedEmail::createFromDiscriminatorValue)); }); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("remediateSendersCopy", (n) -> { this.setRemediateSendersCopy(n.getBooleanValue()); }); + deserializerMap.put("severity", (n) -> { this.setSeverity(n.getEnumValue(RemediationSeverity::forValue)); }); + return deserializerMap; + } + /** + * Gets the remediateSendersCopy property value. The remediateSendersCopy property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getRemediateSendersCopy() { + return this.backingStore.get("remediateSendersCopy"); + } + /** + * Gets the severity property value. The severity property + * @return a {@link RemediationSeverity} + */ + @jakarta.annotation.Nullable + public RemediationSeverity getSeverity() { + return this.backingStore.get("severity"); + } + /** + * 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.writeEnumValue("action", this.getAction()); + writer.writeCollectionOfObjectValues("analyzedEmails", this.getAnalyzedEmails()); + writer.writeStringValue("description", this.getDescription()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeBooleanValue("remediateSendersCopy", this.getRemediateSendersCopy()); + writer.writeEnumValue("severity", this.getSeverity()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the action property value. The action property + * @param value Value to set for the action property. + */ + public void setAction(@jakarta.annotation.Nullable final RemediationAction value) { + this.backingStore.set("action", value); + } + /** + * 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 analyzedEmails property value. The analyzedEmails property + * @param value Value to set for the analyzedEmails property. + */ + public void setAnalyzedEmails(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("analyzedEmails", 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 description property value. The description property + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the displayName property value. The displayName property + * @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 remediateSendersCopy property value. The remediateSendersCopy property + * @param value Value to set for the remediateSendersCopy property. + */ + public void setRemediateSendersCopy(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("remediateSendersCopy", value); + } + /** + * Sets the severity property value. The severity property + * @param value Value to set for the severity property. + */ + public void setSeverity(@jakarta.annotation.Nullable final RemediationSeverity value) { + this.backingStore.set("severity", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/security/incidents/microsoftgraphsecuritymergeincidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/incidents/microsoftgraphsecuritymergeincidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.java index f6e8a1891ef..bdfa0a68acc 100644 --- a/src/main/java/com/microsoft/graph/generated/security/incidents/microsoftgraphsecuritymergeincidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/security/incidents/microsoftgraphsecuritymergeincidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.java @@ -36,7 +36,7 @@ public MicrosoftGraphSecurityMergeIncidentsRequestBuilder(@jakarta.annotation.No super(requestAdapter, "{+baseurl}/security/incidents/microsoft.graph.security.mergeIncidents", rawUrl); } /** - * Invoke action mergeIncidents + * Merge multiple incident resources into a single incident. * @param body The request body * @return a {@link MergeResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -46,7 +46,7 @@ public MergeResponse post(@jakarta.annotation.Nonnull final MergeIncidentsPostRe return post(body, null); } /** - * Invoke action mergeIncidents + * Merge multiple incident resources into a single incident. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MergeResponse} @@ -61,7 +61,7 @@ public MergeResponse post(@jakarta.annotation.Nonnull final MergeIncidentsPostRe return this.requestAdapter.send(requestInfo, errorMapping, MergeResponse::createFromDiscriminatorValue); } /** - * Invoke action mergeIncidents + * Merge multiple incident resources into a single incident. * @param body The request body * @return a {@link RequestInformation} */ @@ -70,7 +70,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action mergeIncidents + * Merge multiple incident resources into a single incident. * @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/security/labels/retentionlabels/item/RetentionLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/security/labels/retentionlabels/item/RetentionLabelItemRequestBuilder.java index e1bcdaa2fe1..05a7aaa7586 100644 --- a/src/main/java/com/microsoft/graph/generated/security/labels/retentionlabels/item/RetentionLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/security/labels/retentionlabels/item/RetentionLabelItemRequestBuilder.java @@ -84,19 +84,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Represents how customers can manage their data, whether and for how long to retain or delete it. + * Read the properties and relationships of a retentionLabel object. * @return a {@link RetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RetentionLabel get() { return get(null); } /** - * Represents how customers can manage their data, whether and for how long to retain or delete it. + * Read the properties and relationships of a retentionLabel object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RetentionLabel get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -153,7 +155,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Represents how customers can manage their data, whether and for how long to retain or delete it. + * Read the properties and relationships of a retentionLabel object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -161,7 +163,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Represents how customers can manage their data, whether and for how long to retain or delete it. + * Read the properties and relationships of a retentionLabel object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -213,7 +215,7 @@ public RetentionLabelItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Represents how customers can manage their data, whether and for how long to retain or delete it. + * Read the properties and relationships of a retentionLabel object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java index 90f966c8763..8665dfb2d7b 100644 --- a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.solutions.backuprestore.driveinclusionrules.DriveInclusionRulesRequestBuilder; import com.microsoft.graph.solutions.backuprestore.driveprotectionunits.DriveProtectionUnitsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.driveprotectionunitsbulkadditionjobs.DriveProtectionUnitsBulkAdditionJobsRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.emailnotificationssetting.EmailNotificationsSettingRequestBuilder; import com.microsoft.graph.solutions.backuprestore.enable.EnableRequestBuilder; import com.microsoft.graph.solutions.backuprestore.exchangeprotectionpolicies.ExchangeProtectionPoliciesRequestBuilder; import com.microsoft.graph.solutions.backuprestore.exchangerestoresessions.ExchangeRestoreSessionsRequestBuilder; @@ -76,6 +77,14 @@ public DriveProtectionUnitsRequestBuilder driveProtectionUnits() { public DriveProtectionUnitsBulkAdditionJobsRequestBuilder driveProtectionUnitsBulkAdditionJobs() { return new DriveProtectionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. + * @return a {@link EmailNotificationsSettingRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EmailNotificationsSettingRequestBuilder emailNotificationsSetting() { + return new EmailNotificationsSettingRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the enable method. * @return a {@link EnableRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/emailnotificationssetting/EmailNotificationsSettingRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/emailnotificationssetting/EmailNotificationsSettingRequestBuilder.java new file mode 100644 index 00000000000..f5bf0e001dc --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/emailnotificationssetting/EmailNotificationsSettingRequestBuilder.java @@ -0,0 +1,232 @@ +package com.microsoft.graph.solutions.backuprestore.emailnotificationssetting; + +import com.microsoft.graph.models.EmailNotificationsSetting; +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 emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EmailNotificationsSettingRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link EmailNotificationsSettingRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public EmailNotificationsSettingRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/emailNotificationsSetting{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link EmailNotificationsSettingRequestBuilder} 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 EmailNotificationsSettingRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/emailNotificationsSetting{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property emailNotificationsSetting for solutions + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property emailNotificationsSetting for solutions + * @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 an emailNotificationsSetting object. + * @return a {@link EmailNotificationsSetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EmailNotificationsSetting get() { + return get(null); + } + /** + * Read the properties and relationships of an emailNotificationsSetting object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EmailNotificationsSetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EmailNotificationsSetting 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, EmailNotificationsSetting::createFromDiscriminatorValue); + } + /** + * Update the properties of an emailNotificationsSetting object. + * @param body The request body + * @return a {@link EmailNotificationsSetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EmailNotificationsSetting patch(@jakarta.annotation.Nonnull final EmailNotificationsSetting body) { + return patch(body, null); + } + /** + * Update the properties of an emailNotificationsSetting object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link EmailNotificationsSetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public EmailNotificationsSetting patch(@jakarta.annotation.Nonnull final EmailNotificationsSetting 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, EmailNotificationsSetting::createFromDiscriminatorValue); + } + /** + * Delete navigation property emailNotificationsSetting for solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property emailNotificationsSetting for solutions + * @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 an emailNotificationsSetting object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of an emailNotificationsSetting 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 properties of an emailNotificationsSetting object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EmailNotificationsSetting body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of an emailNotificationsSetting object. + * @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 EmailNotificationsSetting 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 EmailNotificationsSettingRequestBuilder} + */ + @jakarta.annotation.Nonnull + public EmailNotificationsSettingRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new EmailNotificationsSettingRequestBuilder(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 an emailNotificationsSetting 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/solutions/bookingbusinesses/BookingBusinessesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/bookingbusinesses/BookingBusinessesRequestBuilder.java index 23018e1af46..ce6d5220602 100644 --- a/src/main/java/com/microsoft/graph/generated/solutions/bookingbusinesses/BookingBusinessesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/solutions/bookingbusinesses/BookingBusinessesRequestBuilder.java @@ -60,7 +60,7 @@ public BookingBusinessesRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/solutions/bookingBusinesses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. + * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. * @return a {@link BookingBusinessCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public BookingBusinessCollectionResponse get() { return get(null); } /** - * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. + * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingBusinessCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -111,7 +111,7 @@ public BookingBusiness post(@jakarta.annotation.Nonnull final BookingBusiness bo return this.requestAdapter.send(requestInfo, errorMapping, BookingBusiness::createFromDiscriminatorValue); } /** - * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. + * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. + * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -165,7 +165,7 @@ public BookingBusinessesRequestBuilder withUrl(@jakarta.annotation.Nonnull final return new BookingBusinessesRequestBuilder(rawUrl, requestAdapter); } /** - * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. + * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/sharedwithteams/item/allowedmembers/AllowedMembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/sharedwithteams/item/allowedmembers/AllowedMembersRequestBuilder.java index 6dd5e818c9c..b90279f0ab5 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/sharedwithteams/item/allowedmembers/AllowedMembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/sharedwithteams/item/allowedmembers/AllowedMembersRequestBuilder.java @@ -59,7 +59,7 @@ public AllowedMembersRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}/allowedMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + * Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @return a {@link ConversationMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -69,7 +69,7 @@ public ConversationMemberCollectionResponse get() { return get(null); } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + * Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConversationMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -83,7 +83,7 @@ public ConversationMemberCollectionResponse get(@jakarta.annotation.Nullable fin return this.requestAdapter.send(requestInfo, errorMapping, ConversationMemberCollectionResponse::createFromDiscriminatorValue); } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + * Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -91,7 +91,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + * Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -113,7 +113,7 @@ public AllowedMembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new AllowedMembersRequestBuilder(rawUrl, requestAdapter); } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + * Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/schedule/schedulinggroups/item/SchedulingGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/schedule/schedulinggroups/item/SchedulingGroupItemRequestBuilder.java index f654cc6435c..1f2be20cf42 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/schedule/schedulinggroups/item/SchedulingGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/schedule/schedulinggroups/item/SchedulingGroupItemRequestBuilder.java @@ -37,7 +37,7 @@ public SchedulingGroupItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}", rawUrl); } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. + * Mark a schedulingGroup as inactive by setting its isActive property.This method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -45,7 +45,7 @@ public void delete() { delete(null); } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. + * Mark a schedulingGroup as inactive by setting its isActive property.This method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @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 @@ -108,7 +108,7 @@ public SchedulingGroup patch(@jakarta.annotation.Nonnull final SchedulingGroup b return this.requestAdapter.send(requestInfo, errorMapping, SchedulingGroup::createFromDiscriminatorValue); } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. + * Mark a schedulingGroup as inactive by setting its isActive property.This method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. + * Mark a schedulingGroup as inactive by setting its isActive property.This method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @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/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java index f06c9050b64..70bf4386d43 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java @@ -69,7 +69,7 @@ public TranscriptsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl super(requestAdapter, "{+baseurl}/users/{user%2Did}/onlineMeetings/{onlineMeeting%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. * @return a {@link CallTranscriptCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -79,7 +79,7 @@ public CallTranscriptCollectionResponse get() { return get(null); } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CallTranscriptCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -118,7 +118,7 @@ public CallTranscript post(@jakarta.annotation.Nonnull final CallTranscript body return this.requestAdapter.send(requestInfo, errorMapping, CallTranscript::createFromDiscriminatorValue); } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -126,7 +126,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -172,7 +172,7 @@ public TranscriptsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin return new TranscriptsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters {