diff --git a/CHANGELOG.md b/CHANGELOG.md
index 83be41b6b93..765c5b957b0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+## [0.64.0] - 2023-03-14
+
+### Changed
+
+- Weekly generation.
+
## [0.63.0] - 2023-03-08
### Changed
diff --git a/README.md b/README.md
index a5adc6dde6c..74c60825924 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
- implementation 'com.microsoft.graph:microsoft-graph-beta:0.63.0-SNAPSHOT'
+ implementation 'com.microsoft.graph:microsoft-graph-beta:0.64.0-SNAPSHOT'
// 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
@@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph-beta
- 0.63.0-SNAPSHOT
+ 0.64.0-SNAPSHOT
@@ -199,5 +199,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
+
diff --git a/gradle.properties b/gradle.properties
index 52674abc589..65d3d081f98 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph-beta
mavenMajorVersion = 0
-mavenMinorVersion = 63
+mavenMinorVersion = 64
mavenPatchVersion = 0
mavenArtifactSuffix =
@@ -98,5 +98,6 @@ mavenCentralPublishingEnabled=false
+
diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java
index 04dfde05178..8e7b51d9d4d 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 = "0.63.0";
+ public static final String VERSION_NAME = "0.64.0";
}
@@ -73,5 +73,6 @@ private Constants() {
+
diff --git a/src/main/java/com/microsoft/graph/models/AuthenticationStrength.java b/src/main/java/com/microsoft/graph/models/AuthenticationStrength.java
index 8bf980176d4..1c6d9048fe2 100644
--- a/src/main/java/com/microsoft/graph/models/AuthenticationStrength.java
+++ b/src/main/java/com/microsoft/graph/models/AuthenticationStrength.java
@@ -49,7 +49,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Authentication Strength Result.
- *
+ * The result of the authentication strength. The possible values are: notSet, skippedForProofUp, satisfied, singleChallengeRequired, multipleChallengesRequired, singleRegistrationRequired, multipleRegistrationsRequired, cannotSatisfyDueToCombinationConfiguration, cannotSatisfy, unknownFutureValue.
*/
@SerializedName(value = "authenticationStrengthResult", alternate = {"AuthenticationStrengthResult"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/CloudPCStartParameterSet.java b/src/main/java/com/microsoft/graph/models/CloudPCStartParameterSet.java
new file mode 100644
index 00000000000..a8b3796da58
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CloudPCStartParameterSet.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 Cloud PCStart Parameter Set.
+ */
+public class CloudPCStartParameterSet {
+
+ /**
+ * Instiaciates a new CloudPCStartParameterSet
+ */
+ public CloudPCStartParameterSet() {}
+ /**
+ * Instiaciates a new CloudPCStartParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected CloudPCStartParameterSet(@Nonnull final CloudPCStartParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static CloudPCStartParameterSetBuilder newBuilder() {
+ return new CloudPCStartParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the CloudPCStartParameterSet
+ */
+ public static final class CloudPCStartParameterSetBuilder {
+ /**
+ * Instanciates a new CloudPCStartParameterSetBuilder
+ */
+ @Nullable
+ protected CloudPCStartParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public CloudPCStartParameterSet build() {
+ return new CloudPCStartParameterSet(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/CloudPCStopParameterSet.java b/src/main/java/com/microsoft/graph/models/CloudPCStopParameterSet.java
new file mode 100644
index 00000000000..2341e9273e1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/CloudPCStopParameterSet.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 Cloud PCStop Parameter Set.
+ */
+public class CloudPCStopParameterSet {
+
+ /**
+ * Instiaciates a new CloudPCStopParameterSet
+ */
+ public CloudPCStopParameterSet() {}
+ /**
+ * Instiaciates a new CloudPCStopParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected CloudPCStopParameterSet(@Nonnull final CloudPCStopParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static CloudPCStopParameterSetBuilder newBuilder() {
+ return new CloudPCStopParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the CloudPCStopParameterSet
+ */
+ public static final class CloudPCStopParameterSetBuilder {
+ /**
+ * Instanciates a new CloudPCStopParameterSetBuilder
+ */
+ @Nullable
+ protected CloudPCStopParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public CloudPCStopParameterSet build() {
+ return new CloudPCStopParameterSet(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/CloudPcLaunchInfo.java b/src/main/java/com/microsoft/graph/models/CloudPcLaunchInfo.java
index 90cbbc06f3e..855948171da 100644
--- a/src/main/java/com/microsoft/graph/models/CloudPcLaunchInfo.java
+++ b/src/main/java/com/microsoft/graph/models/CloudPcLaunchInfo.java
@@ -55,6 +55,24 @@ public final AdditionalDataManager additionalDataManager() {
@Nullable
public String cloudPcLaunchUrl;
+ /**
+ * The Windows365Switch Compatible.
+ * Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false.
+ */
+ @SerializedName(value = "windows365SwitchCompatible", alternate = {"Windows365SwitchCompatible"})
+ @Expose
+ @Nullable
+ public Boolean windows365SwitchCompatible;
+
+ /**
+ * The Windows365Switch Not Compatible Reason.
+ * Indicates the reason the Cloud PC doesn't support switch. CPCOsVersionNotMeetRequirement indicates that the user needs to update their Cloud PC operation system version. CPCHardwareNotMeetRequirement indicates that the Cloud PC needs more CPU or RAM to support the functionality.
+ */
+ @SerializedName(value = "windows365SwitchNotCompatibleReason", alternate = {"Windows365SwitchNotCompatibleReason"})
+ @Expose
+ @Nullable
+ public String windows365SwitchNotCompatibleReason;
+
/**
* Sets the raw JSON object
diff --git a/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicy.java b/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicy.java
index b2150ad7070..ccf3a69ec72 100644
--- a/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicy.java
+++ b/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicy.java
@@ -51,6 +51,15 @@ public class CloudPcProvisioningPolicy extends Entity implements IJsonBackedObje
@Nullable
public String cloudPcGroupDisplayName;
+ /**
+ * The Cloud Pc Naming Template.
+ *
+ */
+ @SerializedName(value = "cloudPcNamingTemplate", alternate = {"CloudPcNamingTemplate"})
+ @Expose
+ @Nullable
+ public String cloudPcNamingTemplate;
+
/**
* The Description.
* The provisioning policy description.
diff --git a/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicyAssignment.java b/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicyAssignment.java
index 8db729c9aa8..aa05143f745 100644
--- a/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicyAssignment.java
+++ b/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicyAssignment.java
@@ -8,8 +8,10 @@
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.CloudPcManagementAssignmentTarget;
import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.requests.UserCollectionPage;
import com.google.gson.JsonObject;
@@ -35,6 +37,13 @@ public class CloudPcProvisioningPolicyAssignment extends Entity implements IJson
@Nullable
public CloudPcManagementAssignmentTarget target;
+ /**
+ * The Assigned Users.
+ *
+ */
+ @Nullable
+ public com.microsoft.graph.requests.UserCollectionPage assignedUsers;
+
/**
* Sets the raw JSON object
@@ -44,5 +53,9 @@ public class CloudPcProvisioningPolicyAssignment extends Entity implements IJson
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ if (json.has("assignedUsers")) {
+ assignedUsers = serializer.deserializeObject(json.get("assignedUsers"), com.microsoft.graph.requests.UserCollectionPage.class);
+ }
}
}
diff --git a/src/main/java/com/microsoft/graph/models/ConditionalAccessRuleSatisfied.java b/src/main/java/com/microsoft/graph/models/ConditionalAccessRuleSatisfied.java
index 03bdac41eca..57601ffd1d5 100644
--- a/src/main/java/com/microsoft/graph/models/ConditionalAccessRuleSatisfied.java
+++ b/src/main/java/com/microsoft/graph/models/ConditionalAccessRuleSatisfied.java
@@ -50,7 +50,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Rule Satisfied.
- * Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates.
+ * Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals.
*/
@SerializedName(value = "ruleSatisfied", alternate = {"RuleSatisfied"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java
index 876d88aa003..d62915a6c6a 100644
--- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java
+++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java
@@ -27,7 +27,7 @@ public class DeviceManagementConfigurationChoiceSettingCollectionDefinition exte
/**
* The Maximum Count.
- * Maximum number of choices in the collection
+ * Maximum number of choices in the collection. Valid values 1 to 100
*/
@SerializedName(value = "maximumCount", alternate = {"MaximumCount"})
@Expose
@@ -36,7 +36,7 @@ public class DeviceManagementConfigurationChoiceSettingCollectionDefinition exte
/**
* The Minimum Count.
- * Minimum number of choices in the collection
+ * Minimum number of choices in the collection. Valid values 1 to 100
*/
@SerializedName(value = "minimumCount", alternate = {"MinimumCount"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java
index 0f75a91f624..5e200be9a9d 100644
--- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java
+++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java
@@ -27,7 +27,7 @@ public class DeviceManagementConfigurationSettingGroupCollectionDefinition exten
/**
* The Maximum Count.
- * Maximum number of setting group count in the collection. Valid values 1 to 100
+ * Maximum number of setting group count in the collection
*/
@SerializedName(value = "maximumCount", alternate = {"MaximumCount"})
@Expose
@@ -36,7 +36,7 @@ public class DeviceManagementConfigurationSettingGroupCollectionDefinition exten
/**
* The Minimum Count.
- * Minimum number of setting group count in the collection. Valid values 1 to 100
+ * Minimum number of setting group count in the collection
*/
@SerializedName(value = "minimumCount", alternate = {"MinimumCount"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationStringSettingValueDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationStringSettingValueDefinition.java
index e72e9d5a8ee..e70ca7958e2 100644
--- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationStringSettingValueDefinition.java
+++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationStringSettingValueDefinition.java
@@ -38,7 +38,7 @@ public class DeviceManagementConfigurationStringSettingValueDefinition extends D
/**
* The Format.
- * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue.
+ * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub.
*/
@SerializedName(value = "format", alternate = {"Format"})
@Expose
@@ -65,7 +65,7 @@ public class DeviceManagementConfigurationStringSettingValueDefinition extends D
/**
* The Maximum Length.
- * Maximum length of string. Valid values 0 to 87516
+ * Maximum length of string
*/
@SerializedName(value = "maximumLength", alternate = {"MaximumLength"})
@Expose
@@ -74,7 +74,7 @@ public class DeviceManagementConfigurationStringSettingValueDefinition extends D
/**
* The Minimum Length.
- * Minimum length of string. Valid values 0 to 87516
+ * Minimum length of string
*/
@SerializedName(value = "minimumLength", alternate = {"MinimumLength"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/Identity.java b/src/main/java/com/microsoft/graph/models/Identity.java
index 175cf64bc6e..6651da65cf2 100644
--- a/src/main/java/com/microsoft/graph/models/Identity.java
+++ b/src/main/java/com/microsoft/graph/models/Identity.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Display Name.
- * The display name of the identity. This property is read-only.
+ * The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
*/
@SerializedName(value = "displayName", alternate = {"DisplayName"})
@Expose
@@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Id.
- * The identifier of the identity. This property is read-only.
+ * Unique identifier for the identity.
*/
@SerializedName(value = "id", alternate = {"Id"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/KeyValue.java b/src/main/java/com/microsoft/graph/models/KeyValue.java
index db2e719e7f3..f608cf2a999 100644
--- a/src/main/java/com/microsoft/graph/models/KeyValue.java
+++ b/src/main/java/com/microsoft/graph/models/KeyValue.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Key.
- * Key.
+ * Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present.
*/
@SerializedName(value = "key", alternate = {"Key"})
@Expose
@@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Value.
- * Value.
+ * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false.
*/
@SerializedName(value = "value", alternate = {"Value"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/MacOsLobAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/MacOsLobAppAssignmentSettings.java
index 9bd8f5ca6c0..8ca093bfc90 100644
--- a/src/main/java/com/microsoft/graph/models/MacOsLobAppAssignmentSettings.java
+++ b/src/main/java/com/microsoft/graph/models/MacOsLobAppAssignmentSettings.java
@@ -27,7 +27,7 @@ public class MacOsLobAppAssignmentSettings extends MobileAppAssignmentSettings i
/**
* The Uninstall On Device Removal.
- * Whether or not to uninstall the app when device is removed from Intune.
+ * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune.
*/
@SerializedName(value = "uninstallOnDeviceRemoval", alternate = {"UninstallOnDeviceRemoval"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorAuthenticationMethod.java b/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorAuthenticationMethod.java
index 19c3d120b31..f66ee21b747 100644
--- a/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorAuthenticationMethod.java
+++ b/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorAuthenticationMethod.java
@@ -8,6 +8,7 @@
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
+import com.microsoft.graph.models.MicrosoftAuthenticatorAuthenticationMethodClientAppName;
import com.microsoft.graph.models.Device;
import com.microsoft.graph.models.AuthenticationMethod;
@@ -26,6 +27,15 @@
public class MicrosoftAuthenticatorAuthenticationMethod extends AuthenticationMethod implements IJsonBackedObject {
+ /**
+ * The Client App Name.
+ * The app that the user has registered to use to approve push notifications. The possible values are: microsoftAuthenticator, outlookMobile, unknownFutureValue.
+ */
+ @SerializedName(value = "clientAppName", alternate = {"ClientAppName"})
+ @Expose
+ @Nullable
+ public MicrosoftAuthenticatorAuthenticationMethodClientAppName clientAppName;
+
/**
* The Created Date Time.
* The date and time that this app was registered. This property is null if the device is not registered for passwordless Phone Sign-In.
diff --git a/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorAuthenticationMethodClientAppName.java b/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorAuthenticationMethodClientAppName.java
new file mode 100644
index 00000000000..594e1fb4b9d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorAuthenticationMethodClientAppName.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 Microsoft Authenticator Authentication Method Client App Name.
+*/
+public enum MicrosoftAuthenticatorAuthenticationMethodClientAppName
+{
+ /**
+ * microsoft Authenticator
+ */
+ MICROSOFT_AUTHENTICATOR,
+ /**
+ * outlook Mobile
+ */
+ OUTLOOK_MOBILE,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For MicrosoftAuthenticatorAuthenticationMethodClientAppName values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorFeatureSettings.java b/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorFeatureSettings.java
index d7646d3ec79..d54036a5844 100644
--- a/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorFeatureSettings.java
+++ b/src/main/java/com/microsoft/graph/models/MicrosoftAuthenticatorFeatureSettings.java
@@ -40,7 +40,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Companion App Allowed State.
- *
+ * Determines whether users will be able to approve push notifications on other Microsoft applications such as Outlook Mobile.
*/
@SerializedName(value = "companionAppAllowedState", alternate = {"CompanionAppAllowedState"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/requests/CloudPCRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/CloudPCRequestBuilder.java
index f5436ae9f1b..a93f8082c76 100644
--- a/src/main/java/com/microsoft/graph/requests/CloudPCRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/CloudPCRequestBuilder.java
@@ -134,6 +134,24 @@ public CloudPCRetryPartnerAgentInstallationRequestBuilder retryPartnerAgentInsta
return new CloudPCRetryPartnerAgentInstallationRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.retryPartnerAgentInstallation"), getClient(), null);
}
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ */
+ @Nonnull
+ public CloudPCStartRequestBuilder start() {
+ return new CloudPCStartRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.start"), getClient(), null);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ */
+ @Nonnull
+ public CloudPCStopRequestBuilder stop() {
+ return new CloudPCStopRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stop"), getClient(), null);
+ }
+
/**
* Gets a builder to execute the method
* @return the request builder
diff --git a/src/main/java/com/microsoft/graph/requests/CloudPCStartRequest.java b/src/main/java/com/microsoft/graph/requests/CloudPCStartRequest.java
new file mode 100644
index 00000000000..2e4aed7ec6c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/CloudPCStartRequest.java
@@ -0,0 +1,52 @@
+// 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.requests;
+import com.microsoft.graph.models.CloudPC;
+import com.microsoft.graph.requests.CloudPCStartRequest;
+
+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 Cloud PCStart Request.
+ */
+public class CloudPCStartRequest extends BaseRequest {
+ /**
+ * The request for this CloudPCStart
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public CloudPCStartRequest(@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);
+ }
+
+ /**
+ * Creates the CloudPCStart
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, null);
+ }
+
+ /**
+ * Creates the CloudPCStart
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/CloudPCStartRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/CloudPCStartRequestBuilder.java
new file mode 100644
index 00000000000..5a63602a9f6
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/CloudPCStartRequestBuilder.java
@@ -0,0 +1,59 @@
+// 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.requests;
+import com.microsoft.graph.requests.CloudPCStartRequest;
+import com.microsoft.graph.models.CloudPC;
+
+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 Cloud PCStart Request Builder.
+ */
+public class CloudPCStartRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this CloudPCStart
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public CloudPCStartRequestBuilder(@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 CloudPCStartRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the CloudPCStartRequest instance
+ */
+ @Nonnull
+ public CloudPCStartRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the CloudPCStartRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the CloudPCStartRequest instance
+ */
+ @Nonnull
+ public CloudPCStartRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final CloudPCStartRequest request = new CloudPCStartRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/CloudPCStopRequest.java b/src/main/java/com/microsoft/graph/requests/CloudPCStopRequest.java
new file mode 100644
index 00000000000..f91ff8623ea
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/CloudPCStopRequest.java
@@ -0,0 +1,52 @@
+// 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.requests;
+import com.microsoft.graph.models.CloudPC;
+import com.microsoft.graph.requests.CloudPCStopRequest;
+
+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 Cloud PCStop Request.
+ */
+public class CloudPCStopRequest extends BaseRequest {
+ /**
+ * The request for this CloudPCStop
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public CloudPCStopRequest(@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);
+ }
+
+ /**
+ * Creates the CloudPCStop
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, null);
+ }
+
+ /**
+ * Creates the CloudPCStop
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/CloudPCStopRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/CloudPCStopRequestBuilder.java
new file mode 100644
index 00000000000..9921b62bf0c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/CloudPCStopRequestBuilder.java
@@ -0,0 +1,59 @@
+// 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.requests;
+import com.microsoft.graph.requests.CloudPCStopRequest;
+import com.microsoft.graph.models.CloudPC;
+
+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 Cloud PCStop Request Builder.
+ */
+public class CloudPCStopRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this CloudPCStop
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public CloudPCStopRequestBuilder(@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 CloudPCStopRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the CloudPCStopRequest instance
+ */
+ @Nonnull
+ public CloudPCStopRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the CloudPCStopRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the CloudPCStopRequest instance
+ */
+ @Nonnull
+ public CloudPCStopRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final CloudPCStopRequest request = new CloudPCStopRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/CloudPcProvisioningPolicyAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/CloudPcProvisioningPolicyAssignmentRequestBuilder.java
index b1480131b83..7b5c1d86444 100644
--- a/src/main/java/com/microsoft/graph/requests/CloudPcProvisioningPolicyAssignmentRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/CloudPcProvisioningPolicyAssignmentRequestBuilder.java
@@ -56,4 +56,24 @@ public CloudPcProvisioningPolicyAssignmentRequest buildRequest(@Nonnull final ja
}
+ /**
+ * Gets a request builder for the User collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserCollectionWithReferencesRequestBuilder assignedUsers() {
+ return new com.microsoft.graph.requests.UserCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("assignedUsers"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the User item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public com.microsoft.graph.requests.UserWithReferenceRequestBuilder assignedUsers(@Nonnull final String id) {
+ return new com.microsoft.graph.requests.UserWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("assignedUsers") + "/" + id, getClient(), null);
+ }
}
diff --git a/src/main/java/com/microsoft/graph/requests/EducationSynchronizationProfileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/EducationSynchronizationProfileRequestBuilder.java
index d13499b28a6..e91edc681a4 100644
--- a/src/main/java/com/microsoft/graph/requests/EducationSynchronizationProfileRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/EducationSynchronizationProfileRequestBuilder.java
@@ -88,6 +88,15 @@ public com.microsoft.graph.requests.EducationSynchronizationProfileStatusRequest
return new com.microsoft.graph.requests.EducationSynchronizationProfileStatusRequestBuilder(getRequestUrlWithAdditionalSegment("profileStatus"), getClient(), null);
}
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder collection
+ */
+ @Nonnull
+ public EducationSynchronizationProfileStartCollectionRequestBuilder start() {
+ return new EducationSynchronizationProfileStartCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.start"), getClient(), null);
+ }
+
/**
* Gets a builder to execute the method
* @return the request builder
@@ -115,15 +124,6 @@ public EducationSynchronizationProfileResumeRequestBuilder resume() {
return new EducationSynchronizationProfileResumeRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.resume"), getClient(), null);
}
- /**
- * Gets a builder to execute the method
- * @return the request builder collection
- */
- @Nonnull
- public EducationSynchronizationProfileStartCollectionRequestBuilder start() {
- return new EducationSynchronizationProfileStartCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.start"), getClient(), null);
- }
-
/**
* Gets a builder to execute the method
* @return the request builder
diff --git a/src/main/java/com/microsoft/graph/requests/GroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/GroupCollectionRequestBuilder.java
index 18e2f1f17e5..01975039691 100644
--- a/src/main/java/com/microsoft/graph/requests/GroupCollectionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/GroupCollectionRequestBuilder.java
@@ -20,7 +20,9 @@
import com.microsoft.graph.requests.GroupCollectionRequestBuilder;
import com.microsoft.graph.requests.GroupRequestBuilder;
import com.microsoft.graph.requests.GroupCollectionRequest;
+import com.microsoft.graph.requests.GroupEvaluateDynamicMembershipRequestBuilder;
import com.microsoft.graph.requests.GroupDeltaCollectionRequestBuilder;
+import com.microsoft.graph.requests.DirectoryObjectValidatePropertiesRequestBuilder;
import com.microsoft.graph.requests.DirectoryObjectGetByIdsCollectionRequestBuilder;
import com.microsoft.graph.requests.DirectoryObjectGetUserOwnedObjectsRequestBuilder;
import com.microsoft.graph.http.BaseCollectionRequestBuilder;
@@ -56,6 +58,16 @@ public GroupCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public GroupEvaluateDynamicMembershipRequestBuilder evaluateDynamicMembership(@Nonnull final GroupEvaluateDynamicMembershipParameterSet parameters) {
+ return new GroupEvaluateDynamicMembershipRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.evaluateDynamicMembership"), getClient(), null, parameters);
+ }
+
/**
* Gets a builder to execute the method
* @return the request builder collection
@@ -65,6 +77,16 @@ public GroupDeltaCollectionRequestBuilder delta() {
return new GroupDeltaCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.delta"), getClient(), null);
}
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public DirectoryObjectValidatePropertiesRequestBuilder validateProperties(@Nonnull final DirectoryObjectValidatePropertiesParameterSet parameters) {
+ return new DirectoryObjectValidatePropertiesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.validateProperties"), getClient(), null, parameters);
+ }
+
/**
* Gets a builder to execute the method
* @return the request builder collection
diff --git a/src/main/java/com/microsoft/graph/requests/SynchronizationJobCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SynchronizationJobCollectionRequestBuilder.java
index 2fdb15ca17d..7378b99d67e 100644
--- a/src/main/java/com/microsoft/graph/requests/SynchronizationJobCollectionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SynchronizationJobCollectionRequestBuilder.java
@@ -21,6 +21,7 @@
import com.microsoft.graph.requests.SynchronizationJobCollectionRequestBuilder;
import com.microsoft.graph.requests.SynchronizationJobRequestBuilder;
import com.microsoft.graph.requests.SynchronizationJobCollectionRequest;
+import com.microsoft.graph.requests.SynchronizationJobValidateCredentialsRequestBuilder;
import com.microsoft.graph.http.BaseCollectionRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.PrimitiveRequestBuilder;
@@ -47,6 +48,16 @@ public SynchronizationJobCollectionRequestBuilder(@Nonnull final String requestU
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public SynchronizationJobValidateCredentialsRequestBuilder validateCredentials(@Nonnull final SynchronizationJobValidateCredentialsParameterSet parameters) {
+ return new SynchronizationJobValidateCredentialsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.validateCredentials"), getClient(), null, parameters);
+ }
+
/**
* Gets the raw count request for the collection
* @return The raw count request for the collection
diff --git a/src/main/java/com/microsoft/graph/requests/SynchronizationJobRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SynchronizationJobRequestBuilder.java
index 5b5ba549d68..b8dd2da75c3 100644
--- a/src/main/java/com/microsoft/graph/requests/SynchronizationJobRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SynchronizationJobRequestBuilder.java
@@ -79,8 +79,8 @@ public com.microsoft.graph.requests.SynchronizationSchemaRequestBuilder schema()
* @return the request builder
*/
@Nonnull
- public SynchronizationJobPauseRequestBuilder pause() {
- return new SynchronizationJobPauseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pause"), getClient(), null);
+ public SynchronizationJobStartRequestBuilder start() {
+ return new SynchronizationJobStartRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.start"), getClient(), null);
}
/**
@@ -88,18 +88,17 @@ public SynchronizationJobPauseRequestBuilder pause() {
* @return the request builder
*/
@Nonnull
- public SynchronizationJobStartRequestBuilder start() {
- return new SynchronizationJobStartRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.start"), getClient(), null);
+ public SynchronizationJobStopRequestBuilder stop() {
+ return new SynchronizationJobStopRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stop"), getClient(), null);
}
/**
* Gets a builder to execute the method
* @return the request builder
- * @param parameters the parameters for the service method
*/
@Nonnull
- public SynchronizationJobProvisionOnDemandRequestBuilder provisionOnDemand(@Nonnull final SynchronizationJobProvisionOnDemandParameterSet parameters) {
- return new SynchronizationJobProvisionOnDemandRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.provisionOnDemand"), getClient(), null, parameters);
+ public SynchronizationJobPauseRequestBuilder pause() {
+ return new SynchronizationJobPauseRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.pause"), getClient(), null);
}
/**
@@ -108,17 +107,18 @@ public SynchronizationJobProvisionOnDemandRequestBuilder provisionOnDemand(@Nonn
* @param parameters the parameters for the service method
*/
@Nonnull
- public SynchronizationJobRestartRequestBuilder restart(@Nonnull final SynchronizationJobRestartParameterSet parameters) {
- return new SynchronizationJobRestartRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.restart"), getClient(), null, parameters);
+ public SynchronizationJobProvisionOnDemandRequestBuilder provisionOnDemand(@Nonnull final SynchronizationJobProvisionOnDemandParameterSet parameters) {
+ return new SynchronizationJobProvisionOnDemandRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.provisionOnDemand"), getClient(), null, parameters);
}
/**
* Gets a builder to execute the method
* @return the request builder
+ * @param parameters the parameters for the service method
*/
@Nonnull
- public SynchronizationJobStopRequestBuilder stop() {
- return new SynchronizationJobStopRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.stop"), getClient(), null);
+ public SynchronizationJobRestartRequestBuilder restart(@Nonnull final SynchronizationJobRestartParameterSet parameters) {
+ return new SynchronizationJobRestartRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.restart"), getClient(), null, parameters);
}
/**