diff --git a/.github/workflows/api-level-lint.yml b/.github/workflows/api-level-lint.yml
index dbe1032f52d..85a6b4e92b1 100644
--- a/.github/workflows/api-level-lint.yml
+++ b/.github/workflows/api-level-lint.yml
@@ -18,8 +18,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
- distribution: 'adopt'
- java-version: 18
+ distribution: 'temurin'
+ java-version: 20
- name: Setup Android SDK
uses: android-actions/setup-android@v2.0.10
- name: Add execution right to the script
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 1bef91defea..3b8c859aa55 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -1,46 +1,86 @@
+# For most projects, this workflow file will not need changing; you simply need
+# to commit it to your repository.
+#
+# You may wish to alter this file to override the set of languages analyzed,
+# or to provide custom queries or build logic.
+#
+# ******** NOTE ********
+# We have attempted to detect the languages in your repository. Please check
+# the `language` matrix defined below to confirm you have the correct set of
+# supported CodeQL languages.
+#
name: "CodeQL"
on:
- workflow_dispatch:
push:
- branches: [dev, feature/6.0]
+ branches: [ "dev", "feature/6.0" ]
pull_request:
# The branches below must be a subset of the branches above
- branches: [dev, feature/6.0]
+ branches: [ "dev", "feature/6.0" ]
schedule:
- cron: '0 1 * * 4'
+ workflow_dispatch:
jobs:
analyze:
name: Analyze
- runs-on: ubuntu-latest
+ runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
+ timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+
+ strategy:
+ fail-fast: false
+ matrix:
+ language: [ 'java' ]
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
+ # Use only 'java' to analyze code written in Java, Kotlin or both
+ # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- - name: Checkout repository
- uses: actions/checkout@v3
-
- # Initializes the CodeQL tools for scanning.
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v2
- # Override language selection by uncommenting this and choosing your languages
- with:
- languages: java
-
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
- # If this step fails, then you should remove it and run the build manually (see below)
- - name: Autobuild
- uses: github/codeql-action/autobuild@v2
-
- # âšī¸ Command-line programs to run using the OS shell.
- # đ https://git.io/JvXDl
-
- # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines
- # and modify them (or add more) to build your code if your project
- # uses a compiled language
-
- #- run: |
- # make bootstrap
- # make release
-
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
+ - name: Checkout repository
+ uses: actions/checkout@v3
+
+ - name: Set up JDK
+ uses: actions/setup-java@v3
+ with:
+ java-version: 20
+ distribution: 'temurin'
+ cache: gradle
+
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: ${{ matrix.language }}
+ # If you wish to specify custom queries, you can do so here or in a config file.
+ # By default, queries listed here will override any specified in a config file.
+ # Prefix the list here with "+" to use these queries and those in the config file.
+
+ # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
+ # queries: security-extended,security-and-quality
+
+
+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
+ # If this step fails, then you should remove it and run the build manually (see below)
+ # - name: Autobuild
+ # uses: github/codeql-action/autobuild@v2
+
+ # âšī¸ Command-line programs to run using the OS shell.
+ # đ See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
+
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
+
+ - name: Grant execute permission for gradlew
+ run: chmod +x gradlew
+ - name: Build with Gradle
+ run: ./gradlew build
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2
+ with:
+ category: "/language:${{matrix.language}}"
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8ce009c3bfb..9159270e41a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+## [5.63.0] - 2023-07-07
+
+### Added
+
+- AccessReviewRecommendationInsightSetting model.
+- AppLog derived types and requests.
+- AssignmentType model.
+- AuthenticationMethod derived types and requests.
+- AzureAdPopTokenAuthentication model.
+- CourseStatus model.
+- CustomExtension model, derived types, and requests.
+- DeletedItemContainer model and requests.
+- DeviceLog derived types and requests.
+- DeviceManagement derived types and requests.
+- DeviceProtectionOverview model.
+- DriveItemSensitivity derived types and requests.
+- EmailSettings model.
+- EmployeeExperienceUser model and requests.
+- FeatureType model.
+- GovernanceInsight model and requests.
+- GroupPeerOutlierRecommendationInsightSettings model.
+- IncludedUser models.
+- Learning derived types and requests.
+- LogicAppTriggerEndpointConfiguration model.
+- MacOSMicrosoftDefenderApp model and requests.
+- MalwareStateForWindowsDevice model and requests.
+- MembershipOutlierInsight model and requests.
+- MobileAppTroubleshootingEvent model and requests.
+- TeamsApp derived types and requests.
+- UserRegistration derived types and requests.
+- UserExperienceAnalytics derived types and requests.
+- The IdentityGovernance namespace was added, this includes models and requests.
+- The Security namespace was updated, this includes models and requests.
+
## [5.62.0] - 2023-06-23
### Changed
diff --git a/README.md b/README.md
index 89f03bc7bda..a5a3f5a21da 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
- implementation 'com.microsoft.graph:microsoft-graph:5.62.0'
+ implementation 'com.microsoft.graph:microsoft-graph:5.63.0'
// Uncomment the line below if you are building an android application
//implementation 'com.google.guava:guava:30.1.1-android'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph
- 5.62.0
+ 5.63.0
@@ -193,5 +193,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
+
diff --git a/gradle.properties b/gradle.properties
index 9cc56db1da0..712ad701b8a 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 5
-mavenMinorVersion = 62
+mavenMinorVersion = 63
mavenPatchVersion = 0
mavenArtifactSuffix =
@@ -116,5 +116,6 @@ mavenCentralPublishingEnabled=false
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionPage.java
new file mode 100644
index 00000000000..4771c7b3c6e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Collection Page.
+ */
+public class CustomTaskExtensionCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for CustomTaskExtension
+ *
+ * @param response the serialized CustomTaskExtensionCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public CustomTaskExtensionCollectionPage(@Nonnull final CustomTaskExtensionCollectionResponse response, @Nonnull final CustomTaskExtensionCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for CustomTaskExtension
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public CustomTaskExtensionCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final CustomTaskExtensionCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionRequest.java
new file mode 100644
index 00000000000..1c3b7bf119d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Collection Request.
+ */
+public class CustomTaskExtensionCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of CustomTaskExtension
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public CustomTaskExtensionCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, CustomTaskExtensionCollectionResponse.class, CustomTaskExtensionCollectionPage.class, CustomTaskExtensionCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new CustomTaskExtension
+ * @param newCustomTaskExtension the CustomTaskExtension to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final CustomTaskExtension newCustomTaskExtension) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new CustomTaskExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newCustomTaskExtension);
+ }
+
+ /**
+ * Creates a new CustomTaskExtension
+ * @param newCustomTaskExtension the CustomTaskExtension to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public CustomTaskExtension post(@Nonnull final CustomTaskExtension newCustomTaskExtension) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new CustomTaskExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newCustomTaskExtension);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionRequestBuilder.java
new file mode 100644
index 00000000000..bfd9be6ab51
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionRequestBuilder.java
@@ -0,0 +1,51 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequest;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Collection Request Builder.
+ */
+public class CustomTaskExtensionCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of LifecycleWorkflowsContainer
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public CustomTaskExtensionCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, CustomTaskExtensionRequestBuilder.class, CustomTaskExtensionCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionResponse.java
new file mode 100644
index 00000000000..3665b6b0a75
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/CustomTaskExtensionCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Collection Response.
+ */
+public class CustomTaskExtensionCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionPage.java
new file mode 100644
index 00000000000..4f86924fecb
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.requests.RunCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.RunCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Collection Page.
+ */
+public class RunCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for Run
+ *
+ * @param response the serialized RunCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public RunCollectionPage(@Nonnull final RunCollectionResponse response, @Nonnull final RunCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for Run
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public RunCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final RunCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionRequest.java
new file mode 100644
index 00000000000..4e49ae71bc6
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.models.RunSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.RunCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.RunCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.RunCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Collection Request.
+ */
+public class RunCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of Run
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public RunCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, RunCollectionResponse.class, RunCollectionPage.class, RunCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new Run
+ * @param newRun the Run to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final Run newRun) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new RunRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newRun);
+ }
+
+ /**
+ * Creates a new Run
+ * @param newRun the Run to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public Run post(@Nonnull final Run newRun) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new RunRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newRun);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public RunCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionRequestBuilder.java
new file mode 100644
index 00000000000..29dd430e109
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionRequestBuilder.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.models.RunSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.RunCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.RunRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.RunCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.RunSummaryRequestBuilder;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.RunSummaryParameterSet;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Collection Request Builder.
+ */
+public class RunCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public RunCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, RunRequestBuilder.class, RunCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public RunSummaryRequestBuilder summary(@Nonnull final RunSummaryParameterSet parameters) {
+ return new RunSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.identityGovernance.summary"), getClient(), null, parameters);
+ }
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionResponse.java
new file mode 100644
index 00000000000..2534213f98f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/RunCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Run;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Collection Response.
+ */
+public class RunCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionPage.java
new file mode 100644
index 00000000000..3a2f8fd6472
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Task;
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Collection Page.
+ */
+public class TaskCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for Task
+ *
+ * @param response the serialized TaskCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public TaskCollectionPage(@Nonnull final TaskCollectionResponse response, @Nonnull final TaskCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for Task
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public TaskCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final TaskCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionRequest.java
new file mode 100644
index 00000000000..b5e6a49111b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.WorkflowTemplate;
+import com.microsoft.graph.identitygovernance.models.Task;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Collection Request.
+ */
+public class TaskCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of Task
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskCollectionResponse.class, TaskCollectionPage.class, TaskCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new Task
+ * @param newTask the Task to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final Task newTask) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new TaskRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newTask);
+ }
+
+ /**
+ * Creates a new Task
+ * @param newTask the Task to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public Task post(@Nonnull final Task newTask) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new TaskRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newTask);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionRequestBuilder.java
new file mode 100644
index 00000000000..b4eb10ace27
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionRequestBuilder.java
@@ -0,0 +1,51 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.WorkflowTemplate;
+import com.microsoft.graph.identitygovernance.models.Task;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionRequest;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Collection Request Builder.
+ */
+public class TaskCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of WorkflowTemplate
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskRequestBuilder.class, TaskCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionResponse.java
new file mode 100644
index 00000000000..ddebb4be55d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Task;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Collection Response.
+ */
+public class TaskCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionPage.java
new file mode 100644
index 00000000000..d8c52ba4ac2
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition Collection Page.
+ */
+public class TaskDefinitionCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for TaskDefinition
+ *
+ * @param response the serialized TaskDefinitionCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public TaskDefinitionCollectionPage(@Nonnull final TaskDefinitionCollectionResponse response, @Nonnull final TaskDefinitionCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for TaskDefinition
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public TaskDefinitionCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final TaskDefinitionCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionRequest.java
new file mode 100644
index 00000000000..8ada4f0783d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition Collection Request.
+ */
+public class TaskDefinitionCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of TaskDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskDefinitionCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskDefinitionCollectionResponse.class, TaskDefinitionCollectionPage.class, TaskDefinitionCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new TaskDefinition
+ * @param newTaskDefinition the TaskDefinition to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final TaskDefinition newTaskDefinition) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new TaskDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newTaskDefinition);
+ }
+
+ /**
+ * Creates a new TaskDefinition
+ * @param newTaskDefinition the TaskDefinition to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public TaskDefinition post(@Nonnull final TaskDefinition newTaskDefinition) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new TaskDefinitionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newTaskDefinition);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionRequestBuilder.java
new file mode 100644
index 00000000000..e4761bb6614
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionRequestBuilder.java
@@ -0,0 +1,51 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionRequest;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition Collection Request Builder.
+ */
+public class TaskDefinitionCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of LifecycleWorkflowsContainer
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskDefinitionCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskDefinitionRequestBuilder.class, TaskDefinitionCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionResponse.java
new file mode 100644
index 00000000000..dfe00109c57
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskDefinitionCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition Collection Response.
+ */
+public class TaskDefinitionCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionPage.java
new file mode 100644
index 00000000000..e104509420d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Collection Page.
+ */
+public class TaskProcessingResultCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for TaskProcessingResult
+ *
+ * @param response the serialized TaskProcessingResultCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public TaskProcessingResultCollectionPage(@Nonnull final TaskProcessingResultCollectionResponse response, @Nonnull final TaskProcessingResultCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for TaskProcessingResult
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public TaskProcessingResultCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final TaskProcessingResultCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionRequest.java
new file mode 100644
index 00000000000..277d921a31d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Collection Request.
+ */
+public class TaskProcessingResultCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of TaskProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskProcessingResultCollectionResponse.class, TaskProcessingResultCollectionPage.class, TaskProcessingResultCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new TaskProcessingResult
+ * @param newTaskProcessingResult the TaskProcessingResult to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final TaskProcessingResult newTaskProcessingResult) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new TaskProcessingResultRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newTaskProcessingResult);
+ }
+
+ /**
+ * Creates a new TaskProcessingResult
+ * @param newTaskProcessingResult the TaskProcessingResult to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public TaskProcessingResult post(@Nonnull final TaskProcessingResult newTaskProcessingResult) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new TaskProcessingResultRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newTaskProcessingResult);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionRequestBuilder.java
new file mode 100644
index 00000000000..a4c9950740c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionRequestBuilder.java
@@ -0,0 +1,53 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequest;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResultResumeParameterSet;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Collection Request Builder.
+ */
+public class TaskProcessingResultCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of TaskReport
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskProcessingResultRequestBuilder.class, TaskProcessingResultCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionResponse.java
new file mode 100644
index 00000000000..2d567811a68
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskProcessingResultCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Collection Response.
+ */
+public class TaskProcessingResultCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionPage.java
new file mode 100644
index 00000000000..f055f0bb996
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.requests.TaskReportCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.TaskReportCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Collection Page.
+ */
+public class TaskReportCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for TaskReport
+ *
+ * @param response the serialized TaskReportCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public TaskReportCollectionPage(@Nonnull final TaskReportCollectionResponse response, @Nonnull final TaskReportCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for TaskReport
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public TaskReportCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final TaskReportCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionRequest.java
new file mode 100644
index 00000000000..1dc1b6122df
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.TaskReportCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.TaskReportCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskReportCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Collection Request.
+ */
+public class TaskReportCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of TaskReport
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskReportCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskReportCollectionResponse.class, TaskReportCollectionPage.class, TaskReportCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new TaskReport
+ * @param newTaskReport the TaskReport to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final TaskReport newTaskReport) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new TaskReportRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newTaskReport);
+ }
+
+ /**
+ * Creates a new TaskReport
+ * @param newTaskReport the TaskReport to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public TaskReport post(@Nonnull final TaskReport newTaskReport) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new TaskReportRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newTaskReport);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionRequestBuilder.java
new file mode 100644
index 00000000000..f67dd40eb87
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionRequestBuilder.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.TaskReportCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskReportRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.TaskReportCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.TaskReportSummaryRequestBuilder;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummaryParameterSet;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Collection Request Builder.
+ */
+public class TaskReportCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskReportCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskReportRequestBuilder.class, TaskReportCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public TaskReportSummaryRequestBuilder summary(@Nonnull final TaskReportSummaryParameterSet parameters) {
+ return new TaskReportSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.identityGovernance.summary"), getClient(), null, parameters);
+ }
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionResponse.java
new file mode 100644
index 00000000000..c28591b8a8f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/TaskReportCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Collection Response.
+ */
+public class TaskReportCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionPage.java
new file mode 100644
index 00000000000..db911a824fc
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection Page.
+ */
+public class UserProcessingResultCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for UserProcessingResult
+ *
+ * @param response the serialized UserProcessingResultCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public UserProcessingResultCollectionPage(@Nonnull final UserProcessingResultCollectionResponse response, @Nonnull final UserProcessingResultCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for UserProcessingResult
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public UserProcessingResultCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final UserProcessingResultCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionReferenceRequest.java
new file mode 100644
index 00000000000..9b79e58d641
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionReferenceRequest.java
@@ -0,0 +1,128 @@
+// Template Source: BaseEntityCollectionReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultWithReferenceRequest;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultReferenceRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultWithReferenceRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesRequest;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequest;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.http.ReferenceRequestBody;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection Reference Request.
+ */
+public class UserProcessingResultCollectionReferenceRequest extends BaseCollectionWithReferencesRequest {
+
+ /**
+ * The request builder for this collection of UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultCollectionReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResultCollectionResponse.class, UserProcessingResultCollectionWithReferencesPage.class, UserProcessingResultCollectionWithReferencesRequestBuilder.class);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionReferenceRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the sort clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionReferenceRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionReferenceRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionReferenceRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionReferenceRequest count() {
+ addCountOption(true);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionReferenceRequestBuilder.java
new file mode 100644
index 00000000000..3efeadb5cbd
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionReferenceRequestBuilder.java
@@ -0,0 +1,38 @@
+// Template Source: BaseEntityCollectionReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseCollectionReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection Reference Request Builder.
+ */
+public class UserProcessingResultCollectionReferenceRequestBuilder extends BaseCollectionReferenceRequestBuilder {
+
+ /**
+ * The request builder for this collection of UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultCollectionReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResultReferenceRequestBuilder.class, UserProcessingResultCollectionReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionRequest.java
new file mode 100644
index 00000000000..393f4310c31
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection Request.
+ */
+public class UserProcessingResultCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResultCollectionResponse.class, UserProcessingResultCollectionPage.class, UserProcessingResultCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new UserProcessingResult
+ * @param newUserProcessingResult the UserProcessingResult to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final UserProcessingResult newUserProcessingResult) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new UserProcessingResultRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newUserProcessingResult);
+ }
+
+ /**
+ * Creates a new UserProcessingResult
+ * @param newUserProcessingResult the UserProcessingResult to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public UserProcessingResult post(@Nonnull final UserProcessingResult newUserProcessingResult) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new UserProcessingResultRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newUserProcessingResult);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionRequestBuilder.java
new file mode 100644
index 00000000000..32170500ca5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionRequestBuilder.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultSummaryRequestBuilder;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResultSummaryParameterSet;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection Request Builder.
+ */
+public class UserProcessingResultCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of Run
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResultRequestBuilder.class, UserProcessingResultCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public UserProcessingResultSummaryRequestBuilder summary(@Nonnull final UserProcessingResultSummaryParameterSet parameters) {
+ return new UserProcessingResultSummaryRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.identityGovernance.summary"), getClient(), null, parameters);
+ }
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionResponse.java
new file mode 100644
index 00000000000..98a85bb63d8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection Response.
+ */
+public class UserProcessingResultCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesPage.java
new file mode 100644
index 00000000000..e6af0173fb0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesPage.java
@@ -0,0 +1,53 @@
+// Template Source: BaseEntityCollectionWithReferencesPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesPage;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionResponse;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection With References Page.
+ */
+public class UserProcessingResultCollectionWithReferencesPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for UserProcessingResult
+ *
+ * @param response the serialized UserProcessingResultCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public UserProcessingResultCollectionWithReferencesPage(@Nonnull final UserProcessingResultCollectionResponse response, @Nullable final UserProcessingResultCollectionWithReferencesRequestBuilder builder) {
+ super(response.value, builder, response.additionalDataManager());
+ }
+
+ /**
+ * Creates the collection page for UserProcessingResult
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public UserProcessingResultCollectionWithReferencesPage(@Nonnull final java.util.List pageContents, @Nullable final UserProcessingResultCollectionWithReferencesRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesRequest.java
new file mode 100644
index 00000000000..741abd91df8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesRequest.java
@@ -0,0 +1,129 @@
+// Template Source: BaseEntityCollectionWithReferencesRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultWithReferenceRequest;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultReferenceRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultWithReferenceRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesRequest;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesRequest;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequest;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection With References Request.
+ */
+public class UserProcessingResultCollectionWithReferencesRequest extends BaseCollectionWithReferencesRequest {
+
+ /**
+ * The request builder for this collection of UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultCollectionWithReferencesRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResultCollectionResponse.class, UserProcessingResultCollectionWithReferencesPage.class, UserProcessingResultCollectionWithReferencesRequestBuilder.class);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionWithReferencesRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionWithReferencesRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionWithReferencesRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionWithReferencesRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionWithReferencesRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionWithReferencesRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultCollectionWithReferencesRequest count() {
+ addCountOption(true);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesRequestBuilder.java
new file mode 100644
index 00000000000..2b181e6e93a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/UserProcessingResultCollectionWithReferencesRequestBuilder.java
@@ -0,0 +1,38 @@
+// Template Source: BaseEntityCollectionWithReferencesRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Collection With References Request Builder.
+ */
+public class UserProcessingResultCollectionWithReferencesRequestBuilder extends BaseCollectionWithReferencesRequestBuilder {
+
+ /**
+ * The request builder for this collection of Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultCollectionWithReferencesRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResultReferenceRequestBuilder.class, UserProcessingResultCollectionReferenceRequest.class, UserProcessingResultCollectionReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionPage.java
new file mode 100644
index 00000000000..39742687fb7
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Collection Page.
+ */
+public class WorkflowCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for Workflow
+ *
+ * @param response the serialized WorkflowCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public WorkflowCollectionPage(@Nonnull final WorkflowCollectionResponse response, @Nonnull final WorkflowCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for Workflow
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public WorkflowCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final WorkflowCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionRequest.java
new file mode 100644
index 00000000000..c33163d865a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Collection Request.
+ */
+public class WorkflowCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowCollectionResponse.class, WorkflowCollectionPage.class, WorkflowCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new Workflow
+ * @param newWorkflow the Workflow to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final Workflow newWorkflow) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new WorkflowRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newWorkflow);
+ }
+
+ /**
+ * Creates a new Workflow
+ * @param newWorkflow the Workflow to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public Workflow post(@Nonnull final Workflow newWorkflow) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new WorkflowRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newWorkflow);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionRequestBuilder.java
new file mode 100644
index 00000000000..332d58d7cf5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionRequestBuilder.java
@@ -0,0 +1,54 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionRequest;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.WorkflowActivateParameterSet;
+import com.microsoft.graph.identitygovernance.models.WorkflowCreateNewVersionParameterSet;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Collection Request Builder.
+ */
+public class WorkflowCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of LifecycleWorkflowsContainer
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowRequestBuilder.class, WorkflowCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionResponse.java
new file mode 100644
index 00000000000..dfa4edf2181
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Collection Response.
+ */
+public class WorkflowCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionPage.java
new file mode 100644
index 00000000000..5cde3edffad
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.WorkflowTemplate;
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Template Collection Page.
+ */
+public class WorkflowTemplateCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for WorkflowTemplate
+ *
+ * @param response the serialized WorkflowTemplateCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public WorkflowTemplateCollectionPage(@Nonnull final WorkflowTemplateCollectionResponse response, @Nonnull final WorkflowTemplateCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for WorkflowTemplate
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public WorkflowTemplateCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final WorkflowTemplateCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionRequest.java
new file mode 100644
index 00000000000..3aee4787c3b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import com.microsoft.graph.identitygovernance.models.WorkflowTemplate;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Template Collection Request.
+ */
+public class WorkflowTemplateCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of WorkflowTemplate
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowTemplateCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowTemplateCollectionResponse.class, WorkflowTemplateCollectionPage.class, WorkflowTemplateCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new WorkflowTemplate
+ * @param newWorkflowTemplate the WorkflowTemplate to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final WorkflowTemplate newWorkflowTemplate) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new WorkflowTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newWorkflowTemplate);
+ }
+
+ /**
+ * Creates a new WorkflowTemplate
+ * @param newWorkflowTemplate the WorkflowTemplate to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public WorkflowTemplate post(@Nonnull final WorkflowTemplate newWorkflowTemplate) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new WorkflowTemplateRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newWorkflowTemplate);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionRequestBuilder.java
new file mode 100644
index 00000000000..81542309fa1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionRequestBuilder.java
@@ -0,0 +1,51 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import com.microsoft.graph.identitygovernance.models.WorkflowTemplate;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionRequest;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Template Collection Request Builder.
+ */
+public class WorkflowTemplateCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of LifecycleWorkflowsContainer
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowTemplateCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowTemplateRequestBuilder.class, WorkflowTemplateCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionResponse.java
new file mode 100644
index 00000000000..97245bcca79
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowTemplateCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.WorkflowTemplate;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Template Collection Response.
+ */
+public class WorkflowTemplateCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionPage.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionPage.java
new file mode 100644
index 00000000000..79b4a4c0c23
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionPage.java
@@ -0,0 +1,40 @@
+// Template Source: BaseEntityCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.WorkflowVersion;
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionRequestBuilder;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionResponse;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Version Collection Page.
+ */
+public class WorkflowVersionCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for WorkflowVersion
+ *
+ * @param response the serialized WorkflowVersionCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public WorkflowVersionCollectionPage(@Nonnull final WorkflowVersionCollectionResponse response, @Nonnull final WorkflowVersionCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for WorkflowVersion
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public WorkflowVersionCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final WorkflowVersionCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionRequest.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionRequest.java
new file mode 100644
index 00000000000..5d2cd0d0248
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.WorkflowVersion;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseEntityCollectionRequest;
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionResponse;
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Version Collection Request.
+ */
+public class WorkflowVersionCollectionRequest extends BaseEntityCollectionRequest {
+
+ /**
+ * The request builder for this collection of WorkflowVersion
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowVersionCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowVersionCollectionResponse.class, WorkflowVersionCollectionPage.class, WorkflowVersionCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Creates a new WorkflowVersion
+ * @param newWorkflowVersion the WorkflowVersion to create
+ * @return a future with the created object
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final WorkflowVersion newWorkflowVersion) {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new WorkflowVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .postAsync(newWorkflowVersion);
+ }
+
+ /**
+ * Creates a new WorkflowVersion
+ * @param newWorkflowVersion the WorkflowVersion to create
+ * @return the newly created object
+ */
+ @Nonnull
+ public WorkflowVersion post(@Nonnull final WorkflowVersion newWorkflowVersion) throws ClientException {
+ final String requestUrl = getBaseRequest().getRequestUrl().toString();
+ return new WorkflowVersionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
+ .buildRequest(getBaseRequest().getHeaders())
+ .post(newWorkflowVersion);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+
+
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionRequestBuilder.java
new file mode 100644
index 00000000000..c4f1c1868a8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionRequestBuilder.java
@@ -0,0 +1,51 @@
+// Template Source: BaseEntityCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.models.WorkflowVersion;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionRequestBuilder;
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionRequest;
+import com.microsoft.graph.http.BaseCollectionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.PrimitiveRequestBuilder;
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Version Collection Request Builder.
+ */
+public class WorkflowVersionCollectionRequestBuilder extends BaseCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowVersionCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowVersionRequestBuilder.class, WorkflowVersionCollectionRequest.class);
+ }
+
+
+
+ /**
+ * Gets the raw count request for the collection
+ * @return The raw count request for the collection
+ */
+ @Nonnull
+ public PrimitiveRequestBuilder count() {
+ return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionResponse.java b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionResponse.java
new file mode 100644
index 00000000000..99c363d9d0d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernance/requests/WorkflowVersionCollectionResponse.java
@@ -0,0 +1,18 @@
+// Template Source: BaseEntityCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.WorkflowVersion;
+
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Version Collection Response.
+ */
+public class WorkflowVersionCollectionResponse extends BaseCollectionResponse {
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtension.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtension.java
new file mode 100644
index 00000000000..ba727863925
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtension.java
@@ -0,0 +1,85 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.CustomExtensionCallbackConfiguration;
+import com.microsoft.graph.models.User;
+import com.microsoft.graph.models.CustomCalloutExtension;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension.
+ */
+public class CustomTaskExtension extends CustomCalloutExtension implements IJsonBackedObject {
+
+
+ /**
+ * The Callback Configuration.
+ * The callback configuration for a custom task extension.
+ */
+ @SerializedName(value = "callbackConfiguration", alternate = {"CallbackConfiguration"})
+ @Expose
+ @Nullable
+ public CustomExtensionCallbackConfiguration callbackConfiguration;
+
+ /**
+ * The Created Date Time.
+ * When the custom task extension was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime createdDateTime;
+
+ /**
+ * The Last Modified Date Time.
+ * When the custom extension was last modified.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime lastModifiedDateTime;
+
+ /**
+ * The Created By.
+ * The unique identifier of the Azure AD user that created the custom task extension.Supports $filter(eq, ne) and $expand.
+ */
+ @SerializedName(value = "createdBy", alternate = {"CreatedBy"})
+ @Expose
+ @Nullable
+ public User createdBy;
+
+ /**
+ * The Last Modified By.
+ * The unique identifier of the Azure AD user that modified the custom task extension last.Supports $filter(eq, ne) and $expand.
+ */
+ @SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
+ @Expose
+ @Nullable
+ public User lastModifiedBy;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCallbackConfiguration.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCallbackConfiguration.java
new file mode 100644
index 00000000000..04a900edb8b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCallbackConfiguration.java
@@ -0,0 +1,47 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.CustomExtensionCallbackConfiguration;
+import com.microsoft.graph.requests.ApplicationCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Callback Configuration.
+ */
+public class CustomTaskExtensionCallbackConfiguration extends CustomExtensionCallbackConfiguration implements IJsonBackedObject {
+
+
+ /**
+ * The Authorized Apps.
+ *
+ */
+ @Nullable
+ public com.microsoft.graph.requests.ApplicationCollectionPage authorizedApps;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCallbackData.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCallbackData.java
new file mode 100644
index 00000000000..f19fc496f72
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCallbackData.java
@@ -0,0 +1,48 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionOperationStatus;
+import com.microsoft.graph.models.CustomExtensionData;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Callback Data.
+ */
+public class CustomTaskExtensionCallbackData extends CustomExtensionData implements IJsonBackedObject {
+
+
+ /**
+ * The Operation Status.
+ * Operation status that's provided by the Azure Logic App indicating whenever the Azure Logic App has run successfully or not. Supported values: completed, failed, unknownFutureValue.
+ */
+ @SerializedName(value = "operationStatus", alternate = {"OperationStatus"})
+ @Expose
+ @Nullable
+ public CustomTaskExtensionOperationStatus operationStatus;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCalloutData.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCalloutData.java
new file mode 100644
index 00000000000..b4e41c0d221
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionCalloutData.java
@@ -0,0 +1,78 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.User;
+import com.microsoft.graph.identitygovernance.models.Task;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.CustomExtensionData;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Callout Data.
+ */
+public class CustomTaskExtensionCalloutData extends CustomExtensionData implements IJsonBackedObject {
+
+
+ /**
+ * The Subject.
+ *
+ */
+ @SerializedName(value = "subject", alternate = {"Subject"})
+ @Expose
+ @Nullable
+ public User subject;
+
+ /**
+ * The Task.
+ *
+ */
+ @SerializedName(value = "task", alternate = {"Task"})
+ @Expose
+ @Nullable
+ public Task task;
+
+ /**
+ * The Task Processingresult.
+ *
+ */
+ @SerializedName(value = "taskProcessingresult", alternate = {"TaskProcessingresult"})
+ @Expose
+ @Nullable
+ public TaskProcessingResult taskProcessingresult;
+
+ /**
+ * The Workflow.
+ *
+ */
+ @SerializedName(value = "workflow", alternate = {"Workflow"})
+ @Expose
+ @Nullable
+ public Workflow workflow;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionOperationStatus.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionOperationStatus.java
new file mode 100644
index 00000000000..9b3c13c2e7a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/CustomTaskExtensionOperationStatus.java
@@ -0,0 +1,30 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+
+/**
+ * The Enum Custom Task Extension Operation Status.
+*/
+public enum CustomTaskExtensionOperationStatus
+{
+ /**
+ * completed
+ */
+ COMPLETED,
+ /**
+ * failed
+ */
+ FAILED,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For CustomTaskExtensionOperationStatus values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleManagementSettings.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleManagementSettings.java
new file mode 100644
index 00000000000..5dc8f237bdb
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleManagementSettings.java
@@ -0,0 +1,57 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.EmailSettings;
+import com.microsoft.graph.models.Entity;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Lifecycle Management Settings.
+ */
+public class LifecycleManagementSettings extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Email Settings.
+ * Defines the settings for emails sent out from email-specific tasks within workflows. Accepts 2 parameterssenderDomain- Defines the domain of who is sending the email. useCompanyBranding- A boolean value that defines if company branding is to be used with the email.
+ */
+ @SerializedName(value = "emailSettings", alternate = {"EmailSettings"})
+ @Expose
+ @Nullable
+ public EmailSettings emailSettings;
+
+ /**
+ * The Workflow Schedule Interval In Hours.
+ * 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.
+ */
+ @SerializedName(value = "workflowScheduleIntervalInHours", alternate = {"WorkflowScheduleIntervalInHours"})
+ @Expose
+ @Nullable
+ public Integer workflowScheduleIntervalInHours;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleTaskCategory.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleTaskCategory.java
new file mode 100644
index 00000000000..0b2ddf17abb
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleTaskCategory.java
@@ -0,0 +1,34 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+
+/**
+ * The Enum Lifecycle Task Category.
+*/
+public enum LifecycleTaskCategory
+{
+ /**
+ * joiner
+ */
+ JOINER,
+ /**
+ * leaver
+ */
+ LEAVER,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * mover
+ */
+ MOVER,
+ /**
+ * For LifecycleTaskCategory values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowCategory.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowCategory.java
new file mode 100644
index 00000000000..ca7cdd868fa
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowCategory.java
@@ -0,0 +1,34 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+
+/**
+ * The Enum Lifecycle Workflow Category.
+*/
+public enum LifecycleWorkflowCategory
+{
+ /**
+ * joiner
+ */
+ JOINER,
+ /**
+ * leaver
+ */
+ LEAVER,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * mover
+ */
+ MOVER,
+ /**
+ * For LifecycleWorkflowCategory values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowProcessingStatus.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowProcessingStatus.java
new file mode 100644
index 00000000000..bd319c1c135
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowProcessingStatus.java
@@ -0,0 +1,46 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+
+/**
+ * The Enum Lifecycle Workflow Processing Status.
+*/
+public enum LifecycleWorkflowProcessingStatus
+{
+ /**
+ * queued
+ */
+ QUEUED,
+ /**
+ * in Progress
+ */
+ IN_PROGRESS,
+ /**
+ * completed
+ */
+ COMPLETED,
+ /**
+ * completed With Errors
+ */
+ COMPLETED_WITH_ERRORS,
+ /**
+ * canceled
+ */
+ CANCELED,
+ /**
+ * failed
+ */
+ FAILED,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For LifecycleWorkflowProcessingStatus values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowsContainer.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowsContainer.java
new file mode 100644
index 00000000000..c2158dc4457
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/LifecycleWorkflowsContainer.java
@@ -0,0 +1,115 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.DeletedItemContainer;
+import com.microsoft.graph.identitygovernance.models.LifecycleManagementSettings;
+import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionPage;
+import com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionPage;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionPage;
+import com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Lifecycle Workflows Container.
+ */
+public class LifecycleWorkflowsContainer extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Custom Task Extensions.
+ * The customTaskExtension instance.
+ */
+ @SerializedName(value = "customTaskExtensions", alternate = {"CustomTaskExtensions"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionPage customTaskExtensions;
+
+ /**
+ * The Deleted Items.
+ * Deleted workflows in your lifecycle workflows instance.
+ */
+ @SerializedName(value = "deletedItems", alternate = {"DeletedItems"})
+ @Expose
+ @Nullable
+ public DeletedItemContainer deletedItems;
+
+ /**
+ * The Settings.
+ * The settings of the lifecycle workflows instance.
+ */
+ @SerializedName(value = "settings", alternate = {"Settings"})
+ @Expose
+ @Nullable
+ public LifecycleManagementSettings settings;
+
+ /**
+ * The Task Definitions.
+ * The definition of tasks within the lifecycle workflows instance.
+ */
+ @SerializedName(value = "taskDefinitions", alternate = {"TaskDefinitions"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionPage taskDefinitions;
+
+ /**
+ * The Workflows.
+ * The workflows in the lifecycle workflows instance.
+ */
+ @SerializedName(value = "workflows", alternate = {"Workflows"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.WorkflowCollectionPage workflows;
+
+ /**
+ * The Workflow Templates.
+ * The workflow templates in the lifecycle workflow instance.
+ */
+ @SerializedName(value = "workflowTemplates", alternate = {"WorkflowTemplates"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionPage workflowTemplates;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("customTaskExtensions")) {
+ customTaskExtensions = serializer.deserializeObject(json.get("customTaskExtensions"), com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionPage.class);
+ }
+
+ if (json.has("taskDefinitions")) {
+ taskDefinitions = serializer.deserializeObject(json.get("taskDefinitions"), com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionPage.class);
+ }
+
+ if (json.has("workflows")) {
+ workflows = serializer.deserializeObject(json.get("workflows"), com.microsoft.graph.identitygovernance.requests.WorkflowCollectionPage.class);
+ }
+
+ if (json.has("workflowTemplates")) {
+ workflowTemplates = serializer.deserializeObject(json.get("workflowTemplates"), com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/OnDemandExecutionOnly.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/OnDemandExecutionOnly.java
new file mode 100644
index 00000000000..19821edb168
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/OnDemandExecutionOnly.java
@@ -0,0 +1,38 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.identitygovernance.models.WorkflowExecutionConditions;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the On Demand Execution Only.
+ */
+public class OnDemandExecutionOnly extends WorkflowExecutionConditions implements IJsonBackedObject {
+
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Parameter.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Parameter.java
new file mode 100644
index 00000000000..6af96ddb373
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Parameter.java
@@ -0,0 +1,79 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.identitygovernance.models.ValueType;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Parameter.
+ */
+public class Parameter implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Name.
+ * The name of the parameter.
+ */
+ @SerializedName(value = "name", alternate = {"Name"})
+ @Expose
+ @Nullable
+ public String name;
+
+ /**
+ * The Values.
+ * The values of the parameter.
+ */
+ @SerializedName(value = "values", alternate = {"Values"})
+ @Expose
+ @Nullable
+ public java.util.List values;
+
+ /**
+ * The Value Type.
+ * The value type of the parameter. The possible values are: enum, string, int, bool, unknownFutureValue.
+ */
+ @SerializedName(value = "valueType", alternate = {"ValueType"})
+ @Expose
+ @Nullable
+ public ValueType valueType;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RuleBasedSubjectSet.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RuleBasedSubjectSet.java
new file mode 100644
index 00000000000..a36bc2722b5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RuleBasedSubjectSet.java
@@ -0,0 +1,47 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.SubjectSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Rule Based Subject Set.
+ */
+public class RuleBasedSubjectSet extends SubjectSet implements IJsonBackedObject {
+
+
+ /**
+ * The Rule.
+ * The rule for the subject set. Lifecycle Workflows supports a rich set of user properties for configuring the rules using $filter query expressions. For more information, see supported user and query parameters.
+ */
+ @SerializedName(value = "rule", alternate = {"Rule"})
+ @Expose
+ @Nullable
+ public String rule;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Run.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Run.java
new file mode 100644
index 00000000000..9f2a8638782
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Run.java
@@ -0,0 +1,177 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowProcessingStatus;
+import com.microsoft.graph.identitygovernance.models.WorkflowExecutionType;
+import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run.
+ */
+public class Run extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Completed Date Time.
+ * The date time that the run completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "completedDateTime", alternate = {"CompletedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime completedDateTime;
+
+ /**
+ * The Failed Tasks Count.
+ * The number of tasks that failed in the run execution.
+ */
+ @SerializedName(value = "failedTasksCount", alternate = {"FailedTasksCount"})
+ @Expose
+ @Nullable
+ public Integer failedTasksCount;
+
+ /**
+ * The Failed Users Count.
+ * The number of users that failed in the run execution.
+ */
+ @SerializedName(value = "failedUsersCount", alternate = {"FailedUsersCount"})
+ @Expose
+ @Nullable
+ public Integer failedUsersCount;
+
+ /**
+ * The Last Updated Date Time.
+ * The datetime that the run was last updated.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "lastUpdatedDateTime", alternate = {"LastUpdatedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime lastUpdatedDateTime;
+
+ /**
+ * The Processing Status.
+ * The run execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "processingStatus", alternate = {"ProcessingStatus"})
+ @Expose
+ @Nullable
+ public LifecycleWorkflowProcessingStatus processingStatus;
+
+ /**
+ * The Scheduled Date Time.
+ * The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "scheduledDateTime", alternate = {"ScheduledDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime scheduledDateTime;
+
+ /**
+ * The Started Date Time.
+ * The date time that the run execution started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "startedDateTime", alternate = {"StartedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime startedDateTime;
+
+ /**
+ * The Successful Users Count.
+ * The number of successfully completed users in the run.
+ */
+ @SerializedName(value = "successfulUsersCount", alternate = {"SuccessfulUsersCount"})
+ @Expose
+ @Nullable
+ public Integer successfulUsersCount;
+
+ /**
+ * The Total Tasks Count.
+ *
+ */
+ @SerializedName(value = "totalTasksCount", alternate = {"TotalTasksCount"})
+ @Expose
+ @Nullable
+ public Integer totalTasksCount;
+
+ /**
+ * The Total Unprocessed Tasks Count.
+ * The total number of unprocessed tasks in the run execution.
+ */
+ @SerializedName(value = "totalUnprocessedTasksCount", alternate = {"TotalUnprocessedTasksCount"})
+ @Expose
+ @Nullable
+ public Integer totalUnprocessedTasksCount;
+
+ /**
+ * The Total Users Count.
+ * The total number of users in the workflow execution.
+ */
+ @SerializedName(value = "totalUsersCount", alternate = {"TotalUsersCount"})
+ @Expose
+ @Nullable
+ public Integer totalUsersCount;
+
+ /**
+ * The Workflow Execution Type.
+ * The execution type of the workflows associated with the run. The possible values are: scheduled, onDemand, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "workflowExecutionType", alternate = {"WorkflowExecutionType"})
+ @Expose
+ @Nullable
+ public WorkflowExecutionType workflowExecutionType;
+
+ /**
+ * The Task Processing Results.
+ * The related taskProcessingResults.
+ */
+ @SerializedName(value = "taskProcessingResults", alternate = {"TaskProcessingResults"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage taskProcessingResults;
+
+ /**
+ * The User Processing Results.
+ * The associated individual user execution.
+ */
+ @SerializedName(value = "userProcessingResults", alternate = {"UserProcessingResults"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionPage userProcessingResults;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("taskProcessingResults")) {
+ taskProcessingResults = serializer.deserializeObject(json.get("taskProcessingResults"), com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage.class);
+ }
+
+ if (json.has("userProcessingResults")) {
+ userProcessingResults = serializer.deserializeObject(json.get("userProcessingResults"), com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RunSummary.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RunSummary.java
new file mode 100644
index 00000000000..6c50998b928
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RunSummary.java
@@ -0,0 +1,104 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Summary.
+ */
+public class RunSummary implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Failed Runs.
+ * The number of failed workflow runs.
+ */
+ @SerializedName(value = "failedRuns", alternate = {"FailedRuns"})
+ @Expose
+ @Nullable
+ public Integer failedRuns;
+
+ /**
+ * The Failed Tasks.
+ * The number of failed tasks of a workflow.
+ */
+ @SerializedName(value = "failedTasks", alternate = {"FailedTasks"})
+ @Expose
+ @Nullable
+ public Integer failedTasks;
+
+ /**
+ * The Successful Runs.
+ * The number of successful workflow runs.
+ */
+ @SerializedName(value = "successfulRuns", alternate = {"SuccessfulRuns"})
+ @Expose
+ @Nullable
+ public Integer successfulRuns;
+
+ /**
+ * The Total Runs.
+ * The total number of runs for a workflow.
+ */
+ @SerializedName(value = "totalRuns", alternate = {"TotalRuns"})
+ @Expose
+ @Nullable
+ public Integer totalRuns;
+
+ /**
+ * The Total Tasks.
+ * The total number of tasks processed by a workflow.
+ */
+ @SerializedName(value = "totalTasks", alternate = {"TotalTasks"})
+ @Expose
+ @Nullable
+ public Integer totalTasks;
+
+ /**
+ * The Total Users.
+ * The total number of users processed by a workflow.
+ */
+ @SerializedName(value = "totalUsers", alternate = {"TotalUsers"})
+ @Expose
+ @Nullable
+ public Integer totalUsers;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RunSummaryParameterSet.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RunSummaryParameterSet.java
new file mode 100644
index 00000000000..fdfd2c38c39
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/RunSummaryParameterSet.java
@@ -0,0 +1,125 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+import com.microsoft.graph.identitygovernance.models.RunSummary;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Summary Parameter Set.
+ */
+public class RunSummaryParameterSet {
+ /**
+ * The start Date Time.
+ *
+ */
+ @SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime startDateTime;
+
+ /**
+ * The end Date Time.
+ *
+ */
+ @SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime endDateTime;
+
+
+ /**
+ * Instiaciates a new RunSummaryParameterSet
+ */
+ public RunSummaryParameterSet() {}
+ /**
+ * Instiaciates a new RunSummaryParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected RunSummaryParameterSet(@Nonnull final RunSummaryParameterSetBuilder builder) {
+ this.startDateTime = builder.startDateTime;
+ this.endDateTime = builder.endDateTime;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static RunSummaryParameterSetBuilder newBuilder() {
+ return new RunSummaryParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the RunSummaryParameterSet
+ */
+ public static final class RunSummaryParameterSetBuilder {
+ /**
+ * The startDateTime parameter value
+ */
+ @Nullable
+ protected java.time.OffsetDateTime startDateTime;
+ /**
+ * Sets the StartDateTime
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public RunSummaryParameterSetBuilder withStartDateTime(@Nullable final java.time.OffsetDateTime val) {
+ this.startDateTime = val;
+ return this;
+ }
+ /**
+ * The endDateTime parameter value
+ */
+ @Nullable
+ protected java.time.OffsetDateTime endDateTime;
+ /**
+ * Sets the EndDateTime
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public RunSummaryParameterSetBuilder withEndDateTime(@Nullable final java.time.OffsetDateTime val) {
+ this.endDateTime = val;
+ return this;
+ }
+ /**
+ * Instanciates a new RunSummaryParameterSetBuilder
+ */
+ @Nullable
+ protected RunSummaryParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public RunSummaryParameterSet build() {
+ return new RunSummaryParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.startDateTime != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("startDateTime", startDateTime));
+ }
+ if(this.endDateTime != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("endDateTime", endDateTime));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Task.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Task.java
new file mode 100644
index 00000000000..0a31179af6c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Task.java
@@ -0,0 +1,127 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.KeyValuePair;
+import com.microsoft.graph.identitygovernance.models.LifecycleTaskCategory;
+import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task.
+ */
+public class Task extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Arguments.
+ * Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.
+ */
+ @SerializedName(value = "arguments", alternate = {"Arguments"})
+ @Expose
+ @Nullable
+ public java.util.List arguments;
+
+ /**
+ * The Category.
+ * The category of the task. The possible values are: joiner, leaver, unknownFutureValue. This property is multi-valued and the same task can apply to both joiner and leaver categories.Supports $filter(eq, ne).
+ */
+ @SerializedName(value = "category", alternate = {"Category"})
+ @Expose
+ @Nullable
+ public EnumSet category;
+
+ /**
+ * The Continue On Error.
+ * A boolean value that specifies whether, if this task fails, the workflow will stop, and subsequent tasks will not run. Optional.
+ */
+ @SerializedName(value = "continueOnError", alternate = {"ContinueOnError"})
+ @Expose
+ @Nullable
+ public Boolean continueOnError;
+
+ /**
+ * The Description.
+ * A string that describes the purpose of the task for administrative use. Optional.
+ */
+ @SerializedName(value = "description", alternate = {"Description"})
+ @Expose
+ @Nullable
+ public String description;
+
+ /**
+ * The Display Name.
+ * A unique string that identifies the task. Required.Supports $filter(eq, ne) and orderBy.
+ */
+ @SerializedName(value = "displayName", alternate = {"DisplayName"})
+ @Expose
+ @Nullable
+ public String displayName;
+
+ /**
+ * The Execution Sequence.
+ * An integer that states in what order the task will run in a workflow.Supports $orderby.
+ */
+ @SerializedName(value = "executionSequence", alternate = {"ExecutionSequence"})
+ @Expose
+ @Nullable
+ public Integer executionSequence;
+
+ /**
+ * The Is Enabled.
+ * A boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy.
+ */
+ @SerializedName(value = "isEnabled", alternate = {"IsEnabled"})
+ @Expose
+ @Nullable
+ public Boolean isEnabled;
+
+ /**
+ * The Task Definition Id.
+ * A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see supported tasks. Required.Supports $filter(eq, ne).
+ */
+ @SerializedName(value = "taskDefinitionId", alternate = {"TaskDefinitionId"})
+ @Expose
+ @Nullable
+ public String taskDefinitionId;
+
+ /**
+ * The Task Processing Results.
+ * The result of processing the task.
+ */
+ @SerializedName(value = "taskProcessingResults", alternate = {"TaskProcessingResults"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage taskProcessingResults;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("taskProcessingResults")) {
+ taskProcessingResults = serializer.deserializeObject(json.get("taskProcessingResults"), com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskDefinition.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskDefinition.java
new file mode 100644
index 00000000000..c824b83c3e5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskDefinition.java
@@ -0,0 +1,95 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.identitygovernance.models.LifecycleTaskCategory;
+import com.microsoft.graph.identitygovernance.models.Parameter;
+import com.microsoft.graph.models.Entity;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition.
+ */
+public class TaskDefinition extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Category.
+ * The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, mover, leaver, unknownFutureValue. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
+ */
+ @SerializedName(value = "category", alternate = {"Category"})
+ @Expose
+ @Nullable
+ public EnumSet category;
+
+ /**
+ * The Continue On Error.
+ *
+ */
+ @SerializedName(value = "continueOnError", alternate = {"ContinueOnError"})
+ @Expose
+ @Nullable
+ public Boolean continueOnError;
+
+ /**
+ * The Description.
+ * The description of the taskDefinition.
+ */
+ @SerializedName(value = "description", alternate = {"Description"})
+ @Expose
+ @Nullable
+ public String description;
+
+ /**
+ * The Display Name.
+ * The display name of the taskDefinition.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "displayName", alternate = {"DisplayName"})
+ @Expose
+ @Nullable
+ public String displayName;
+
+ /**
+ * The Parameters.
+ * The parameters that must be supplied when creating a workflow task object.Supports $filter(any).
+ */
+ @SerializedName(value = "parameters", alternate = {"Parameters"})
+ @Expose
+ @Nullable
+ public java.util.List parameters;
+
+ /**
+ * The Version.
+ * The version number of the taskDefinition. New records are pushed when we add support for new parameters.Supports $filter(ge, gt, le, lt, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "version", alternate = {"Version"})
+ @Expose
+ @Nullable
+ public Integer version;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskProcessingResult.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskProcessingResult.java
new file mode 100644
index 00000000000..e29a6a279f3
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskProcessingResult.java
@@ -0,0 +1,104 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowProcessingStatus;
+import com.microsoft.graph.models.User;
+import com.microsoft.graph.identitygovernance.models.Task;
+import com.microsoft.graph.models.Entity;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result.
+ */
+public class TaskProcessingResult extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Completed Date Time.
+ * The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "completedDateTime", alternate = {"CompletedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime completedDateTime;
+
+ /**
+ * The Created Date Time.
+ * The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime createdDateTime;
+
+ /**
+ * The Failure Reason.
+ * Describes why the taskProcessingResult has failed.
+ */
+ @SerializedName(value = "failureReason", alternate = {"FailureReason"})
+ @Expose
+ @Nullable
+ public String failureReason;
+
+ /**
+ * The Processing Status.
+ * Describes the execution status of the taskProcessingResult. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "processingStatus", alternate = {"ProcessingStatus"})
+ @Expose
+ @Nullable
+ public LifecycleWorkflowProcessingStatus processingStatus;
+
+ /**
+ * The Started Date Time.
+ * The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "startedDateTime", alternate = {"StartedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime startedDateTime;
+
+ /**
+ * The Subject.
+ * The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand.
+ */
+ @SerializedName(value = "subject", alternate = {"Subject"})
+ @Expose
+ @Nullable
+ public User subject;
+
+ /**
+ * The Task.
+ * The related workflow task
+ */
+ @SerializedName(value = "task", alternate = {"Task"})
+ @Expose
+ @Nullable
+ public Task task;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskProcessingResultResumeParameterSet.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskProcessingResultResumeParameterSet.java
new file mode 100644
index 00000000000..8c1bcc13b78
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskProcessingResultResumeParameterSet.java
@@ -0,0 +1,153 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Resume Parameter Set.
+ */
+public class TaskProcessingResultResumeParameterSet {
+ /**
+ * The source.
+ *
+ */
+ @SerializedName(value = "source", alternate = {"Source"})
+ @Expose
+ @Nullable
+ public String source;
+
+ /**
+ * The type.
+ *
+ */
+ @SerializedName(value = "type", alternate = {"Type"})
+ @Expose
+ @Nullable
+ public String type;
+
+ /**
+ * The data.
+ *
+ */
+ @SerializedName(value = "data", alternate = {"Data"})
+ @Expose
+ @Nullable
+ public CustomTaskExtensionCallbackData data;
+
+
+ /**
+ * Instiaciates a new TaskProcessingResultResumeParameterSet
+ */
+ public TaskProcessingResultResumeParameterSet() {}
+ /**
+ * Instiaciates a new TaskProcessingResultResumeParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected TaskProcessingResultResumeParameterSet(@Nonnull final TaskProcessingResultResumeParameterSetBuilder builder) {
+ this.source = builder.source;
+ this.type = builder.type;
+ this.data = builder.data;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static TaskProcessingResultResumeParameterSetBuilder newBuilder() {
+ return new TaskProcessingResultResumeParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the TaskProcessingResultResumeParameterSet
+ */
+ public static final class TaskProcessingResultResumeParameterSetBuilder {
+ /**
+ * The source parameter value
+ */
+ @Nullable
+ protected String source;
+ /**
+ * Sets the Source
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public TaskProcessingResultResumeParameterSetBuilder withSource(@Nullable final String val) {
+ this.source = val;
+ return this;
+ }
+ /**
+ * The type parameter value
+ */
+ @Nullable
+ protected String type;
+ /**
+ * Sets the Type
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public TaskProcessingResultResumeParameterSetBuilder withType(@Nullable final String val) {
+ this.type = val;
+ return this;
+ }
+ /**
+ * The data parameter value
+ */
+ @Nullable
+ protected CustomTaskExtensionCallbackData data;
+ /**
+ * Sets the Data
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public TaskProcessingResultResumeParameterSetBuilder withData(@Nullable final CustomTaskExtensionCallbackData val) {
+ this.data = val;
+ return this;
+ }
+ /**
+ * Instanciates a new TaskProcessingResultResumeParameterSetBuilder
+ */
+ @Nullable
+ protected TaskProcessingResultResumeParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public TaskProcessingResultResumeParameterSet build() {
+ return new TaskProcessingResultResumeParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.source != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("source", source));
+ }
+ if(this.type != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("type", type));
+ }
+ if(this.data != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("data", data));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReport.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReport.java
new file mode 100644
index 00000000000..6b558039de2
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReport.java
@@ -0,0 +1,155 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowProcessingStatus;
+import com.microsoft.graph.identitygovernance.models.Task;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report.
+ */
+public class TaskReport extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Completed Date Time.
+ * The date time that the associated run completed. Value is null if the run has not completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "completedDateTime", alternate = {"CompletedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime completedDateTime;
+
+ /**
+ * The Failed Users Count.
+ * The number of users in the run execution for which the associated task failed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "failedUsersCount", alternate = {"FailedUsersCount"})
+ @Expose
+ @Nullable
+ public Integer failedUsersCount;
+
+ /**
+ * The Last Updated Date Time.
+ * The date and time that the task report was last updated.
+ */
+ @SerializedName(value = "lastUpdatedDateTime", alternate = {"LastUpdatedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime lastUpdatedDateTime;
+
+ /**
+ * The Processing Status.
+ * The processing status of the associated task based on the taskProcessingResults. The possible values are based on the number of queued, inProgress, completed, completedWithErrors, canceled, failed, and unknownFutureValue.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "processingStatus", alternate = {"ProcessingStatus"})
+ @Expose
+ @Nullable
+ public LifecycleWorkflowProcessingStatus processingStatus;
+
+ /**
+ * The Run Id.
+ * The unique identifier of the associated run.
+ */
+ @SerializedName(value = "runId", alternate = {"RunId"})
+ @Expose
+ @Nullable
+ public String runId;
+
+ /**
+ * The Started Date Time.
+ * The date time that the associated run started. Value is null if the run has not started.
+ */
+ @SerializedName(value = "startedDateTime", alternate = {"StartedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime startedDateTime;
+
+ /**
+ * The Successful Users Count.
+ * The number of users in the run execution for which the associated task succeeded.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "successfulUsersCount", alternate = {"SuccessfulUsersCount"})
+ @Expose
+ @Nullable
+ public Integer successfulUsersCount;
+
+ /**
+ * The Total Users Count.
+ * The total number of users in the run execution for which the associated task was scheduled to execute.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "totalUsersCount", alternate = {"TotalUsersCount"})
+ @Expose
+ @Nullable
+ public Integer totalUsersCount;
+
+ /**
+ * The Unprocessed Users Count.
+ * The number of users in the run execution for which the associated task is queued, in progress, or canceled.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "unprocessedUsersCount", alternate = {"UnprocessedUsersCount"})
+ @Expose
+ @Nullable
+ public Integer unprocessedUsersCount;
+
+ /**
+ * The Task.
+ * The related lifecycle workflow task.Supports $filter(eq, ne) and $expand.
+ */
+ @SerializedName(value = "task", alternate = {"Task"})
+ @Expose
+ @Nullable
+ public Task task;
+
+ /**
+ * The Task Definition.
+ * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand.
+ */
+ @SerializedName(value = "taskDefinition", alternate = {"TaskDefinition"})
+ @Expose
+ @Nullable
+ public TaskDefinition taskDefinition;
+
+ /**
+ * The Task Processing Results.
+ * The related lifecycle workflow taskProcessingResults.
+ */
+ @SerializedName(value = "taskProcessingResults", alternate = {"TaskProcessingResults"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage taskProcessingResults;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("taskProcessingResults")) {
+ taskProcessingResults = serializer.deserializeObject(json.get("taskProcessingResults"), com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReportSummary.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReportSummary.java
new file mode 100644
index 00000000000..bc39a2fc231
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReportSummary.java
@@ -0,0 +1,86 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Summary.
+ */
+public class TaskReportSummary implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Failed Tasks.
+ * The number of failed tasks in a report.
+ */
+ @SerializedName(value = "failedTasks", alternate = {"FailedTasks"})
+ @Expose
+ @Nullable
+ public Integer failedTasks;
+
+ /**
+ * The Successful Tasks.
+ * The total number of successful tasks in a report.
+ */
+ @SerializedName(value = "successfulTasks", alternate = {"SuccessfulTasks"})
+ @Expose
+ @Nullable
+ public Integer successfulTasks;
+
+ /**
+ * The Total Tasks.
+ * The total number of tasks in a report.
+ */
+ @SerializedName(value = "totalTasks", alternate = {"TotalTasks"})
+ @Expose
+ @Nullable
+ public Integer totalTasks;
+
+ /**
+ * The Unprocessed Tasks.
+ * The number of unprocessed tasks in a report.
+ */
+ @SerializedName(value = "unprocessedTasks", alternate = {"UnprocessedTasks"})
+ @Expose
+ @Nullable
+ public Integer unprocessedTasks;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReportSummaryParameterSet.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReportSummaryParameterSet.java
new file mode 100644
index 00000000000..2619a00f14f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TaskReportSummaryParameterSet.java
@@ -0,0 +1,125 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+import com.microsoft.graph.identitygovernance.models.TaskReportSummary;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Summary Parameter Set.
+ */
+public class TaskReportSummaryParameterSet {
+ /**
+ * The start Date Time.
+ *
+ */
+ @SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime startDateTime;
+
+ /**
+ * The end Date Time.
+ *
+ */
+ @SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime endDateTime;
+
+
+ /**
+ * Instiaciates a new TaskReportSummaryParameterSet
+ */
+ public TaskReportSummaryParameterSet() {}
+ /**
+ * Instiaciates a new TaskReportSummaryParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected TaskReportSummaryParameterSet(@Nonnull final TaskReportSummaryParameterSetBuilder builder) {
+ this.startDateTime = builder.startDateTime;
+ this.endDateTime = builder.endDateTime;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static TaskReportSummaryParameterSetBuilder newBuilder() {
+ return new TaskReportSummaryParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the TaskReportSummaryParameterSet
+ */
+ public static final class TaskReportSummaryParameterSetBuilder {
+ /**
+ * The startDateTime parameter value
+ */
+ @Nullable
+ protected java.time.OffsetDateTime startDateTime;
+ /**
+ * Sets the StartDateTime
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public TaskReportSummaryParameterSetBuilder withStartDateTime(@Nullable final java.time.OffsetDateTime val) {
+ this.startDateTime = val;
+ return this;
+ }
+ /**
+ * The endDateTime parameter value
+ */
+ @Nullable
+ protected java.time.OffsetDateTime endDateTime;
+ /**
+ * Sets the EndDateTime
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public TaskReportSummaryParameterSetBuilder withEndDateTime(@Nullable final java.time.OffsetDateTime val) {
+ this.endDateTime = val;
+ return this;
+ }
+ /**
+ * Instanciates a new TaskReportSummaryParameterSetBuilder
+ */
+ @Nullable
+ protected TaskReportSummaryParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public TaskReportSummaryParameterSet build() {
+ return new TaskReportSummaryParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.startDateTime != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("startDateTime", startDateTime));
+ }
+ if(this.endDateTime != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("endDateTime", endDateTime));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TimeBasedAttributeTrigger.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TimeBasedAttributeTrigger.java
new file mode 100644
index 00000000000..ee47fea0f97
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TimeBasedAttributeTrigger.java
@@ -0,0 +1,57 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.identitygovernance.models.WorkflowTriggerTimeBasedAttribute;
+import com.microsoft.graph.identitygovernance.models.WorkflowExecutionTrigger;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Time Based Attribute Trigger.
+ */
+public class TimeBasedAttributeTrigger extends WorkflowExecutionTrigger implements IJsonBackedObject {
+
+
+ /**
+ * The Offset In Days.
+ * How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date. The value can range between -180 and 180 days.
+ */
+ @SerializedName(value = "offsetInDays", alternate = {"OffsetInDays"})
+ @Expose
+ @Nullable
+ public Integer offsetInDays;
+
+ /**
+ * The Time Based Attribute.
+ * Determines which time-based identity property to reference. The possible values are: employeeHireDate, employeeLeaveDateTime, createdDateTime, unknownFutureValue.
+ */
+ @SerializedName(value = "timeBasedAttribute", alternate = {"TimeBasedAttribute"})
+ @Expose
+ @Nullable
+ public WorkflowTriggerTimeBasedAttribute timeBasedAttribute;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TriggerAndScopeBasedConditions.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TriggerAndScopeBasedConditions.java
new file mode 100644
index 00000000000..19fa5d23b1f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TriggerAndScopeBasedConditions.java
@@ -0,0 +1,58 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.SubjectSet;
+import com.microsoft.graph.identitygovernance.models.WorkflowExecutionTrigger;
+import com.microsoft.graph.identitygovernance.models.WorkflowExecutionConditions;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Trigger And Scope Based Conditions.
+ */
+public class TriggerAndScopeBasedConditions extends WorkflowExecutionConditions implements IJsonBackedObject {
+
+
+ /**
+ * The Scope.
+ * Defines who the workflow runs for.
+ */
+ @SerializedName(value = "scope", alternate = {"Scope"})
+ @Expose
+ @Nullable
+ public SubjectSet scope;
+
+ /**
+ * The Trigger.
+ * What triggers a workflow to run.
+ */
+ @SerializedName(value = "trigger", alternate = {"Trigger"})
+ @Expose
+ @Nullable
+ public WorkflowExecutionTrigger trigger;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserProcessingResult.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserProcessingResult.java
new file mode 100644
index 00000000000..8cea1bee1b9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserProcessingResult.java
@@ -0,0 +1,146 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowProcessingStatus;
+import com.microsoft.graph.identitygovernance.models.WorkflowExecutionType;
+import com.microsoft.graph.models.User;
+import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result.
+ */
+public class UserProcessingResult extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Completed Date Time.
+ * The date time that the workflow execution for a user completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "completedDateTime", alternate = {"CompletedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime completedDateTime;
+
+ /**
+ * The Failed Tasks Count.
+ * The number of tasks that failed in the workflow execution.
+ */
+ @SerializedName(value = "failedTasksCount", alternate = {"FailedTasksCount"})
+ @Expose
+ @Nullable
+ public Integer failedTasksCount;
+
+ /**
+ * The Processing Status.
+ * The workflow execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "processingStatus", alternate = {"ProcessingStatus"})
+ @Expose
+ @Nullable
+ public LifecycleWorkflowProcessingStatus processingStatus;
+
+ /**
+ * The Scheduled Date Time.
+ * The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "scheduledDateTime", alternate = {"ScheduledDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime scheduledDateTime;
+
+ /**
+ * The Started Date Time.
+ * The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "startedDateTime", alternate = {"StartedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime startedDateTime;
+
+ /**
+ * The Total Tasks Count.
+ * The total number of tasks that in the workflow execution.
+ */
+ @SerializedName(value = "totalTasksCount", alternate = {"TotalTasksCount"})
+ @Expose
+ @Nullable
+ public Integer totalTasksCount;
+
+ /**
+ * The Total Unprocessed Tasks Count.
+ * The total number of unprocessed tasks for the workflow.
+ */
+ @SerializedName(value = "totalUnprocessedTasksCount", alternate = {"TotalUnprocessedTasksCount"})
+ @Expose
+ @Nullable
+ public Integer totalUnprocessedTasksCount;
+
+ /**
+ * The Workflow Execution Type.
+ * Describes the execution type of the workflow. The possible values are: scheduled, onDemand, unknownFutureValue.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "workflowExecutionType", alternate = {"WorkflowExecutionType"})
+ @Expose
+ @Nullable
+ public WorkflowExecutionType workflowExecutionType;
+
+ /**
+ * The Workflow Version.
+ * The version of the workflow that was executed.
+ */
+ @SerializedName(value = "workflowVersion", alternate = {"WorkflowVersion"})
+ @Expose
+ @Nullable
+ public Integer workflowVersion;
+
+ /**
+ * The Subject.
+ * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand.
+ */
+ @SerializedName(value = "subject", alternate = {"Subject"})
+ @Expose
+ @Nullable
+ public User subject;
+
+ /**
+ * The Task Processing Results.
+ * The associated individual task execution.
+ */
+ @SerializedName(value = "taskProcessingResults", alternate = {"TaskProcessingResults"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage taskProcessingResults;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("taskProcessingResults")) {
+ taskProcessingResults = serializer.deserializeObject(json.get("taskProcessingResults"), com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserProcessingResultSummaryParameterSet.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserProcessingResultSummaryParameterSet.java
new file mode 100644
index 00000000000..7c4e775b157
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserProcessingResultSummaryParameterSet.java
@@ -0,0 +1,125 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Summary Parameter Set.
+ */
+public class UserProcessingResultSummaryParameterSet {
+ /**
+ * The start Date Time.
+ *
+ */
+ @SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime startDateTime;
+
+ /**
+ * The end Date Time.
+ *
+ */
+ @SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime endDateTime;
+
+
+ /**
+ * Instiaciates a new UserProcessingResultSummaryParameterSet
+ */
+ public UserProcessingResultSummaryParameterSet() {}
+ /**
+ * Instiaciates a new UserProcessingResultSummaryParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected UserProcessingResultSummaryParameterSet(@Nonnull final UserProcessingResultSummaryParameterSetBuilder builder) {
+ this.startDateTime = builder.startDateTime;
+ this.endDateTime = builder.endDateTime;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static UserProcessingResultSummaryParameterSetBuilder newBuilder() {
+ return new UserProcessingResultSummaryParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the UserProcessingResultSummaryParameterSet
+ */
+ public static final class UserProcessingResultSummaryParameterSetBuilder {
+ /**
+ * The startDateTime parameter value
+ */
+ @Nullable
+ protected java.time.OffsetDateTime startDateTime;
+ /**
+ * Sets the StartDateTime
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public UserProcessingResultSummaryParameterSetBuilder withStartDateTime(@Nullable final java.time.OffsetDateTime val) {
+ this.startDateTime = val;
+ return this;
+ }
+ /**
+ * The endDateTime parameter value
+ */
+ @Nullable
+ protected java.time.OffsetDateTime endDateTime;
+ /**
+ * Sets the EndDateTime
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public UserProcessingResultSummaryParameterSetBuilder withEndDateTime(@Nullable final java.time.OffsetDateTime val) {
+ this.endDateTime = val;
+ return this;
+ }
+ /**
+ * Instanciates a new UserProcessingResultSummaryParameterSetBuilder
+ */
+ @Nullable
+ protected UserProcessingResultSummaryParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public UserProcessingResultSummaryParameterSet build() {
+ return new UserProcessingResultSummaryParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.startDateTime != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("startDateTime", startDateTime));
+ }
+ if(this.endDateTime != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("endDateTime", endDateTime));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserSummary.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserSummary.java
new file mode 100644
index 00000000000..65d7a00406d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UserSummary.java
@@ -0,0 +1,95 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Summary.
+ */
+public class UserSummary implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Failed Tasks.
+ * The number of failed tasks for users in a user summary.
+ */
+ @SerializedName(value = "failedTasks", alternate = {"FailedTasks"})
+ @Expose
+ @Nullable
+ public Integer failedTasks;
+
+ /**
+ * The Failed Users.
+ * The number of failed users in a user summary.
+ */
+ @SerializedName(value = "failedUsers", alternate = {"FailedUsers"})
+ @Expose
+ @Nullable
+ public Integer failedUsers;
+
+ /**
+ * The Successful Users.
+ * The number of successful users in a user summary.
+ */
+ @SerializedName(value = "successfulUsers", alternate = {"SuccessfulUsers"})
+ @Expose
+ @Nullable
+ public Integer successfulUsers;
+
+ /**
+ * The Total Tasks.
+ * The total tasks of users in a user summary.
+ */
+ @SerializedName(value = "totalTasks", alternate = {"TotalTasks"})
+ @Expose
+ @Nullable
+ public Integer totalTasks;
+
+ /**
+ * The Total Users.
+ * The total number of users in a user summary
+ */
+ @SerializedName(value = "totalUsers", alternate = {"TotalUsers"})
+ @Expose
+ @Nullable
+ public Integer totalUsers;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UsersProcessingSummary.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UsersProcessingSummary.java
new file mode 100644
index 00000000000..be573d8721a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/UsersProcessingSummary.java
@@ -0,0 +1,95 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Users Processing Summary.
+ */
+public class UsersProcessingSummary implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Failed Tasks.
+ *
+ */
+ @SerializedName(value = "failedTasks", alternate = {"FailedTasks"})
+ @Expose
+ @Nullable
+ public Integer failedTasks;
+
+ /**
+ * The Failed Users.
+ *
+ */
+ @SerializedName(value = "failedUsers", alternate = {"FailedUsers"})
+ @Expose
+ @Nullable
+ public Integer failedUsers;
+
+ /**
+ * The Successful Users.
+ *
+ */
+ @SerializedName(value = "successfulUsers", alternate = {"SuccessfulUsers"})
+ @Expose
+ @Nullable
+ public Integer successfulUsers;
+
+ /**
+ * The Total Tasks.
+ *
+ */
+ @SerializedName(value = "totalTasks", alternate = {"TotalTasks"})
+ @Expose
+ @Nullable
+ public Integer totalTasks;
+
+ /**
+ * The Total Users.
+ *
+ */
+ @SerializedName(value = "totalUsers", alternate = {"TotalUsers"})
+ @Expose
+ @Nullable
+ public Integer totalUsers;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/ValueType.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/ValueType.java
new file mode 100644
index 00000000000..09230efa34d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/ValueType.java
@@ -0,0 +1,38 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+
+/**
+ * The Enum Value Type.
+*/
+public enum ValueType
+{
+ /**
+ * enum
+ */
+ ENUM,
+ /**
+ * string
+ */
+ STRING,
+ /**
+ * int
+ */
+ INT,
+ /**
+ * bool
+ */
+ BOOL,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For ValueType values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Workflow.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Workflow.java
new file mode 100644
index 00000000000..51d9c6426f0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/Workflow.java
@@ -0,0 +1,141 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.identitygovernance.models.WorkflowBase;
+import com.microsoft.graph.identitygovernance.requests.RunCollectionPage;
+import com.microsoft.graph.identitygovernance.requests.TaskReportCollectionPage;
+import com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow.
+ */
+public class Workflow extends WorkflowBase implements IJsonBackedObject {
+
+
+ /**
+ * The Deleted Date Time.
+ * When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "deletedDateTime", alternate = {"DeletedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime deletedDateTime;
+
+ /**
+ * The Id.
+ * Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "id", alternate = {"Id"})
+ @Expose
+ @Nullable
+ public String id;
+
+ /**
+ * The Next Schedule Run Date Time.
+ * The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy.
+ */
+ @SerializedName(value = "nextScheduleRunDateTime", alternate = {"NextScheduleRunDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime nextScheduleRunDateTime;
+
+ /**
+ * The Version.
+ * The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "version", alternate = {"Version"})
+ @Expose
+ @Nullable
+ public Integer version;
+
+ /**
+ * The Execution Scope.
+ * The unique identifier of the Azure AD identity that last modified the workflow object.
+ */
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionPage executionScope;
+
+ /**
+ * The Runs.
+ * Workflow runs.
+ */
+ @SerializedName(value = "runs", alternate = {"Runs"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.RunCollectionPage runs;
+
+ /**
+ * The Task Reports.
+ * Represents the aggregation of task execution data for tasks within a workflow object.
+ */
+ @SerializedName(value = "taskReports", alternate = {"TaskReports"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.TaskReportCollectionPage taskReports;
+
+ /**
+ * The User Processing Results.
+ * Per-user workflow execution results.
+ */
+ @SerializedName(value = "userProcessingResults", alternate = {"UserProcessingResults"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionPage userProcessingResults;
+
+ /**
+ * The Versions.
+ * The workflow versions that are available.
+ */
+ @SerializedName(value = "versions", alternate = {"Versions"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionPage versions;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("executionScope")) {
+ executionScope = serializer.deserializeObject(json.get("executionScope"), com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionPage.class);
+ }
+
+ if (json.has("runs")) {
+ runs = serializer.deserializeObject(json.get("runs"), com.microsoft.graph.identitygovernance.requests.RunCollectionPage.class);
+ }
+
+ if (json.has("taskReports")) {
+ taskReports = serializer.deserializeObject(json.get("taskReports"), com.microsoft.graph.identitygovernance.requests.TaskReportCollectionPage.class);
+ }
+
+ if (json.has("userProcessingResults")) {
+ userProcessingResults = serializer.deserializeObject(json.get("userProcessingResults"), com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionPage.class);
+ }
+
+ if (json.has("versions")) {
+ versions = serializer.deserializeObject(json.get("versions"), com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowActivateParameterSet.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowActivateParameterSet.java
new file mode 100644
index 00000000000..62ac55f1140
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowActivateParameterSet.java
@@ -0,0 +1,97 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+import com.microsoft.graph.models.User;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Activate Parameter Set.
+ */
+public class WorkflowActivateParameterSet {
+ /**
+ * The subjects.
+ *
+ */
+ @SerializedName(value = "subjects", alternate = {"Subjects"})
+ @Expose
+ @Nullable
+ public java.util.List subjects;
+
+
+ /**
+ * Instiaciates a new WorkflowActivateParameterSet
+ */
+ public WorkflowActivateParameterSet() {}
+ /**
+ * Instiaciates a new WorkflowActivateParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected WorkflowActivateParameterSet(@Nonnull final WorkflowActivateParameterSetBuilder builder) {
+ this.subjects = builder.subjects;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static WorkflowActivateParameterSetBuilder newBuilder() {
+ return new WorkflowActivateParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the WorkflowActivateParameterSet
+ */
+ public static final class WorkflowActivateParameterSetBuilder {
+ /**
+ * The subjects parameter value
+ */
+ @Nullable
+ protected java.util.List subjects;
+ /**
+ * Sets the Subjects
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public WorkflowActivateParameterSetBuilder withSubjects(@Nullable final java.util.List val) {
+ this.subjects = val;
+ return this;
+ }
+ /**
+ * Instanciates a new WorkflowActivateParameterSetBuilder
+ */
+ @Nullable
+ protected WorkflowActivateParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public WorkflowActivateParameterSet build() {
+ return new WorkflowActivateParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.subjects != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("subjects", subjects));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowBase.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowBase.java
new file mode 100644
index 00000000000..9ca6338ad15
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowBase.java
@@ -0,0 +1,158 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowCategory;
+import com.microsoft.graph.identitygovernance.models.WorkflowExecutionConditions;
+import com.microsoft.graph.models.User;
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Base.
+ */
+public class WorkflowBase implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Category.
+ * The category of the workflow. The possible values are: joiner, leaver, unknownFutureValue.
+ */
+ @SerializedName(value = "category", alternate = {"Category"})
+ @Expose
+ @Nullable
+ public LifecycleWorkflowCategory category;
+
+ /**
+ * The Created Date Time.
+ * When a workflow was created.
+ */
+ @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime createdDateTime;
+
+ /**
+ * The Description.
+ * A string that describes the purpose of the workflow.
+ */
+ @SerializedName(value = "description", alternate = {"Description"})
+ @Expose
+ @Nullable
+ public String description;
+
+ /**
+ * The Display Name.
+ * A string to identify the workflow.
+ */
+ @SerializedName(value = "displayName", alternate = {"DisplayName"})
+ @Expose
+ @Nullable
+ public String displayName;
+
+ /**
+ * The Execution Conditions.
+ * Defines when and for who the workflow will run.
+ */
+ @SerializedName(value = "executionConditions", alternate = {"ExecutionConditions"})
+ @Expose
+ @Nullable
+ public WorkflowExecutionConditions executionConditions;
+
+ /**
+ * The Is Enabled.
+ * Whether the workflow is enabled or disabled. If this setting is true, the workflow can be run on demand or on schedule when isSchedulingEnabled is true.
+ */
+ @SerializedName(value = "isEnabled", alternate = {"IsEnabled"})
+ @Expose
+ @Nullable
+ public Boolean isEnabled;
+
+ /**
+ * The Is Scheduling Enabled.
+ * If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Cannot be true for a disabled workflow (where isEnabled is false).
+ */
+ @SerializedName(value = "isSchedulingEnabled", alternate = {"IsSchedulingEnabled"})
+ @Expose
+ @Nullable
+ public Boolean isSchedulingEnabled;
+
+ /**
+ * The Last Modified Date Time.
+ * When the workflow was last modified.
+ */
+ @SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime lastModifiedDateTime;
+
+ /**
+ * The Created By.
+ * The user who created the workflow.
+ */
+ @SerializedName(value = "createdBy", alternate = {"CreatedBy"})
+ @Expose
+ @Nullable
+ public User createdBy;
+
+ /**
+ * The Last Modified By.
+ * The unique identifier of the AAD identity that last modified the workflow.
+ */
+ @SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
+ @Expose
+ @Nullable
+ public User lastModifiedBy;
+
+ /**
+ * The Tasks.
+ * The tasks in the workflow.
+ */
+ @SerializedName(value = "tasks", alternate = {"Tasks"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.TaskCollectionPage tasks;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("tasks")) {
+ tasks = serializer.deserializeObject(json.get("tasks"), com.microsoft.graph.identitygovernance.requests.TaskCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowCreateNewVersionParameterSet.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowCreateNewVersionParameterSet.java
new file mode 100644
index 00000000000..02736d48ca4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowCreateNewVersionParameterSet.java
@@ -0,0 +1,97 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Create New Version Parameter Set.
+ */
+public class WorkflowCreateNewVersionParameterSet {
+ /**
+ * The workflow.
+ *
+ */
+ @SerializedName(value = "workflow", alternate = {"Workflow"})
+ @Expose
+ @Nullable
+ public Workflow workflow;
+
+
+ /**
+ * Instiaciates a new WorkflowCreateNewVersionParameterSet
+ */
+ public WorkflowCreateNewVersionParameterSet() {}
+ /**
+ * Instiaciates a new WorkflowCreateNewVersionParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected WorkflowCreateNewVersionParameterSet(@Nonnull final WorkflowCreateNewVersionParameterSetBuilder builder) {
+ this.workflow = builder.workflow;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static WorkflowCreateNewVersionParameterSetBuilder newBuilder() {
+ return new WorkflowCreateNewVersionParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the WorkflowCreateNewVersionParameterSet
+ */
+ public static final class WorkflowCreateNewVersionParameterSetBuilder {
+ /**
+ * The workflow parameter value
+ */
+ @Nullable
+ protected Workflow workflow;
+ /**
+ * Sets the Workflow
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public WorkflowCreateNewVersionParameterSetBuilder withWorkflow(@Nullable final Workflow val) {
+ this.workflow = val;
+ return this;
+ }
+ /**
+ * Instanciates a new WorkflowCreateNewVersionParameterSetBuilder
+ */
+ @Nullable
+ protected WorkflowCreateNewVersionParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public WorkflowCreateNewVersionParameterSet build() {
+ return new WorkflowCreateNewVersionParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.workflow != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("workflow", workflow));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionConditions.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionConditions.java
new file mode 100644
index 00000000000..15ac4460bc2
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionConditions.java
@@ -0,0 +1,50 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Execution Conditions.
+ */
+public class WorkflowExecutionConditions implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionTrigger.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionTrigger.java
new file mode 100644
index 00000000000..82650d10cfb
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionTrigger.java
@@ -0,0 +1,50 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Execution Trigger.
+ */
+public class WorkflowExecutionTrigger implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionType.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionType.java
new file mode 100644
index 00000000000..0eb35b3415a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowExecutionType.java
@@ -0,0 +1,30 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+
+/**
+ * The Enum Workflow Execution Type.
+*/
+public enum WorkflowExecutionType
+{
+ /**
+ * scheduled
+ */
+ SCHEDULED,
+ /**
+ * on Demand
+ */
+ ON_DEMAND,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For WorkflowExecutionType values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowRestoreParameterSet.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowRestoreParameterSet.java
new file mode 100644
index 00000000000..8e92dd25e3a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowRestoreParameterSet.java
@@ -0,0 +1,69 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Restore Parameter Set.
+ */
+public class WorkflowRestoreParameterSet {
+
+ /**
+ * Instiaciates a new WorkflowRestoreParameterSet
+ */
+ public WorkflowRestoreParameterSet() {}
+ /**
+ * Instiaciates a new WorkflowRestoreParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected WorkflowRestoreParameterSet(@Nonnull final WorkflowRestoreParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static WorkflowRestoreParameterSetBuilder newBuilder() {
+ return new WorkflowRestoreParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the WorkflowRestoreParameterSet
+ */
+ public static final class WorkflowRestoreParameterSetBuilder {
+ /**
+ * Instanciates a new WorkflowRestoreParameterSetBuilder
+ */
+ @Nullable
+ protected WorkflowRestoreParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public WorkflowRestoreParameterSet build() {
+ return new WorkflowRestoreParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowTemplate.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowTemplate.java
new file mode 100644
index 00000000000..800cd6b313e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowTemplate.java
@@ -0,0 +1,91 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowCategory;
+import com.microsoft.graph.identitygovernance.models.WorkflowExecutionConditions;
+import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.identitygovernance.requests.TaskCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Template.
+ */
+public class WorkflowTemplate extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Category.
+ * The category of the workflow template. The possible values are: joiner, mover, leaver,unknownFutureValue.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "category", alternate = {"Category"})
+ @Expose
+ @Nullable
+ public LifecycleWorkflowCategory category;
+
+ /**
+ * The Description.
+ * The description of the workflowTemplate.
+ */
+ @SerializedName(value = "description", alternate = {"Description"})
+ @Expose
+ @Nullable
+ public String description;
+
+ /**
+ * The Display Name.
+ * The display name of the workflowTemplate.Supports $filter(eq, ne) and $orderby.
+ */
+ @SerializedName(value = "displayName", alternate = {"DisplayName"})
+ @Expose
+ @Nullable
+ public String displayName;
+
+ /**
+ * The Execution Conditions.
+ * Conditions describing when to execute the workflow and the criteria to identify in-scope subject set.
+ */
+ @SerializedName(value = "executionConditions", alternate = {"ExecutionConditions"})
+ @Expose
+ @Nullable
+ public WorkflowExecutionConditions executionConditions;
+
+ /**
+ * The Tasks.
+ * Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default.
+ */
+ @SerializedName(value = "tasks", alternate = {"Tasks"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.TaskCollectionPage tasks;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("tasks")) {
+ tasks = serializer.deserializeObject(json.get("tasks"), com.microsoft.graph.identitygovernance.requests.TaskCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowTriggerTimeBasedAttribute.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowTriggerTimeBasedAttribute.java
new file mode 100644
index 00000000000..f2c44515e2a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowTriggerTimeBasedAttribute.java
@@ -0,0 +1,34 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+
+
+/**
+ * The Enum Workflow Trigger Time Based Attribute.
+*/
+public enum WorkflowTriggerTimeBasedAttribute
+{
+ /**
+ * employee Hire Date
+ */
+ EMPLOYEE_HIRE_DATE,
+ /**
+ * employee Leave Date Time
+ */
+ EMPLOYEE_LEAVE_DATE_TIME,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * created Date Time
+ */
+ CREATED_DATE_TIME,
+ /**
+ * For WorkflowTriggerTimeBasedAttribute values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowVersion.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowVersion.java
new file mode 100644
index 00000000000..79548261d31
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/WorkflowVersion.java
@@ -0,0 +1,47 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.identitygovernance.models.WorkflowBase;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Version.
+ */
+public class WorkflowVersion extends WorkflowBase implements IJsonBackedObject {
+
+
+ /**
+ * The Version Number.
+ * The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
+ */
+ @SerializedName(value = "versionNumber", alternate = {"VersionNumber"})
+ @Expose
+ @Nullable
+ public Integer versionNumber;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/CustomTaskExtensionRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/CustomTaskExtensionRequest.java
new file mode 100644
index 00000000000..bf14b996801
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/CustomTaskExtensionRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Request.
+ */
+public class CustomTaskExtensionRequest extends BaseRequest {
+
+ /**
+ * The request for the CustomTaskExtension
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public CustomTaskExtensionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, CustomTaskExtension.class);
+ }
+
+ /**
+ * Gets the CustomTaskExtension from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the CustomTaskExtension from the service
+ *
+ * @return the CustomTaskExtension from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public CustomTaskExtension get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public CustomTaskExtension delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this CustomTaskExtension with a source
+ *
+ * @param sourceCustomTaskExtension the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final CustomTaskExtension sourceCustomTaskExtension) {
+ return sendAsync(HttpMethod.PATCH, sourceCustomTaskExtension);
+ }
+
+ /**
+ * Patches this CustomTaskExtension with a source
+ *
+ * @param sourceCustomTaskExtension the source object with updates
+ * @return the updated CustomTaskExtension
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public CustomTaskExtension patch(@Nonnull final CustomTaskExtension sourceCustomTaskExtension) throws ClientException {
+ return send(HttpMethod.PATCH, sourceCustomTaskExtension);
+ }
+
+ /**
+ * Creates a CustomTaskExtension with a new object
+ *
+ * @param newCustomTaskExtension the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final CustomTaskExtension newCustomTaskExtension) {
+ return sendAsync(HttpMethod.POST, newCustomTaskExtension);
+ }
+
+ /**
+ * Creates a CustomTaskExtension with a new object
+ *
+ * @param newCustomTaskExtension the new object to create
+ * @return the created CustomTaskExtension
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public CustomTaskExtension post(@Nonnull final CustomTaskExtension newCustomTaskExtension) throws ClientException {
+ return send(HttpMethod.POST, newCustomTaskExtension);
+ }
+
+ /**
+ * Creates a CustomTaskExtension with a new object
+ *
+ * @param newCustomTaskExtension the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final CustomTaskExtension newCustomTaskExtension) {
+ return sendAsync(HttpMethod.PUT, newCustomTaskExtension);
+ }
+
+ /**
+ * Creates a CustomTaskExtension with a new object
+ *
+ * @param newCustomTaskExtension the object to create/update
+ * @return the created CustomTaskExtension
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public CustomTaskExtension put(@Nonnull final CustomTaskExtension newCustomTaskExtension) throws ClientException {
+ return send(HttpMethod.PUT, newCustomTaskExtension);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public CustomTaskExtensionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/CustomTaskExtensionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/CustomTaskExtensionRequestBuilder.java
new file mode 100644
index 00000000000..2d8b35475f4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/CustomTaskExtensionRequestBuilder.java
@@ -0,0 +1,79 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Task Extension Request Builder.
+ */
+public class CustomTaskExtensionRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the CustomTaskExtension
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public CustomTaskExtensionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the CustomTaskExtensionRequest instance
+ */
+ @Nonnull
+ public CustomTaskExtensionRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the CustomTaskExtensionRequest instance
+ */
+ @Nonnull
+ public CustomTaskExtensionRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder createdBy() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdBy"), getClient(), null);
+ }
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder lastModifiedBy() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("lastModifiedBy"), getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleManagementSettingsRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleManagementSettingsRequest.java
new file mode 100644
index 00000000000..4854d03fe32
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleManagementSettingsRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleManagementSettings;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Lifecycle Management Settings Request.
+ */
+public class LifecycleManagementSettingsRequest extends BaseRequest {
+
+ /**
+ * The request for the LifecycleManagementSettings
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public LifecycleManagementSettingsRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, LifecycleManagementSettings.class);
+ }
+
+ /**
+ * Gets the LifecycleManagementSettings from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the LifecycleManagementSettings from the service
+ *
+ * @return the LifecycleManagementSettings from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public LifecycleManagementSettings get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public LifecycleManagementSettings delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this LifecycleManagementSettings with a source
+ *
+ * @param sourceLifecycleManagementSettings the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final LifecycleManagementSettings sourceLifecycleManagementSettings) {
+ return sendAsync(HttpMethod.PATCH, sourceLifecycleManagementSettings);
+ }
+
+ /**
+ * Patches this LifecycleManagementSettings with a source
+ *
+ * @param sourceLifecycleManagementSettings the source object with updates
+ * @return the updated LifecycleManagementSettings
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public LifecycleManagementSettings patch(@Nonnull final LifecycleManagementSettings sourceLifecycleManagementSettings) throws ClientException {
+ return send(HttpMethod.PATCH, sourceLifecycleManagementSettings);
+ }
+
+ /**
+ * Creates a LifecycleManagementSettings with a new object
+ *
+ * @param newLifecycleManagementSettings the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final LifecycleManagementSettings newLifecycleManagementSettings) {
+ return sendAsync(HttpMethod.POST, newLifecycleManagementSettings);
+ }
+
+ /**
+ * Creates a LifecycleManagementSettings with a new object
+ *
+ * @param newLifecycleManagementSettings the new object to create
+ * @return the created LifecycleManagementSettings
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public LifecycleManagementSettings post(@Nonnull final LifecycleManagementSettings newLifecycleManagementSettings) throws ClientException {
+ return send(HttpMethod.POST, newLifecycleManagementSettings);
+ }
+
+ /**
+ * Creates a LifecycleManagementSettings with a new object
+ *
+ * @param newLifecycleManagementSettings the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final LifecycleManagementSettings newLifecycleManagementSettings) {
+ return sendAsync(HttpMethod.PUT, newLifecycleManagementSettings);
+ }
+
+ /**
+ * Creates a LifecycleManagementSettings with a new object
+ *
+ * @param newLifecycleManagementSettings the object to create/update
+ * @return the created LifecycleManagementSettings
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public LifecycleManagementSettings put(@Nonnull final LifecycleManagementSettings newLifecycleManagementSettings) throws ClientException {
+ return send(HttpMethod.PUT, newLifecycleManagementSettings);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public LifecycleManagementSettingsRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public LifecycleManagementSettingsRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleManagementSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleManagementSettingsRequestBuilder.java
new file mode 100644
index 00000000000..7a24281149d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleManagementSettingsRequestBuilder.java
@@ -0,0 +1,59 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleManagementSettings;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Lifecycle Management Settings Request Builder.
+ */
+public class LifecycleManagementSettingsRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the LifecycleManagementSettings
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public LifecycleManagementSettingsRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the LifecycleManagementSettingsRequest instance
+ */
+ @Nonnull
+ public LifecycleManagementSettingsRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the LifecycleManagementSettingsRequest instance
+ */
+ @Nonnull
+ public LifecycleManagementSettingsRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.LifecycleManagementSettingsRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleWorkflowsContainerRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleWorkflowsContainerRequest.java
new file mode 100644
index 00000000000..f44a73689b2
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleWorkflowsContainerRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Lifecycle Workflows Container Request.
+ */
+public class LifecycleWorkflowsContainerRequest extends BaseRequest {
+
+ /**
+ * The request for the LifecycleWorkflowsContainer
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public LifecycleWorkflowsContainerRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, LifecycleWorkflowsContainer.class);
+ }
+
+ /**
+ * Gets the LifecycleWorkflowsContainer from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the LifecycleWorkflowsContainer from the service
+ *
+ * @return the LifecycleWorkflowsContainer from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public LifecycleWorkflowsContainer get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public LifecycleWorkflowsContainer delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this LifecycleWorkflowsContainer with a source
+ *
+ * @param sourceLifecycleWorkflowsContainer the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final LifecycleWorkflowsContainer sourceLifecycleWorkflowsContainer) {
+ return sendAsync(HttpMethod.PATCH, sourceLifecycleWorkflowsContainer);
+ }
+
+ /**
+ * Patches this LifecycleWorkflowsContainer with a source
+ *
+ * @param sourceLifecycleWorkflowsContainer the source object with updates
+ * @return the updated LifecycleWorkflowsContainer
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public LifecycleWorkflowsContainer patch(@Nonnull final LifecycleWorkflowsContainer sourceLifecycleWorkflowsContainer) throws ClientException {
+ return send(HttpMethod.PATCH, sourceLifecycleWorkflowsContainer);
+ }
+
+ /**
+ * Creates a LifecycleWorkflowsContainer with a new object
+ *
+ * @param newLifecycleWorkflowsContainer the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final LifecycleWorkflowsContainer newLifecycleWorkflowsContainer) {
+ return sendAsync(HttpMethod.POST, newLifecycleWorkflowsContainer);
+ }
+
+ /**
+ * Creates a LifecycleWorkflowsContainer with a new object
+ *
+ * @param newLifecycleWorkflowsContainer the new object to create
+ * @return the created LifecycleWorkflowsContainer
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public LifecycleWorkflowsContainer post(@Nonnull final LifecycleWorkflowsContainer newLifecycleWorkflowsContainer) throws ClientException {
+ return send(HttpMethod.POST, newLifecycleWorkflowsContainer);
+ }
+
+ /**
+ * Creates a LifecycleWorkflowsContainer with a new object
+ *
+ * @param newLifecycleWorkflowsContainer the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final LifecycleWorkflowsContainer newLifecycleWorkflowsContainer) {
+ return sendAsync(HttpMethod.PUT, newLifecycleWorkflowsContainer);
+ }
+
+ /**
+ * Creates a LifecycleWorkflowsContainer with a new object
+ *
+ * @param newLifecycleWorkflowsContainer the object to create/update
+ * @return the created LifecycleWorkflowsContainer
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public LifecycleWorkflowsContainer put(@Nonnull final LifecycleWorkflowsContainer newLifecycleWorkflowsContainer) throws ClientException {
+ return send(HttpMethod.PUT, newLifecycleWorkflowsContainer);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public LifecycleWorkflowsContainerRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public LifecycleWorkflowsContainerRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleWorkflowsContainerRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleWorkflowsContainerRequestBuilder.java
new file mode 100644
index 00000000000..11d3332ea5d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/LifecycleWorkflowsContainerRequestBuilder.java
@@ -0,0 +1,159 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Lifecycle Workflows Container Request Builder.
+ */
+public class LifecycleWorkflowsContainerRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the LifecycleWorkflowsContainer
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public LifecycleWorkflowsContainerRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the LifecycleWorkflowsContainerRequest instance
+ */
+ @Nonnull
+ public LifecycleWorkflowsContainerRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the LifecycleWorkflowsContainerRequest instance
+ */
+ @Nonnull
+ public LifecycleWorkflowsContainerRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.LifecycleWorkflowsContainerRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+ /**
+ * Gets a request builder for the CustomTaskExtension collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder customTaskExtensions() {
+ return new com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("customTaskExtensions"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the CustomTaskExtension item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionRequestBuilder customTaskExtensions(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionRequestBuilder(getRequestUrlWithAdditionalSegment("customTaskExtensions") + "/" + id, getClient(), null);
+ }
+
+ /**
+ * Gets the request builder for DeletedItemContainer
+ *
+ * @return the DeletedItemContainerRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.DeletedItemContainerRequestBuilder deletedItems() {
+ return new com.microsoft.graph.requests.DeletedItemContainerRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems"), getClient(), null);
+ }
+
+ /**
+ * Gets the request builder for LifecycleManagementSettings
+ *
+ * @return the LifecycleManagementSettingsRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.LifecycleManagementSettingsRequestBuilder settings() {
+ return new com.microsoft.graph.identitygovernance.requests.LifecycleManagementSettingsRequestBuilder(getRequestUrlWithAdditionalSegment("settings"), getClient(), null);
+ }
+ /**
+ * Gets a request builder for the TaskDefinition collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionRequestBuilder taskDefinitions() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("taskDefinitions"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the TaskDefinition item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskDefinitionRequestBuilder taskDefinitions(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("taskDefinitions") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the Workflow collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.WorkflowCollectionRequestBuilder workflows() {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("workflows"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the Workflow item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.WorkflowRequestBuilder workflows(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowRequestBuilder(getRequestUrlWithAdditionalSegment("workflows") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the WorkflowTemplate collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionRequestBuilder workflowTemplates() {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowTemplateCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("workflowTemplates"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the WorkflowTemplate item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.WorkflowTemplateRequestBuilder workflowTemplates(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowTemplateRequestBuilder(getRequestUrlWithAdditionalSegment("workflowTemplates") + "/" + id, getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunRequest.java
new file mode 100644
index 00000000000..0fd400aee7d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.models.RunSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Request.
+ */
+public class RunRequest extends BaseRequest {
+
+ /**
+ * The request for the Run
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public RunRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Run.class);
+ }
+
+ /**
+ * Gets the Run from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the Run from the service
+ *
+ * @return the Run from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Run get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public Run delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this Run with a source
+ *
+ * @param sourceRun the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final Run sourceRun) {
+ return sendAsync(HttpMethod.PATCH, sourceRun);
+ }
+
+ /**
+ * Patches this Run with a source
+ *
+ * @param sourceRun the source object with updates
+ * @return the updated Run
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Run patch(@Nonnull final Run sourceRun) throws ClientException {
+ return send(HttpMethod.PATCH, sourceRun);
+ }
+
+ /**
+ * Creates a Run with a new object
+ *
+ * @param newRun the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final Run newRun) {
+ return sendAsync(HttpMethod.POST, newRun);
+ }
+
+ /**
+ * Creates a Run with a new object
+ *
+ * @param newRun the new object to create
+ * @return the created Run
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Run post(@Nonnull final Run newRun) throws ClientException {
+ return send(HttpMethod.POST, newRun);
+ }
+
+ /**
+ * Creates a Run with a new object
+ *
+ * @param newRun the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final Run newRun) {
+ return sendAsync(HttpMethod.PUT, newRun);
+ }
+
+ /**
+ * Creates a Run with a new object
+ *
+ * @param newRun the object to create/update
+ * @return the created Run
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Run put(@Nonnull final Run newRun) throws ClientException {
+ return send(HttpMethod.PUT, newRun);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public RunRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public RunRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunRequestBuilder.java
new file mode 100644
index 00000000000..69bbf0ef958
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunRequestBuilder.java
@@ -0,0 +1,100 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.models.RunSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Request Builder.
+ */
+public class RunRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the Run
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public RunRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the RunRequest instance
+ */
+ @Nonnull
+ public RunRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the RunRequest instance
+ */
+ @Nonnull
+ public RunRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.RunRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+ /**
+ * Gets a request builder for the TaskProcessingResult collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder taskProcessingResults() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("taskProcessingResults"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the TaskProcessingResult item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder taskProcessingResults(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder(getRequestUrlWithAdditionalSegment("taskProcessingResults") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the UserProcessingResult collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequestBuilder userProcessingResults() {
+ return new com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userProcessingResults"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the UserProcessingResult item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultRequestBuilder userProcessingResults(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.UserProcessingResultRequestBuilder(getRequestUrlWithAdditionalSegment("userProcessingResults") + "/" + id, getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunSummaryRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunSummaryRequest.java
new file mode 100644
index 00000000000..110a8cefc1c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunSummaryRequest.java
@@ -0,0 +1,81 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.RunSummary;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.requests.RunSummaryRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.identitygovernance.models.RunSummaryParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Summary Request.
+ */
+public class RunSummaryRequest extends BaseRequest {
+ /**
+ * The request for this RunSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public RunSummaryRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, RunSummary.class);
+ }
+
+ /**
+ * Gets the RunSummary
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the RunSummary
+ *
+ * @return the RunSummary
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public RunSummary get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public RunSummaryRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public RunSummaryRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunSummaryRequestBuilder.java
new file mode 100644
index 00000000000..8cda66f7f80
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/RunSummaryRequestBuilder.java
@@ -0,0 +1,77 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.requests.RunSummaryRequest;
+import com.microsoft.graph.identitygovernance.models.Run;
+import com.microsoft.graph.identitygovernance.models.RunSummary;
+import com.microsoft.graph.http.BaseFunctionRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.RunSummaryParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Run Summary Request Builder.
+ */
+public class RunSummaryRequestBuilder extends BaseFunctionRequestBuilder {
+
+ /**
+ * The request builder for this RunSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public RunSummaryRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ /**
+ * The request builder for this RunSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public RunSummaryRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final RunSummaryParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ if(parameters != null) {
+ functionOptions = parameters.getFunctionOptions();
+ }
+ }
+
+ /**
+ * Creates the RunSummaryRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the RunSummaryRequest instance
+ */
+ @Nonnull
+ public RunSummaryRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the RunSummaryRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the RunSummaryRequest instance
+ */
+ @Nonnull
+ public RunSummaryRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final RunSummaryRequest request = new RunSummaryRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ for (com.microsoft.graph.options.FunctionOption option : functionOptions) {
+ request.addFunctionOption(option);
+ }
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionReferenceRequest.java
new file mode 100644
index 00000000000..eb9790f0768
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionReferenceRequest.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonPrimitive;
+import com.google.gson.JsonObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition Reference Request.
+ */
+public class TaskDefinitionReferenceRequest extends BaseReferenceRequest {
+
+ /**
+ * The request for the TaskDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskDefinitionReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskDefinition.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionReferenceRequestBuilder.java
new file mode 100644
index 00000000000..61575f2222d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionReferenceRequestBuilder.java
@@ -0,0 +1,37 @@
+
+// Template Source: BaseEntityReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition Reference Request Builder.
+ */
+public class TaskDefinitionReferenceRequestBuilder extends BaseReferenceRequestBuilder {
+
+ /**
+ * The request builder for the TaskDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskDefinitionReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskDefinitionReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionRequest.java
new file mode 100644
index 00000000000..b6fa409a664
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition Request.
+ */
+public class TaskDefinitionRequest extends BaseRequest {
+
+ /**
+ * The request for the TaskDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskDefinitionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskDefinition.class);
+ }
+
+ /**
+ * Gets the TaskDefinition from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the TaskDefinition from the service
+ *
+ * @return the TaskDefinition from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskDefinition get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public TaskDefinition delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this TaskDefinition with a source
+ *
+ * @param sourceTaskDefinition the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final TaskDefinition sourceTaskDefinition) {
+ return sendAsync(HttpMethod.PATCH, sourceTaskDefinition);
+ }
+
+ /**
+ * Patches this TaskDefinition with a source
+ *
+ * @param sourceTaskDefinition the source object with updates
+ * @return the updated TaskDefinition
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskDefinition patch(@Nonnull final TaskDefinition sourceTaskDefinition) throws ClientException {
+ return send(HttpMethod.PATCH, sourceTaskDefinition);
+ }
+
+ /**
+ * Creates a TaskDefinition with a new object
+ *
+ * @param newTaskDefinition the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final TaskDefinition newTaskDefinition) {
+ return sendAsync(HttpMethod.POST, newTaskDefinition);
+ }
+
+ /**
+ * Creates a TaskDefinition with a new object
+ *
+ * @param newTaskDefinition the new object to create
+ * @return the created TaskDefinition
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskDefinition post(@Nonnull final TaskDefinition newTaskDefinition) throws ClientException {
+ return send(HttpMethod.POST, newTaskDefinition);
+ }
+
+ /**
+ * Creates a TaskDefinition with a new object
+ *
+ * @param newTaskDefinition the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final TaskDefinition newTaskDefinition) {
+ return sendAsync(HttpMethod.PUT, newTaskDefinition);
+ }
+
+ /**
+ * Creates a TaskDefinition with a new object
+ *
+ * @param newTaskDefinition the object to create/update
+ * @return the created TaskDefinition
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskDefinition put(@Nonnull final TaskDefinition newTaskDefinition) throws ClientException {
+ return send(HttpMethod.PUT, newTaskDefinition);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionRequestBuilder.java
new file mode 100644
index 00000000000..7dc9761c9cf
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionRequestBuilder.java
@@ -0,0 +1,59 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition Request Builder.
+ */
+public class TaskDefinitionRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the TaskDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskDefinitionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the TaskDefinitionRequest instance
+ */
+ @Nonnull
+ public TaskDefinitionRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the TaskDefinitionRequest instance
+ */
+ @Nonnull
+ public TaskDefinitionRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskDefinitionRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionWithReferenceRequest.java
new file mode 100644
index 00000000000..b5593726c35
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionWithReferenceRequest.java
@@ -0,0 +1,63 @@
+// Template Source: BaseEntityWithReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseWithReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition With Reference Request.
+ */
+public class TaskDefinitionWithReferenceRequest extends BaseWithReferenceRequest {
+
+ /**
+ * The request for the TaskDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskDefinitionWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskDefinition.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionWithReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskDefinitionWithReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionWithReferenceRequestBuilder.java
new file mode 100644
index 00000000000..d628cef6614
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskDefinitionWithReferenceRequestBuilder.java
@@ -0,0 +1,36 @@
+// Template Source: BaseEntityWithReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseWithReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Definition With Reference Request Builder.
+ */
+public class TaskDefinitionWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder {
+
+ /**
+ * The request builder for the TaskDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskDefinitionWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskDefinitionWithReferenceRequest.class, TaskDefinitionReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultReferenceRequest.java
new file mode 100644
index 00000000000..2b46899ccdb
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultReferenceRequest.java
@@ -0,0 +1,65 @@
+// Template Source: BaseEntityReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonPrimitive;
+import com.google.gson.JsonObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Reference Request.
+ */
+public class TaskProcessingResultReferenceRequest extends BaseReferenceRequest {
+
+ /**
+ * The request for the TaskProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskProcessingResult.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultReferenceRequestBuilder.java
new file mode 100644
index 00000000000..a9a45af4961
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultReferenceRequestBuilder.java
@@ -0,0 +1,38 @@
+
+// Template Source: BaseEntityReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Reference Request Builder.
+ */
+public class TaskProcessingResultReferenceRequestBuilder extends BaseReferenceRequestBuilder {
+
+ /**
+ * The request builder for the TaskProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskProcessingResultReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultRequest.java
new file mode 100644
index 00000000000..0db5855f9b7
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Request.
+ */
+public class TaskProcessingResultRequest extends BaseRequest {
+
+ /**
+ * The request for the TaskProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskProcessingResult.class);
+ }
+
+ /**
+ * Gets the TaskProcessingResult from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the TaskProcessingResult from the service
+ *
+ * @return the TaskProcessingResult from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskProcessingResult get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public TaskProcessingResult delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this TaskProcessingResult with a source
+ *
+ * @param sourceTaskProcessingResult the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final TaskProcessingResult sourceTaskProcessingResult) {
+ return sendAsync(HttpMethod.PATCH, sourceTaskProcessingResult);
+ }
+
+ /**
+ * Patches this TaskProcessingResult with a source
+ *
+ * @param sourceTaskProcessingResult the source object with updates
+ * @return the updated TaskProcessingResult
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskProcessingResult patch(@Nonnull final TaskProcessingResult sourceTaskProcessingResult) throws ClientException {
+ return send(HttpMethod.PATCH, sourceTaskProcessingResult);
+ }
+
+ /**
+ * Creates a TaskProcessingResult with a new object
+ *
+ * @param newTaskProcessingResult the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final TaskProcessingResult newTaskProcessingResult) {
+ return sendAsync(HttpMethod.POST, newTaskProcessingResult);
+ }
+
+ /**
+ * Creates a TaskProcessingResult with a new object
+ *
+ * @param newTaskProcessingResult the new object to create
+ * @return the created TaskProcessingResult
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskProcessingResult post(@Nonnull final TaskProcessingResult newTaskProcessingResult) throws ClientException {
+ return send(HttpMethod.POST, newTaskProcessingResult);
+ }
+
+ /**
+ * Creates a TaskProcessingResult with a new object
+ *
+ * @param newTaskProcessingResult the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final TaskProcessingResult newTaskProcessingResult) {
+ return sendAsync(HttpMethod.PUT, newTaskProcessingResult);
+ }
+
+ /**
+ * Creates a TaskProcessingResult with a new object
+ *
+ * @param newTaskProcessingResult the object to create/update
+ * @return the created TaskProcessingResult
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskProcessingResult put(@Nonnull final TaskProcessingResult newTaskProcessingResult) throws ClientException {
+ return send(HttpMethod.PUT, newTaskProcessingResult);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultRequestBuilder.java
new file mode 100644
index 00000000000..712ed43f4d0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultRequestBuilder.java
@@ -0,0 +1,91 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResultResumeParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Request Builder.
+ */
+public class TaskProcessingResultRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the TaskProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the TaskProcessingResultRequest instance
+ */
+ @Nonnull
+ public TaskProcessingResultRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the TaskProcessingResultRequest instance
+ */
+ @Nonnull
+ public TaskProcessingResultRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder subject() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("subject"), getClient(), null);
+ }
+
+ /**
+ * Gets the request builder for Task
+ *
+ * @return the TaskWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskWithReferenceRequestBuilder task() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("task"), getClient(), null);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public TaskProcessingResultResumeRequestBuilder resume(@Nonnull final TaskProcessingResultResumeParameterSet parameters) {
+ return new TaskProcessingResultResumeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.identityGovernance.resume"), getClient(), null, parameters);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultResumeRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultResumeRequest.java
new file mode 100644
index 00000000000..747e30ba639
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultResumeRequest.java
@@ -0,0 +1,56 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultResumeRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResultResumeParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Resume Request.
+ */
+public class TaskProcessingResultResumeRequest extends BaseRequest {
+ /**
+ * The request for this TaskProcessingResultResume
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultResumeRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Void.class);
+ }
+
+ /** The body for the method */
+ @Nullable
+ public TaskProcessingResultResumeParameterSet body;
+ /**
+ * Creates the TaskProcessingResultResume
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, body);
+ }
+
+ /**
+ * Creates the TaskProcessingResultResume
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, body);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultResumeRequestBuilder.java
new file mode 100644
index 00000000000..83b1c7cde6c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultResumeRequestBuilder.java
@@ -0,0 +1,74 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.requests.TaskProcessingResultResumeRequest;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResultResumeParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result Resume Request Builder.
+ */
+public class TaskProcessingResultResumeRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this TaskProcessingResultResume
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultResumeRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ private TaskProcessingResultResumeParameterSet body;
+ /**
+ * The request builder for this TaskProcessingResultResume
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public TaskProcessingResultResumeRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final TaskProcessingResultResumeParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ this.body = parameters;
+ }
+
+ /**
+ * Creates the TaskProcessingResultResumeRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the TaskProcessingResultResumeRequest instance
+ */
+ @Nonnull
+ public TaskProcessingResultResumeRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the TaskProcessingResultResumeRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the TaskProcessingResultResumeRequest instance
+ */
+ @Nonnull
+ public TaskProcessingResultResumeRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final TaskProcessingResultResumeRequest request = new TaskProcessingResultResumeRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ request.body = this.body;
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultWithReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultWithReferenceRequest.java
new file mode 100644
index 00000000000..990d7e12e37
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultWithReferenceRequest.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityWithReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseWithReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result With Reference Request.
+ */
+public class TaskProcessingResultWithReferenceRequest extends BaseWithReferenceRequest {
+
+ /**
+ * The request for the TaskProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskProcessingResult.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultWithReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskProcessingResultWithReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultWithReferenceRequestBuilder.java
new file mode 100644
index 00000000000..3fb375a19e4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskProcessingResultWithReferenceRequestBuilder.java
@@ -0,0 +1,37 @@
+// Template Source: BaseEntityWithReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskProcessingResult;
+import com.microsoft.graph.identitygovernance.models.CustomTaskExtensionCallbackData;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseWithReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Processing Result With Reference Request Builder.
+ */
+public class TaskProcessingResultWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder {
+
+ /**
+ * The request builder for the TaskProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskProcessingResultWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskProcessingResultWithReferenceRequest.class, TaskProcessingResultReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReferenceRequest.java
new file mode 100644
index 00000000000..c4711aa3c72
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReferenceRequest.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Task;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonPrimitive;
+import com.google.gson.JsonObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Reference Request.
+ */
+public class TaskReferenceRequest extends BaseReferenceRequest {
+
+ /**
+ * The request for the Task
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Task.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReferenceRequestBuilder.java
new file mode 100644
index 00000000000..90158725ff3
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReferenceRequestBuilder.java
@@ -0,0 +1,37 @@
+
+// Template Source: BaseEntityReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Task;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Reference Request Builder.
+ */
+public class TaskReferenceRequestBuilder extends BaseReferenceRequestBuilder {
+
+ /**
+ * The request builder for the Task
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportRequest.java
new file mode 100644
index 00000000000..d327d266569
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Request.
+ */
+public class TaskReportRequest extends BaseRequest {
+
+ /**
+ * The request for the TaskReport
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskReport.class);
+ }
+
+ /**
+ * Gets the TaskReport from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the TaskReport from the service
+ *
+ * @return the TaskReport from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskReport get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public TaskReport delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this TaskReport with a source
+ *
+ * @param sourceTaskReport the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final TaskReport sourceTaskReport) {
+ return sendAsync(HttpMethod.PATCH, sourceTaskReport);
+ }
+
+ /**
+ * Patches this TaskReport with a source
+ *
+ * @param sourceTaskReport the source object with updates
+ * @return the updated TaskReport
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskReport patch(@Nonnull final TaskReport sourceTaskReport) throws ClientException {
+ return send(HttpMethod.PATCH, sourceTaskReport);
+ }
+
+ /**
+ * Creates a TaskReport with a new object
+ *
+ * @param newTaskReport the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final TaskReport newTaskReport) {
+ return sendAsync(HttpMethod.POST, newTaskReport);
+ }
+
+ /**
+ * Creates a TaskReport with a new object
+ *
+ * @param newTaskReport the new object to create
+ * @return the created TaskReport
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskReport post(@Nonnull final TaskReport newTaskReport) throws ClientException {
+ return send(HttpMethod.POST, newTaskReport);
+ }
+
+ /**
+ * Creates a TaskReport with a new object
+ *
+ * @param newTaskReport the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final TaskReport newTaskReport) {
+ return sendAsync(HttpMethod.PUT, newTaskReport);
+ }
+
+ /**
+ * Creates a TaskReport with a new object
+ *
+ * @param newTaskReport the object to create/update
+ * @return the created TaskReport
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public TaskReport put(@Nonnull final TaskReport newTaskReport) throws ClientException {
+ return send(HttpMethod.PUT, newTaskReport);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportRequestBuilder.java
new file mode 100644
index 00000000000..6ee64ac6050
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportRequestBuilder.java
@@ -0,0 +1,100 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Request Builder.
+ */
+public class TaskReportRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the TaskReport
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the TaskReportRequest instance
+ */
+ @Nonnull
+ public TaskReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the TaskReportRequest instance
+ */
+ @Nonnull
+ public TaskReportRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskReportRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+
+ /**
+ * Gets the request builder for Task
+ *
+ * @return the TaskWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskWithReferenceRequestBuilder task() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("task"), getClient(), null);
+ }
+
+ /**
+ * Gets the request builder for TaskDefinition
+ *
+ * @return the TaskDefinitionWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskDefinitionWithReferenceRequestBuilder taskDefinition() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("taskDefinition"), getClient(), null);
+ }
+ /**
+ * Gets a request builder for the TaskProcessingResult collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder taskProcessingResults() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("taskProcessingResults"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the TaskProcessingResult item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder taskProcessingResults(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder(getRequestUrlWithAdditionalSegment("taskProcessingResults") + "/" + id, getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportSummaryRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportSummaryRequest.java
new file mode 100644
index 00000000000..57d357c8411
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportSummaryRequest.java
@@ -0,0 +1,81 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummary;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.requests.TaskReportSummaryRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummaryParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Summary Request.
+ */
+public class TaskReportSummaryRequest extends BaseRequest {
+ /**
+ * The request for this TaskReportSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskReportSummaryRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskReportSummary.class);
+ }
+
+ /**
+ * Gets the TaskReportSummary
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the TaskReportSummary
+ *
+ * @return the TaskReportSummary
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public TaskReportSummary get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportSummaryRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskReportSummaryRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportSummaryRequestBuilder.java
new file mode 100644
index 00000000000..63a4a87eac6
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskReportSummaryRequestBuilder.java
@@ -0,0 +1,77 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.requests.TaskReportSummaryRequest;
+import com.microsoft.graph.identitygovernance.models.TaskReport;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummary;
+import com.microsoft.graph.http.BaseFunctionRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.TaskReportSummaryParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Report Summary Request Builder.
+ */
+public class TaskReportSummaryRequestBuilder extends BaseFunctionRequestBuilder {
+
+ /**
+ * The request builder for this TaskReportSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskReportSummaryRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ /**
+ * The request builder for this TaskReportSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public TaskReportSummaryRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final TaskReportSummaryParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ if(parameters != null) {
+ functionOptions = parameters.getFunctionOptions();
+ }
+ }
+
+ /**
+ * Creates the TaskReportSummaryRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the TaskReportSummaryRequest instance
+ */
+ @Nonnull
+ public TaskReportSummaryRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the TaskReportSummaryRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the TaskReportSummaryRequest instance
+ */
+ @Nonnull
+ public TaskReportSummaryRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final TaskReportSummaryRequest request = new TaskReportSummaryRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ for (com.microsoft.graph.options.FunctionOption option : functionOptions) {
+ request.addFunctionOption(option);
+ }
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskRequest.java
new file mode 100644
index 00000000000..65319d6f3ff
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Task;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Request.
+ */
+public class TaskRequest extends BaseRequest {
+
+ /**
+ * The request for the Task
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Task.class);
+ }
+
+ /**
+ * Gets the Task from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the Task from the service
+ *
+ * @return the Task from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Task get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public Task delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this Task with a source
+ *
+ * @param sourceTask the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final Task sourceTask) {
+ return sendAsync(HttpMethod.PATCH, sourceTask);
+ }
+
+ /**
+ * Patches this Task with a source
+ *
+ * @param sourceTask the source object with updates
+ * @return the updated Task
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Task patch(@Nonnull final Task sourceTask) throws ClientException {
+ return send(HttpMethod.PATCH, sourceTask);
+ }
+
+ /**
+ * Creates a Task with a new object
+ *
+ * @param newTask the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final Task newTask) {
+ return sendAsync(HttpMethod.POST, newTask);
+ }
+
+ /**
+ * Creates a Task with a new object
+ *
+ * @param newTask the new object to create
+ * @return the created Task
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Task post(@Nonnull final Task newTask) throws ClientException {
+ return send(HttpMethod.POST, newTask);
+ }
+
+ /**
+ * Creates a Task with a new object
+ *
+ * @param newTask the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final Task newTask) {
+ return sendAsync(HttpMethod.PUT, newTask);
+ }
+
+ /**
+ * Creates a Task with a new object
+ *
+ * @param newTask the object to create/update
+ * @return the created Task
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Task put(@Nonnull final Task newTask) throws ClientException {
+ return send(HttpMethod.PUT, newTask);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskRequestBuilder.java
new file mode 100644
index 00000000000..ae43db9122c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskRequestBuilder.java
@@ -0,0 +1,79 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Task;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task Request Builder.
+ */
+public class TaskRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the Task
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the TaskRequest instance
+ */
+ @Nonnull
+ public TaskRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the TaskRequest instance
+ */
+ @Nonnull
+ public TaskRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+ /**
+ * Gets a request builder for the TaskProcessingResult collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder taskProcessingResults() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("taskProcessingResults"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the TaskProcessingResult item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder taskProcessingResults(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder(getRequestUrlWithAdditionalSegment("taskProcessingResults") + "/" + id, getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskWithReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskWithReferenceRequest.java
new file mode 100644
index 00000000000..d99ebc24a1c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskWithReferenceRequest.java
@@ -0,0 +1,63 @@
+// Template Source: BaseEntityWithReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Task;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseWithReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task With Reference Request.
+ */
+public class TaskWithReferenceRequest extends BaseWithReferenceRequest {
+
+ /**
+ * The request for the Task
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Task.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskWithReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public TaskWithReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskWithReferenceRequestBuilder.java
new file mode 100644
index 00000000000..15b257dce2c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/TaskWithReferenceRequestBuilder.java
@@ -0,0 +1,36 @@
+// Template Source: BaseEntityWithReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Task;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseWithReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Task With Reference Request Builder.
+ */
+public class TaskWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder {
+
+ /**
+ * The request builder for the Task
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public TaskWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, TaskWithReferenceRequest.class, TaskReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultReferenceRequest.java
new file mode 100644
index 00000000000..ddadb4dc6bc
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultReferenceRequest.java
@@ -0,0 +1,91 @@
+// Template Source: BaseEntityReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonPrimitive;
+import com.google.gson.JsonObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Reference Request.
+ */
+public class UserProcessingResultReferenceRequest extends BaseReferenceRequest {
+
+ /**
+ * The request for the UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResult.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+ /**
+ * Puts the UserProcessingResult
+ *
+ * @param srcUserProcessingResult the UserProcessingResult reference to PUT
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final UserProcessingResult srcUserProcessingResult) {
+ final JsonObject payload = new JsonObject();
+ payload.add("@odata.id", new JsonPrimitive(this.getClient().getServiceRoot() + "/identityGovernance/lifecycleWorkflows/{id}/deletedItems/{id}/workflows/{id}/executionScope/" + srcUserProcessingResult.id));
+ return sendAsync(HttpMethod.PUT, payload);
+ }
+
+ /**
+ * Puts the UserProcessingResult
+ *
+ * @param srcUserProcessingResult the UserProcessingResult reference to PUT
+ * @return the UserProcessingResult
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public UserProcessingResult put(@Nonnull final UserProcessingResult srcUserProcessingResult) throws ClientException {
+ final JsonObject payload = new JsonObject();
+ payload.add("@odata.id", new JsonPrimitive(this.getClient().getServiceRoot() + "/identityGovernance/lifecycleWorkflows/{id}/deletedItems/{id}/workflows/{id}/executionScope/" + srcUserProcessingResult.id));
+ return send(HttpMethod.PUT, payload);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultReferenceRequestBuilder.java
new file mode 100644
index 00000000000..86b62161522
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultReferenceRequestBuilder.java
@@ -0,0 +1,38 @@
+
+// Template Source: BaseEntityReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Reference Request Builder.
+ */
+public class UserProcessingResultReferenceRequestBuilder extends BaseReferenceRequestBuilder {
+
+ /**
+ * The request builder for the UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResultReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultRequest.java
new file mode 100644
index 00000000000..6b56d0bd5f1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Request.
+ */
+public class UserProcessingResultRequest extends BaseRequest {
+
+ /**
+ * The request for the UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResult.class);
+ }
+
+ /**
+ * Gets the UserProcessingResult from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the UserProcessingResult from the service
+ *
+ * @return the UserProcessingResult from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public UserProcessingResult get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public UserProcessingResult delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this UserProcessingResult with a source
+ *
+ * @param sourceUserProcessingResult the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final UserProcessingResult sourceUserProcessingResult) {
+ return sendAsync(HttpMethod.PATCH, sourceUserProcessingResult);
+ }
+
+ /**
+ * Patches this UserProcessingResult with a source
+ *
+ * @param sourceUserProcessingResult the source object with updates
+ * @return the updated UserProcessingResult
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public UserProcessingResult patch(@Nonnull final UserProcessingResult sourceUserProcessingResult) throws ClientException {
+ return send(HttpMethod.PATCH, sourceUserProcessingResult);
+ }
+
+ /**
+ * Creates a UserProcessingResult with a new object
+ *
+ * @param newUserProcessingResult the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final UserProcessingResult newUserProcessingResult) {
+ return sendAsync(HttpMethod.POST, newUserProcessingResult);
+ }
+
+ /**
+ * Creates a UserProcessingResult with a new object
+ *
+ * @param newUserProcessingResult the new object to create
+ * @return the created UserProcessingResult
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public UserProcessingResult post(@Nonnull final UserProcessingResult newUserProcessingResult) throws ClientException {
+ return send(HttpMethod.POST, newUserProcessingResult);
+ }
+
+ /**
+ * Creates a UserProcessingResult with a new object
+ *
+ * @param newUserProcessingResult the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final UserProcessingResult newUserProcessingResult) {
+ return sendAsync(HttpMethod.PUT, newUserProcessingResult);
+ }
+
+ /**
+ * Creates a UserProcessingResult with a new object
+ *
+ * @param newUserProcessingResult the object to create/update
+ * @return the created UserProcessingResult
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public UserProcessingResult put(@Nonnull final UserProcessingResult newUserProcessingResult) throws ClientException {
+ return send(HttpMethod.PUT, newUserProcessingResult);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultRequestBuilder.java
new file mode 100644
index 00000000000..f6c60ddecf0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultRequestBuilder.java
@@ -0,0 +1,90 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Request Builder.
+ */
+public class UserProcessingResultRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the UserProcessingResultRequest instance
+ */
+ @Nonnull
+ public UserProcessingResultRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the UserProcessingResultRequest instance
+ */
+ @Nonnull
+ public UserProcessingResultRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.UserProcessingResultRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder subject() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("subject"), getClient(), null);
+ }
+ /**
+ * Gets a request builder for the TaskProcessingResult collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder taskProcessingResults() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("taskProcessingResults"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the TaskProcessingResult item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder taskProcessingResults(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskProcessingResultRequestBuilder(getRequestUrlWithAdditionalSegment("taskProcessingResults") + "/" + id, getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultSummaryRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultSummaryRequest.java
new file mode 100644
index 00000000000..c03ceec1253
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultSummaryRequest.java
@@ -0,0 +1,81 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultSummaryRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResultSummaryParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Summary Request.
+ */
+public class UserProcessingResultSummaryRequest extends BaseRequest {
+ /**
+ * The request for this UserProcessingResultSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultSummaryRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserSummary.class);
+ }
+
+ /**
+ * Gets the UserSummary
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the UserSummary
+ *
+ * @return the UserSummary
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public UserSummary get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultSummaryRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultSummaryRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultSummaryRequestBuilder.java
new file mode 100644
index 00000000000..b8df7f8fa1a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultSummaryRequestBuilder.java
@@ -0,0 +1,77 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.requests.UserProcessingResultSummaryRequest;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import com.microsoft.graph.http.BaseFunctionRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResultSummaryParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result Summary Request Builder.
+ */
+public class UserProcessingResultSummaryRequestBuilder extends BaseFunctionRequestBuilder {
+
+ /**
+ * The request builder for this UserProcessingResultSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultSummaryRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ /**
+ * The request builder for this UserProcessingResultSummary
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public UserProcessingResultSummaryRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final UserProcessingResultSummaryParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ if(parameters != null) {
+ functionOptions = parameters.getFunctionOptions();
+ }
+ }
+
+ /**
+ * Creates the UserProcessingResultSummaryRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the UserProcessingResultSummaryRequest instance
+ */
+ @Nonnull
+ public UserProcessingResultSummaryRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the UserProcessingResultSummaryRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the UserProcessingResultSummaryRequest instance
+ */
+ @Nonnull
+ public UserProcessingResultSummaryRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final UserProcessingResultSummaryRequest request = new UserProcessingResultSummaryRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ for (com.microsoft.graph.options.FunctionOption option : functionOptions) {
+ request.addFunctionOption(option);
+ }
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultWithReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultWithReferenceRequest.java
new file mode 100644
index 00000000000..4ef3af4f028
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultWithReferenceRequest.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityWithReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseWithReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result With Reference Request.
+ */
+public class UserProcessingResultWithReferenceRequest extends BaseWithReferenceRequest {
+
+ /**
+ * The request for the UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResult.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultWithReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public UserProcessingResultWithReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultWithReferenceRequestBuilder.java
new file mode 100644
index 00000000000..8f55af9afbd
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/UserProcessingResultWithReferenceRequestBuilder.java
@@ -0,0 +1,37 @@
+// Template Source: BaseEntityWithReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.UserProcessingResult;
+import com.microsoft.graph.identitygovernance.models.UserSummary;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseWithReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the User Processing Result With Reference Request Builder.
+ */
+public class UserProcessingResultWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder {
+
+ /**
+ * The request builder for the UserProcessingResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public UserProcessingResultWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, UserProcessingResultWithReferenceRequest.class, UserProcessingResultReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowActivateRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowActivateRequest.java
new file mode 100644
index 00000000000..f6b0c0cab4c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowActivateRequest.java
@@ -0,0 +1,56 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.requests.WorkflowActivateRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.identitygovernance.models.WorkflowActivateParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Activate Request.
+ */
+public class WorkflowActivateRequest extends BaseRequest {
+ /**
+ * The request for this WorkflowActivate
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowActivateRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Void.class);
+ }
+
+ /** The body for the method */
+ @Nullable
+ public WorkflowActivateParameterSet body;
+ /**
+ * Creates the WorkflowActivate
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, body);
+ }
+
+ /**
+ * Creates the WorkflowActivate
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, body);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowActivateRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowActivateRequestBuilder.java
new file mode 100644
index 00000000000..be0405728bc
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowActivateRequestBuilder.java
@@ -0,0 +1,74 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.requests.WorkflowActivateRequest;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.WorkflowActivateParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Activate Request Builder.
+ */
+public class WorkflowActivateRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this WorkflowActivate
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowActivateRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ private WorkflowActivateParameterSet body;
+ /**
+ * The request builder for this WorkflowActivate
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public WorkflowActivateRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final WorkflowActivateParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ this.body = parameters;
+ }
+
+ /**
+ * Creates the WorkflowActivateRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the WorkflowActivateRequest instance
+ */
+ @Nonnull
+ public WorkflowActivateRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the WorkflowActivateRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the WorkflowActivateRequest instance
+ */
+ @Nonnull
+ public WorkflowActivateRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final WorkflowActivateRequest request = new WorkflowActivateRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ request.body = this.body;
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowBaseRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowBaseRequest.java
new file mode 100644
index 00000000000..6b5e4737020
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowBaseRequest.java
@@ -0,0 +1,77 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.WorkflowBase;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Base Request.
+ */
+public class WorkflowBaseRequest extends BaseRequest {
+
+ /**
+ * The request for the WorkflowBase
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param responseClass the class of the response
+ */
+ public WorkflowBaseRequest(@Nonnull final String requestUrl,
+ @Nonnull final IBaseClient> client,
+ @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions,
+ @Nonnull final Class extends WorkflowBase> responseClass) {
+ super(requestUrl, client, requestOptions, responseClass);
+ }
+
+ /**
+ * The request for the WorkflowBase
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowBaseRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowBase.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowBaseRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowBaseRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowBaseRequestBuilder.java
new file mode 100644
index 00000000000..675550b2918
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowBaseRequestBuilder.java
@@ -0,0 +1,99 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.WorkflowBase;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Base Request Builder.
+ */
+public class WorkflowBaseRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the WorkflowBase
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowBaseRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the WorkflowBaseRequest instance
+ */
+ @Nonnull
+ public WorkflowBaseRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the WorkflowBaseRequest instance
+ */
+ @Nonnull
+ public WorkflowBaseRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowBaseRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder createdBy() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdBy"), getClient(), null);
+ }
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder lastModifiedBy() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("lastModifiedBy"), getClient(), null);
+ }
+ /**
+ * Gets a request builder for the Task collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder tasks() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the Task item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder tasks(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowCreateNewVersionRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowCreateNewVersionRequest.java
new file mode 100644
index 00000000000..16732760cd2
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowCreateNewVersionRequest.java
@@ -0,0 +1,81 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCreateNewVersionRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.identitygovernance.models.WorkflowCreateNewVersionParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Create New Version Request.
+ */
+public class WorkflowCreateNewVersionRequest extends BaseRequest {
+ /**
+ * The request for this WorkflowCreateNewVersion
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowCreateNewVersionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Workflow.class);
+ }
+
+ /** The body for the method */
+ @Nullable
+ public WorkflowCreateNewVersionParameterSet body;
+ /**
+ * Invokes the method and returns a future with the result
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return sendAsync(HttpMethod.POST, body);
+ }
+
+ /**
+ * Invokes the method and returns the result
+ * @return result of the method invocation
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public Workflow post() throws ClientException {
+ return send(HttpMethod.POST, body);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCreateNewVersionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowCreateNewVersionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowCreateNewVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowCreateNewVersionRequestBuilder.java
new file mode 100644
index 00000000000..2751d44881b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowCreateNewVersionRequestBuilder.java
@@ -0,0 +1,73 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCreateNewVersionRequest;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.WorkflowCreateNewVersionParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Create New Version Request Builder.
+ */
+public class WorkflowCreateNewVersionRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this WorkflowCreateNewVersion
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowCreateNewVersionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ private WorkflowCreateNewVersionParameterSet body;
+ /**
+ * The request builder for this WorkflowCreateNewVersion
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public WorkflowCreateNewVersionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final WorkflowCreateNewVersionParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ this.body = parameters;
+ }
+
+ /**
+ * Creates the WorkflowCreateNewVersionRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the WorkflowCreateNewVersionRequest instance
+ */
+ @Nonnull
+ public WorkflowCreateNewVersionRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the WorkflowCreateNewVersionRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the WorkflowCreateNewVersionRequest instance
+ */
+ @Nonnull
+ public WorkflowCreateNewVersionRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final WorkflowCreateNewVersionRequest request = new WorkflowCreateNewVersionRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ request.body = this.body;
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowReferenceRequest.java
new file mode 100644
index 00000000000..19de8814bf5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowReferenceRequest.java
@@ -0,0 +1,65 @@
+// Template Source: BaseEntityReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonPrimitive;
+import com.google.gson.JsonObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Reference Request.
+ */
+public class WorkflowReferenceRequest extends BaseReferenceRequest {
+
+ /**
+ * The request for the Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Workflow.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowReferenceRequestBuilder.java
new file mode 100644
index 00000000000..317c2e6ccbc
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowReferenceRequestBuilder.java
@@ -0,0 +1,38 @@
+
+// Template Source: BaseEntityReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Reference Request Builder.
+ */
+public class WorkflowReferenceRequestBuilder extends BaseReferenceRequestBuilder {
+
+ /**
+ * The request builder for the Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRequest.java
new file mode 100644
index 00000000000..195375dffe8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRequest.java
@@ -0,0 +1,174 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Request.
+ */
+public class WorkflowRequest extends BaseRequest {
+
+ /**
+ * The request for the Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Workflow.class);
+ }
+
+ /**
+ * Gets the Workflow from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the Workflow from the service
+ *
+ * @return the Workflow from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Workflow get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public Workflow delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this Workflow with a source
+ *
+ * @param sourceWorkflow the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final Workflow sourceWorkflow) {
+ return sendAsync(HttpMethod.PATCH, sourceWorkflow);
+ }
+
+ /**
+ * Patches this Workflow with a source
+ *
+ * @param sourceWorkflow the source object with updates
+ * @return the updated Workflow
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Workflow patch(@Nonnull final Workflow sourceWorkflow) throws ClientException {
+ return send(HttpMethod.PATCH, sourceWorkflow);
+ }
+
+ /**
+ * Creates a Workflow with a new object
+ *
+ * @param newWorkflow the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final Workflow newWorkflow) {
+ return sendAsync(HttpMethod.POST, newWorkflow);
+ }
+
+ /**
+ * Creates a Workflow with a new object
+ *
+ * @param newWorkflow the new object to create
+ * @return the created Workflow
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Workflow post(@Nonnull final Workflow newWorkflow) throws ClientException {
+ return send(HttpMethod.POST, newWorkflow);
+ }
+
+ /**
+ * Creates a Workflow with a new object
+ *
+ * @param newWorkflow the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final Workflow newWorkflow) {
+ return sendAsync(HttpMethod.PUT, newWorkflow);
+ }
+
+ /**
+ * Creates a Workflow with a new object
+ *
+ * @param newWorkflow the object to create/update
+ * @return the created Workflow
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public Workflow put(@Nonnull final Workflow newWorkflow) throws ClientException {
+ return send(HttpMethod.PUT, newWorkflow);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRequestBuilder.java
new file mode 100644
index 00000000000..3c746dc57fa
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRequestBuilder.java
@@ -0,0 +1,231 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+import com.microsoft.graph.identitygovernance.models.WorkflowActivateParameterSet;
+import com.microsoft.graph.identitygovernance.models.WorkflowCreateNewVersionParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Request Builder.
+ */
+public class WorkflowRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the WorkflowRequest instance
+ */
+ @Nonnull
+ public WorkflowRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the WorkflowRequest instance
+ */
+ @Nonnull
+ public WorkflowRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder createdBy() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdBy"), getClient(), null);
+ }
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder lastModifiedBy() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("lastModifiedBy"), getClient(), null);
+ }
+ /**
+ * Gets a request builder for the Task collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder tasks() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the Task item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder tasks(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the UserProcessingResult collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesRequestBuilder executionScope() {
+ return new com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("executionScope"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the UserProcessingResult item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultWithReferenceRequestBuilder executionScope(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.UserProcessingResultWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("executionScope") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the Run collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.RunCollectionRequestBuilder runs() {
+ return new com.microsoft.graph.identitygovernance.requests.RunCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("runs"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the Run item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.RunRequestBuilder runs(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.RunRequestBuilder(getRequestUrlWithAdditionalSegment("runs") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the TaskReport collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskReportCollectionRequestBuilder taskReports() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskReportCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("taskReports"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the TaskReport item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskReportRequestBuilder taskReports(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskReportRequestBuilder(getRequestUrlWithAdditionalSegment("taskReports") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the UserProcessingResult collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequestBuilder userProcessingResults() {
+ return new com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("userProcessingResults"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the UserProcessingResult item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.UserProcessingResultRequestBuilder userProcessingResults(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.UserProcessingResultRequestBuilder(getRequestUrlWithAdditionalSegment("userProcessingResults") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the WorkflowVersion collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionRequestBuilder versions() {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowVersionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("versions"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the WorkflowVersion item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.WorkflowVersionRequestBuilder versions(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowVersionRequestBuilder(getRequestUrlWithAdditionalSegment("versions") + "/" + id, getClient(), null);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public WorkflowActivateRequestBuilder activate(@Nonnull final WorkflowActivateParameterSet parameters) {
+ return new WorkflowActivateRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.identityGovernance.activate"), getClient(), null, parameters);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public WorkflowCreateNewVersionRequestBuilder createNewVersion(@Nonnull final WorkflowCreateNewVersionParameterSet parameters) {
+ return new WorkflowCreateNewVersionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.identityGovernance.createNewVersion"), getClient(), null, parameters);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ */
+ @Nonnull
+ public WorkflowRestoreRequestBuilder restore() {
+ return new WorkflowRestoreRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.identityGovernance.restore"), getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRestoreRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRestoreRequest.java
new file mode 100644
index 00000000000..c01bcb05277
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRestoreRequest.java
@@ -0,0 +1,77 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.identitygovernance.requests.WorkflowRestoreRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Restore Request.
+ */
+public class WorkflowRestoreRequest extends BaseRequest {
+ /**
+ * The request for this WorkflowRestore
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowRestoreRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Workflow.class);
+ }
+
+ /**
+ * Invokes the method and returns a future with the result
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return sendAsync(HttpMethod.POST, null);
+ }
+
+ /**
+ * Invokes the method and returns the result
+ * @return result of the method invocation
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public Workflow post() throws ClientException {
+ return send(HttpMethod.POST, null);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowRestoreRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowRestoreRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRestoreRequestBuilder.java
new file mode 100644
index 00000000000..651db7ffd1f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowRestoreRequestBuilder.java
@@ -0,0 +1,58 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+import com.microsoft.graph.identitygovernance.requests.WorkflowRestoreRequest;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Restore Request Builder.
+ */
+public class WorkflowRestoreRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this WorkflowRestore
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowRestoreRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the WorkflowRestoreRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the WorkflowRestoreRequest instance
+ */
+ @Nonnull
+ public WorkflowRestoreRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the WorkflowRestoreRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the WorkflowRestoreRequest instance
+ */
+ @Nonnull
+ public WorkflowRestoreRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final WorkflowRestoreRequest request = new WorkflowRestoreRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowTemplateRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowTemplateRequest.java
new file mode 100644
index 00000000000..17ddec960c4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowTemplateRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.WorkflowTemplate;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Template Request.
+ */
+public class WorkflowTemplateRequest extends BaseRequest {
+
+ /**
+ * The request for the WorkflowTemplate
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowTemplateRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowTemplate.class);
+ }
+
+ /**
+ * Gets the WorkflowTemplate from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the WorkflowTemplate from the service
+ *
+ * @return the WorkflowTemplate from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public WorkflowTemplate get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public WorkflowTemplate delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this WorkflowTemplate with a source
+ *
+ * @param sourceWorkflowTemplate the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final WorkflowTemplate sourceWorkflowTemplate) {
+ return sendAsync(HttpMethod.PATCH, sourceWorkflowTemplate);
+ }
+
+ /**
+ * Patches this WorkflowTemplate with a source
+ *
+ * @param sourceWorkflowTemplate the source object with updates
+ * @return the updated WorkflowTemplate
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public WorkflowTemplate patch(@Nonnull final WorkflowTemplate sourceWorkflowTemplate) throws ClientException {
+ return send(HttpMethod.PATCH, sourceWorkflowTemplate);
+ }
+
+ /**
+ * Creates a WorkflowTemplate with a new object
+ *
+ * @param newWorkflowTemplate the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final WorkflowTemplate newWorkflowTemplate) {
+ return sendAsync(HttpMethod.POST, newWorkflowTemplate);
+ }
+
+ /**
+ * Creates a WorkflowTemplate with a new object
+ *
+ * @param newWorkflowTemplate the new object to create
+ * @return the created WorkflowTemplate
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public WorkflowTemplate post(@Nonnull final WorkflowTemplate newWorkflowTemplate) throws ClientException {
+ return send(HttpMethod.POST, newWorkflowTemplate);
+ }
+
+ /**
+ * Creates a WorkflowTemplate with a new object
+ *
+ * @param newWorkflowTemplate the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final WorkflowTemplate newWorkflowTemplate) {
+ return sendAsync(HttpMethod.PUT, newWorkflowTemplate);
+ }
+
+ /**
+ * Creates a WorkflowTemplate with a new object
+ *
+ * @param newWorkflowTemplate the object to create/update
+ * @return the created WorkflowTemplate
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public WorkflowTemplate put(@Nonnull final WorkflowTemplate newWorkflowTemplate) throws ClientException {
+ return send(HttpMethod.PUT, newWorkflowTemplate);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowTemplateRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowTemplateRequestBuilder.java
new file mode 100644
index 00000000000..ac0f1c83bbc
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowTemplateRequestBuilder.java
@@ -0,0 +1,79 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.WorkflowTemplate;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Template Request Builder.
+ */
+public class WorkflowTemplateRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the WorkflowTemplate
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowTemplateRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the WorkflowTemplateRequest instance
+ */
+ @Nonnull
+ public WorkflowTemplateRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the WorkflowTemplateRequest instance
+ */
+ @Nonnull
+ public WorkflowTemplateRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowTemplateRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+ /**
+ * Gets a request builder for the Task collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder tasks() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the Task item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder tasks(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowVersionRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowVersionRequest.java
new file mode 100644
index 00000000000..be3dbf04766
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowVersionRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.WorkflowVersion;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Version Request.
+ */
+public class WorkflowVersionRequest extends BaseRequest {
+
+ /**
+ * The request for the WorkflowVersion
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowVersionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowVersion.class);
+ }
+
+ /**
+ * Gets the WorkflowVersion from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the WorkflowVersion from the service
+ *
+ * @return the WorkflowVersion from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public WorkflowVersion get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public WorkflowVersion delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this WorkflowVersion with a source
+ *
+ * @param sourceWorkflowVersion the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final WorkflowVersion sourceWorkflowVersion) {
+ return sendAsync(HttpMethod.PATCH, sourceWorkflowVersion);
+ }
+
+ /**
+ * Patches this WorkflowVersion with a source
+ *
+ * @param sourceWorkflowVersion the source object with updates
+ * @return the updated WorkflowVersion
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public WorkflowVersion patch(@Nonnull final WorkflowVersion sourceWorkflowVersion) throws ClientException {
+ return send(HttpMethod.PATCH, sourceWorkflowVersion);
+ }
+
+ /**
+ * Creates a WorkflowVersion with a new object
+ *
+ * @param newWorkflowVersion the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final WorkflowVersion newWorkflowVersion) {
+ return sendAsync(HttpMethod.POST, newWorkflowVersion);
+ }
+
+ /**
+ * Creates a WorkflowVersion with a new object
+ *
+ * @param newWorkflowVersion the new object to create
+ * @return the created WorkflowVersion
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public WorkflowVersion post(@Nonnull final WorkflowVersion newWorkflowVersion) throws ClientException {
+ return send(HttpMethod.POST, newWorkflowVersion);
+ }
+
+ /**
+ * Creates a WorkflowVersion with a new object
+ *
+ * @param newWorkflowVersion the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final WorkflowVersion newWorkflowVersion) {
+ return sendAsync(HttpMethod.PUT, newWorkflowVersion);
+ }
+
+ /**
+ * Creates a WorkflowVersion with a new object
+ *
+ * @param newWorkflowVersion the object to create/update
+ * @return the created WorkflowVersion
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public WorkflowVersion put(@Nonnull final WorkflowVersion newWorkflowVersion) throws ClientException {
+ return send(HttpMethod.PUT, newWorkflowVersion);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowVersionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowVersionRequestBuilder.java
new file mode 100644
index 00000000000..7e34c114d43
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowVersionRequestBuilder.java
@@ -0,0 +1,99 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.WorkflowVersion;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow Version Request Builder.
+ */
+public class WorkflowVersionRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the WorkflowVersion
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowVersionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the WorkflowVersionRequest instance
+ */
+ @Nonnull
+ public WorkflowVersionRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the WorkflowVersionRequest instance
+ */
+ @Nonnull
+ public WorkflowVersionRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.identitygovernance.requests.WorkflowVersionRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder createdBy() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("createdBy"), getClient(), null);
+ }
+
+ /**
+ * Gets the request builder for User
+ *
+ * @return the UserWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder lastModifiedBy() {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("lastModifiedBy"), getClient(), null);
+ }
+ /**
+ * Gets a request builder for the Task collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder tasks() {
+ return new com.microsoft.graph.identitygovernance.requests.TaskCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("tasks"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the Task item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder tasks(@Nonnull final String id) {
+ return new com.microsoft.graph.identitygovernance.requests.TaskRequestBuilder(getRequestUrlWithAdditionalSegment("tasks") + "/" + id, getClient(), null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowWithReferenceRequest.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowWithReferenceRequest.java
new file mode 100644
index 00000000000..1bbef69d4d5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowWithReferenceRequest.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityWithReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseWithReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow With Reference Request.
+ */
+public class WorkflowWithReferenceRequest extends BaseWithReferenceRequest {
+
+ /**
+ * The request for the Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Workflow.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowWithReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkflowWithReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowWithReferenceRequestBuilder.java
new file mode 100644
index 00000000000..73e0f74cb2d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/requests/WorkflowWithReferenceRequestBuilder.java
@@ -0,0 +1,37 @@
+// Template Source: BaseEntityWithReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.identitygovernance.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.identitygovernance.models.Workflow;
+import com.microsoft.graph.models.User;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseWithReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workflow With Reference Request Builder.
+ */
+public class WorkflowWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder {
+
+ /**
+ * The request builder for the Workflow
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkflowWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkflowWithReferenceRequest.class, WorkflowReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java
index 4cca924bbb3..d90327e858c 100644
--- a/src/main/java/com/microsoft/graph/info/Constants.java
+++ b/src/main/java/com/microsoft/graph/info/Constants.java
@@ -18,7 +18,7 @@ private Constants() {
/** The client secret to use for unit testing */
public static final String CLIENTSECRET = "clientsecret";
/** The SDK version */
- public static final String VERSION_NAME = "5.62.0";
+ public static final String VERSION_NAME = "5.63.0";
}
@@ -93,5 +93,6 @@ private Constants() {
+
diff --git a/src/main/java/com/microsoft/graph/models/AccessPackageAutomaticRequestSettings.java b/src/main/java/com/microsoft/graph/models/AccessPackageAutomaticRequestSettings.java
index 1ca20a90b0d..695f23637e5 100644
--- a/src/main/java/com/microsoft/graph/models/AccessPackageAutomaticRequestSettings.java
+++ b/src/main/java/com/microsoft/graph/models/AccessPackageAutomaticRequestSettings.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Grace Period Before Access Removal.
- *
+ * The duration for which access must be retained before the target's access is revoked once they leave the allowed target scope.
*/
@SerializedName(value = "gracePeriodBeforeAccessRemoval", alternate = {"GracePeriodBeforeAccessRemoval"})
@Expose
@@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Remove Access When Target Leaves Allowed Targets.
- *
+ * Indicates whether automatic assignment must be removed for targets who move out of the allowed target scope.
*/
@SerializedName(value = "removeAccessWhenTargetLeavesAllowedTargets", alternate = {"RemoveAccessWhenTargetLeavesAllowedTargets"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewInstanceDecisionItem.java b/src/main/java/com/microsoft/graph/models/AccessReviewInstanceDecisionItem.java
index dad4f8696c2..9b256939eb5 100644
--- a/src/main/java/com/microsoft/graph/models/AccessReviewInstanceDecisionItem.java
+++ b/src/main/java/com/microsoft/graph/models/AccessReviewInstanceDecisionItem.java
@@ -8,10 +8,12 @@
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.UserIdentity;
import com.microsoft.graph.models.Identity;
import com.microsoft.graph.models.AccessReviewInstanceDecisionItemResource;
import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.requests.GovernanceInsightCollectionPage;
import com.google.gson.JsonObject;
@@ -145,6 +147,15 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
@Nullable
public java.time.OffsetDateTime reviewedDateTime;
+ /**
+ * The Insights.
+ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem.
+ */
+ @SerializedName(value = "insights", alternate = {"Insights"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.GovernanceInsightCollectionPage insights;
+
/**
* Sets the raw JSON object
@@ -154,5 +165,9 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ if (json.has("insights")) {
+ insights = serializer.deserializeObject(json.get("insights"), com.microsoft.graph.requests.GovernanceInsightCollectionPage.class);
+ }
}
}
diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewRecommendationInsightSetting.java b/src/main/java/com/microsoft/graph/models/AccessReviewRecommendationInsightSetting.java
new file mode 100644
index 00000000000..56d0c261d21
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AccessReviewRecommendationInsightSetting.java
@@ -0,0 +1,50 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Access Review Recommendation Insight Setting.
+ */
+public class AccessReviewRecommendationInsightSetting implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewScheduleSettings.java b/src/main/java/com/microsoft/graph/models/AccessReviewScheduleSettings.java
index a8f48c59152..69952497bdf 100644
--- a/src/main/java/com/microsoft/graph/models/AccessReviewScheduleSettings.java
+++ b/src/main/java/com/microsoft/graph/models/AccessReviewScheduleSettings.java
@@ -10,6 +10,7 @@
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.AccessReviewApplyAction;
+import com.microsoft.graph.models.AccessReviewRecommendationInsightSetting;
import com.microsoft.graph.models.PatternedRecurrence;
@@ -112,6 +113,24 @@ public final AdditionalDataManager additionalDataManager() {
@Nullable
public Boolean mailNotificationsEnabled;
+ /**
+ * The Recommendation Insight Settings.
+ * Optional. Describes the types of insights that aid reviewers to make access review decisions. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationInsightSettings setting will be used instead of the value of this property.
+ */
+ @SerializedName(value = "recommendationInsightSettings", alternate = {"RecommendationInsightSettings"})
+ @Expose
+ @Nullable
+ public java.util.List recommendationInsightSettings;
+
+ /**
+ * The Recommendation Look Back Duration.
+ * Optional field. Indicates the period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationLookBackDuration setting will be used instead of the value of this property.
+ */
+ @SerializedName(value = "recommendationLookBackDuration", alternate = {"RecommendationLookBackDuration"})
+ @Expose
+ @Nullable
+ public javax.xml.datatype.Duration recommendationLookBackDuration;
+
/**
* The Recommendations Enabled.
* Indicates whether decision recommendations are enabled or disabled. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationsEnabled setting will be used instead of the value of this property.
diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewStageSettings.java b/src/main/java/com/microsoft/graph/models/AccessReviewStageSettings.java
index 2fa680a7e73..56432464404 100644
--- a/src/main/java/com/microsoft/graph/models/AccessReviewStageSettings.java
+++ b/src/main/java/com/microsoft/graph/models/AccessReviewStageSettings.java
@@ -10,6 +10,7 @@
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.AccessReviewReviewerScope;
+import com.microsoft.graph.models.AccessReviewRecommendationInsightSetting;
import com.google.gson.JsonObject;
@@ -75,6 +76,15 @@ public final AdditionalDataManager additionalDataManager() {
@Nullable
public java.util.List fallbackReviewers;
+ /**
+ * The Recommendation Insight Settings.
+ *
+ */
+ @SerializedName(value = "recommendationInsightSettings", alternate = {"RecommendationInsightSettings"})
+ @Expose
+ @Nullable
+ public java.util.List recommendationInsightSettings;
+
/**
* The Recommendations Enabled.
* Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property will override override the corresponding setting on the accessReviewScheduleDefinition object.
diff --git a/src/main/java/com/microsoft/graph/models/AlternativeSecurityId.java b/src/main/java/com/microsoft/graph/models/AlternativeSecurityId.java
index 27b7c0de7fc..41a3d81f6eb 100644
--- a/src/main/java/com/microsoft/graph/models/AlternativeSecurityId.java
+++ b/src/main/java/com/microsoft/graph/models/AlternativeSecurityId.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Identity Provider.
- * For internal use only
+ * For internal use only.
*/
@SerializedName(value = "identityProvider", alternate = {"IdentityProvider"})
@Expose
@@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Key.
- * For internal use only
+ * For internal use only.
*/
@SerializedName(value = "key", alternate = {"Key"})
@Expose
@@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Type.
- * For internal use only
+ * For internal use only.
*/
@SerializedName(value = "type", alternate = {"Type"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/AppLogCollectionDownloadDetails.java b/src/main/java/com/microsoft/graph/models/AppLogCollectionDownloadDetails.java
new file mode 100644
index 00000000000..4f13913a491
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AppLogCollectionDownloadDetails.java
@@ -0,0 +1,78 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.AppLogDecryptionAlgorithm;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the App Log Collection Download Details.
+ */
+public class AppLogCollectionDownloadDetails implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The App Log Decryption Algorithm.
+ * Decryption algorithm for Content. Default is ASE256. Possible values are: aes256, unknownFutureValue.
+ */
+ @SerializedName(value = "appLogDecryptionAlgorithm", alternate = {"AppLogDecryptionAlgorithm"})
+ @Expose
+ @Nullable
+ public AppLogDecryptionAlgorithm appLogDecryptionAlgorithm;
+
+ /**
+ * The Decryption Key.
+ * Decryption key that used to decrypt the log.
+ */
+ @SerializedName(value = "decryptionKey", alternate = {"DecryptionKey"})
+ @Expose
+ @Nullable
+ public String decryptionKey;
+
+ /**
+ * The Download Url.
+ * Download SAS (Shared Access Signature) Url for completed app log request.
+ */
+ @SerializedName(value = "downloadUrl", alternate = {"DownloadUrl"})
+ @Expose
+ @Nullable
+ public String downloadUrl;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/AppLogCollectionRequest.java b/src/main/java/com/microsoft/graph/models/AppLogCollectionRequest.java
new file mode 100644
index 00000000000..a90c343a6de
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AppLogCollectionRequest.java
@@ -0,0 +1,76 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.AppLogUploadState;
+import com.microsoft.graph.models.Entity;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the App Log Collection Request.
+ */
+public class AppLogCollectionRequest extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Completed Date Time.
+ * Time at which the upload log request reached a completed state if not completed yet NULL will be returned.
+ */
+ @SerializedName(value = "completedDateTime", alternate = {"CompletedDateTime"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime completedDateTime;
+
+ /**
+ * The Custom Log Folders.
+ * List of log folders.
+ */
+ @SerializedName(value = "customLogFolders", alternate = {"CustomLogFolders"})
+ @Expose
+ @Nullable
+ public java.util.List customLogFolders;
+
+ /**
+ * The Error Message.
+ * Indicates error message if any during the upload process.
+ */
+ @SerializedName(value = "errorMessage", alternate = {"ErrorMessage"})
+ @Expose
+ @Nullable
+ public String errorMessage;
+
+ /**
+ * The Status.
+ * Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending. Possible values are: pending, completed, failed, unknownFutureValue.
+ */
+ @SerializedName(value = "status", alternate = {"Status"})
+ @Expose
+ @Nullable
+ public AppLogUploadState status;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/AppLogCollectionRequestCreateDownloadUrlParameterSet.java b/src/main/java/com/microsoft/graph/models/AppLogCollectionRequestCreateDownloadUrlParameterSet.java
new file mode 100644
index 00000000000..1ce6799bb1b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AppLogCollectionRequestCreateDownloadUrlParameterSet.java
@@ -0,0 +1,69 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.AppLogCollectionDownloadDetails;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the App Log Collection Request Create Download Url Parameter Set.
+ */
+public class AppLogCollectionRequestCreateDownloadUrlParameterSet {
+
+ /**
+ * Instiaciates a new AppLogCollectionRequestCreateDownloadUrlParameterSet
+ */
+ public AppLogCollectionRequestCreateDownloadUrlParameterSet() {}
+ /**
+ * Instiaciates a new AppLogCollectionRequestCreateDownloadUrlParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected AppLogCollectionRequestCreateDownloadUrlParameterSet(@Nonnull final AppLogCollectionRequestCreateDownloadUrlParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static AppLogCollectionRequestCreateDownloadUrlParameterSetBuilder newBuilder() {
+ return new AppLogCollectionRequestCreateDownloadUrlParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the AppLogCollectionRequestCreateDownloadUrlParameterSet
+ */
+ public static final class AppLogCollectionRequestCreateDownloadUrlParameterSetBuilder {
+ /**
+ * Instanciates a new AppLogCollectionRequestCreateDownloadUrlParameterSetBuilder
+ */
+ @Nullable
+ protected AppLogCollectionRequestCreateDownloadUrlParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public AppLogCollectionRequestCreateDownloadUrlParameterSet build() {
+ return new AppLogCollectionRequestCreateDownloadUrlParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/AppLogDecryptionAlgorithm.java b/src/main/java/com/microsoft/graph/models/AppLogDecryptionAlgorithm.java
new file mode 100644
index 00000000000..303d8235b4a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AppLogDecryptionAlgorithm.java
@@ -0,0 +1,26 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+/**
+ * The Enum App Log Decryption Algorithm.
+*/
+public enum AppLogDecryptionAlgorithm
+{
+ /**
+ * aes256
+ */
+ AES256,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For AppLogDecryptionAlgorithm values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/AppLogUploadState.java b/src/main/java/com/microsoft/graph/models/AppLogUploadState.java
new file mode 100644
index 00000000000..730d7ffba05
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AppLogUploadState.java
@@ -0,0 +1,34 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+/**
+ * The Enum App Log Upload State.
+*/
+public enum AppLogUploadState
+{
+ /**
+ * pending
+ */
+ PENDING,
+ /**
+ * completed
+ */
+ COMPLETED,
+ /**
+ * failed
+ */
+ FAILED,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For AppLogUploadState values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/AssignmentType.java b/src/main/java/com/microsoft/graph/models/AssignmentType.java
new file mode 100644
index 00000000000..971315c4d08
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AssignmentType.java
@@ -0,0 +1,30 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+/**
+ * The Enum Assignment Type.
+*/
+public enum AssignmentType
+{
+ /**
+ * required
+ */
+ REQUIRED,
+ /**
+ * recommended
+ */
+ RECOMMENDED,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For AssignmentType values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/AuthenticationMethodFeature.java b/src/main/java/com/microsoft/graph/models/AuthenticationMethodFeature.java
new file mode 100644
index 00000000000..34f63b82c4e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AuthenticationMethodFeature.java
@@ -0,0 +1,42 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+/**
+ * The Enum Authentication Method Feature.
+*/
+public enum AuthenticationMethodFeature
+{
+ /**
+ * sspr Registered
+ */
+ SSPR_REGISTERED,
+ /**
+ * sspr Enabled
+ */
+ SSPR_ENABLED,
+ /**
+ * sspr Capable
+ */
+ SSPR_CAPABLE,
+ /**
+ * passwordless Capable
+ */
+ PASSWORDLESS_CAPABLE,
+ /**
+ * mfa Capable
+ */
+ MFA_CAPABLE,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For AuthenticationMethodFeature values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRoot.java b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRoot.java
new file mode 100644
index 00000000000..a19d60ead0a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRoot.java
@@ -0,0 +1,53 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.requests.UserRegistrationDetailsCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Authentication Methods Root.
+ */
+public class AuthenticationMethodsRoot extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The User Registration Details.
+ *
+ */
+ @SerializedName(value = "userRegistrationDetails", alternate = {"UserRegistrationDetails"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserRegistrationDetailsCollectionPage userRegistrationDetails;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("userRegistrationDetails")) {
+ userRegistrationDetails = serializer.deserializeObject(json.get("userRegistrationDetails"), com.microsoft.graph.requests.UserRegistrationDetailsCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet.java b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet.java
new file mode 100644
index 00000000000..988f40d9a85
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet.java
@@ -0,0 +1,127 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.UserRegistrationFeatureSummary;
+import com.microsoft.graph.models.IncludedUserTypes;
+import com.microsoft.graph.models.IncludedUserRoles;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Authentication Methods Root Users Registered By Feature Parameter Set.
+ */
+public class AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet {
+ /**
+ * The included User Types.
+ *
+ */
+ @SerializedName(value = "includedUserTypes", alternate = {"IncludedUserTypes"})
+ @Expose
+ @Nullable
+ public IncludedUserTypes includedUserTypes;
+
+ /**
+ * The included User Roles.
+ *
+ */
+ @SerializedName(value = "includedUserRoles", alternate = {"IncludedUserRoles"})
+ @Expose
+ @Nullable
+ public IncludedUserRoles includedUserRoles;
+
+
+ /**
+ * Instiaciates a new AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet
+ */
+ public AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet() {}
+ /**
+ * Instiaciates a new AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet(@Nonnull final AuthenticationMethodsRootUsersRegisteredByFeatureParameterSetBuilder builder) {
+ this.includedUserTypes = builder.includedUserTypes;
+ this.includedUserRoles = builder.includedUserRoles;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static AuthenticationMethodsRootUsersRegisteredByFeatureParameterSetBuilder newBuilder() {
+ return new AuthenticationMethodsRootUsersRegisteredByFeatureParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet
+ */
+ public static final class AuthenticationMethodsRootUsersRegisteredByFeatureParameterSetBuilder {
+ /**
+ * The includedUserTypes parameter value
+ */
+ @Nullable
+ protected IncludedUserTypes includedUserTypes;
+ /**
+ * Sets the IncludedUserTypes
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public AuthenticationMethodsRootUsersRegisteredByFeatureParameterSetBuilder withIncludedUserTypes(@Nullable final IncludedUserTypes val) {
+ this.includedUserTypes = val;
+ return this;
+ }
+ /**
+ * The includedUserRoles parameter value
+ */
+ @Nullable
+ protected IncludedUserRoles includedUserRoles;
+ /**
+ * Sets the IncludedUserRoles
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public AuthenticationMethodsRootUsersRegisteredByFeatureParameterSetBuilder withIncludedUserRoles(@Nullable final IncludedUserRoles val) {
+ this.includedUserRoles = val;
+ return this;
+ }
+ /**
+ * Instanciates a new AuthenticationMethodsRootUsersRegisteredByFeatureParameterSetBuilder
+ */
+ @Nullable
+ protected AuthenticationMethodsRootUsersRegisteredByFeatureParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet build() {
+ return new AuthenticationMethodsRootUsersRegisteredByFeatureParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.includedUserTypes != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("includedUserTypes", includedUserTypes));
+ }
+ if(this.includedUserRoles != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("includedUserRoles", includedUserRoles));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRootUsersRegisteredByMethodParameterSet.java b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRootUsersRegisteredByMethodParameterSet.java
new file mode 100644
index 00000000000..6063e64bc18
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRootUsersRegisteredByMethodParameterSet.java
@@ -0,0 +1,127 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.UserRegistrationMethodSummary;
+import com.microsoft.graph.models.IncludedUserTypes;
+import com.microsoft.graph.models.IncludedUserRoles;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Authentication Methods Root Users Registered By Method Parameter Set.
+ */
+public class AuthenticationMethodsRootUsersRegisteredByMethodParameterSet {
+ /**
+ * The included User Types.
+ *
+ */
+ @SerializedName(value = "includedUserTypes", alternate = {"IncludedUserTypes"})
+ @Expose
+ @Nullable
+ public IncludedUserTypes includedUserTypes;
+
+ /**
+ * The included User Roles.
+ *
+ */
+ @SerializedName(value = "includedUserRoles", alternate = {"IncludedUserRoles"})
+ @Expose
+ @Nullable
+ public IncludedUserRoles includedUserRoles;
+
+
+ /**
+ * Instiaciates a new AuthenticationMethodsRootUsersRegisteredByMethodParameterSet
+ */
+ public AuthenticationMethodsRootUsersRegisteredByMethodParameterSet() {}
+ /**
+ * Instiaciates a new AuthenticationMethodsRootUsersRegisteredByMethodParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected AuthenticationMethodsRootUsersRegisteredByMethodParameterSet(@Nonnull final AuthenticationMethodsRootUsersRegisteredByMethodParameterSetBuilder builder) {
+ this.includedUserTypes = builder.includedUserTypes;
+ this.includedUserRoles = builder.includedUserRoles;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static AuthenticationMethodsRootUsersRegisteredByMethodParameterSetBuilder newBuilder() {
+ return new AuthenticationMethodsRootUsersRegisteredByMethodParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the AuthenticationMethodsRootUsersRegisteredByMethodParameterSet
+ */
+ public static final class AuthenticationMethodsRootUsersRegisteredByMethodParameterSetBuilder {
+ /**
+ * The includedUserTypes parameter value
+ */
+ @Nullable
+ protected IncludedUserTypes includedUserTypes;
+ /**
+ * Sets the IncludedUserTypes
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public AuthenticationMethodsRootUsersRegisteredByMethodParameterSetBuilder withIncludedUserTypes(@Nullable final IncludedUserTypes val) {
+ this.includedUserTypes = val;
+ return this;
+ }
+ /**
+ * The includedUserRoles parameter value
+ */
+ @Nullable
+ protected IncludedUserRoles includedUserRoles;
+ /**
+ * Sets the IncludedUserRoles
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public AuthenticationMethodsRootUsersRegisteredByMethodParameterSetBuilder withIncludedUserRoles(@Nullable final IncludedUserRoles val) {
+ this.includedUserRoles = val;
+ return this;
+ }
+ /**
+ * Instanciates a new AuthenticationMethodsRootUsersRegisteredByMethodParameterSetBuilder
+ */
+ @Nullable
+ protected AuthenticationMethodsRootUsersRegisteredByMethodParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public AuthenticationMethodsRootUsersRegisteredByMethodParameterSet build() {
+ return new AuthenticationMethodsRootUsersRegisteredByMethodParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.includedUserTypes != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("includedUserTypes", includedUserTypes));
+ }
+ if(this.includedUserRoles != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("includedUserRoles", includedUserRoles));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/AzureAdPopTokenAuthentication.java b/src/main/java/com/microsoft/graph/models/AzureAdPopTokenAuthentication.java
new file mode 100644
index 00000000000..f0a24231c21
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AzureAdPopTokenAuthentication.java
@@ -0,0 +1,38 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.CustomExtensionAuthenticationConfiguration;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Azure Ad Pop Token Authentication.
+ */
+public class AzureAdPopTokenAuthentication extends CustomExtensionAuthenticationConfiguration implements IJsonBackedObject {
+
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/CalculatedColumn.java b/src/main/java/com/microsoft/graph/models/CalculatedColumn.java
index 4b353b2ca29..332f4995fd1 100644
--- a/src/main/java/com/microsoft/graph/models/CalculatedColumn.java
+++ b/src/main/java/com/microsoft/graph/models/CalculatedColumn.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Format.
- * For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.
+ * For dateTime output types, the format of the value. Possible values are: dateOnly or dateTime.
*/
@SerializedName(value = "format", alternate = {"Format"})
@Expose
@@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Output Type.
- * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.
+ * The output type used to format values in this column. Possible values are: boolean, currency, dateTime, number, or text.
*/
@SerializedName(value = "outputType", alternate = {"OutputType"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/ChangeNotificationCollection.java b/src/main/java/com/microsoft/graph/models/ChangeNotificationCollection.java
index a63ce486b27..c0a914bcc1a 100644
--- a/src/main/java/com/microsoft/graph/models/ChangeNotificationCollection.java
+++ b/src/main/java/com/microsoft/graph/models/ChangeNotificationCollection.java
@@ -41,7 +41,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Validation Tokens.
- * Contains an array of JWT tokens generated by Microsoft Graph for the application to validate the origin of the notifications. Microsoft Graph generates a single token for each distinct app and tenant pair for an item if it exists in the value array. Keep in mind that notifications can contain a mix of items for various apps and tenants that subscribed using the same notification URL. Only provided for change notifications with resource data. Optional.
+ * Contains an array of JSON web tokens (JWT) generated by Microsoft Graph for the application to validate the origin of the notifications. Microsoft Graph generates a single token for each distinct app and tenant pair for an item if it exists in the value array. Keep in mind that notifications can contain a mix of items for various apps and tenants that subscribed using the same notification URL. Only provided for change notifications with resource data. Optional.
*/
@SerializedName(value = "validationTokens", alternate = {"ValidationTokens"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/ContentTypeInfo.java b/src/main/java/com/microsoft/graph/models/ContentTypeInfo.java
index 7f50c32b897..66ba7a1bc11 100644
--- a/src/main/java/com/microsoft/graph/models/ContentTypeInfo.java
+++ b/src/main/java/com/microsoft/graph/models/ContentTypeInfo.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Id.
- * The id of the content type.
+ * The ID of the content type.
*/
@SerializedName(value = "id", alternate = {"Id"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/ContentTypeOrder.java b/src/main/java/com/microsoft/graph/models/ContentTypeOrder.java
index 06f233099c8..884f79eab3b 100644
--- a/src/main/java/com/microsoft/graph/models/ContentTypeOrder.java
+++ b/src/main/java/com/microsoft/graph/models/ContentTypeOrder.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Default.
- * Whether this is the default Content Type
+ * Indicates whether this is the default content type
*/
@SerializedName(value = "default", alternate = {"Default"})
@Expose
@@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Position.
- * Specifies the position in which the Content Type appears in the selection UI.
+ * Specifies the position in which the content type appears in the selection UI.
*/
@SerializedName(value = "position", alternate = {"Position"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/CourseStatus.java b/src/main/java/com/microsoft/graph/models/CourseStatus.java
new file mode 100644
index 00000000000..23b7b285964
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CourseStatus.java
@@ -0,0 +1,34 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+/**
+ * The Enum Course Status.
+*/
+public enum CourseStatus
+{
+ /**
+ * not Started
+ */
+ NOT_STARTED,
+ /**
+ * in Progress
+ */
+ IN_PROGRESS,
+ /**
+ * completed
+ */
+ COMPLETED,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For CourseStatus values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/CustomCalloutExtension.java b/src/main/java/com/microsoft/graph/models/CustomCalloutExtension.java
new file mode 100644
index 00000000000..bd4fe08bd34
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CustomCalloutExtension.java
@@ -0,0 +1,86 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.CustomExtensionAuthenticationConfiguration;
+import com.microsoft.graph.models.CustomExtensionClientConfiguration;
+import com.microsoft.graph.models.CustomExtensionEndpointConfiguration;
+import com.microsoft.graph.models.Entity;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Callout Extension.
+ */
+public class CustomCalloutExtension extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Authentication Configuration.
+ * Configuration for securing the API call to the logic app. For example, using OAuth client credentials flow.
+ */
+ @SerializedName(value = "authenticationConfiguration", alternate = {"AuthenticationConfiguration"})
+ @Expose
+ @Nullable
+ public CustomExtensionAuthenticationConfiguration authenticationConfiguration;
+
+ /**
+ * The Client Configuration.
+ * HTTP connection settings that define how long Azure AD can wait for a connection to a logic app, how many times you can retry a timed-out connection and the exception scenarios when retries are allowed.
+ */
+ @SerializedName(value = "clientConfiguration", alternate = {"ClientConfiguration"})
+ @Expose
+ @Nullable
+ public CustomExtensionClientConfiguration clientConfiguration;
+
+ /**
+ * The Description.
+ * Description for the customCalloutExtension object.
+ */
+ @SerializedName(value = "description", alternate = {"Description"})
+ @Expose
+ @Nullable
+ public String description;
+
+ /**
+ * The Display Name.
+ * Display name for the customCalloutExtension object.
+ */
+ @SerializedName(value = "displayName", alternate = {"DisplayName"})
+ @Expose
+ @Nullable
+ public String displayName;
+
+ /**
+ * The Endpoint Configuration.
+ * The type and details for configuring the endpoint to call the logic app's workflow.
+ */
+ @SerializedName(value = "endpointConfiguration", alternate = {"EndpointConfiguration"})
+ @Expose
+ @Nullable
+ public CustomExtensionEndpointConfiguration endpointConfiguration;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/CustomExtensionAuthenticationConfiguration.java b/src/main/java/com/microsoft/graph/models/CustomExtensionAuthenticationConfiguration.java
new file mode 100644
index 00000000000..454f52c7975
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CustomExtensionAuthenticationConfiguration.java
@@ -0,0 +1,50 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Extension Authentication Configuration.
+ */
+public class CustomExtensionAuthenticationConfiguration implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/CustomExtensionCallbackConfiguration.java b/src/main/java/com/microsoft/graph/models/CustomExtensionCallbackConfiguration.java
new file mode 100644
index 00000000000..3dfbda368dd
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CustomExtensionCallbackConfiguration.java
@@ -0,0 +1,59 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Extension Callback Configuration.
+ */
+public class CustomExtensionCallbackConfiguration implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Timeout Duration.
+ * The maximum duration in ISO 8601 format that Azure AD will wait for a resume action for the callout it sent to the logic app. The valid range for custom extensions in lifecycle workflows is five minutes to three hours. The valid range for custom extensions in entitlement management is between 5 minutes and 14 days. For example, PT3H refers to three hours, P3D refers to three days, PT10M refers to ten minutes.
+ */
+ @SerializedName(value = "timeoutDuration", alternate = {"TimeoutDuration"})
+ @Expose
+ @Nullable
+ public javax.xml.datatype.Duration timeoutDuration;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/CustomExtensionCalloutRequest.java b/src/main/java/com/microsoft/graph/models/CustomExtensionCalloutRequest.java
new file mode 100644
index 00000000000..f7ec07c2535
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CustomExtensionCalloutRequest.java
@@ -0,0 +1,78 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.CustomExtensionData;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Extension Callout Request.
+ */
+public class CustomExtensionCalloutRequest implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Data.
+ * Contains the data that will be provided to the external system.
+ */
+ @SerializedName(value = "data", alternate = {"Data"})
+ @Expose
+ @Nullable
+ public CustomExtensionData data;
+
+ /**
+ * The Source.
+ * Identifies the source system or event context related to the callout request.
+ */
+ @SerializedName(value = "source", alternate = {"Source"})
+ @Expose
+ @Nullable
+ public String source;
+
+ /**
+ * The Type.
+ * Describes the type of event related to the callout request.
+ */
+ @SerializedName(value = "type", alternate = {"Type"})
+ @Expose
+ @Nullable
+ public String type;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/CustomExtensionCalloutResponse.java b/src/main/java/com/microsoft/graph/models/CustomExtensionCalloutResponse.java
new file mode 100644
index 00000000000..8e0c0416098
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CustomExtensionCalloutResponse.java
@@ -0,0 +1,78 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.CustomExtensionData;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Extension Callout Response.
+ */
+public class CustomExtensionCalloutResponse implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Data.
+ * Contains the data the external system provides to the custom extension endpoint.
+ */
+ @SerializedName(value = "data", alternate = {"Data"})
+ @Expose
+ @Nullable
+ public CustomExtensionData data;
+
+ /**
+ * The Source.
+ * Identifies the external system or event context related to the response.
+ */
+ @SerializedName(value = "source", alternate = {"Source"})
+ @Expose
+ @Nullable
+ public String source;
+
+ /**
+ * The Type.
+ * Describes the type of event related to the response.
+ */
+ @SerializedName(value = "type", alternate = {"Type"})
+ @Expose
+ @Nullable
+ public String type;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/CustomExtensionClientConfiguration.java b/src/main/java/com/microsoft/graph/models/CustomExtensionClientConfiguration.java
new file mode 100644
index 00000000000..35926196f66
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CustomExtensionClientConfiguration.java
@@ -0,0 +1,59 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Extension Client Configuration.
+ */
+public class CustomExtensionClientConfiguration implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Timeout In Milliseconds.
+ * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000.
+ */
+ @SerializedName(value = "timeoutInMilliseconds", alternate = {"TimeoutInMilliseconds"})
+ @Expose
+ @Nullable
+ public Integer timeoutInMilliseconds;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/CustomExtensionData.java b/src/main/java/com/microsoft/graph/models/CustomExtensionData.java
new file mode 100644
index 00000000000..6641cc144b5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CustomExtensionData.java
@@ -0,0 +1,50 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Extension Data.
+ */
+public class CustomExtensionData implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/CustomExtensionEndpointConfiguration.java b/src/main/java/com/microsoft/graph/models/CustomExtensionEndpointConfiguration.java
new file mode 100644
index 00000000000..55aeaa7d2aa
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CustomExtensionEndpointConfiguration.java
@@ -0,0 +1,50 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Custom Extension Endpoint Configuration.
+ */
+public class CustomExtensionEndpointConfiguration implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DefaultColumnValue.java b/src/main/java/com/microsoft/graph/models/DefaultColumnValue.java
index 42f401a962b..0efe28da605 100644
--- a/src/main/java/com/microsoft/graph/models/DefaultColumnValue.java
+++ b/src/main/java/com/microsoft/graph/models/DefaultColumnValue.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Formula.
- * The formula used to compute the default value for this column.
+ * The formula used to compute the default value for the column.
*/
@SerializedName(value = "formula", alternate = {"Formula"})
@Expose
@@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Value.
- * The direct value to use as the default value for this column.
+ * The direct value to use as the default value for the column.
*/
@SerializedName(value = "value", alternate = {"Value"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/DeletedItemContainer.java b/src/main/java/com/microsoft/graph/models/DeletedItemContainer.java
new file mode 100644
index 00000000000..70a0334cc9d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DeletedItemContainer.java
@@ -0,0 +1,53 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.identitygovernance.requests.WorkflowCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Deleted Item Container.
+ */
+public class DeletedItemContainer extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Workflows.
+ * Deleted workflows that end up in the deletedItemsContainer.
+ */
+ @SerializedName(value = "workflows", alternate = {"Workflows"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.identitygovernance.requests.WorkflowCollectionPage workflows;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+
+ if (json.has("workflows")) {
+ workflows = serializer.deserializeObject(json.get("workflows"), com.microsoft.graph.identitygovernance.requests.WorkflowCollectionPage.class);
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DetectedAppPlatformType.java b/src/main/java/com/microsoft/graph/models/DetectedAppPlatformType.java
index 378b2f38139..ab2b9c3906d 100644
--- a/src/main/java/com/microsoft/graph/models/DetectedAppPlatformType.java
+++ b/src/main/java/com/microsoft/graph/models/DetectedAppPlatformType.java
@@ -56,6 +56,10 @@ public enum DetectedAppPlatformType
*/
ANDROID_DEDICATED_AND_FULLY_MANAGED,
/**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
* For DetectedAppPlatformType values that were not expected from the service
*/
UNEXPECTED_VALUE
diff --git a/src/main/java/com/microsoft/graph/models/DeviceLogCollectionResponse.java b/src/main/java/com/microsoft/graph/models/DeviceLogCollectionResponse.java
new file mode 100644
index 00000000000..9497fb0470e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DeviceLogCollectionResponse.java
@@ -0,0 +1,111 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.AppLogUploadState;
+import com.microsoft.graph.models.Entity;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Device Log Collection Response.
+ */
+public class DeviceLogCollectionResponse extends Entity implements IJsonBackedObject {
+
+
+ /**
+ * The Enrolled By User.
+ * The User Principal Name (UPN) of the user that enrolled the device.
+ */
+ @SerializedName(value = "enrolledByUser", alternate = {"EnrolledByUser"})
+ @Expose
+ @Nullable
+ public String enrolledByUser;
+
+ /**
+ * The Expiration Date Time UTC.
+ * The DateTime of the expiration of the logs.
+ */
+ @SerializedName(value = "expirationDateTimeUTC", alternate = {"ExpirationDateTimeUTC"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime expirationDateTimeUTC;
+
+ /**
+ * The Initiated By User Principal Name.
+ * The UPN for who initiated the request.
+ */
+ @SerializedName(value = "initiatedByUserPrincipalName", alternate = {"InitiatedByUserPrincipalName"})
+ @Expose
+ @Nullable
+ public String initiatedByUserPrincipalName;
+
+ /**
+ * The Managed Device Id.
+ * Indicates Intune device unique identifier.
+ */
+ @SerializedName(value = "managedDeviceId", alternate = {"ManagedDeviceId"})
+ @Expose
+ @Nullable
+ public java.util.UUID managedDeviceId;
+
+ /**
+ * The Received Date Time UTC.
+ * The DateTime the request was received.
+ */
+ @SerializedName(value = "receivedDateTimeUTC", alternate = {"ReceivedDateTimeUTC"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime receivedDateTimeUTC;
+
+ /**
+ * The Requested Date Time UTC.
+ * The DateTime of the request.
+ */
+ @SerializedName(value = "requestedDateTimeUTC", alternate = {"RequestedDateTimeUTC"})
+ @Expose
+ @Nullable
+ public java.time.OffsetDateTime requestedDateTimeUTC;
+
+ /**
+ * The Size In KB.
+ * The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
+ */
+ @SerializedName(value = "sizeInKB", alternate = {"SizeInKB"})
+ @Expose
+ @Nullable
+ public Double sizeInKB;
+
+ /**
+ * The Status.
+ * Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending.
+ */
+ @SerializedName(value = "status", alternate = {"Status"})
+ @Expose
+ @Nullable
+ public AppLogUploadState status;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DeviceLogCollectionResponseCreateDownloadUrlParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceLogCollectionResponseCreateDownloadUrlParameterSet.java
new file mode 100644
index 00000000000..bdf6997b221
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DeviceLogCollectionResponseCreateDownloadUrlParameterSet.java
@@ -0,0 +1,69 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Device Log Collection Response Create Download Url Parameter Set.
+ */
+public class DeviceLogCollectionResponseCreateDownloadUrlParameterSet {
+
+ /**
+ * Instiaciates a new DeviceLogCollectionResponseCreateDownloadUrlParameterSet
+ */
+ public DeviceLogCollectionResponseCreateDownloadUrlParameterSet() {}
+ /**
+ * Instiaciates a new DeviceLogCollectionResponseCreateDownloadUrlParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected DeviceLogCollectionResponseCreateDownloadUrlParameterSet(@Nonnull final DeviceLogCollectionResponseCreateDownloadUrlParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static DeviceLogCollectionResponseCreateDownloadUrlParameterSetBuilder newBuilder() {
+ return new DeviceLogCollectionResponseCreateDownloadUrlParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the DeviceLogCollectionResponseCreateDownloadUrlParameterSet
+ */
+ public static final class DeviceLogCollectionResponseCreateDownloadUrlParameterSetBuilder {
+ /**
+ * Instanciates a new DeviceLogCollectionResponseCreateDownloadUrlParameterSetBuilder
+ */
+ @Nullable
+ protected DeviceLogCollectionResponseCreateDownloadUrlParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public DeviceLogCollectionResponseCreateDownloadUrlParameterSet build() {
+ return new DeviceLogCollectionResponseCreateDownloadUrlParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DeviceLogCollectionTemplateType.java b/src/main/java/com/microsoft/graph/models/DeviceLogCollectionTemplateType.java
new file mode 100644
index 00000000000..de5ec425126
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DeviceLogCollectionTemplateType.java
@@ -0,0 +1,26 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+/**
+ * The Enum Device Log Collection Template Type.
+*/
+public enum DeviceLogCollectionTemplateType
+{
+ /**
+ * predefined
+ */
+ PREDEFINED,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For DeviceLogCollectionTemplateType values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagement.java b/src/main/java/com/microsoft/graph/models/DeviceManagement.java
index f8ba55f7063..783d0cb2ec0 100644
--- a/src/main/java/com/microsoft/graph/models/DeviceManagement.java
+++ b/src/main/java/com/microsoft/graph/models/DeviceManagement.java
@@ -11,13 +11,19 @@
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.DeviceManagementSettings;
import com.microsoft.graph.models.IntuneBrand;
+import com.microsoft.graph.models.DeviceProtectionOverview;
import com.microsoft.graph.models.DeviceManagementSubscriptionState;
+import com.microsoft.graph.models.UserExperienceAnalyticsSettings;
+import com.microsoft.graph.models.WindowsMalwareOverview;
import com.microsoft.graph.models.DeviceCompliancePolicyDeviceStateSummary;
import com.microsoft.graph.models.DeviceConfigurationDeviceStateSummary;
import com.microsoft.graph.models.SoftwareUpdateStatusSummary;
import com.microsoft.graph.models.OnPremisesConditionalAccessSettings;
import com.microsoft.graph.models.ApplePushNotificationCertificate;
import com.microsoft.graph.models.ManagedDeviceOverview;
+import com.microsoft.graph.models.UserExperienceAnalyticsCategory;
+import com.microsoft.graph.models.UserExperienceAnalyticsOverview;
+import com.microsoft.graph.models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric;
import com.microsoft.graph.models.DeviceManagementReports;
import com.microsoft.graph.models.Entity;
import com.microsoft.graph.requests.TermsAndConditionsCollectionPage;
@@ -34,6 +40,26 @@
import com.microsoft.graph.requests.MobileThreatDefenseConnectorCollectionPage;
import com.microsoft.graph.requests.DetectedAppCollectionPage;
import com.microsoft.graph.requests.ManagedDeviceCollectionPage;
+import com.microsoft.graph.requests.MobileAppTroubleshootingEventCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDevicePerformanceCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsBaselineCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsDevicePerformanceCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsDeviceScoresCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsDeviceStartupHistoryCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsDeviceStartupProcessCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsMetricHistoryCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsModelScoresCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsScoreHistoryCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsWorkFromAnywhereMetricCollectionPage;
+import com.microsoft.graph.requests.UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionPage;
+import com.microsoft.graph.requests.WindowsMalwareInformationCollectionPage;
import com.microsoft.graph.requests.ImportedWindowsAutopilotDeviceIdentityCollectionPage;
import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityCollectionPage;
import com.microsoft.graph.requests.NotificationMessageTemplateCollectionPage;
@@ -88,6 +114,15 @@ public class DeviceManagement extends Entity implements IJsonBackedObject {
@Nullable
public IntuneBrand intuneBrand;
+ /**
+ * The Device Protection Overview.
+ * Device protection overview.
+ */
+ @SerializedName(value = "deviceProtectionOverview", alternate = {"DeviceProtectionOverview"})
+ @Expose
+ @Nullable
+ public DeviceProtectionOverview deviceProtectionOverview;
+
/**
* The Subscription State.
* Tenant mobile device management subscription state. Possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut.
@@ -97,6 +132,24 @@ public class DeviceManagement extends Entity implements IJsonBackedObject {
@Nullable
public DeviceManagementSubscriptionState subscriptionState;
+ /**
+ * The User Experience Analytics Settings.
+ * User experience analytics device settings
+ */
+ @SerializedName(value = "userExperienceAnalyticsSettings", alternate = {"UserExperienceAnalyticsSettings"})
+ @Expose
+ @Nullable
+ public UserExperienceAnalyticsSettings userExperienceAnalyticsSettings;
+
+ /**
+ * The Windows Malware Overview.
+ * Malware overview for windows devices.
+ */
+ @SerializedName(value = "windowsMalwareOverview", alternate = {"WindowsMalwareOverview"})
+ @Expose
+ @Nullable
+ public WindowsMalwareOverview windowsMalwareOverview;
+
/**
* The Terms And Conditions.
* The terms and conditions associated with device management of the company.
@@ -277,6 +330,222 @@ public class DeviceManagement extends Entity implements IJsonBackedObject {
@Nullable
public com.microsoft.graph.requests.ManagedDeviceCollectionPage managedDevices;
+ /**
+ * The Mobile App Troubleshooting Events.
+ * The collection property of MobileAppTroubleshootingEvent.
+ */
+ @SerializedName(value = "mobileAppTroubleshootingEvents", alternate = {"MobileAppTroubleshootingEvents"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.MobileAppTroubleshootingEventCollectionPage mobileAppTroubleshootingEvents;
+
+ /**
+ * The User Experience Analytics App Health Application Performance.
+ * User experience analytics appHealth Application Performance
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthApplicationPerformance", alternate = {"UserExperienceAnalyticsAppHealthApplicationPerformance"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage userExperienceAnalyticsAppHealthApplicationPerformance;
+
+ /**
+ * The User Experience Analytics App Health Application Performance By App Version Details.
+ * User experience analytics appHealth Application Performance by App Version details
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", alternate = {"UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsCollectionPage userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails;
+
+ /**
+ * The User Experience Analytics App Health Application Performance By App Version Device Id.
+ * User experience analytics appHealth Application Performance by App Version Device Id
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", alternate = {"UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdCollectionPage userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId;
+
+ /**
+ * The User Experience Analytics App Health Application Performance By OSVersion.
+ * User experience analytics appHealth Application Performance by OS Version
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", alternate = {"UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionCollectionPage userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion;
+
+ /**
+ * The User Experience Analytics App Health Device Model Performance.
+ * User experience analytics appHealth Model Performance
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthDeviceModelPerformance", alternate = {"UserExperienceAnalyticsAppHealthDeviceModelPerformance"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionPage userExperienceAnalyticsAppHealthDeviceModelPerformance;
+
+ /**
+ * The User Experience Analytics App Health Device Performance.
+ * User experience analytics appHealth Device Performance
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthDevicePerformance", alternate = {"UserExperienceAnalyticsAppHealthDevicePerformance"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDevicePerformanceCollectionPage userExperienceAnalyticsAppHealthDevicePerformance;
+
+ /**
+ * The User Experience Analytics App Health Device Performance Details.
+ * User experience analytics device performance details
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthDevicePerformanceDetails", alternate = {"UserExperienceAnalyticsAppHealthDevicePerformanceDetails"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionPage userExperienceAnalyticsAppHealthDevicePerformanceDetails;
+
+ /**
+ * The User Experience Analytics App Health OSVersion Performance.
+ * User experience analytics appHealth OS version Performance
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthOSVersionPerformance", alternate = {"UserExperienceAnalyticsAppHealthOSVersionPerformance"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionPage userExperienceAnalyticsAppHealthOSVersionPerformance;
+
+ /**
+ * The User Experience Analytics App Health Overview.
+ * User experience analytics appHealth overview
+ */
+ @SerializedName(value = "userExperienceAnalyticsAppHealthOverview", alternate = {"UserExperienceAnalyticsAppHealthOverview"})
+ @Expose
+ @Nullable
+ public UserExperienceAnalyticsCategory userExperienceAnalyticsAppHealthOverview;
+
+ /**
+ * The User Experience Analytics Baselines.
+ * User experience analytics baselines
+ */
+ @SerializedName(value = "userExperienceAnalyticsBaselines", alternate = {"UserExperienceAnalyticsBaselines"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsBaselineCollectionPage userExperienceAnalyticsBaselines;
+
+ /**
+ * The User Experience Analytics Categories.
+ * User experience analytics categories
+ */
+ @SerializedName(value = "userExperienceAnalyticsCategories", alternate = {"UserExperienceAnalyticsCategories"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsCategoryCollectionPage userExperienceAnalyticsCategories;
+
+ /**
+ * The User Experience Analytics Device Performance.
+ * User experience analytics device performance
+ */
+ @SerializedName(value = "userExperienceAnalyticsDevicePerformance", alternate = {"UserExperienceAnalyticsDevicePerformance"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsDevicePerformanceCollectionPage userExperienceAnalyticsDevicePerformance;
+
+ /**
+ * The User Experience Analytics Device Scores.
+ * User experience analytics device scores
+ */
+ @SerializedName(value = "userExperienceAnalyticsDeviceScores", alternate = {"UserExperienceAnalyticsDeviceScores"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsDeviceScoresCollectionPage userExperienceAnalyticsDeviceScores;
+
+ /**
+ * The User Experience Analytics Device Startup History.
+ * User experience analytics device Startup History
+ */
+ @SerializedName(value = "userExperienceAnalyticsDeviceStartupHistory", alternate = {"UserExperienceAnalyticsDeviceStartupHistory"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsDeviceStartupHistoryCollectionPage userExperienceAnalyticsDeviceStartupHistory;
+
+ /**
+ * The User Experience Analytics Device Startup Processes.
+ * User experience analytics device Startup Processes
+ */
+ @SerializedName(value = "userExperienceAnalyticsDeviceStartupProcesses", alternate = {"UserExperienceAnalyticsDeviceStartupProcesses"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsDeviceStartupProcessCollectionPage userExperienceAnalyticsDeviceStartupProcesses;
+
+ /**
+ * The User Experience Analytics Metric History.
+ * User experience analytics metric history
+ */
+ @SerializedName(value = "userExperienceAnalyticsMetricHistory", alternate = {"UserExperienceAnalyticsMetricHistory"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsMetricHistoryCollectionPage userExperienceAnalyticsMetricHistory;
+
+ /**
+ * The User Experience Analytics Model Scores.
+ * User experience analytics model scores
+ */
+ @SerializedName(value = "userExperienceAnalyticsModelScores", alternate = {"UserExperienceAnalyticsModelScores"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsModelScoresCollectionPage userExperienceAnalyticsModelScores;
+
+ /**
+ * The User Experience Analytics Overview.
+ * User experience analytics overview
+ */
+ @SerializedName(value = "userExperienceAnalyticsOverview", alternate = {"UserExperienceAnalyticsOverview"})
+ @Expose
+ @Nullable
+ public UserExperienceAnalyticsOverview userExperienceAnalyticsOverview;
+
+ /**
+ * The User Experience Analytics Score History.
+ * User experience analytics device Startup Score History
+ */
+ @SerializedName(value = "userExperienceAnalyticsScoreHistory", alternate = {"UserExperienceAnalyticsScoreHistory"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsScoreHistoryCollectionPage userExperienceAnalyticsScoreHistory;
+
+ /**
+ * The User Experience Analytics Work From Anywhere Hardware Readiness Metric.
+ * User experience analytics work from anywhere hardware readiness metrics.
+ */
+ @SerializedName(value = "userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", alternate = {"UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric"})
+ @Expose
+ @Nullable
+ public UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric;
+
+ /**
+ * The User Experience Analytics Work From Anywhere Metrics.
+ * User experience analytics work from anywhere metrics.
+ */
+ @SerializedName(value = "userExperienceAnalyticsWorkFromAnywhereMetrics", alternate = {"UserExperienceAnalyticsWorkFromAnywhereMetrics"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsWorkFromAnywhereMetricCollectionPage userExperienceAnalyticsWorkFromAnywhereMetrics;
+
+ /**
+ * The User Experience Analytics Work From Anywhere Model Performance.
+ * The user experience analytics work from anywhere model performance
+ */
+ @SerializedName(value = "userExperienceAnalyticsWorkFromAnywhereModelPerformance", alternate = {"UserExperienceAnalyticsWorkFromAnywhereModelPerformance"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionPage userExperienceAnalyticsWorkFromAnywhereModelPerformance;
+
+ /**
+ * The Windows Malware Information.
+ * The list of affected malware in the tenant.
+ */
+ @SerializedName(value = "windowsMalwareInformation", alternate = {"WindowsMalwareInformation"})
+ @Expose
+ @Nullable
+ public com.microsoft.graph.requests.WindowsMalwareInformationCollectionPage windowsMalwareInformation;
+
/**
* The Imported Windows Autopilot Device Identities.
* Collection of imported Windows autopilot devices.
@@ -451,6 +720,90 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
managedDevices = serializer.deserializeObject(json.get("managedDevices"), com.microsoft.graph.requests.ManagedDeviceCollectionPage.class);
}
+ if (json.has("mobileAppTroubleshootingEvents")) {
+ mobileAppTroubleshootingEvents = serializer.deserializeObject(json.get("mobileAppTroubleshootingEvents"), com.microsoft.graph.requests.MobileAppTroubleshootingEventCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsAppHealthApplicationPerformance")) {
+ userExperienceAnalyticsAppHealthApplicationPerformance = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthApplicationPerformance"), com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails")) {
+ userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails"), com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId")) {
+ userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId"), com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion")) {
+ userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion"), com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsAppHealthDeviceModelPerformance")) {
+ userExperienceAnalyticsAppHealthDeviceModelPerformance = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthDeviceModelPerformance"), com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsAppHealthDevicePerformance")) {
+ userExperienceAnalyticsAppHealthDevicePerformance = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthDevicePerformance"), com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDevicePerformanceCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsAppHealthDevicePerformanceDetails")) {
+ userExperienceAnalyticsAppHealthDevicePerformanceDetails = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthDevicePerformanceDetails"), com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsAppHealthOSVersionPerformance")) {
+ userExperienceAnalyticsAppHealthOSVersionPerformance = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthOSVersionPerformance"), com.microsoft.graph.requests.UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsBaselines")) {
+ userExperienceAnalyticsBaselines = serializer.deserializeObject(json.get("userExperienceAnalyticsBaselines"), com.microsoft.graph.requests.UserExperienceAnalyticsBaselineCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsCategories")) {
+ userExperienceAnalyticsCategories = serializer.deserializeObject(json.get("userExperienceAnalyticsCategories"), com.microsoft.graph.requests.UserExperienceAnalyticsCategoryCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsDevicePerformance")) {
+ userExperienceAnalyticsDevicePerformance = serializer.deserializeObject(json.get("userExperienceAnalyticsDevicePerformance"), com.microsoft.graph.requests.UserExperienceAnalyticsDevicePerformanceCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsDeviceScores")) {
+ userExperienceAnalyticsDeviceScores = serializer.deserializeObject(json.get("userExperienceAnalyticsDeviceScores"), com.microsoft.graph.requests.UserExperienceAnalyticsDeviceScoresCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsDeviceStartupHistory")) {
+ userExperienceAnalyticsDeviceStartupHistory = serializer.deserializeObject(json.get("userExperienceAnalyticsDeviceStartupHistory"), com.microsoft.graph.requests.UserExperienceAnalyticsDeviceStartupHistoryCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsDeviceStartupProcesses")) {
+ userExperienceAnalyticsDeviceStartupProcesses = serializer.deserializeObject(json.get("userExperienceAnalyticsDeviceStartupProcesses"), com.microsoft.graph.requests.UserExperienceAnalyticsDeviceStartupProcessCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsMetricHistory")) {
+ userExperienceAnalyticsMetricHistory = serializer.deserializeObject(json.get("userExperienceAnalyticsMetricHistory"), com.microsoft.graph.requests.UserExperienceAnalyticsMetricHistoryCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsModelScores")) {
+ userExperienceAnalyticsModelScores = serializer.deserializeObject(json.get("userExperienceAnalyticsModelScores"), com.microsoft.graph.requests.UserExperienceAnalyticsModelScoresCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsScoreHistory")) {
+ userExperienceAnalyticsScoreHistory = serializer.deserializeObject(json.get("userExperienceAnalyticsScoreHistory"), com.microsoft.graph.requests.UserExperienceAnalyticsScoreHistoryCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsWorkFromAnywhereMetrics")) {
+ userExperienceAnalyticsWorkFromAnywhereMetrics = serializer.deserializeObject(json.get("userExperienceAnalyticsWorkFromAnywhereMetrics"), com.microsoft.graph.requests.UserExperienceAnalyticsWorkFromAnywhereMetricCollectionPage.class);
+ }
+
+ if (json.has("userExperienceAnalyticsWorkFromAnywhereModelPerformance")) {
+ userExperienceAnalyticsWorkFromAnywhereModelPerformance = serializer.deserializeObject(json.get("userExperienceAnalyticsWorkFromAnywhereModelPerformance"), com.microsoft.graph.requests.UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionPage.class);
+ }
+
+ if (json.has("windowsMalwareInformation")) {
+ windowsMalwareInformation = serializer.deserializeObject(json.get("windowsMalwareInformation"), com.microsoft.graph.requests.WindowsMalwareInformationCollectionPage.class);
+ }
+
if (json.has("importedWindowsAutopilotDeviceIdentities")) {
importedWindowsAutopilotDeviceIdentities = serializer.deserializeObject(json.get("importedWindowsAutopilotDeviceIdentities"), com.microsoft.graph.requests.ImportedWindowsAutopilotDeviceIdentityCollectionPage.class);
}
diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet.java
new file mode 100644
index 00000000000..78a64f1be79
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet.java
@@ -0,0 +1,69 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.UserExperienceAnalyticsWorkFromAnywhereDevicesSummary;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Device Management User Experience Analytics Summarize Work From Anywhere Devices Parameter Set.
+ */
+public class DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet {
+
+ /**
+ * Instiaciates a new DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet
+ */
+ public DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet() {}
+ /**
+ * Instiaciates a new DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet(@Nonnull final DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSetBuilder newBuilder() {
+ return new DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet
+ */
+ public static final class DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSetBuilder {
+ /**
+ * Instanciates a new DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSetBuilder
+ */
+ @Nullable
+ protected DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet build() {
+ return new DeviceManagementUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DeviceProtectionOverview.java b/src/main/java/com/microsoft/graph/models/DeviceProtectionOverview.java
new file mode 100644
index 00000000000..8f3bc232384
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DeviceProtectionOverview.java
@@ -0,0 +1,149 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Device Protection Overview.
+ */
+public class DeviceProtectionOverview implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Clean Device Count.
+ * Clean device count.
+ */
+ @SerializedName(value = "cleanDeviceCount", alternate = {"CleanDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer cleanDeviceCount;
+
+ /**
+ * The Critical Failures Device Count.
+ * Critical failures device count.
+ */
+ @SerializedName(value = "criticalFailuresDeviceCount", alternate = {"CriticalFailuresDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer criticalFailuresDeviceCount;
+
+ /**
+ * The Inactive Threat Agent Device Count.
+ * Device with inactive threat agent count
+ */
+ @SerializedName(value = "inactiveThreatAgentDeviceCount", alternate = {"InactiveThreatAgentDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer inactiveThreatAgentDeviceCount;
+
+ /**
+ * The Pending Full Scan Device Count.
+ * Pending full scan device count.
+ */
+ @SerializedName(value = "pendingFullScanDeviceCount", alternate = {"PendingFullScanDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer pendingFullScanDeviceCount;
+
+ /**
+ * The Pending Manual Steps Device Count.
+ * Pending manual steps device count.
+ */
+ @SerializedName(value = "pendingManualStepsDeviceCount", alternate = {"PendingManualStepsDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer pendingManualStepsDeviceCount;
+
+ /**
+ * The Pending Offline Scan Device Count.
+ * Pending offline scan device count.
+ */
+ @SerializedName(value = "pendingOfflineScanDeviceCount", alternate = {"PendingOfflineScanDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer pendingOfflineScanDeviceCount;
+
+ /**
+ * The Pending Quick Scan Device Count.
+ * Pending quick scan device count. Valid values -2147483648 to 2147483647
+ */
+ @SerializedName(value = "pendingQuickScanDeviceCount", alternate = {"PendingQuickScanDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer pendingQuickScanDeviceCount;
+
+ /**
+ * The Pending Restart Device Count.
+ * Pending restart device count.
+ */
+ @SerializedName(value = "pendingRestartDeviceCount", alternate = {"PendingRestartDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer pendingRestartDeviceCount;
+
+ /**
+ * The Pending Signature Update Device Count.
+ * Device with old signature count.
+ */
+ @SerializedName(value = "pendingSignatureUpdateDeviceCount", alternate = {"PendingSignatureUpdateDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer pendingSignatureUpdateDeviceCount;
+
+ /**
+ * The Total Reported Device Count.
+ * Total device count.
+ */
+ @SerializedName(value = "totalReportedDeviceCount", alternate = {"TotalReportedDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer totalReportedDeviceCount;
+
+ /**
+ * The Unknown State Threat Agent Device Count.
+ * Device with threat agent state as unknown count.
+ */
+ @SerializedName(value = "unknownStateThreatAgentDeviceCount", alternate = {"UnknownStateThreatAgentDeviceCount"})
+ @Expose
+ @Nullable
+ public Integer unknownStateThreatAgentDeviceCount;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DriveItemAssignSensitivityLabelParameterSet.java b/src/main/java/com/microsoft/graph/models/DriveItemAssignSensitivityLabelParameterSet.java
new file mode 100644
index 00000000000..b4c9e7b20d8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DriveItemAssignSensitivityLabelParameterSet.java
@@ -0,0 +1,153 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.SensitivityLabelAssignmentMethod;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Drive Item Assign Sensitivity Label Parameter Set.
+ */
+public class DriveItemAssignSensitivityLabelParameterSet {
+ /**
+ * The sensitivity Label Id.
+ *
+ */
+ @SerializedName(value = "sensitivityLabelId", alternate = {"SensitivityLabelId"})
+ @Expose
+ @Nullable
+ public String sensitivityLabelId;
+
+ /**
+ * The assignment Method.
+ *
+ */
+ @SerializedName(value = "assignmentMethod", alternate = {"AssignmentMethod"})
+ @Expose
+ @Nullable
+ public SensitivityLabelAssignmentMethod assignmentMethod;
+
+ /**
+ * The justification Text.
+ *
+ */
+ @SerializedName(value = "justificationText", alternate = {"JustificationText"})
+ @Expose
+ @Nullable
+ public String justificationText;
+
+
+ /**
+ * Instiaciates a new DriveItemAssignSensitivityLabelParameterSet
+ */
+ public DriveItemAssignSensitivityLabelParameterSet() {}
+ /**
+ * Instiaciates a new DriveItemAssignSensitivityLabelParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected DriveItemAssignSensitivityLabelParameterSet(@Nonnull final DriveItemAssignSensitivityLabelParameterSetBuilder builder) {
+ this.sensitivityLabelId = builder.sensitivityLabelId;
+ this.assignmentMethod = builder.assignmentMethod;
+ this.justificationText = builder.justificationText;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static DriveItemAssignSensitivityLabelParameterSetBuilder newBuilder() {
+ return new DriveItemAssignSensitivityLabelParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the DriveItemAssignSensitivityLabelParameterSet
+ */
+ public static final class DriveItemAssignSensitivityLabelParameterSetBuilder {
+ /**
+ * The sensitivityLabelId parameter value
+ */
+ @Nullable
+ protected String sensitivityLabelId;
+ /**
+ * Sets the SensitivityLabelId
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public DriveItemAssignSensitivityLabelParameterSetBuilder withSensitivityLabelId(@Nullable final String val) {
+ this.sensitivityLabelId = val;
+ return this;
+ }
+ /**
+ * The assignmentMethod parameter value
+ */
+ @Nullable
+ protected SensitivityLabelAssignmentMethod assignmentMethod;
+ /**
+ * Sets the AssignmentMethod
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public DriveItemAssignSensitivityLabelParameterSetBuilder withAssignmentMethod(@Nullable final SensitivityLabelAssignmentMethod val) {
+ this.assignmentMethod = val;
+ return this;
+ }
+ /**
+ * The justificationText parameter value
+ */
+ @Nullable
+ protected String justificationText;
+ /**
+ * Sets the JustificationText
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public DriveItemAssignSensitivityLabelParameterSetBuilder withJustificationText(@Nullable final String val) {
+ this.justificationText = val;
+ return this;
+ }
+ /**
+ * Instanciates a new DriveItemAssignSensitivityLabelParameterSetBuilder
+ */
+ @Nullable
+ protected DriveItemAssignSensitivityLabelParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public DriveItemAssignSensitivityLabelParameterSet build() {
+ return new DriveItemAssignSensitivityLabelParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.sensitivityLabelId != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("sensitivityLabelId", sensitivityLabelId));
+ }
+ if(this.assignmentMethod != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("assignmentMethod", assignmentMethod));
+ }
+ if(this.justificationText != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("justificationText", justificationText));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DriveItemExtractSensitivityLabelsParameterSet.java b/src/main/java/com/microsoft/graph/models/DriveItemExtractSensitivityLabelsParameterSet.java
new file mode 100644
index 00000000000..7f29505e469
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DriveItemExtractSensitivityLabelsParameterSet.java
@@ -0,0 +1,69 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.ExtractSensitivityLabelsResult;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Drive Item Extract Sensitivity Labels Parameter Set.
+ */
+public class DriveItemExtractSensitivityLabelsParameterSet {
+
+ /**
+ * Instiaciates a new DriveItemExtractSensitivityLabelsParameterSet
+ */
+ public DriveItemExtractSensitivityLabelsParameterSet() {}
+ /**
+ * Instiaciates a new DriveItemExtractSensitivityLabelsParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected DriveItemExtractSensitivityLabelsParameterSet(@Nonnull final DriveItemExtractSensitivityLabelsParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static DriveItemExtractSensitivityLabelsParameterSetBuilder newBuilder() {
+ return new DriveItemExtractSensitivityLabelsParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the DriveItemExtractSensitivityLabelsParameterSet
+ */
+ public static final class DriveItemExtractSensitivityLabelsParameterSetBuilder {
+ /**
+ * Instanciates a new DriveItemExtractSensitivityLabelsParameterSetBuilder
+ */
+ @Nullable
+ protected DriveItemExtractSensitivityLabelsParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public DriveItemExtractSensitivityLabelsParameterSet build() {
+ return new DriveItemExtractSensitivityLabelsParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList