diff --git a/README.md b/README.md index 6a2a15db42e..05aa48b1d5d 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:3.6.0' + implementation 'com.microsoft.graph:microsoft-graph:3.7.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 - 3.6.0 + 3.7.0 @@ -141,3 +141,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI + diff --git a/gradle.properties b/gradle.properties index 3f1c738d575..424e9ae3e60 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ org.gradle.caching=true mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph mavenMajorVersion = 3 -mavenMinorVersion = 6 +mavenMinorVersion = 7 mavenPatchVersion = 0 mavenArtifactSuffix = @@ -50,3 +50,4 @@ 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 196c03286bd..d0ece0b9e25 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 = "3.6.0"; + public static final String VERSION_NAME = "3.7.0"; } @@ -27,3 +27,4 @@ private Constants() { + diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewInactiveUsersQueryScope.java b/src/main/java/com/microsoft/graph/models/AccessReviewInactiveUsersQueryScope.java index 6b4bca48e47..0ec7a2e81ef 100644 --- a/src/main/java/com/microsoft/graph/models/AccessReviewInactiveUsersQueryScope.java +++ b/src/main/java/com/microsoft/graph/models/AccessReviewInactiveUsersQueryScope.java @@ -27,7 +27,7 @@ public class AccessReviewInactiveUsersQueryScope extends AccessReviewQueryScope /** * The Inactive Duration. - * Defines the length of the duration period of inactivity. Inactivity is based on the last sign in date of the user. + * Defines the duration of inactivity. Inactivity is based on the last sign in date of the user compared to the access review instance's start date. If this property is not specified, it's assigned the default value PT0S. */ @SerializedName(value = "inactiveDuration", alternate = {"InactiveDuration"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewQueryScope.java b/src/main/java/com/microsoft/graph/models/AccessReviewQueryScope.java index 528212df700..736dcac56b3 100644 --- a/src/main/java/com/microsoft/graph/models/AccessReviewQueryScope.java +++ b/src/main/java/com/microsoft/graph/models/AccessReviewQueryScope.java @@ -27,7 +27,7 @@ public class AccessReviewQueryScope extends AccessReviewScope implements IJsonBa /** * The Query. - * The query representing what will be reviewed in an access review. Examples of this include /groups/{id}/members?$filter=… + * The query representing what will be reviewed in an access review. */ @SerializedName(value = "query", alternate = {"Query"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewReviewerScope.java b/src/main/java/com/microsoft/graph/models/AccessReviewReviewerScope.java index 286adb392c9..d5f0bcce364 100644 --- a/src/main/java/com/microsoft/graph/models/AccessReviewReviewerScope.java +++ b/src/main/java/com/microsoft/graph/models/AccessReviewReviewerScope.java @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Query Root. - * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query (i.e., ./manager) is specified. + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions. */ @SerializedName(value = "queryRoot", alternate = {"QueryRoot"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewScheduleDefinition.java b/src/main/java/com/microsoft/graph/models/AccessReviewScheduleDefinition.java index 4d7d9fe2985..646945bad5c 100644 --- a/src/main/java/com/microsoft/graph/models/AccessReviewScheduleDefinition.java +++ b/src/main/java/com/microsoft/graph/models/AccessReviewScheduleDefinition.java @@ -43,7 +43,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Created Date Time. - * Timestamp when review series was created. + * Timestamp when the access review series was created. Supports $select. */ @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"}) @Expose @@ -52,7 +52,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Description For Admins. - * Description provided by review creators to provide more context of the review to admins. + * Description provided by review creators to provide more context of the review to admins. Supports $select. */ @SerializedName(value = "descriptionForAdmins", alternate = {"DescriptionForAdmins"}) @Expose @@ -61,7 +61,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Description For Reviewers. - * Description provided by review creators to provide more context of the review to reviewers. Reviewers will see this description in the email sent to them requesting their review. + * Description provided by review creators to provide more context of the review to reviewers. Reviewers will see this description in the email sent to them requesting their review. Supports $select. */ @SerializedName(value = "descriptionForReviewers", alternate = {"DescriptionForReviewers"}) @Expose @@ -70,7 +70,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Display Name. - * Name of access review series. Required on create. + * Name of the access review series. Required on create. Supports $select. */ @SerializedName(value = "displayName", alternate = {"DisplayName"}) @Expose @@ -79,7 +79,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Fallback Reviewers. - * + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select. */ @SerializedName(value = "fallbackReviewers", alternate = {"FallbackReviewers"}) @Expose @@ -88,7 +88,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Instance Enumeration Scope. - * In the case of a review of guest users across all Microsoft 365 groups, this determines the scope of which groups will be reviewed. Each group will become a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. + * This property is required when scoping a review to guest users' access across all Microsoft 365 groups and determines which Microsoft 365 groups are reviewed. Each group will become a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. Supports $select. For examples of options for configuring instanceEnumerationScope, see Configure the scope of your access review definition using the Microsoft Graph API. */ @SerializedName(value = "instanceEnumerationScope", alternate = {"InstanceEnumerationScope"}) @Expose @@ -97,7 +97,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Last Modified Date Time. - * Timestamp when review series was last modified. + * Timestamp when the access review series was last modified. Supports $select. */ @SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"}) @Expose @@ -106,7 +106,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Reviewers. - * This collection of access review scopes is used to define who are the reviewers. See accessReviewReviewerScope. Required on create. + * This collection of access review scopes is used to define who are the reviewers. Required on create. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. */ @SerializedName(value = "reviewers", alternate = {"Reviewers"}) @Expose @@ -115,7 +115,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Scope. - * Defines scope of users reviewed. For supported scopes, see accessReviewScope. Required on create. + * Defines scope of resources to review. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API. */ @SerializedName(value = "scope", alternate = {"Scope"}) @Expose @@ -124,7 +124,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Settings. - * The settings for an access review series, see type definition below. + * The settings for an access review series, see type definition below. Supports $select. */ @SerializedName(value = "settings", alternate = {"Settings"}) @Expose @@ -133,7 +133,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Status. - * This read-only field specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. + * This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). */ @SerializedName(value = "status", alternate = {"Status"}) @Expose @@ -142,7 +142,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Instances. - * Set of access reviews instances for this access review series. Access reviews that do not recur will only have one instance; otherwise, there will be an instance for each recurrence. + * Set of access reviews instances for this access review series. Access reviews that do not recur will only have one instance; otherwise, there is an instance for each recurrence. */ @SerializedName(value = "instances", alternate = {"Instances"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewScheduleSettings.java b/src/main/java/com/microsoft/graph/models/AccessReviewScheduleSettings.java index 17cff49e3e7..6121b2ef457 100644 --- a/src/main/java/com/microsoft/graph/models/AccessReviewScheduleSettings.java +++ b/src/main/java/com/microsoft/graph/models/AccessReviewScheduleSettings.java @@ -51,7 +51,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Auto Apply Decisions Enabled. - * Flag to indicate whether auto-apply feature is enabled. + * Indicates whether decisions are automatically applied. When set to false, a user must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. */ @SerializedName(value = "autoApplyDecisionsEnabled", alternate = {"AutoApplyDecisionsEnabled"}) @Expose @@ -60,7 +60,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Default Decision. - * Decision chosen if defaultDecisionEnabled is enabled. Can be one of 'Approve', 'Deny', or 'Recommendation'. + * Decision chosen if defaultDecisionEnabled is enabled. Can be one of Approve, Deny, or Recommendation. */ @SerializedName(value = "defaultDecision", alternate = {"DefaultDecision"}) @Expose @@ -69,7 +69,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Default Decision Enabled. - * Flag to indicate whether default decision is enabled/disabled when reviewers do not respond. + * Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. */ @SerializedName(value = "defaultDecisionEnabled", alternate = {"DefaultDecisionEnabled"}) @Expose @@ -87,7 +87,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Justification Required On Approval. - * Flag to indicate whether reviewers are required to provide justification with their decision. + * Indicates whether reviewers are required to provide justification with their decision. Default value is false. */ @SerializedName(value = "justificationRequiredOnApproval", alternate = {"JustificationRequiredOnApproval"}) @Expose @@ -96,7 +96,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Mail Notifications Enabled. - * Flag to indicate whether emails are enabled/disabled. + * Indicates whether emails are enabled or disabled. Default value is false. */ @SerializedName(value = "mailNotificationsEnabled", alternate = {"MailNotificationsEnabled"}) @Expose @@ -105,7 +105,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Recommendations Enabled. - * Flag to indicate whether decision recommendations are enabled/disabled. + * Indicates whether decision recommendations are enabled/disabled. */ @SerializedName(value = "recommendationsEnabled", alternate = {"RecommendationsEnabled"}) @Expose @@ -114,7 +114,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Recurrence. - * Detailed settings for recurrence. Using standard Outlook recurrence object. Note that dayOfMonth is not supported - use property startDate on recurrenceRange to determine the day the review will start on. + * Detailed settings for recurrence using the standard Outlook recurrence object. Only weekly and absoluteMonthly on recurrencePattern are supported. Use the property startDate on recurrenceRange to determine the day the review starts. */ @SerializedName(value = "recurrence", alternate = {"Recurrence"}) @Expose @@ -123,7 +123,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Reminder Notifications Enabled. - * Flag to indicate whether reminders are enabled/disabled. + * Indicates whether reminders are enabled or disabled. Default value is false. */ @SerializedName(value = "reminderNotificationsEnabled", alternate = {"ReminderNotificationsEnabled"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ApplePushNotificationCertificate.java b/src/main/java/com/microsoft/graph/models/ApplePushNotificationCertificate.java index bc73f2be486..f6c829aec5d 100644 --- a/src/main/java/com/microsoft/graph/models/ApplePushNotificationCertificate.java +++ b/src/main/java/com/microsoft/graph/models/ApplePushNotificationCertificate.java @@ -43,6 +43,15 @@ public class ApplePushNotificationCertificate extends Entity implements IJsonBac @Nullable public String certificate; + /** + * The Certificate Serial Number. + * Certificate serial number. This property is read-only. + */ + @SerializedName(value = "certificateSerialNumber", alternate = {"CertificateSerialNumber"}) + @Expose + @Nullable + public String certificateSerialNumber; + /** * The Expiration Date Time. * The expiration date and time for Apple push notification certificate. diff --git a/src/main/java/com/microsoft/graph/models/AuthenticationMethodsPolicy.java b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsPolicy.java index 62d56fab94a..0d01b240f10 100644 --- a/src/main/java/com/microsoft/graph/models/AuthenticationMethodsPolicy.java +++ b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsPolicy.java @@ -30,7 +30,7 @@ public class AuthenticationMethodsPolicy extends Entity implements IJsonBackedOb /** * The Description. - * + * A description of the policy. */ @SerializedName(value = "description", alternate = {"Description"}) @Expose @@ -39,7 +39,7 @@ public class AuthenticationMethodsPolicy extends Entity implements IJsonBackedOb /** * The Display Name. - * + * The name of the policy. */ @SerializedName(value = "displayName", alternate = {"DisplayName"}) @Expose @@ -48,7 +48,7 @@ public class AuthenticationMethodsPolicy extends Entity implements IJsonBackedOb /** * The Last Modified Date Time. - * + * The date and time of the last update to the policy. */ @SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"}) @Expose @@ -57,7 +57,7 @@ public class AuthenticationMethodsPolicy extends Entity implements IJsonBackedOb /** * The Policy Version. - * + * The version of the policy in use. */ @SerializedName(value = "policyVersion", alternate = {"PolicyVersion"}) @Expose @@ -75,7 +75,7 @@ public class AuthenticationMethodsPolicy extends Entity implements IJsonBackedOb /** * The Authentication Method Configurations. - * + * Represents the settings for each authentication method. */ @SerializedName(value = "authenticationMethodConfigurations", alternate = {"AuthenticationMethodConfigurations"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeletedWindowsAutopilotDeviceState.java b/src/main/java/com/microsoft/graph/models/DeletedWindowsAutopilotDeviceState.java deleted file mode 100644 index d2c5b30d877..00000000000 --- a/src/main/java/com/microsoft/graph/models/DeletedWindowsAutopilotDeviceState.java +++ /dev/null @@ -1,87 +0,0 @@ -// 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.WindowsAutopilotDeviceDeletionState; - - -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 Windows Autopilot Device State. - */ -public class DeletedWindowsAutopilotDeviceState 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 Deletion State. - * Device deletion state. Possible values are: unknown, failed, accepted, error. - */ - @SerializedName(value = "deletionState", alternate = {"DeletionState"}) - @Expose - @Nullable - public WindowsAutopilotDeviceDeletionState deletionState; - - /** - * The Device Registration Id. - * ZTD Device Registration ID . - */ - @SerializedName(value = "deviceRegistrationId", alternate = {"DeviceRegistrationId"}) - @Expose - @Nullable - public String deviceRegistrationId; - - /** - * The Error Message. - * Device deletion error message. - */ - @SerializedName(value = "errorMessage", alternate = {"ErrorMessage"}) - @Expose - @Nullable - public String errorMessage; - - /** - * The Serial Number. - * Autopilot Device Serial Number - */ - @SerializedName(value = "serialNumber", alternate = {"SerialNumber"}) - @Expose - @Nullable - public String serialNumber; - - - /** - * 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/DeviceCompliancePolicySettingStateSummary.java b/src/main/java/com/microsoft/graph/models/DeviceCompliancePolicySettingStateSummary.java index 612a5a27ba9..ee020139f28 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceCompliancePolicySettingStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/DeviceCompliancePolicySettingStateSummary.java @@ -76,7 +76,7 @@ public class DeviceCompliancePolicySettingStateSummary extends Entity implements /** * The Platform Type. - * Setting platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, all. + * Setting platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, androidAOSP, all. */ @SerializedName(value = "platformType", alternate = {"PlatformType"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceEnrollmentType.java b/src/main/java/com/microsoft/graph/models/DeviceEnrollmentType.java index c034743f21c..7850309e0a5 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceEnrollmentType.java +++ b/src/main/java/com/microsoft/graph/models/DeviceEnrollmentType.java @@ -52,6 +52,18 @@ public enum DeviceEnrollmentType */ WINDOWS_CO_MANAGEMENT, /** + * windows Azure ADJoin Using Device Auth + */ + WINDOWS_AZURE_AD_JOIN_USING_DEVICE_AUTH, + /** + * apple User Enrollment + */ + APPLE_USER_ENROLLMENT, + /** + * apple User Enrollment With Service Account + */ + APPLE_USER_ENROLLMENT_WITH_SERVICE_ACCOUNT, + /** * For DeviceEnrollmentType values that were not expected from the service */ UNEXPECTED_VALUE diff --git a/src/main/java/com/microsoft/graph/models/IosGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/IosGeneralDeviceConfiguration.java index eabea0dd5aa..e7f7ffea37a 100644 --- a/src/main/java/com/microsoft/graph/models/IosGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/IosGeneralDeviceConfiguration.java @@ -1213,7 +1213,7 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement /** * The Wi Fi Connect Only To Configured Networks. - * Indicates whether or not to force the device to use only Wi-Fi networks from configuration profiles when the device is in supervised mode. + * Indicates whether or not to force the device to use only Wi-Fi networks from configuration profiles when the device is in supervised mode. Available for devices running iOS and iPadOS versions 14.4 and earlier. Devices running 14.5+ should use the setting, 'WiFiConnectToAllowedNetworksOnlyForced. */ @SerializedName(value = "wiFiConnectOnlyToConfiguredNetworks", alternate = {"WiFiConnectOnlyToConfiguredNetworks"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ManagedDevice.java b/src/main/java/com/microsoft/graph/models/ManagedDevice.java index 46d0e70add3..cae6ed2e133 100644 --- a/src/main/java/com/microsoft/graph/models/ManagedDevice.java +++ b/src/main/java/com/microsoft/graph/models/ManagedDevice.java @@ -204,6 +204,15 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { @Nullable public java.time.OffsetDateTime enrolledDateTime; + /** + * The Ethernet Mac Address. + * Ethernet MAC. This property is read-only. + */ + @SerializedName(value = "ethernetMacAddress", alternate = {"EthernetMacAddress"}) + @Expose + @Nullable + public String ethernetMacAddress; + /** * The Exchange Access State. * The Access State of the device in Exchange. This property is read-only. Possible values are: none, unknown, allowed, blocked, quarantined. @@ -240,6 +249,15 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { @Nullable public Long freeStorageSpaceInBytes; + /** + * The Iccid. + * Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only. + */ + @SerializedName(value = "iccid", alternate = {"Iccid"}) + @Expose + @Nullable + public String iccid; + /** * The Imei. * IMEI. This property is read-only. @@ -305,7 +323,7 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { /** * The Management Agent. - * Management channel of the device. Intune, EAS, etc. This property is read-only. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, msSense. + * Management channel of the device. Intune, EAS, etc. This property is read-only. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, msSense, intuneAosp. */ @SerializedName(value = "managementAgent", alternate = {"ManagementAgent"}) @Expose @@ -339,6 +357,15 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { @Nullable public String model; + /** + * The Notes. + * Notes on the device created by IT Admin + */ + @SerializedName(value = "notes", alternate = {"Notes"}) + @Expose + @Nullable + public String notes; + /** * The Operating System. * Operating system of the device. Windows, iOS, etc. This property is read-only. @@ -375,6 +402,15 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { @Nullable public String phoneNumber; + /** + * The Physical Memory In Bytes. + * Total Memory in Bytes. This property is read-only. + */ + @SerializedName(value = "physicalMemoryInBytes", alternate = {"PhysicalMemoryInBytes"}) + @Expose + @Nullable + public Long physicalMemoryInBytes; + /** * The Remote Assistance Session Error Details. * An error string that identifies issues when creating Remote Assistance session objects. This property is read-only. @@ -420,6 +456,15 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { @Nullable public Long totalStorageSpaceInBytes; + /** + * The Udid. + * Unique Device Identifier for iOS and macOS devices. This property is read-only. + */ + @SerializedName(value = "udid", alternate = {"Udid"}) + @Expose + @Nullable + public String udid; + /** * The User Display Name. * User display name. This property is read-only. diff --git a/src/main/java/com/microsoft/graph/models/ManagedDeviceWipeParameterSet.java b/src/main/java/com/microsoft/graph/models/ManagedDeviceWipeParameterSet.java index 8ee66265d3a..22a57959881 100644 --- a/src/main/java/com/microsoft/graph/models/ManagedDeviceWipeParameterSet.java +++ b/src/main/java/com/microsoft/graph/models/ManagedDeviceWipeParameterSet.java @@ -47,6 +47,15 @@ public class ManagedDeviceWipeParameterSet { @Nullable public String macOsUnlockCode; + /** + * The persist Esim Data Plan. + * + */ + @SerializedName(value = "persistEsimDataPlan", alternate = {"PersistEsimDataPlan"}) + @Expose + @Nullable + public Boolean persistEsimDataPlan; + /** * Instiaciates a new ManagedDeviceWipeParameterSet @@ -60,6 +69,7 @@ protected ManagedDeviceWipeParameterSet(@Nonnull final ManagedDeviceWipeParamete this.keepEnrollmentData = builder.keepEnrollmentData; this.keepUserData = builder.keepUserData; this.macOsUnlockCode = builder.macOsUnlockCode; + this.persistEsimDataPlan = builder.persistEsimDataPlan; } /** * Gets a new builder for the body @@ -118,6 +128,21 @@ public ManagedDeviceWipeParameterSetBuilder withMacOsUnlockCode(@Nullable final this.macOsUnlockCode = val; return this; } + /** + * The persistEsimDataPlan parameter value + */ + @Nullable + protected Boolean persistEsimDataPlan; + /** + * Sets the PersistEsimDataPlan + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public ManagedDeviceWipeParameterSetBuilder withPersistEsimDataPlan(@Nullable final Boolean val) { + this.persistEsimDataPlan = val; + return this; + } /** * Instanciates a new ManagedDeviceWipeParameterSetBuilder */ @@ -148,6 +173,9 @@ public java.util.List getFunctionOpt if(this.macOsUnlockCode != null) { result.add(new com.microsoft.graph.options.FunctionOption("macOsUnlockCode", macOsUnlockCode)); } + if(this.persistEsimDataPlan != null) { + result.add(new com.microsoft.graph.options.FunctionOption("persistEsimDataPlan", persistEsimDataPlan)); + } return result; } } diff --git a/src/main/java/com/microsoft/graph/models/Organization.java b/src/main/java/com/microsoft/graph/models/Organization.java index fd19a7a61d4..6ae0de3fb24 100644 --- a/src/main/java/com/microsoft/graph/models/Organization.java +++ b/src/main/java/com/microsoft/graph/models/Organization.java @@ -110,7 +110,7 @@ public class Organization extends DirectoryObject implements IJsonBackedObject { /** * The On Premises Last Sync Date Time. - * The time and date at which the tenant was last synced with the on-premise directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * The time and date at which the tenant was last synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. */ @SerializedName(value = "onPremisesLastSyncDateTime", alternate = {"OnPremisesLastSyncDateTime"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PatternedRecurrence.java b/src/main/java/com/microsoft/graph/models/PatternedRecurrence.java index 9f7a0c3f2f4..b9426443ada 100644 --- a/src/main/java/com/microsoft/graph/models/PatternedRecurrence.java +++ b/src/main/java/com/microsoft/graph/models/PatternedRecurrence.java @@ -41,7 +41,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Pattern. - * The frequency of an event. + * The frequency of an event. Do not specify for a one-time access review. */ @SerializedName(value = "pattern", alternate = {"Pattern"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/Team.java b/src/main/java/com/microsoft/graph/models/Team.java index 684ae902650..212e47167eb 100644 --- a/src/main/java/com/microsoft/graph/models/Team.java +++ b/src/main/java/com/microsoft/graph/models/Team.java @@ -63,7 +63,7 @@ public class Team extends Entity implements IJsonBackedObject { /** * The Description. - * An optional description for the team. + * An optional description for the team. Maximum length: 1024 characters. */ @SerializedName(value = "description", alternate = {"Description"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/User.java b/src/main/java/com/microsoft/graph/models/User.java index 9a03a8a0065..c7b107654cc 100644 --- a/src/main/java/com/microsoft/graph/models/User.java +++ b/src/main/java/com/microsoft/graph/models/User.java @@ -349,7 +349,7 @@ public class User extends DirectoryObject implements IJsonBackedObject { /** * The Mail. - * The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'.NOTE: While this property can contain accent characters, using them can cause access issues with other Microsoft applications for the user.Returned by default. Supports $filter and endsWith. + * The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. While this property can contain accent characters, using them can cause access issues with other Microsoft applications for the user. Supports $filter and endsWith. */ @SerializedName(value = "mail", alternate = {"Mail"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/WindowsAutopilotDeviceDeletionState.java b/src/main/java/com/microsoft/graph/models/WindowsAutopilotDeviceDeletionState.java deleted file mode 100644 index b288e4146f2..00000000000 --- a/src/main/java/com/microsoft/graph/models/WindowsAutopilotDeviceDeletionState.java +++ /dev/null @@ -1,34 +0,0 @@ -// 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 Windows Autopilot Device Deletion State. -*/ -public enum WindowsAutopilotDeviceDeletionState -{ - /** - * unknown - */ - UNKNOWN, - /** - * failed - */ - FAILED, - /** - * accepted - */ - ACCEPTED, - /** - * error - */ - ERROR, - /** - * For WindowsAutopilotDeviceDeletionState values that were not expected from the service - */ - UNEXPECTED_VALUE -} diff --git a/src/main/java/com/microsoft/graph/models/WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet.java b/src/main/java/com/microsoft/graph/models/WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet.java deleted file mode 100644 index 7c08b341eeb..00000000000 --- a/src/main/java/com/microsoft/graph/models/WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet.java +++ /dev/null @@ -1,97 +0,0 @@ -// 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.DeletedWindowsAutopilotDeviceState; -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 Windows Autopilot Device Identity Delete Devices Parameter Set. - */ -public class WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet { - /** - * The serial Numbers. - * - */ - @SerializedName(value = "serialNumbers", alternate = {"SerialNumbers"}) - @Expose - @Nullable - public java.util.List serialNumbers; - - - /** - * Instiaciates a new WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet - */ - public WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet() {} - /** - * Instiaciates a new WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet - * @param builder builder bearing the parameters to initialize from - */ - protected WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet(@Nonnull final WindowsAutopilotDeviceIdentityDeleteDevicesParameterSetBuilder builder) { - this.serialNumbers = builder.serialNumbers; - } - /** - * Gets a new builder for the body - * @return a new builder - */ - @Nonnull - public static WindowsAutopilotDeviceIdentityDeleteDevicesParameterSetBuilder newBuilder() { - return new WindowsAutopilotDeviceIdentityDeleteDevicesParameterSetBuilder(); - } - /** - * Fluent builder for the WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet - */ - public static final class WindowsAutopilotDeviceIdentityDeleteDevicesParameterSetBuilder { - /** - * The serialNumbers parameter value - */ - @Nullable - protected java.util.List serialNumbers; - /** - * Sets the SerialNumbers - * @param val the value to set it to - * @return the current builder object - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesParameterSetBuilder withSerialNumbers(@Nullable final java.util.List val) { - this.serialNumbers = val; - return this; - } - /** - * Instanciates a new WindowsAutopilotDeviceIdentityDeleteDevicesParameterSetBuilder - */ - @Nullable - protected WindowsAutopilotDeviceIdentityDeleteDevicesParameterSetBuilder(){} - /** - * Buils the resulting body object to be passed to the request - * @return the body object to pass to the request - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet build() { - return new WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet(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.serialNumbers != null) { - result.add(new com.microsoft.graph.options.FunctionOption("serialNumbers", serialNumbers)); - } - return result; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityCollectionRequest.java index 39aa6893047..4dde6d25919 100644 --- a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityCollectionRequest.java @@ -9,7 +9,6 @@ import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.DeviceManagement; import com.microsoft.graph.models.WindowsAutopilotDeviceIdentity; -import com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; diff --git a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityCollectionRequestBuilder.java index b0e6072105c..7b312817033 100644 --- a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityCollectionRequestBuilder.java @@ -9,7 +9,6 @@ import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.DeviceManagement; import com.microsoft.graph.models.WindowsAutopilotDeviceIdentity; -import com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; @@ -18,13 +17,11 @@ import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityCollectionRequestBuilder; import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityRequestBuilder; import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityCollectionRequest; -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder; import com.microsoft.graph.http.BaseCollectionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.PrimitiveRequestBuilder; import com.microsoft.graph.models.WindowsAutopilotDeviceIdentityAssignUserToDeviceParameterSet; import com.microsoft.graph.models.WindowsAutopilotDeviceIdentityUpdateDevicePropertiesParameterSet; -import com.microsoft.graph.models.WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** @@ -45,16 +42,6 @@ public WindowsAutopilotDeviceIdentityCollectionRequestBuilder(@Nonnull final Str - /** - * Gets a builder to execute the method - * @return the request builder collection - * @param parameters the parameters for the service method - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder deleteDevices(@Nonnull final WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet parameters) { - return new WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.deleteDevices"), 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/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage.java deleted file mode 100644 index 59e7c8aca7f..00000000000 --- a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage.java +++ /dev/null @@ -1,47 +0,0 @@ -// Template Source: BaseMethodCollectionPage.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.http.IRequestBuilder; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState; -import java.util.Arrays; -import java.util.EnumSet; -import javax.annotation.Nullable; -import javax.annotation.Nonnull; - -import com.microsoft.graph.http.BaseCollectionPage; -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder; -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage; -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Windows Autopilot Device Identity Delete Devices Collection Page. - */ -public class WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage extends BaseCollectionPage { - - /** - * A collection page for DeletedWindowsAutopilotDeviceState. - * - * @param response The serialized WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse from the service - * @param builder The request builder for the next collection page - */ - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage(@Nonnull final WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse response, @Nonnull final WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder builder) { - super(response, builder); - } - - /** - * Creates the collection page for WindowsAutopilotDeviceIdentityDeleteDevices - * - * @param pageContents the contents of this page - * @param nextRequestBuilder the request builder for the next page - */ - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder nextRequestBuilder) { - super(pageContents, nextRequestBuilder); - } -} diff --git a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest.java deleted file mode 100644 index 04aedde08ad..00000000000 --- a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest.java +++ /dev/null @@ -1,152 +0,0 @@ -// Template Source: BaseMethodCollectionRequest.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.http.IRequestBuilder; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState; -import java.util.Arrays; -import java.util.EnumSet; -import javax.annotation.Nullable; -import javax.annotation.Nonnull; - -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder; -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse; -import com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState; -import com.microsoft.graph.models.WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet; -import com.microsoft.graph.options.QueryOption; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseActionCollectionRequest; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Windows Autopilot Device Identity Delete Devices Collection Request. - */ -public class WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest extends BaseActionCollectionRequest { - - - /** The body for the method */ - @Nullable - public WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet body; - - - /** - * The request for this WindowsAutopilotDeviceIdentityDeleteDevices - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse.class, WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage.class, WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder.class); - } - - - /** - * Sets the select clause for the request - * - * @param value the select clause - * @return the updated request - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest 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 WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest expand(@Nonnull final String value) { - addExpandOption(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 WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest count(final boolean value) { - addCountOption(value); - return this; - } - /** - * Sets the count value to true for the request - * - * @return the updated request - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest count() { - addCountOption(true); - return this; - } - /** - * Sets the top value for the request - * - * @param value the max number of items to return - * @return the updated request - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest top(final int value) { - addTopOption(value); - return this; - } - - /** - * Sets the skip value for the request - * - * @param value of the number of items to skip - * @return the updated request - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest skip(final int value) { - addSkipOption(value); - return this; - } - /** - * Add Skip token for pagination - * @param skipToken - Token for pagination - * @return the updated request - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest skipToken(@Nonnull final String skipToken) { - addSkipTokenOption(skipToken); - return this; - } - - /** - * Sets the filter clause for the request - * - * @param value the filter clause - * @return the updated request - */ - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest 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 WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest orderBy(@Nonnull final String value) { - addOrderByOption(value); - return this; - } - -} diff --git a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder.java deleted file mode 100644 index 1f16dc5c595..00000000000 --- a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder.java +++ /dev/null @@ -1,67 +0,0 @@ -// Template Source: BaseMethodCollectionRequestBuilder.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.http.IRequestBuilder; -import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState; -import java.util.Arrays; -import java.util.EnumSet; -import javax.annotation.Nullable; -import javax.annotation.Nonnull; - -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder; -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest; -import com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse; -import com.microsoft.graph.models.WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet; -import com.microsoft.graph.options.FunctionOption; -import com.microsoft.graph.core.IBaseClient; -import com.microsoft.graph.http.BaseActionCollectionRequestBuilder; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Windows Autopilot Device Identity Delete Devices Collection Request Builder. - */ -public class WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder extends BaseActionCollectionRequestBuilder { - - /** - * The request builder for this collection of WindowsAutopilotDeviceIdentity - * - * @param requestUrl the request URL - * @param client the service client - * @param requestOptions the options for this request - */ - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { - super(requestUrl, client, requestOptions, WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder.class, WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest.class); - } - private WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet body; - /** - * The request builder for this collection of WindowsAutopilotDeviceIdentity - * - * @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 WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet parameters) { - super(requestUrl, client, requestOptions, WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder.class, WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest.class); - this.body = parameters; - } - /** - * Creates the request - * - * @param requestOptions the options for this request - * @return the WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest instance - */ - @Override - @Nonnull - public WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest buildRequest(@Nullable final java.util.List requestOptions) { - final WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest request = super.buildRequest(requestOptions); - request.body = this.body; - return request; - } -} diff --git a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse.java deleted file mode 100644 index b0140af3a41..00000000000 --- a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse.java +++ /dev/null @@ -1,21 +0,0 @@ -// Template Source: BaseMethodCollectionResponse.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.DeletedWindowsAutopilotDeviceState; - - -import javax.annotation.Nullable; -import javax.annotation.Nonnull; -import com.microsoft.graph.http.BaseCollectionResponse; - -// **NOTE** This file was generated by a tool and any changes will be overwritten. - -/** - * The class for the Windows Autopilot Device Identity Delete Devices Collection Response. - */ -public class WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse extends BaseCollectionResponse { - -} diff --git a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityRequest.java b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityRequest.java index 3b665b29507..9dabd3d6c96 100644 --- a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityRequest.java @@ -8,7 +8,6 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.WindowsAutopilotDeviceIdentity; -import com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; diff --git a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityRequestBuilder.java index 6f8544940cf..7dfb709c0d4 100644 --- a/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/WindowsAutopilotDeviceIdentityRequestBuilder.java @@ -8,7 +8,6 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.WindowsAutopilotDeviceIdentity; -import com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; diff --git a/typeSummary.txt b/typeSummary.txt index 98d239de766..b7d5ae5c730 100644 --- a/typeSummary.txt +++ b/typeSummary.txt @@ -686,6 +686,9 @@ WINDOWS_AUTO_ENROLLMENT WINDOWS_BULK_AZURE_DOMAIN_JOIN WINDOWS_CO_MANAGEMENT + WINDOWS_AZURE_AD_JOIN_USING_DEVICE_AUTH + APPLE_USER_ENROLLMENT + APPLE_USER_ENROLLMENT_WITH_SERVICE_ACCOUNT UNEXPECTED_VALUE enum com.microsoft.graph.models.DeviceManagementExchangeAccessState NONE @@ -2312,12 +2315,6 @@ ARM NEUTRAL UNEXPECTED_VALUE - enum com.microsoft.graph.models.WindowsAutopilotDeviceDeletionState - UNKNOWN - FAILED - ACCEPTED - ERROR - UNEXPECTED_VALUE enum com.microsoft.graph.models.WindowsDeliveryOptimizationMode USER_DEFINED HTTP_ONLY @@ -6585,6 +6582,7 @@ class com.microsoft.graph.models.ApplePushNotificationCertificate : com.microsoft.graph.models.Entity property appleIdentifier : java.lang.String property certificate : java.lang.String + property certificateSerialNumber : java.lang.String property expirationDateTime : java.time.OffsetDateTime property id : java.lang.String property lastModifiedDateTime : java.time.OffsetDateTime @@ -8501,18 +8499,6 @@ return type void param arg0 : com.microsoft.graph.serializer.ISerializer param arg1 : com.google.gson.JsonObject - class com.microsoft.graph.models.DeletedWindowsAutopilotDeviceState - property deletionState : com.microsoft.graph.models.WindowsAutopilotDeviceDeletionState - property deviceRegistrationId : java.lang.String - property errorMessage : java.lang.String - property oDataType : java.lang.String - property serialNumber : java.lang.String - method additionalDataManager - return type com.microsoft.graph.serializer.AdditionalDataManager - method setRawObject - return type void - param arg0 : com.microsoft.graph.serializer.ISerializer - param arg1 : com.google.gson.JsonObject class com.microsoft.graph.models.DetailsInfo property oDataType : java.lang.String method additionalDataManager @@ -13214,10 +13200,12 @@ property easDeviceId : java.lang.String property emailAddress : java.lang.String property enrolledDateTime : java.time.OffsetDateTime + property ethernetMacAddress : java.lang.String property exchangeAccessState : com.microsoft.graph.models.DeviceManagementExchangeAccessState property exchangeAccessStateReason : com.microsoft.graph.models.DeviceManagementExchangeAccessStateReason property exchangeLastSuccessfulSyncDateTime : java.time.OffsetDateTime property freeStorageSpaceInBytes : java.lang.Long + property iccid : java.lang.String property id : java.lang.String property imei : java.lang.String property isEncrypted : java.lang.Boolean @@ -13230,16 +13218,19 @@ property manufacturer : java.lang.String property meid : java.lang.String property model : java.lang.String + property notes : java.lang.String property oDataType : java.lang.String property operatingSystem : java.lang.String property osVersion : java.lang.String property partnerReportedThreatState : com.microsoft.graph.models.ManagedDevicePartnerReportedHealthState property phoneNumber : java.lang.String + property physicalMemoryInBytes : java.lang.Long property remoteAssistanceSessionErrorDetails : java.lang.String property remoteAssistanceSessionUrl : java.lang.String property serialNumber : java.lang.String property subscriberCarrier : java.lang.String property totalStorageSpaceInBytes : java.lang.Long + property udid : java.lang.String property userDisplayName : java.lang.String property userId : java.lang.String property userPrincipalName : java.lang.String @@ -13455,6 +13446,7 @@ property keepEnrollmentData : java.lang.Boolean property keepUserData : java.lang.Boolean property macOsUnlockCode : java.lang.String + property persistEsimDataPlan : java.lang.Boolean method getFunctionOptions return type java.util.List method newBuilder @@ -21389,12 +21381,6 @@ return type java.util.List method newBuilder return type com.microsoft.graph.models.WindowsAutopilotDeviceIdentityAssignUserToDeviceParameterSet$WindowsAutopilotDeviceIdentityAssignUserToDeviceParameterSetBuilder - class com.microsoft.graph.models.WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet - property serialNumbers : java.util.List - method getFunctionOptions - return type java.util.List - method newBuilder - return type com.microsoft.graph.models.WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet$WindowsAutopilotDeviceIdentityDeleteDevicesParameterSetBuilder class com.microsoft.graph.models.WindowsAutopilotDeviceIdentityUnassignUserFromDeviceParameterSet method getFunctionOptions return type java.util.List @@ -168159,9 +168145,6 @@ param arg0 : java.lang.String method count return type com.microsoft.graph.http.PrimitiveRequestBuilder - method deleteDevices - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder - param arg0 : com.microsoft.graph.models.WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet method getClient return type com.microsoft.graph.core.IBaseClient method getOptions @@ -168188,153 +168171,6 @@ param arg1 : com.google.gson.JsonObject method values return type java.util.List - class com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionPage : com.microsoft.graph.http.BaseCollectionPage - method additionalDataManager - return type com.microsoft.graph.serializer.AdditionalDataManager - method getCount - return type java.lang.Long - method getCurrentPage - return type java.util.List - method getNextPage - return type com.microsoft.graph.http.BaseRequestBuilder - method setRawObject - return type void - param arg0 : com.microsoft.graph.serializer.ISerializer - param arg1 : com.google.gson.JsonObject - class com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest : com.microsoft.graph.http.BaseActionCollectionRequest - property body : com.microsoft.graph.models.WindowsAutopilotDeviceIdentityDeleteDevicesParameterSet - method addFunctionOption - return type void - param arg0 : com.microsoft.graph.options.FunctionOption - method addHeader - return type void - param arg0 : java.lang.String - param arg1 : java.lang.String - method addQueryOption - return type void - param arg0 : com.microsoft.graph.options.QueryOption - method buildFromResponse - return type com.microsoft.graph.http.BaseCollectionPage - param arg0 : com.microsoft.graph.http.ICollectionResponse - method count - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - method count - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : boolean - method expand - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : java.lang.String - method filter - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : java.lang.String - method getBaseRequest - return type com.microsoft.graph.http.BaseRequest - method getCollectionPageClass - return type java.lang.Class - method getDelay - return type long - method getHeaders - return type java.util.List - method getHttpMethod - return type com.microsoft.graph.http.HttpMethod - method getHttpRequest - return type java.lang.Object - method getHttpRequest - return type java.lang.Object - param arg0 : java.lang.Object - method getMaxRedirects - return type int - method getMaxRetries - return type int - method getOptions - return type java.util.List - method getRequestUrl - return type java.net.URL - method getShouldRedirect - return type com.microsoft.graph.httpcore.middlewareoption.IShouldRedirect - method getShouldRetry - return type com.microsoft.graph.httpcore.middlewareoption.IShouldRetry - method getUseCaches - return type boolean - method orderBy - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : java.lang.String - method post - return type com.microsoft.graph.http.BaseCollectionPage - method postAsync - return type java.util.concurrent.CompletableFuture - method select - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : java.lang.String - method setDelay - return type void - param arg0 : long - method setMaxRedirects - return type void - param arg0 : int - method setMaxRetries - return type void - param arg0 : int - method setShouldRedirect - return type void - param arg0 : com.microsoft.graph.httpcore.middlewareoption.IShouldRedirect - method setShouldRetry - return type void - param arg0 : com.microsoft.graph.httpcore.middlewareoption.IShouldRetry - method setUseCaches - return type void - param arg0 : boolean - method skipToken - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : java.lang.String - method skip - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : int - method top - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : int - method withHttpMethod - return type com.microsoft.graph.http.IHttpRequest - param arg0 : com.microsoft.graph.http.HttpMethod - class com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequestBuilder : com.microsoft.graph.http.BaseActionCollectionRequestBuilder - method buildRequest - return type com.microsoft.graph.http.BaseCollectionRequest - param arg0 : [Lcom.microsoft.graph.options.Option; - method buildRequest - return type com.microsoft.graph.http.BaseCollectionRequest - param arg0 : java.util.List - method buildRequest - return type com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionRequest - param arg0 : java.util.List - method byId - return type com.microsoft.graph.http.BaseRequestBuilder - param arg0 : java.lang.String - method getClient - return type com.microsoft.graph.core.IBaseClient - method getOptions - return type java.util.List - param arg0 : [Lcom.microsoft.graph.options.Option; - method getRequestUrl - return type java.lang.String - method getRequestUrlWithAdditionalParameter - return type java.lang.String - param arg0 : java.lang.String - method getRequestUrlWithAdditionalSegment - return type java.lang.String - param arg0 : java.lang.String - class com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityDeleteDevicesCollectionResponse : com.microsoft.graph.http.BaseCollectionResponse - property nextLink : java.lang.String - property value : java.util.List - method additionalDataManager - return type com.microsoft.graph.serializer.AdditionalDataManager - method nextLink - return type java.lang.String - method setRawObject - return type void - param arg0 : com.microsoft.graph.serializer.ISerializer - param arg1 : com.google.gson.JsonObject - method values - return type java.util.List class com.microsoft.graph.requests.WindowsAutopilotDeviceIdentityRequest : com.microsoft.graph.http.BaseRequest property REQUEST_STATS_HEADER_VALUE_FORMAT_STRING : java.lang.String method addFunctionOption