From 1932dd72c8a46df6d7679542f743b433e517014c Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 10 Aug 2021 10:19:01 +0000 Subject: [PATCH 1/8] Update generated files with build 54101 --- README.md | 5 +- gradle.properties | 3 +- .../models/ExternalConnection.java | 15 + .../models/ExternalGroup.java | 72 + .../externalconnectors/models/Identity.java | 48 + .../models/IdentityType.java | 34 + .../requests/ExternalConnectionRequest.java | 2 + .../ExternalConnectionRequestBuilder.java | 22 + .../requests/ExternalGroupCollectionPage.java | 40 + .../ExternalGroupCollectionRequest.java | 173 + ...ExternalGroupCollectionRequestBuilder.java | 51 + .../ExternalGroupCollectionResponse.java | 18 + .../requests/ExternalGroupRequest.java | 175 + .../requests/ExternalGroupRequestBuilder.java | 81 + .../requests/IdentityCollectionPage.java | 40 + .../requests/IdentityCollectionRequest.java | 173 + .../IdentityCollectionRequestBuilder.java | 51 + .../requests/IdentityCollectionResponse.java | 18 + .../requests/IdentityRequest.java | 173 + .../requests/IdentityRequestBuilder.java | 59 + .../com/microsoft/graph/info/Constants.java | 3 +- .../models/AndroidMinimumOperatingSystem.java | 18 + ...tionManagerCollectionAssignmentTarget.java | 47 + ...tOmaSettingPlainTextValueParameterSet.java | 97 + .../graph/models/DeviceManagement.java | 10 + .../models/DeviceManagementExportJob.java | 132 + ...ceManagementExportJobLocalizationType.java | 26 + .../DeviceManagementReportFileFormat.java | 26 + .../models/DeviceManagementReportStatus.java | 38 + .../graph/models/DeviceManagementReports.java | 54 + ...entReportsGetCachedReportParameterSet.java | 265 ++ ...PolicyNonComplianceReportParameterSet.java | 321 ++ ...onComplianceSummaryReportParameterSet.java | 321 ++ ...ettingNonComplianceReportParameterSet.java | 321 ++ ...PolicyNonComplianceReportParameterSet.java | 321 ++ ...onComplianceSummaryReportParameterSet.java | 321 ++ ...ettingNonComplianceReportParameterSet.java | 321 ++ ...ementIntentSettingsReportParameterSet.java | 321 ++ ...DeviceNonComplianceReportParameterSet.java | 321 ++ ...eportsGetHistoricalReportParameterSet.java | 293 ++ ...licyNonComplianceMetadataParameterSet.java | 321 ++ ...PolicyNonComplianceReportParameterSet.java | 321 ++ ...onComplianceSummaryReportParameterSet.java | 321 ++ ...ntReportsGetReportFiltersParameterSet.java | 321 ++ ...ettingNonComplianceReportParameterSet.java | 321 ++ .../models/IosMinimumOperatingSystem.java | 9 + .../microsoft/graph/models/KeyCredential.java | 10 +- .../models/ManagedAppDataStorageLocation.java | 4 + .../models/PrinterProcessingStateDetail.java | 3164 +++++++++++++++++ .../graph/models/RoleManagement.java | 10 + .../microsoft/graph/models/ServiceHealth.java | 2 +- .../graph/models/ServiceUpdateMessage.java | 2 +- .../microsoft/graph/models/SettingSource.java | 10 + .../graph/models/SettingSourceType.java | 26 + ...ppConfigurationTargetAppsParameterSet.java | 29 + .../models/TargetedManagedAppGroupType.java | 34 + ...edAppProtectionTargetAppsParameterSet.java | 126 + .../models/Win32LobAppAssignmentSettings.java | 10 + ...n32LobAppDeliveryOptimizationPriority.java | 26 + ...roidCustomConfigurationRequestBuilder.java | 11 + ...eralDeviceConfigurationRequestBuilder.java | 11 + ...ManagedAppProtectionCollectionRequest.java | 1 + ...AppProtectionCollectionRequestBuilder.java | 2 + .../AndroidManagedAppProtectionRequest.java | 1 + ...oidManagedAppProtectionRequestBuilder.java | 6 +- ...fileCustomConfigurationRequestBuilder.java | 11 + ...eralDeviceConfigurationRequestBuilder.java | 11 + ...aturesConfigurationBaseRequestBuilder.java | 11 + ...ConfigurationCollectionRequestBuilder.java | 1 + ...ionGetOmaSettingPlainTextValueRequest.java | 80 + ...maSettingPlainTextValueRequestBuilder.java | 77 + .../DeviceConfigurationRequestBuilder.java | 11 + ...viceManagementExportJobCollectionPage.java | 40 + ...eManagementExportJobCollectionRequest.java | 173 + ...mentExportJobCollectionRequestBuilder.java | 51 + ...ManagementExportJobCollectionResponse.java | 18 + .../DeviceManagementExportJobRequest.java | 173 + ...viceManagementExportJobRequestBuilder.java | 59 + ...nagementReportsGetCachedReportRequest.java | 81 + ...tReportsGetCachedReportRequestBuilder.java | 74 + ...iancePolicyNonComplianceReportRequest.java | 81 + ...licyNonComplianceReportRequestBuilder.java | 74 + ...licyNonComplianceSummaryReportRequest.java | 81 + ...ComplianceSummaryReportRequestBuilder.java | 74 + ...anceSettingNonComplianceReportRequest.java | 81 + ...tingNonComplianceReportRequestBuilder.java | 74 + ...ationPolicyNonComplianceReportRequest.java | 81 + ...licyNonComplianceReportRequestBuilder.java | 74 + ...licyNonComplianceSummaryReportRequest.java | 81 + ...ComplianceSummaryReportRequestBuilder.java | 74 + ...tionSettingNonComplianceReportRequest.java | 81 + ...tingNonComplianceReportRequestBuilder.java | 74 + ...ManagementIntentSettingsReportRequest.java | 81 + ...entIntentSettingsReportRequestBuilder.java | 74 + ...tsGetDeviceNonComplianceReportRequest.java | 81 + ...viceNonComplianceReportRequestBuilder.java | 74 + ...mentReportsGetHistoricalReportRequest.java | 81 + ...ortsGetHistoricalReportRequestBuilder.java | 74 + ...GetPolicyNonComplianceMetadataRequest.java | 81 + ...cyNonComplianceMetadataRequestBuilder.java | 74 + ...tsGetPolicyNonComplianceReportRequest.java | 81 + ...licyNonComplianceReportRequestBuilder.java | 74 + ...licyNonComplianceSummaryReportRequest.java | 81 + ...ComplianceSummaryReportRequestBuilder.java | 74 + ...agementReportsGetReportFiltersRequest.java | 81 + ...ReportsGetReportFiltersRequestBuilder.java | 74 + ...sGetSettingNonComplianceReportRequest.java | 81 + ...tingNonComplianceReportRequestBuilder.java | 74 + .../DeviceManagementReportsRequest.java | 175 + ...DeviceManagementReportsRequestBuilder.java | 246 ++ .../requests/DeviceManagementRequest.java | 1 + .../DeviceManagementRequestBuilder.java | 11 + ...ionUpgradeConfigurationRequestBuilder.java | 11 + .../IosCertificateProfileRequestBuilder.java | 11 + .../IosCustomConfigurationRequestBuilder.java | 11 + ...ceFeaturesConfigurationRequestBuilder.java | 11 + ...eralDeviceConfigurationRequestBuilder.java | 11 + ...ManagedAppProtectionCollectionRequest.java | 1 + ...AppProtectionCollectionRequestBuilder.java | 2 + .../IosManagedAppProtectionRequest.java | 1 + ...IosManagedAppProtectionRequestBuilder.java | 6 +- .../IosUpdateConfigurationRequestBuilder.java | 11 + ...acOSCustomConfigurationRequestBuilder.java | 11 + ...ceFeaturesConfigurationRequestBuilder.java | 11 + ...eralDeviceConfigurationRequestBuilder.java | 11 + .../graph/requests/RoleManagementRequest.java | 1 + .../RoleManagementRequestBuilder.java | 11 + .../SharedPCConfigurationRequestBuilder.java | 11 + ...agedAppConfigurationCollectionRequest.java | 1 + ...ConfigurationCollectionRequestBuilder.java | 1 + ...argetedManagedAppConfigurationRequest.java | 1 + ...ManagedAppConfigurationRequestBuilder.java | 1 + ...ConfigurationTargetAppsRequestBuilder.java | 1 + .../TargetedManagedAppProtectionRequest.java | 1 + ...tedManagedAppProtectionRequestBuilder.java | 6 +- ...ManagedAppProtectionTargetAppsRequest.java | 56 + ...AppProtectionTargetAppsRequestBuilder.java | 75 + ...ws10CustomConfigurationRequestBuilder.java | 11 + ...ProtectionConfigurationRequestBuilder.java | 11 + ...ManagementConfigurationRequestBuilder.java | 11 + ...s10GeneralConfigurationRequestBuilder.java | 11 + ...AssessmentConfigurationRequestBuilder.java | 11 + ...eamGeneralConfigurationRequestBuilder.java | 11 + ...s81GeneralConfigurationRequestBuilder.java | 11 + ...ProtectionConfigurationRequestBuilder.java | 11 + ...ne81CustomConfigurationRequestBuilder.java | 11 + ...e81GeneralConfigurationRequestBuilder.java | 11 + ...orBusinessConfigurationRequestBuilder.java | 11 + 148 files changed, 13782 insertions(+), 17 deletions(-) create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/models/ExternalGroup.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/models/IdentityType.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupRequest.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityRequest.java create mode 100644 src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/models/ConfigurationManagerCollectionAssignmentTarget.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceConfigurationGetOmaSettingPlainTextValueParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementExportJob.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementExportJobLocalizationType.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportFileFormat.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportStatus.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReports.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCachedReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetDeviceNonComplianceReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetHistoricalReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetReportFiltersParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetSettingNonComplianceReportParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/SettingSourceType.java create mode 100644 src/main/java/com/microsoft/graph/models/TargetedManagedAppGroupType.java create mode 100644 src/main/java/com/microsoft/graph/models/TargetedManagedAppProtectionTargetAppsParameterSet.java create mode 100644 src/main/java/com/microsoft/graph/models/Win32LobAppDeliveryOptimizationPriority.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceConfigurationGetOmaSettingPlainTextValueRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCachedReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCachedReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceNonComplianceReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetHistoricalReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetHistoricalReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceMetadataRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetReportFiltersRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetReportFiltersRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetSettingNonComplianceReportRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/DeviceManagementReportsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/TargetedManagedAppProtectionTargetAppsRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/TargetedManagedAppProtectionTargetAppsRequestBuilder.java diff --git a/README.md b/README.md index 83a42f064d4..0063d50da61 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:4.2.0' + implementation 'com.microsoft.graph:microsoft-graph:4.3.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 - 4.2.0 + 4.3.0 @@ -147,3 +147,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI + diff --git a/gradle.properties b/gradle.properties index b6d253059a1..ad3913420e6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ org.gradle.caching=true mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph mavenMajorVersion = 4 -mavenMinorVersion = 2 +mavenMinorVersion = 3 mavenPatchVersion = 0 mavenArtifactSuffix = @@ -56,3 +56,4 @@ mavenCentralPublishingEnabled=false + diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalConnection.java b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalConnection.java index 702c61efec2..3425694a227 100644 --- a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalConnection.java +++ b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalConnection.java @@ -11,10 +11,12 @@ import com.microsoft.graph.http.BaseCollectionPage; import com.microsoft.graph.externalconnectors.models.Configuration; import com.microsoft.graph.externalconnectors.models.ConnectionState; +import com.microsoft.graph.externalconnectors.models.ExternalGroup; import com.microsoft.graph.externalconnectors.models.ExternalItem; import com.microsoft.graph.externalconnectors.models.ConnectionOperation; import com.microsoft.graph.externalconnectors.models.Schema; import com.microsoft.graph.models.Entity; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionPage; import com.microsoft.graph.externalconnectors.requests.ExternalItemCollectionPage; import com.microsoft.graph.externalconnectors.requests.ConnectionOperationCollectionPage; @@ -69,6 +71,15 @@ public class ExternalConnection extends Entity implements IJsonBackedObject { @Nullable public ConnectionState state; + /** + * The Groups. + * + */ + @SerializedName(value = "groups", alternate = {"Groups"}) + @Expose + @Nullable + public ExternalGroupCollectionPage groups; + /** * The Items. * Read-only. Nullable. @@ -106,6 +117,10 @@ public class ExternalConnection extends Entity implements IJsonBackedObject { public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { + if (json.has("groups")) { + groups = serializer.deserializeObject(json.get("groups"), ExternalGroupCollectionPage.class); + } + if (json.has("items")) { items = serializer.deserializeObject(json.get("items"), ExternalItemCollectionPage.class); } diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalGroup.java b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalGroup.java new file mode 100644 index 00000000000..a9053980f6a --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalGroup.java @@ -0,0 +1,72 @@ +// 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.externalconnectors.models; +import com.microsoft.graph.serializer.ISerializer; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.AdditionalDataManager; +import java.util.EnumSet; +import com.microsoft.graph.http.BaseCollectionPage; +import com.microsoft.graph.externalconnectors.models.Identity; +import com.microsoft.graph.models.Entity; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionPage; + + +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 External Group. + */ +public class ExternalGroup extends Entity implements IJsonBackedObject { + + + /** + * The Description. + * The description of the external group. Optional. + */ + @SerializedName(value = "description", alternate = {"Description"}) + @Expose + @Nullable + public String description; + + /** + * The Display Name. + * The friendly name of the external group. Optional. + */ + @SerializedName(value = "displayName", alternate = {"DisplayName"}) + @Expose + @Nullable + public String displayName; + + /** + * The Members. + * A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members. + */ + @SerializedName(value = "members", alternate = {"Members"}) + @Expose + @Nullable + public IdentityCollectionPage members; + + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { + + + if (json.has("members")) { + members = serializer.deserializeObject(json.get("members"), IdentityCollectionPage.class); + } + } +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java b/src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java new file mode 100644 index 00000000000..43e4903092b --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java @@ -0,0 +1,48 @@ +// Template Source: BaseEntity.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.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.externalconnectors.models.IdentityType; +import com.microsoft.graph.models.Entity; + + +import com.google.gson.JsonObject; +import com.google.gson.annotations.SerializedName; +import com.google.gson.annotations.Expose; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Identity. + */ +public class Identity extends Entity implements IJsonBackedObject { + + + /** + * The Type. + * + */ + @SerializedName(value = "type", alternate = {"Type"}) + @Expose + @Nullable + public IdentityType type; + + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { + + } +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/IdentityType.java b/src/main/java/com/microsoft/graph/externalconnectors/models/IdentityType.java new file mode 100644 index 00000000000..dd8c4639a31 --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/models/IdentityType.java @@ -0,0 +1,34 @@ +// Template Source: Enum.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.models; + + +/** + * The Enum Identity Type. +*/ +public enum IdentityType +{ + /** + * user + */ + USER, + /** + * group + */ + GROUP, + /** + * external Group + */ + EXTERNAL_GROUP, + /** + * unknown Future Value + */ + UNKNOWN_FUTURE_VALUE, + /** + * For IdentityType values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalConnectionRequest.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalConnectionRequest.java index 852b9dd430d..96dd9382b35 100644 --- a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalConnectionRequest.java +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalConnectionRequest.java @@ -8,6 +8,8 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; import com.microsoft.graph.externalconnectors.models.ExternalConnection; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupRequestBuilder; import com.microsoft.graph.externalconnectors.requests.ExternalItemCollectionRequestBuilder; import com.microsoft.graph.externalconnectors.requests.ExternalItemRequestBuilder; import com.microsoft.graph.externalconnectors.requests.ConnectionOperationCollectionRequestBuilder; diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalConnectionRequestBuilder.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalConnectionRequestBuilder.java index cf9410b35f3..d3dad3a0562 100644 --- a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalConnectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalConnectionRequestBuilder.java @@ -8,6 +8,8 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; import com.microsoft.graph.externalconnectors.models.ExternalConnection; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupRequestBuilder; import com.microsoft.graph.externalconnectors.requests.ExternalItemCollectionRequestBuilder; import com.microsoft.graph.externalconnectors.requests.ExternalItemRequestBuilder; import com.microsoft.graph.externalconnectors.requests.ConnectionOperationCollectionRequestBuilder; @@ -61,6 +63,26 @@ public ExternalConnectionRequest buildRequest(@Nonnull final java.util.List { + + /** + * A collection page for ExternalGroup + * + * @param response the serialized ExternalGroupCollectionResponse from the service + * @param builder the request builder for the next collection page + */ + public ExternalGroupCollectionPage(@Nonnull final ExternalGroupCollectionResponse response, @Nonnull final ExternalGroupCollectionRequestBuilder builder) { + super(response, builder); + } + + /** + * Creates the collection page for ExternalGroup + * + * @param pageContents the contents of this page + * @param nextRequestBuilder the request builder for the next page + */ + public ExternalGroupCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final ExternalGroupCollectionRequestBuilder nextRequestBuilder) { + super(pageContents, nextRequestBuilder); + } +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionRequest.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionRequest.java new file mode 100644 index 00000000000..90c6d4283ce --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionRequest.java @@ -0,0 +1,173 @@ +// Template Source: BaseEntityCollectionRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.externalconnectors.models.ExternalConnection; +import com.microsoft.graph.externalconnectors.models.ExternalGroup; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseEntityCollectionRequest; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionResponse; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionRequest; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the External Group Collection Request. + */ +public class ExternalGroupCollectionRequest extends BaseEntityCollectionRequest { + + /** + * The request builder for this collection of ExternalGroup + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public ExternalGroupCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ExternalGroupCollectionResponse.class, ExternalGroupCollectionPage.class, ExternalGroupCollectionRequestBuilder.class); + } + + /** + * Creates a new ExternalGroup + * @param newExternalGroup the ExternalGroup to create + * @return a future with the created object + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final ExternalGroup newExternalGroup) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ExternalGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .postAsync(newExternalGroup); + } + + /** + * Creates a new ExternalGroup + * @param newExternalGroup the ExternalGroup to create + * @return the newly created object + */ + @Nonnull + public ExternalGroup post(@Nonnull final ExternalGroup newExternalGroup) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new ExternalGroupRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .post(newExternalGroup); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + @Nonnull + public ExternalGroupCollectionRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + + /** + * Sets the filter clause for the request + * + * @param value the filter clause + * @return the updated request + */ + @Nonnull + public ExternalGroupCollectionRequest 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 ExternalGroupCollectionRequest orderBy(@Nonnull final String value) { + addOrderByOption(value); + return this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public ExternalGroupCollectionRequest select(@Nonnull final String value) { + addSelectOption(value); + return this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + @Nonnull + public ExternalGroupCollectionRequest top(final int value) { + addTopOption(value); + return this; + } + + /** + * Sets the count value for the request + * + * @param value whether or not to return the count of objects with the request + * @return the updated request + */ + @Nonnull + public ExternalGroupCollectionRequest count(final boolean value) { + addCountOption(value); + return this; + } + /** + * Sets the count value to true for the request + * + * @return the updated request + */ + @Nonnull + public ExternalGroupCollectionRequest count() { + addCountOption(true); + return this; + } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + @Nonnull + public ExternalGroupCollectionRequest skip(final int value) { + addSkipOption(value); + return this; + } + + + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + @Nonnull + public ExternalGroupCollectionRequest skipToken(@Nonnull final String skipToken) { + addSkipTokenOption(skipToken); + return this; + } +} + diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionRequestBuilder.java new file mode 100644 index 00000000000..5d1d5d412be --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionRequestBuilder.java @@ -0,0 +1,51 @@ +// Template Source: BaseEntityCollectionRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.externalconnectors.models.ExternalConnection; +import com.microsoft.graph.externalconnectors.models.ExternalGroup; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionRequest; +import com.microsoft.graph.http.BaseCollectionRequestBuilder; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.PrimitiveRequestBuilder; +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the External Group Collection Request Builder. + */ +public class ExternalGroupCollectionRequestBuilder extends BaseCollectionRequestBuilder { + + /** + * The request builder for this collection of ExternalConnection + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public ExternalGroupCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ExternalGroupRequestBuilder.class, ExternalGroupCollectionRequest.class); + } + + + + /** + * Gets the raw count request for the collection + * @return The raw count request for the collection + */ + @Nonnull + public PrimitiveRequestBuilder count() { + return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class); + } +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionResponse.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionResponse.java new file mode 100644 index 00000000000..3d6c7f1dd77 --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupCollectionResponse.java @@ -0,0 +1,18 @@ +// Template Source: BaseEntityCollectionResponse.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; +import com.microsoft.graph.externalconnectors.models.ExternalGroup; + +import com.microsoft.graph.http.BaseCollectionResponse; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the External Group Collection Response. + */ +public class ExternalGroupCollectionResponse extends BaseCollectionResponse { + +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupRequest.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupRequest.java new file mode 100644 index 00000000000..9916ade1fac --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupRequest.java @@ -0,0 +1,175 @@ +// Template Source: BaseEntityRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.externalconnectors.models.ExternalGroup; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.IdentityRequestBuilder; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the External Group Request. + */ +public class ExternalGroupRequest extends BaseRequest { + + /** + * The request for the ExternalGroup + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public ExternalGroupRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ExternalGroup.class); + } + + /** + * Gets the ExternalGroup from the service + * + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture getAsync() { + return sendAsync(HttpMethod.GET, null); + } + + /** + * Gets the ExternalGroup from the service + * + * @return the ExternalGroup from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public ExternalGroup get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @return a future with the deletion result + */ + @Nonnull + public java.util.concurrent.CompletableFuture deleteAsync() { + return sendAsync(HttpMethod.DELETE, null); + } + + /** + * Delete this item from the service + * @return the resulting response if the service returns anything on deletion + * + * @throws ClientException if there was an exception during the delete operation + */ + @Nullable + public ExternalGroup delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Patches this ExternalGroup with a source + * + * @param sourceExternalGroup the source object with updates + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final ExternalGroup sourceExternalGroup) { + return sendAsync(HttpMethod.PATCH, sourceExternalGroup); + } + + /** + * Patches this ExternalGroup with a source + * + * @param sourceExternalGroup the source object with updates + * @return the updated ExternalGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public ExternalGroup patch(@Nonnull final ExternalGroup sourceExternalGroup) throws ClientException { + return send(HttpMethod.PATCH, sourceExternalGroup); + } + + /** + * Creates a ExternalGroup with a new object + * + * @param newExternalGroup the new object to create + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final ExternalGroup newExternalGroup) { + return sendAsync(HttpMethod.POST, newExternalGroup); + } + + /** + * Creates a ExternalGroup with a new object + * + * @param newExternalGroup the new object to create + * @return the created ExternalGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public ExternalGroup post(@Nonnull final ExternalGroup newExternalGroup) throws ClientException { + return send(HttpMethod.POST, newExternalGroup); + } + + /** + * Creates a ExternalGroup with a new object + * + * @param newExternalGroup the object to create/update + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture putAsync(@Nonnull final ExternalGroup newExternalGroup) { + return sendAsync(HttpMethod.PUT, newExternalGroup); + } + + /** + * Creates a ExternalGroup with a new object + * + * @param newExternalGroup the object to create/update + * @return the created ExternalGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public ExternalGroup put(@Nonnull final ExternalGroup newExternalGroup) throws ClientException { + return send(HttpMethod.PUT, newExternalGroup); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public ExternalGroupRequest 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 ExternalGroupRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} + diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupRequestBuilder.java new file mode 100644 index 00000000000..b1d8506a3ad --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupRequestBuilder.java @@ -0,0 +1,81 @@ +// Template Source: BaseEntityRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.externalconnectors.models.ExternalGroup; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.IdentityRequestBuilder; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the External Group Request Builder. + */ +public class ExternalGroupRequestBuilder extends BaseRequestBuilder { + + /** + * The request builder for the ExternalGroup + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public ExternalGroupRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + + /** + * Creates the request + * + * @param requestOptions the options for this request + * @return the ExternalGroupRequest instance + */ + @Nonnull + public ExternalGroupRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the ExternalGroupRequest instance + */ + @Nonnull + public ExternalGroupRequest buildRequest(@Nonnull final java.util.List requestOptions) { + return new com.microsoft.graph.externalconnectors.requests.ExternalGroupRequest(getRequestUrl(), getClient(), requestOptions); + } + + + /** + * Gets a request builder for the Identity collection + * + * @return the collection request builder + */ + @Nonnull + public IdentityCollectionRequestBuilder members() { + return new IdentityCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("members"), getClient(), null); + } + + /** + * Gets a request builder for the Identity item + * + * @return the request builder + * @param id the item identifier + */ + @Nonnull + public IdentityRequestBuilder members(@Nonnull final String id) { + return new IdentityRequestBuilder(getRequestUrlWithAdditionalSegment("members") + "/" + id, getClient(), null); + } +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionPage.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionPage.java new file mode 100644 index 00000000000..0996a9c9758 --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionPage.java @@ -0,0 +1,40 @@ +// Template Source: BaseEntityCollectionPage.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; +import com.microsoft.graph.externalconnectors.models.Identity; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionRequestBuilder; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionResponse; +import com.microsoft.graph.http.BaseCollectionPage; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Identity Collection Page. + */ +public class IdentityCollectionPage extends BaseCollectionPage { + + /** + * A collection page for Identity + * + * @param response the serialized IdentityCollectionResponse from the service + * @param builder the request builder for the next collection page + */ + public IdentityCollectionPage(@Nonnull final IdentityCollectionResponse response, @Nonnull final IdentityCollectionRequestBuilder builder) { + super(response, builder); + } + + /** + * Creates the collection page for Identity + * + * @param pageContents the contents of this page + * @param nextRequestBuilder the request builder for the next page + */ + public IdentityCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final IdentityCollectionRequestBuilder nextRequestBuilder) { + super(pageContents, nextRequestBuilder); + } +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionRequest.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionRequest.java new file mode 100644 index 00000000000..3d2968195de --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionRequest.java @@ -0,0 +1,173 @@ +// Template Source: BaseEntityCollectionRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.externalconnectors.models.ExternalGroup; +import com.microsoft.graph.externalconnectors.models.Identity; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseEntityCollectionRequest; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionResponse; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionRequest; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Identity Collection Request. + */ +public class IdentityCollectionRequest extends BaseEntityCollectionRequest { + + /** + * The request builder for this collection of Identity + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public IdentityCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, IdentityCollectionResponse.class, IdentityCollectionPage.class, IdentityCollectionRequestBuilder.class); + } + + /** + * Creates a new Identity + * @param newIdentity the Identity to create + * @return a future with the created object + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final Identity newIdentity) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new IdentityRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .postAsync(newIdentity); + } + + /** + * Creates a new Identity + * @param newIdentity the Identity to create + * @return the newly created object + */ + @Nonnull + public Identity post(@Nonnull final Identity newIdentity) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new IdentityRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .post(newIdentity); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + @Nonnull + public IdentityCollectionRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + + /** + * Sets the filter clause for the request + * + * @param value the filter clause + * @return the updated request + */ + @Nonnull + public IdentityCollectionRequest 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 IdentityCollectionRequest orderBy(@Nonnull final String value) { + addOrderByOption(value); + return this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public IdentityCollectionRequest select(@Nonnull final String value) { + addSelectOption(value); + return this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + @Nonnull + public IdentityCollectionRequest top(final int value) { + addTopOption(value); + return this; + } + + /** + * Sets the count value for the request + * + * @param value whether or not to return the count of objects with the request + * @return the updated request + */ + @Nonnull + public IdentityCollectionRequest count(final boolean value) { + addCountOption(value); + return this; + } + /** + * Sets the count value to true for the request + * + * @return the updated request + */ + @Nonnull + public IdentityCollectionRequest count() { + addCountOption(true); + return this; + } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + @Nonnull + public IdentityCollectionRequest skip(final int value) { + addSkipOption(value); + return this; + } + + + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + @Nonnull + public IdentityCollectionRequest skipToken(@Nonnull final String skipToken) { + addSkipTokenOption(skipToken); + return this; + } +} + diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionRequestBuilder.java new file mode 100644 index 00000000000..189f10fa5a2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionRequestBuilder.java @@ -0,0 +1,51 @@ +// Template Source: BaseEntityCollectionRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.externalconnectors.models.ExternalGroup; +import com.microsoft.graph.externalconnectors.models.Identity; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.IdentityRequestBuilder; +import com.microsoft.graph.externalconnectors.requests.IdentityCollectionRequest; +import com.microsoft.graph.http.BaseCollectionRequestBuilder; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.PrimitiveRequestBuilder; +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Identity Collection Request Builder. + */ +public class IdentityCollectionRequestBuilder extends BaseCollectionRequestBuilder { + + /** + * The request builder for this collection of ExternalGroup + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public IdentityCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, IdentityRequestBuilder.class, IdentityCollectionRequest.class); + } + + + + /** + * Gets the raw count request for the collection + * @return The raw count request for the collection + */ + @Nonnull + public PrimitiveRequestBuilder count() { + return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class); + } +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionResponse.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionResponse.java new file mode 100644 index 00000000000..f5f94d229cf --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityCollectionResponse.java @@ -0,0 +1,18 @@ +// Template Source: BaseEntityCollectionResponse.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; +import com.microsoft.graph.externalconnectors.models.Identity; + +import com.microsoft.graph.http.BaseCollectionResponse; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Identity Collection Response. + */ +public class IdentityCollectionResponse extends BaseCollectionResponse { + +} diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityRequest.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityRequest.java new file mode 100644 index 00000000000..8c4892452a4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityRequest.java @@ -0,0 +1,173 @@ +// Template Source: BaseEntityRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.externalconnectors.models.Identity; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Identity Request. + */ +public class IdentityRequest extends BaseRequest { + + /** + * The request for the Identity + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public IdentityRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, Identity.class); + } + + /** + * Gets the Identity from the service + * + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture getAsync() { + return sendAsync(HttpMethod.GET, null); + } + + /** + * Gets the Identity from the service + * + * @return the Identity from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public Identity get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @return a future with the deletion result + */ + @Nonnull + public java.util.concurrent.CompletableFuture deleteAsync() { + return sendAsync(HttpMethod.DELETE, null); + } + + /** + * Delete this item from the service + * @return the resulting response if the service returns anything on deletion + * + * @throws ClientException if there was an exception during the delete operation + */ + @Nullable + public Identity delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Patches this Identity with a source + * + * @param sourceIdentity the source object with updates + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final Identity sourceIdentity) { + return sendAsync(HttpMethod.PATCH, sourceIdentity); + } + + /** + * Patches this Identity with a source + * + * @param sourceIdentity the source object with updates + * @return the updated Identity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public Identity patch(@Nonnull final Identity sourceIdentity) throws ClientException { + return send(HttpMethod.PATCH, sourceIdentity); + } + + /** + * Creates a Identity with a new object + * + * @param newIdentity the new object to create + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final Identity newIdentity) { + return sendAsync(HttpMethod.POST, newIdentity); + } + + /** + * Creates a Identity with a new object + * + * @param newIdentity the new object to create + * @return the created Identity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public Identity post(@Nonnull final Identity newIdentity) throws ClientException { + return send(HttpMethod.POST, newIdentity); + } + + /** + * Creates a Identity with a new object + * + * @param newIdentity the object to create/update + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture putAsync(@Nonnull final Identity newIdentity) { + return sendAsync(HttpMethod.PUT, newIdentity); + } + + /** + * Creates a Identity with a new object + * + * @param newIdentity the object to create/update + * @return the created Identity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public Identity put(@Nonnull final Identity newIdentity) throws ClientException { + return send(HttpMethod.PUT, newIdentity); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public IdentityRequest 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 IdentityRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} + diff --git a/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityRequestBuilder.java b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityRequestBuilder.java new file mode 100644 index 00000000000..db5a6178b38 --- /dev/null +++ b/src/main/java/com/microsoft/graph/externalconnectors/requests/IdentityRequestBuilder.java @@ -0,0 +1,59 @@ +// Template Source: BaseEntityRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.externalconnectors.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.externalconnectors.models.Identity; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Identity Request Builder. + */ +public class IdentityRequestBuilder extends BaseRequestBuilder { + + /** + * The request builder for the Identity + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public IdentityRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + + /** + * Creates the request + * + * @param requestOptions the options for this request + * @return the IdentityRequest instance + */ + @Nonnull + public IdentityRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the IdentityRequest instance + */ + @Nonnull + public IdentityRequest buildRequest(@Nonnull final java.util.List requestOptions) { + return new com.microsoft.graph.externalconnectors.requests.IdentityRequest(getRequestUrl(), getClient(), requestOptions); + } + + +} diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java index d8dee36be8b..73fc5e461fa 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 = "4.2.0"; + public static final String VERSION_NAME = "4.3.0"; } @@ -33,3 +33,4 @@ private Constants() { + diff --git a/src/main/java/com/microsoft/graph/models/AndroidMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/AndroidMinimumOperatingSystem.java index f7b37368864..551d16cd7e4 100644 --- a/src/main/java/com/microsoft/graph/models/AndroidMinimumOperatingSystem.java +++ b/src/main/java/com/microsoft/graph/models/AndroidMinimumOperatingSystem.java @@ -37,6 +37,24 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The V10_0. + * Version 10.0 or later. + */ + @SerializedName(value = "v10_0", alternate = {"V10_0"}) + @Expose + @Nullable + public Boolean v10_0; + + /** + * The V11_0. + * Version 11.0 or later. + */ + @SerializedName(value = "v11_0", alternate = {"V11_0"}) + @Expose + @Nullable + public Boolean v11_0; + /** * The V4_0. * Version 4.0 or later. diff --git a/src/main/java/com/microsoft/graph/models/ConfigurationManagerCollectionAssignmentTarget.java b/src/main/java/com/microsoft/graph/models/ConfigurationManagerCollectionAssignmentTarget.java new file mode 100644 index 00000000000..ff11b0dca96 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/ConfigurationManagerCollectionAssignmentTarget.java @@ -0,0 +1,47 @@ +// Template Source: BaseEntity.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.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.DeviceAndAppManagementAssignmentTarget; + + +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 Configuration Manager Collection Assignment Target. + */ +public class ConfigurationManagerCollectionAssignmentTarget extends DeviceAndAppManagementAssignmentTarget implements IJsonBackedObject { + + + /** + * The Collection Id. + * The collection Id that is the target of the assignment. + */ + @SerializedName(value = "collectionId", alternate = {"CollectionId"}) + @Expose + @Nullable + public String collectionId; + + + /** + * 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/DeviceConfigurationGetOmaSettingPlainTextValueParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceConfigurationGetOmaSettingPlainTextValueParameterSet.java new file mode 100644 index 00000000000..3ed526cff2d --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceConfigurationGetOmaSettingPlainTextValueParameterSet.java @@ -0,0 +1,97 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Configuration Get Oma Setting Plain Text Value Parameter Set. + */ +public class DeviceConfigurationGetOmaSettingPlainTextValueParameterSet { + /** + * The secret Reference Value Id. + * + */ + @SerializedName(value = "secretReferenceValueId", alternate = {"SecretReferenceValueId"}) + @Expose + @Nullable + public String secretReferenceValueId; + + + /** + * Instiaciates a new DeviceConfigurationGetOmaSettingPlainTextValueParameterSet + */ + public DeviceConfigurationGetOmaSettingPlainTextValueParameterSet() {} + /** + * Instiaciates a new DeviceConfigurationGetOmaSettingPlainTextValueParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceConfigurationGetOmaSettingPlainTextValueParameterSet(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSetBuilder builder) { + this.secretReferenceValueId = builder.secretReferenceValueId; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceConfigurationGetOmaSettingPlainTextValueParameterSetBuilder newBuilder() { + return new DeviceConfigurationGetOmaSettingPlainTextValueParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceConfigurationGetOmaSettingPlainTextValueParameterSet + */ + public static final class DeviceConfigurationGetOmaSettingPlainTextValueParameterSetBuilder { + /** + * The secretReferenceValueId parameter value + */ + @Nullable + protected String secretReferenceValueId; + /** + * Sets the SecretReferenceValueId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueParameterSetBuilder withSecretReferenceValueId(@Nullable final String val) { + this.secretReferenceValueId = val; + return this; + } + /** + * Instanciates a new DeviceConfigurationGetOmaSettingPlainTextValueParameterSetBuilder + */ + @Nullable + protected DeviceConfigurationGetOmaSettingPlainTextValueParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueParameterSet build() { + return new DeviceConfigurationGetOmaSettingPlainTextValueParameterSet(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.secretReferenceValueId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("secretReferenceValueId", secretReferenceValueId)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagement.java b/src/main/java/com/microsoft/graph/models/DeviceManagement.java index 71d68a7b86f..a81138ab3fb 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagement.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagement.java @@ -38,6 +38,7 @@ import com.microsoft.graph.models.DeviceAndAppManagementRoleAssignment; import com.microsoft.graph.models.RoleDefinition; import com.microsoft.graph.models.RemoteAssistancePartner; +import com.microsoft.graph.models.DeviceManagementReports; import com.microsoft.graph.models.TelecomExpenseManagementPartner; import com.microsoft.graph.models.DeviceManagementTroubleshootingEvent; import com.microsoft.graph.models.WindowsInformationProtectionAppLearningSummary; @@ -353,6 +354,15 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { @Nullable public RemoteAssistancePartnerCollectionPage remoteAssistancePartners; + /** + * The Reports. + * Reports singleton + */ + @SerializedName(value = "reports", alternate = {"Reports"}) + @Expose + @Nullable + public DeviceManagementReports reports; + /** * The Telecom Expense Management Partners. * The telecom expense management partners. diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementExportJob.java b/src/main/java/com/microsoft/graph/models/DeviceManagementExportJob.java new file mode 100644 index 00000000000..18598d6bc9d --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementExportJob.java @@ -0,0 +1,132 @@ +// Template Source: BaseEntity.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; +import com.microsoft.graph.serializer.ISerializer; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.AdditionalDataManager; +import java.util.EnumSet; +import com.microsoft.graph.http.BaseCollectionPage; +import com.microsoft.graph.models.DeviceManagementReportFileFormat; +import com.microsoft.graph.models.DeviceManagementExportJobLocalizationType; +import com.microsoft.graph.models.DeviceManagementReportStatus; +import com.microsoft.graph.models.Entity; + + +import com.google.gson.JsonObject; +import com.google.gson.annotations.SerializedName; +import com.google.gson.annotations.Expose; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Export Job. + */ +public class DeviceManagementExportJob extends Entity implements IJsonBackedObject { + + + /** + * The Expiration Date Time. + * Time that the exported report expires + */ + @SerializedName(value = "expirationDateTime", alternate = {"ExpirationDateTime"}) + @Expose + @Nullable + public java.time.OffsetDateTime expirationDateTime; + + /** + * The Filter. + * Filters applied on the report + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + /** + * The Format. + * Format of the exported report. Possible values are: csv, pdf. + */ + @SerializedName(value = "format", alternate = {"Format"}) + @Expose + @Nullable + public DeviceManagementReportFileFormat format; + + /** + * The Localization Type. + * Configures how the requested export job is localized. Possible values are: localizedValuesAsAdditionalColumn, replaceLocalizableValues. + */ + @SerializedName(value = "localizationType", alternate = {"LocalizationType"}) + @Expose + @Nullable + public DeviceManagementExportJobLocalizationType localizationType; + + /** + * The Report Name. + * Name of the report + */ + @SerializedName(value = "reportName", alternate = {"ReportName"}) + @Expose + @Nullable + public String reportName; + + /** + * The Request Date Time. + * Time that the exported report was requested + */ + @SerializedName(value = "requestDateTime", alternate = {"RequestDateTime"}) + @Expose + @Nullable + public java.time.OffsetDateTime requestDateTime; + + /** + * The Select. + * Columns selected from the report + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The Snapshot Id. + * A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. + */ + @SerializedName(value = "snapshotId", alternate = {"SnapshotId"}) + @Expose + @Nullable + public String snapshotId; + + /** + * The Status. + * Status of the export job. Possible values are: unknown, notStarted, inProgress, completed, failed. + */ + @SerializedName(value = "status", alternate = {"Status"}) + @Expose + @Nullable + public DeviceManagementReportStatus status; + + /** + * The Url. + * Temporary location of the exported report + */ + @SerializedName(value = "url", alternate = {"Url"}) + @Expose + @Nullable + public String url; + + + /** + * 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/DeviceManagementExportJobLocalizationType.java b/src/main/java/com/microsoft/graph/models/DeviceManagementExportJobLocalizationType.java new file mode 100644 index 00000000000..db643f58b07 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementExportJobLocalizationType.java @@ -0,0 +1,26 @@ +// Template Source: Enum.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +/** + * The Enum Device Management Export Job Localization Type. +*/ +public enum DeviceManagementExportJobLocalizationType +{ + /** + * localized Values As Additional Column + */ + LOCALIZED_VALUES_AS_ADDITIONAL_COLUMN, + /** + * replace Localizable Values + */ + REPLACE_LOCALIZABLE_VALUES, + /** + * For DeviceManagementExportJobLocalizationType values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportFileFormat.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportFileFormat.java new file mode 100644 index 00000000000..1a79c22aac0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportFileFormat.java @@ -0,0 +1,26 @@ +// Template Source: Enum.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +/** + * The Enum Device Management Report File Format. +*/ +public enum DeviceManagementReportFileFormat +{ + /** + * csv + */ + CSV, + /** + * pdf + */ + PDF, + /** + * For DeviceManagementReportFileFormat values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportStatus.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportStatus.java new file mode 100644 index 00000000000..104dc30cb0c --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportStatus.java @@ -0,0 +1,38 @@ +// Template Source: Enum.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +/** + * The Enum Device Management Report Status. +*/ +public enum DeviceManagementReportStatus +{ + /** + * unknown + */ + UNKNOWN, + /** + * not Started + */ + NOT_STARTED, + /** + * in Progress + */ + IN_PROGRESS, + /** + * completed + */ + COMPLETED, + /** + * failed + */ + FAILED, + /** + * For DeviceManagementReportStatus values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReports.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReports.java new file mode 100644 index 00000000000..647c4358ac2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReports.java @@ -0,0 +1,54 @@ +// Template Source: BaseEntity.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; +import com.microsoft.graph.serializer.ISerializer; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.AdditionalDataManager; +import java.util.EnumSet; +import com.microsoft.graph.http.BaseCollectionPage; +import com.microsoft.graph.models.DeviceManagementExportJob; +import com.microsoft.graph.models.Entity; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionPage; + + +import com.google.gson.JsonObject; +import com.google.gson.annotations.SerializedName; +import com.google.gson.annotations.Expose; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports. + */ +public class DeviceManagementReports extends Entity implements IJsonBackedObject { + + + /** + * The Export Jobs. + * Entity representing a job to export a report + */ + @SerializedName(value = "exportJobs", alternate = {"ExportJobs"}) + @Expose + @Nullable + public DeviceManagementExportJobCollectionPage exportJobs; + + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { + + + if (json.has("exportJobs")) { + exportJobs = serializer.deserializeObject(json.get("exportJobs"), DeviceManagementExportJobCollectionPage.class); + } + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCachedReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCachedReportParameterSet.java new file mode 100644 index 00000000000..e5bb236edfb --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCachedReportParameterSet.java @@ -0,0 +1,265 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Cached Report Parameter Set. + */ +public class DeviceManagementReportsGetCachedReportParameterSet { + /** + * The id. + * + */ + @SerializedName(value = "id", alternate = {"Id"}) + @Expose + @Nullable + public String id; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + + /** + * Instiaciates a new DeviceManagementReportsGetCachedReportParameterSet + */ + public DeviceManagementReportsGetCachedReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetCachedReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetCachedReportParameterSet(@Nonnull final DeviceManagementReportsGetCachedReportParameterSetBuilder builder) { + this.id = builder.id; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetCachedReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetCachedReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetCachedReportParameterSet + */ + public static final class DeviceManagementReportsGetCachedReportParameterSetBuilder { + /** + * The id parameter value + */ + @Nullable + protected String id; + /** + * Sets the Id + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCachedReportParameterSetBuilder withId(@Nullable final String val) { + this.id = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCachedReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCachedReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCachedReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCachedReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCachedReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCachedReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetCachedReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetCachedReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetCachedReportParameterSet build() { + return new DeviceManagementReportsGetCachedReportParameterSet(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.id != null) { + result.add(new com.microsoft.graph.options.FunctionOption("id", id)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet.java new file mode 100644 index 00000000000..095cb3105b6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Compliance Policy Non Compliance Report Parameter Set. + */ +public class DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet + */ + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet(@Nonnull final DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet + */ + public static final class DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet build() { + return new DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet.java new file mode 100644 index 00000000000..4d930856e95 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Compliance Policy Non Compliance Summary Report Parameter Set. + */ +public class DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet + */ + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet(@Nonnull final DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet + */ + public static final class DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet build() { + return new DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet.java new file mode 100644 index 00000000000..5d1479a31d8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Compliance Setting Non Compliance Report Parameter Set. + */ +public class DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet + */ + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet(@Nonnull final DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet + */ + public static final class DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet build() { + return new DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet.java new file mode 100644 index 00000000000..9bda0fc37b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Configuration Policy Non Compliance Report Parameter Set. + */ +public class DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet + */ + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet(@Nonnull final DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet + */ + public static final class DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet build() { + return new DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet.java new file mode 100644 index 00000000000..c4bb35f6d11 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Configuration Policy Non Compliance Summary Report Parameter Set. + */ +public class DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet + */ + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet(@Nonnull final DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet + */ + public static final class DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet build() { + return new DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet.java new file mode 100644 index 00000000000..e04dd2e15b1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Configuration Setting Non Compliance Report Parameter Set. + */ +public class DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet + */ + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet(@Nonnull final DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet + */ + public static final class DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet build() { + return new DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet.java new file mode 100644 index 00000000000..b0d262bb605 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Device Management Intent Settings Report Parameter Set. + */ +public class DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet + */ + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet(@Nonnull final DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet + */ + public static final class DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet build() { + return new DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetDeviceNonComplianceReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetDeviceNonComplianceReportParameterSet.java new file mode 100644 index 00000000000..0e55a0d8101 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetDeviceNonComplianceReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Device Non Compliance Report Parameter Set. + */ +public class DeviceManagementReportsGetDeviceNonComplianceReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetDeviceNonComplianceReportParameterSet + */ + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetDeviceNonComplianceReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetDeviceNonComplianceReportParameterSet(@Nonnull final DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetDeviceNonComplianceReportParameterSet + */ + public static final class DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetDeviceNonComplianceReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSet build() { + return new DeviceManagementReportsGetDeviceNonComplianceReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetHistoricalReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetHistoricalReportParameterSet.java new file mode 100644 index 00000000000..f32e58e2236 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetHistoricalReportParameterSet.java @@ -0,0 +1,293 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Historical Report Parameter Set. + */ +public class DeviceManagementReportsGetHistoricalReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetHistoricalReportParameterSet + */ + public DeviceManagementReportsGetHistoricalReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetHistoricalReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetHistoricalReportParameterSet(@Nonnull final DeviceManagementReportsGetHistoricalReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetHistoricalReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetHistoricalReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetHistoricalReportParameterSet + */ + public static final class DeviceManagementReportsGetHistoricalReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetHistoricalReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetHistoricalReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportParameterSet build() { + return new DeviceManagementReportsGetHistoricalReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet.java new file mode 100644 index 00000000000..0f100a8ca09 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Policy Non Compliance Metadata Parameter Set. + */ +public class DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet + */ + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet(@Nonnull final DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet + */ + public static final class DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet build() { + return new DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceReportParameterSet.java new file mode 100644 index 00000000000..17aef4074b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Policy Non Compliance Report Parameter Set. + */ +public class DeviceManagementReportsGetPolicyNonComplianceReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetPolicyNonComplianceReportParameterSet + */ + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetPolicyNonComplianceReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetPolicyNonComplianceReportParameterSet(@Nonnull final DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetPolicyNonComplianceReportParameterSet + */ + public static final class DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetPolicyNonComplianceReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSet build() { + return new DeviceManagementReportsGetPolicyNonComplianceReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet.java new file mode 100644 index 00000000000..a7f2912c332 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Policy Non Compliance Summary Report Parameter Set. + */ +public class DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet + */ + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet(@Nonnull final DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet + */ + public static final class DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet build() { + return new DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetReportFiltersParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetReportFiltersParameterSet.java new file mode 100644 index 00000000000..b2d8893e577 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetReportFiltersParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Report Filters Parameter Set. + */ +public class DeviceManagementReportsGetReportFiltersParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetReportFiltersParameterSet + */ + public DeviceManagementReportsGetReportFiltersParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetReportFiltersParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetReportFiltersParameterSet(@Nonnull final DeviceManagementReportsGetReportFiltersParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetReportFiltersParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetReportFiltersParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetReportFiltersParameterSet + */ + public static final class DeviceManagementReportsGetReportFiltersParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetReportFiltersParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetReportFiltersParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersParameterSet build() { + return new DeviceManagementReportsGetReportFiltersParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetSettingNonComplianceReportParameterSet.java b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetSettingNonComplianceReportParameterSet.java new file mode 100644 index 00000000000..456081b6ca6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementReportsGetSettingNonComplianceReportParameterSet.java @@ -0,0 +1,321 @@ +// Template Source: BaseMethodParameterSet.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Setting Non Compliance Report Parameter Set. + */ +public class DeviceManagementReportsGetSettingNonComplianceReportParameterSet { + /** + * The name. + * + */ + @SerializedName(value = "name", alternate = {"Name"}) + @Expose + @Nullable + public String name; + + /** + * The select. + * + */ + @SerializedName(value = "select", alternate = {"Select"}) + @Expose + @Nullable + public java.util.List select; + + /** + * The search. + * + */ + @SerializedName(value = "search", alternate = {"Search"}) + @Expose + @Nullable + public String search; + + /** + * The group By. + * + */ + @SerializedName(value = "groupBy", alternate = {"GroupBy"}) + @Expose + @Nullable + public java.util.List groupBy; + + /** + * The order By. + * + */ + @SerializedName(value = "orderBy", alternate = {"OrderBy"}) + @Expose + @Nullable + public java.util.List orderBy; + + /** + * The skip. + * + */ + @SerializedName(value = "skip", alternate = {"Skip"}) + @Expose + @Nullable + public Integer skip; + + /** + * The top. + * + */ + @SerializedName(value = "top", alternate = {"Top"}) + @Expose + @Nullable + public Integer top; + + /** + * The session Id. + * + */ + @SerializedName(value = "sessionId", alternate = {"SessionId"}) + @Expose + @Nullable + public String sessionId; + + /** + * The filter. + * + */ + @SerializedName(value = "filter", alternate = {"Filter"}) + @Expose + @Nullable + public String filter; + + + /** + * Instiaciates a new DeviceManagementReportsGetSettingNonComplianceReportParameterSet + */ + public DeviceManagementReportsGetSettingNonComplianceReportParameterSet() {} + /** + * Instiaciates a new DeviceManagementReportsGetSettingNonComplianceReportParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected DeviceManagementReportsGetSettingNonComplianceReportParameterSet(@Nonnull final DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder builder) { + this.name = builder.name; + this.select = builder.select; + this.search = builder.search; + this.groupBy = builder.groupBy; + this.orderBy = builder.orderBy; + this.skip = builder.skip; + this.top = builder.top; + this.sessionId = builder.sessionId; + this.filter = builder.filter; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder newBuilder() { + return new DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder(); + } + /** + * Fluent builder for the DeviceManagementReportsGetSettingNonComplianceReportParameterSet + */ + public static final class DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder { + /** + * The name parameter value + */ + @Nullable + protected String name; + /** + * Sets the Name + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withName(@Nullable final String val) { + this.name = val; + return this; + } + /** + * The select parameter value + */ + @Nullable + protected java.util.List select; + /** + * Sets the Select + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withSelect(@Nullable final java.util.List val) { + this.select = val; + return this; + } + /** + * The search parameter value + */ + @Nullable + protected String search; + /** + * Sets the Search + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withSearch(@Nullable final String val) { + this.search = val; + return this; + } + /** + * The groupBy parameter value + */ + @Nullable + protected java.util.List groupBy; + /** + * Sets the GroupBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withGroupBy(@Nullable final java.util.List val) { + this.groupBy = val; + return this; + } + /** + * The orderBy parameter value + */ + @Nullable + protected java.util.List orderBy; + /** + * Sets the OrderBy + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withOrderBy(@Nullable final java.util.List val) { + this.orderBy = val; + return this; + } + /** + * The skip parameter value + */ + @Nullable + protected Integer skip; + /** + * Sets the Skip + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withSkip(@Nullable final Integer val) { + this.skip = val; + return this; + } + /** + * The top parameter value + */ + @Nullable + protected Integer top; + /** + * Sets the Top + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withTop(@Nullable final Integer val) { + this.top = val; + return this; + } + /** + * The sessionId parameter value + */ + @Nullable + protected String sessionId; + /** + * Sets the SessionId + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withSessionId(@Nullable final String val) { + this.sessionId = val; + return this; + } + /** + * The filter parameter value + */ + @Nullable + protected String filter; + /** + * Sets the Filter + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder withFilter(@Nullable final String val) { + this.filter = val; + return this; + } + /** + * Instanciates a new DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder + */ + @Nullable + protected DeviceManagementReportsGetSettingNonComplianceReportParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportParameterSet build() { + return new DeviceManagementReportsGetSettingNonComplianceReportParameterSet(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.name != null) { + result.add(new com.microsoft.graph.options.FunctionOption("name", name)); + } + if(this.select != null) { + result.add(new com.microsoft.graph.options.FunctionOption("select", select)); + } + if(this.search != null) { + result.add(new com.microsoft.graph.options.FunctionOption("search", search)); + } + if(this.groupBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("groupBy", groupBy)); + } + if(this.orderBy != null) { + result.add(new com.microsoft.graph.options.FunctionOption("orderBy", orderBy)); + } + if(this.skip != null) { + result.add(new com.microsoft.graph.options.FunctionOption("skip", skip)); + } + if(this.top != null) { + result.add(new com.microsoft.graph.options.FunctionOption("top", top)); + } + if(this.sessionId != null) { + result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId)); + } + if(this.filter != null) { + result.add(new com.microsoft.graph.options.FunctionOption("filter", filter)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/IosMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/IosMinimumOperatingSystem.java index f322adbbb26..a3e259dcd71 100644 --- a/src/main/java/com/microsoft/graph/models/IosMinimumOperatingSystem.java +++ b/src/main/java/com/microsoft/graph/models/IosMinimumOperatingSystem.java @@ -73,6 +73,15 @@ public final AdditionalDataManager additionalDataManager() { @Nullable public Boolean v13_0; + /** + * The V14_0. + * Version 14.0 or later. + */ + @SerializedName(value = "v14_0", alternate = {"V14_0"}) + @Expose + @Nullable + public Boolean v14_0; + /** * The V8_0. * Version 8.0 or later. diff --git a/src/main/java/com/microsoft/graph/models/KeyCredential.java b/src/main/java/com/microsoft/graph/models/KeyCredential.java index 748428b3bcd..2e69d34d791 100644 --- a/src/main/java/com/microsoft/graph/models/KeyCredential.java +++ b/src/main/java/com/microsoft/graph/models/KeyCredential.java @@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The End Date Time. - * The date and time at which the credential expires.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 date and time at which the credential expires.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 = "endDateTime", alternate = {"EndDateTime"}) @Expose @@ -75,7 +75,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Key Id. - * The unique identifier (GUID) for the key. + * The unique identifier for the key. */ @SerializedName(value = "keyId", alternate = {"KeyId"}) @Expose @@ -84,7 +84,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Start Date Time. - * The date and time at which the credential becomes valid.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 date and time at which the credential becomes valid.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 = "startDateTime", alternate = {"StartDateTime"}) @Expose @@ -93,7 +93,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Type. - * The type of key credential; for example, 'Symmetric'. + * The type of key credential; for example, Symmetric. */ @SerializedName(value = "type", alternate = {"Type"}) @Expose @@ -102,7 +102,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Usage. - * A string that describes the purpose for which the key can be used; for example, 'Verify'. + * A string that describes the purpose for which the key can be used; for example, Verify. */ @SerializedName(value = "usage", alternate = {"Usage"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ManagedAppDataStorageLocation.java b/src/main/java/com/microsoft/graph/models/ManagedAppDataStorageLocation.java index 4eee6ace3e5..3c5b4142a0b 100644 --- a/src/main/java/com/microsoft/graph/models/ManagedAppDataStorageLocation.java +++ b/src/main/java/com/microsoft/graph/models/ManagedAppDataStorageLocation.java @@ -20,6 +20,10 @@ public enum ManagedAppDataStorageLocation */ SHARE_POINT, /** + * box + */ + BOX, + /** * local Storage */ LOCAL_STORAGE, diff --git a/src/main/java/com/microsoft/graph/models/PrinterProcessingStateDetail.java b/src/main/java/com/microsoft/graph/models/PrinterProcessingStateDetail.java index d861a980b5b..f8a6b8863d7 100644 --- a/src/main/java/com/microsoft/graph/models/PrinterProcessingStateDetail.java +++ b/src/main/java/com/microsoft/graph/models/PrinterProcessingStateDetail.java @@ -152,6 +152,3170 @@ public enum PrinterProcessingStateDetail */ UNKNOWN_FUTURE_VALUE, /** + * alert Removal Of Binary Change Entry + */ + ALERT_REMOVAL_OF_BINARY_CHANGE_ENTRY, + /** + * bander Added + */ + BANDER_ADDED, + /** + * bander Almost Empty + */ + BANDER_ALMOST_EMPTY, + /** + * bander Almost Full + */ + BANDER_ALMOST_FULL, + /** + * bander At Limit + */ + BANDER_AT_LIMIT, + /** + * bander Closed + */ + BANDER_CLOSED, + /** + * bander Configuration Change + */ + BANDER_CONFIGURATION_CHANGE, + /** + * bander Cover Closed + */ + BANDER_COVER_CLOSED, + /** + * bander Cover Open + */ + BANDER_COVER_OPEN, + /** + * bander Empty + */ + BANDER_EMPTY, + /** + * bander Full + */ + BANDER_FULL, + /** + * bander Interlock Closed + */ + BANDER_INTERLOCK_CLOSED, + /** + * bander Interlock Open + */ + BANDER_INTERLOCK_OPEN, + /** + * bander Jam + */ + BANDER_JAM, + /** + * bander Life Almost Over + */ + BANDER_LIFE_ALMOST_OVER, + /** + * bander Life Over + */ + BANDER_LIFE_OVER, + /** + * bander Memory Exhausted + */ + BANDER_MEMORY_EXHAUSTED, + /** + * bander Missing + */ + BANDER_MISSING, + /** + * bander Motor Failure + */ + BANDER_MOTOR_FAILURE, + /** + * bander Near Limit + */ + BANDER_NEAR_LIMIT, + /** + * bander Offline + */ + BANDER_OFFLINE, + /** + * bander Opened + */ + BANDER_OPENED, + /** + * bander Over Temperature + */ + BANDER_OVER_TEMPERATURE, + /** + * bander Power Saver + */ + BANDER_POWER_SAVER, + /** + * bander Recoverable Failure + */ + BANDER_RECOVERABLE_FAILURE, + /** + * bander Recoverable Storage + */ + BANDER_RECOVERABLE_STORAGE, + /** + * bander Removed + */ + BANDER_REMOVED, + /** + * bander Resource Added + */ + BANDER_RESOURCE_ADDED, + /** + * bander Resource Removed + */ + BANDER_RESOURCE_REMOVED, + /** + * bander Thermistor Failure + */ + BANDER_THERMISTOR_FAILURE, + /** + * bander Timing Failure + */ + BANDER_TIMING_FAILURE, + /** + * bander Turned Off + */ + BANDER_TURNED_OFF, + /** + * bander Turned On + */ + BANDER_TURNED_ON, + /** + * bander Under Temperature + */ + BANDER_UNDER_TEMPERATURE, + /** + * bander Unrecoverable Failure + */ + BANDER_UNRECOVERABLE_FAILURE, + /** + * bander Unrecoverable Storage Error + */ + BANDER_UNRECOVERABLE_STORAGE_ERROR, + /** + * bander Warming Up + */ + BANDER_WARMING_UP, + /** + * binder Added + */ + BINDER_ADDED, + /** + * binder Almost Empty + */ + BINDER_ALMOST_EMPTY, + /** + * binder Almost Full + */ + BINDER_ALMOST_FULL, + /** + * binder At Limit + */ + BINDER_AT_LIMIT, + /** + * binder Closed + */ + BINDER_CLOSED, + /** + * binder Configuration Change + */ + BINDER_CONFIGURATION_CHANGE, + /** + * binder Cover Closed + */ + BINDER_COVER_CLOSED, + /** + * binder Cover Open + */ + BINDER_COVER_OPEN, + /** + * binder Empty + */ + BINDER_EMPTY, + /** + * binder Full + */ + BINDER_FULL, + /** + * binder Interlock Closed + */ + BINDER_INTERLOCK_CLOSED, + /** + * binder Interlock Open + */ + BINDER_INTERLOCK_OPEN, + /** + * binder Jam + */ + BINDER_JAM, + /** + * binder Life Almost Over + */ + BINDER_LIFE_ALMOST_OVER, + /** + * binder Life Over + */ + BINDER_LIFE_OVER, + /** + * binder Memory Exhausted + */ + BINDER_MEMORY_EXHAUSTED, + /** + * binder Missing + */ + BINDER_MISSING, + /** + * binder Motor Failure + */ + BINDER_MOTOR_FAILURE, + /** + * binder Near Limit + */ + BINDER_NEAR_LIMIT, + /** + * binder Offline + */ + BINDER_OFFLINE, + /** + * binder Opened + */ + BINDER_OPENED, + /** + * binder Over Temperature + */ + BINDER_OVER_TEMPERATURE, + /** + * binder Power Saver + */ + BINDER_POWER_SAVER, + /** + * binder Recoverable Failure + */ + BINDER_RECOVERABLE_FAILURE, + /** + * binder Recoverable Storage + */ + BINDER_RECOVERABLE_STORAGE, + /** + * binder Removed + */ + BINDER_REMOVED, + /** + * binder Resource Added + */ + BINDER_RESOURCE_ADDED, + /** + * binder Resource Removed + */ + BINDER_RESOURCE_REMOVED, + /** + * binder Thermistor Failure + */ + BINDER_THERMISTOR_FAILURE, + /** + * binder Timing Failure + */ + BINDER_TIMING_FAILURE, + /** + * binder Turned Off + */ + BINDER_TURNED_OFF, + /** + * binder Turned On + */ + BINDER_TURNED_ON, + /** + * binder Under Temperature + */ + BINDER_UNDER_TEMPERATURE, + /** + * binder Unrecoverable Failure + */ + BINDER_UNRECOVERABLE_FAILURE, + /** + * binder Unrecoverable Storage Error + */ + BINDER_UNRECOVERABLE_STORAGE_ERROR, + /** + * binder Warming Up + */ + BINDER_WARMING_UP, + /** + * camera Failure + */ + CAMERA_FAILURE, + /** + * chamber Cooling + */ + CHAMBER_COOLING, + /** + * chamber Failure + */ + CHAMBER_FAILURE, + /** + * chamber Heating + */ + CHAMBER_HEATING, + /** + * chamber Temperature High + */ + CHAMBER_TEMPERATURE_HIGH, + /** + * chamber Temperature Low + */ + CHAMBER_TEMPERATURE_LOW, + /** + * cleaner Life Almost Over + */ + CLEANER_LIFE_ALMOST_OVER, + /** + * cleaner Life Over + */ + CLEANER_LIFE_OVER, + /** + * configuration Change + */ + CONFIGURATION_CHANGE, + /** + * deactivated + */ + DEACTIVATED, + /** + * deleted + */ + DELETED, + /** + * die Cutter Added + */ + DIE_CUTTER_ADDED, + /** + * die Cutter Almost Empty + */ + DIE_CUTTER_ALMOST_EMPTY, + /** + * die Cutter Almost Full + */ + DIE_CUTTER_ALMOST_FULL, + /** + * die Cutter At Limit + */ + DIE_CUTTER_AT_LIMIT, + /** + * die Cutter Closed + */ + DIE_CUTTER_CLOSED, + /** + * die Cutter Configuration Change + */ + DIE_CUTTER_CONFIGURATION_CHANGE, + /** + * die Cutter Cover Closed + */ + DIE_CUTTER_COVER_CLOSED, + /** + * die Cutter Cover Open + */ + DIE_CUTTER_COVER_OPEN, + /** + * die Cutter Empty + */ + DIE_CUTTER_EMPTY, + /** + * die Cutter Full + */ + DIE_CUTTER_FULL, + /** + * die Cutter Interlock Closed + */ + DIE_CUTTER_INTERLOCK_CLOSED, + /** + * die Cutter Interlock Open + */ + DIE_CUTTER_INTERLOCK_OPEN, + /** + * die Cutter Jam + */ + DIE_CUTTER_JAM, + /** + * die Cutter Life Almost Over + */ + DIE_CUTTER_LIFE_ALMOST_OVER, + /** + * die Cutter Life Over + */ + DIE_CUTTER_LIFE_OVER, + /** + * die Cutter Memory Exhausted + */ + DIE_CUTTER_MEMORY_EXHAUSTED, + /** + * die Cutter Missing + */ + DIE_CUTTER_MISSING, + /** + * die Cutter Motor Failure + */ + DIE_CUTTER_MOTOR_FAILURE, + /** + * die Cutter Near Limit + */ + DIE_CUTTER_NEAR_LIMIT, + /** + * die Cutter Offline + */ + DIE_CUTTER_OFFLINE, + /** + * die Cutter Opened + */ + DIE_CUTTER_OPENED, + /** + * die Cutter Over Temperature + */ + DIE_CUTTER_OVER_TEMPERATURE, + /** + * die Cutter Power Saver + */ + DIE_CUTTER_POWER_SAVER, + /** + * die Cutter Recoverable Failure + */ + DIE_CUTTER_RECOVERABLE_FAILURE, + /** + * die Cutter Recoverable Storage + */ + DIE_CUTTER_RECOVERABLE_STORAGE, + /** + * die Cutter Removed + */ + DIE_CUTTER_REMOVED, + /** + * die Cutter Resource Added + */ + DIE_CUTTER_RESOURCE_ADDED, + /** + * die Cutter Resource Removed + */ + DIE_CUTTER_RESOURCE_REMOVED, + /** + * die Cutter Thermistor Failure + */ + DIE_CUTTER_THERMISTOR_FAILURE, + /** + * die Cutter Timing Failure + */ + DIE_CUTTER_TIMING_FAILURE, + /** + * die Cutter Turned Off + */ + DIE_CUTTER_TURNED_OFF, + /** + * die Cutter Turned On + */ + DIE_CUTTER_TURNED_ON, + /** + * die Cutter Under Temperature + */ + DIE_CUTTER_UNDER_TEMPERATURE, + /** + * die Cutter Unrecoverable Failure + */ + DIE_CUTTER_UNRECOVERABLE_FAILURE, + /** + * die Cutter Unrecoverable Storage Error + */ + DIE_CUTTER_UNRECOVERABLE_STORAGE_ERROR, + /** + * die Cutter Warming Up + */ + DIE_CUTTER_WARMING_UP, + /** + * extruder Cooling + */ + EXTRUDER_COOLING, + /** + * extruder Failure + */ + EXTRUDER_FAILURE, + /** + * extruder Heating + */ + EXTRUDER_HEATING, + /** + * extruder Jam + */ + EXTRUDER_JAM, + /** + * extruder Temperature High + */ + EXTRUDER_TEMPERATURE_HIGH, + /** + * extruder Temperature Low + */ + EXTRUDER_TEMPERATURE_LOW, + /** + * fan Failure + */ + FAN_FAILURE, + /** + * fax Modem Life Almost Over + */ + FAX_MODEM_LIFE_ALMOST_OVER, + /** + * fax Modem Life Over + */ + FAX_MODEM_LIFE_OVER, + /** + * fax Modem Missing + */ + FAX_MODEM_MISSING, + /** + * fax Modem Turned Off + */ + FAX_MODEM_TURNED_OFF, + /** + * fax Modem Turned On + */ + FAX_MODEM_TURNED_ON, + /** + * folder Added + */ + FOLDER_ADDED, + /** + * folder Almost Empty + */ + FOLDER_ALMOST_EMPTY, + /** + * folder Almost Full + */ + FOLDER_ALMOST_FULL, + /** + * folder At Limit + */ + FOLDER_AT_LIMIT, + /** + * folder Closed + */ + FOLDER_CLOSED, + /** + * folder Configuration Change + */ + FOLDER_CONFIGURATION_CHANGE, + /** + * folder Cover Closed + */ + FOLDER_COVER_CLOSED, + /** + * folder Cover Open + */ + FOLDER_COVER_OPEN, + /** + * folder Empty + */ + FOLDER_EMPTY, + /** + * folder Full + */ + FOLDER_FULL, + /** + * folder Interlock Closed + */ + FOLDER_INTERLOCK_CLOSED, + /** + * folder Interlock Open + */ + FOLDER_INTERLOCK_OPEN, + /** + * folder Jam + */ + FOLDER_JAM, + /** + * folder Life Almost Over + */ + FOLDER_LIFE_ALMOST_OVER, + /** + * folder Life Over + */ + FOLDER_LIFE_OVER, + /** + * folder Memory Exhausted + */ + FOLDER_MEMORY_EXHAUSTED, + /** + * folder Missing + */ + FOLDER_MISSING, + /** + * folder Motor Failure + */ + FOLDER_MOTOR_FAILURE, + /** + * folder Near Limit + */ + FOLDER_NEAR_LIMIT, + /** + * folder Offline + */ + FOLDER_OFFLINE, + /** + * folder Opened + */ + FOLDER_OPENED, + /** + * folder Over Temperature + */ + FOLDER_OVER_TEMPERATURE, + /** + * folder Power Saver + */ + FOLDER_POWER_SAVER, + /** + * folder Recoverable Failure + */ + FOLDER_RECOVERABLE_FAILURE, + /** + * folder Recoverable Storage + */ + FOLDER_RECOVERABLE_STORAGE, + /** + * folder Removed + */ + FOLDER_REMOVED, + /** + * folder Resource Added + */ + FOLDER_RESOURCE_ADDED, + /** + * folder Resource Removed + */ + FOLDER_RESOURCE_REMOVED, + /** + * folder Thermistor Failure + */ + FOLDER_THERMISTOR_FAILURE, + /** + * folder Timing Failure + */ + FOLDER_TIMING_FAILURE, + /** + * folder Turned Off + */ + FOLDER_TURNED_OFF, + /** + * folder Turned On + */ + FOLDER_TURNED_ON, + /** + * folder Under Temperature + */ + FOLDER_UNDER_TEMPERATURE, + /** + * folder Unrecoverable Failure + */ + FOLDER_UNRECOVERABLE_FAILURE, + /** + * folder Unrecoverable Storage Error + */ + FOLDER_UNRECOVERABLE_STORAGE_ERROR, + /** + * folder Warming Up + */ + FOLDER_WARMING_UP, + /** + * hibernate + */ + HIBERNATE, + /** + * hold New Jobs + */ + HOLD_NEW_JOBS, + /** + * identify Printer Requested + */ + IDENTIFY_PRINTER_REQUESTED, + /** + * imprinter Added + */ + IMPRINTER_ADDED, + /** + * imprinter Almost Empty + */ + IMPRINTER_ALMOST_EMPTY, + /** + * imprinter Almost Full + */ + IMPRINTER_ALMOST_FULL, + /** + * imprinter At Limit + */ + IMPRINTER_AT_LIMIT, + /** + * imprinter Closed + */ + IMPRINTER_CLOSED, + /** + * imprinter Configuration Change + */ + IMPRINTER_CONFIGURATION_CHANGE, + /** + * imprinter Cover Closed + */ + IMPRINTER_COVER_CLOSED, + /** + * imprinter Cover Open + */ + IMPRINTER_COVER_OPEN, + /** + * imprinter Empty + */ + IMPRINTER_EMPTY, + /** + * imprinter Full + */ + IMPRINTER_FULL, + /** + * imprinter Interlock Closed + */ + IMPRINTER_INTERLOCK_CLOSED, + /** + * imprinter Interlock Open + */ + IMPRINTER_INTERLOCK_OPEN, + /** + * imprinter Jam + */ + IMPRINTER_JAM, + /** + * imprinter Life Almost Over + */ + IMPRINTER_LIFE_ALMOST_OVER, + /** + * imprinter Life Over + */ + IMPRINTER_LIFE_OVER, + /** + * imprinter Memory Exhausted + */ + IMPRINTER_MEMORY_EXHAUSTED, + /** + * imprinter Missing + */ + IMPRINTER_MISSING, + /** + * imprinter Motor Failure + */ + IMPRINTER_MOTOR_FAILURE, + /** + * imprinter Near Limit + */ + IMPRINTER_NEAR_LIMIT, + /** + * imprinter Offline + */ + IMPRINTER_OFFLINE, + /** + * imprinter Opened + */ + IMPRINTER_OPENED, + /** + * imprinter Over Temperature + */ + IMPRINTER_OVER_TEMPERATURE, + /** + * imprinter Power Saver + */ + IMPRINTER_POWER_SAVER, + /** + * imprinter Recoverable Failure + */ + IMPRINTER_RECOVERABLE_FAILURE, + /** + * imprinter Recoverable Storage + */ + IMPRINTER_RECOVERABLE_STORAGE, + /** + * imprinter Removed + */ + IMPRINTER_REMOVED, + /** + * imprinter Resource Added + */ + IMPRINTER_RESOURCE_ADDED, + /** + * imprinter Resource Removed + */ + IMPRINTER_RESOURCE_REMOVED, + /** + * imprinter Thermistor Failure + */ + IMPRINTER_THERMISTOR_FAILURE, + /** + * imprinter Timing Failure + */ + IMPRINTER_TIMING_FAILURE, + /** + * imprinter Turned Off + */ + IMPRINTER_TURNED_OFF, + /** + * imprinter Turned On + */ + IMPRINTER_TURNED_ON, + /** + * imprinter Under Temperature + */ + IMPRINTER_UNDER_TEMPERATURE, + /** + * imprinter Unrecoverable Failure + */ + IMPRINTER_UNRECOVERABLE_FAILURE, + /** + * imprinter Unrecoverable Storage Error + */ + IMPRINTER_UNRECOVERABLE_STORAGE_ERROR, + /** + * imprinter Warming Up + */ + IMPRINTER_WARMING_UP, + /** + * input Cannot Feed Size Selected + */ + INPUT_CANNOT_FEED_SIZE_SELECTED, + /** + * input Manual Input Request + */ + INPUT_MANUAL_INPUT_REQUEST, + /** + * input Media Color Change + */ + INPUT_MEDIA_COLOR_CHANGE, + /** + * input Media Form Parts Change + */ + INPUT_MEDIA_FORM_PARTS_CHANGE, + /** + * input Media Size Change + */ + INPUT_MEDIA_SIZE_CHANGE, + /** + * input Media Tray Failure + */ + INPUT_MEDIA_TRAY_FAILURE, + /** + * input Media Tray Feed Error + */ + INPUT_MEDIA_TRAY_FEED_ERROR, + /** + * input Media Tray Jam + */ + INPUT_MEDIA_TRAY_JAM, + /** + * input Media Type Change + */ + INPUT_MEDIA_TYPE_CHANGE, + /** + * input Media Weight Change + */ + INPUT_MEDIA_WEIGHT_CHANGE, + /** + * input Pick Roller Failure + */ + INPUT_PICK_ROLLER_FAILURE, + /** + * input Pick Roller Life Over + */ + INPUT_PICK_ROLLER_LIFE_OVER, + /** + * input Pick Roller Life Warn + */ + INPUT_PICK_ROLLER_LIFE_WARN, + /** + * input Pick Roller Missing + */ + INPUT_PICK_ROLLER_MISSING, + /** + * input Tray Elevation Failure + */ + INPUT_TRAY_ELEVATION_FAILURE, + /** + * input Tray Position Failure + */ + INPUT_TRAY_POSITION_FAILURE, + /** + * inserter Added + */ + INSERTER_ADDED, + /** + * inserter Almost Empty + */ + INSERTER_ALMOST_EMPTY, + /** + * inserter Almost Full + */ + INSERTER_ALMOST_FULL, + /** + * inserter At Limit + */ + INSERTER_AT_LIMIT, + /** + * inserter Closed + */ + INSERTER_CLOSED, + /** + * inserter Configuration Change + */ + INSERTER_CONFIGURATION_CHANGE, + /** + * inserter Cover Closed + */ + INSERTER_COVER_CLOSED, + /** + * inserter Cover Open + */ + INSERTER_COVER_OPEN, + /** + * inserter Empty + */ + INSERTER_EMPTY, + /** + * inserter Full + */ + INSERTER_FULL, + /** + * inserter Interlock Closed + */ + INSERTER_INTERLOCK_CLOSED, + /** + * inserter Interlock Open + */ + INSERTER_INTERLOCK_OPEN, + /** + * inserter Jam + */ + INSERTER_JAM, + /** + * inserter Life Almost Over + */ + INSERTER_LIFE_ALMOST_OVER, + /** + * inserter Life Over + */ + INSERTER_LIFE_OVER, + /** + * inserter Memory Exhausted + */ + INSERTER_MEMORY_EXHAUSTED, + /** + * inserter Missing + */ + INSERTER_MISSING, + /** + * inserter Motor Failure + */ + INSERTER_MOTOR_FAILURE, + /** + * inserter Near Limit + */ + INSERTER_NEAR_LIMIT, + /** + * inserter Offline + */ + INSERTER_OFFLINE, + /** + * inserter Opened + */ + INSERTER_OPENED, + /** + * inserter Over Temperature + */ + INSERTER_OVER_TEMPERATURE, + /** + * inserter Power Saver + */ + INSERTER_POWER_SAVER, + /** + * inserter Recoverable Failure + */ + INSERTER_RECOVERABLE_FAILURE, + /** + * inserter Recoverable Storage + */ + INSERTER_RECOVERABLE_STORAGE, + /** + * inserter Removed + */ + INSERTER_REMOVED, + /** + * inserter Resource Added + */ + INSERTER_RESOURCE_ADDED, + /** + * inserter Resource Removed + */ + INSERTER_RESOURCE_REMOVED, + /** + * inserter Thermistor Failure + */ + INSERTER_THERMISTOR_FAILURE, + /** + * inserter Timing Failure + */ + INSERTER_TIMING_FAILURE, + /** + * inserter Turned Off + */ + INSERTER_TURNED_OFF, + /** + * inserter Turned On + */ + INSERTER_TURNED_ON, + /** + * inserter Under Temperature + */ + INSERTER_UNDER_TEMPERATURE, + /** + * inserter Unrecoverable Failure + */ + INSERTER_UNRECOVERABLE_FAILURE, + /** + * inserter Unrecoverable Storage Error + */ + INSERTER_UNRECOVERABLE_STORAGE_ERROR, + /** + * inserter Warming Up + */ + INSERTER_WARMING_UP, + /** + * interlock Closed + */ + INTERLOCK_CLOSED, + /** + * interpreter Cartridge Added + */ + INTERPRETER_CARTRIDGE_ADDED, + /** + * interpreter Cartridge Deleted + */ + INTERPRETER_CARTRIDGE_DELETED, + /** + * interpreter Complex Page Encountered + */ + INTERPRETER_COMPLEX_PAGE_ENCOUNTERED, + /** + * interpreter Memory Decrease + */ + INTERPRETER_MEMORY_DECREASE, + /** + * interpreter Memory Increase + */ + INTERPRETER_MEMORY_INCREASE, + /** + * interpreter Resource Added + */ + INTERPRETER_RESOURCE_ADDED, + /** + * interpreter Resource Deleted + */ + INTERPRETER_RESOURCE_DELETED, + /** + * lamp At Eol + */ + LAMP_AT_EOL, + /** + * lamp Failure + */ + LAMP_FAILURE, + /** + * lamp Near Eol + */ + LAMP_NEAR_EOL, + /** + * laser At Eol + */ + LASER_AT_EOL, + /** + * laser Failure + */ + LASER_FAILURE, + /** + * laser Near Eol + */ + LASER_NEAR_EOL, + /** + * make Envelope Added + */ + MAKE_ENVELOPE_ADDED, + /** + * make Envelope Almost Empty + */ + MAKE_ENVELOPE_ALMOST_EMPTY, + /** + * make Envelope Almost Full + */ + MAKE_ENVELOPE_ALMOST_FULL, + /** + * make Envelope At Limit + */ + MAKE_ENVELOPE_AT_LIMIT, + /** + * make Envelope Closed + */ + MAKE_ENVELOPE_CLOSED, + /** + * make Envelope Configuration Change + */ + MAKE_ENVELOPE_CONFIGURATION_CHANGE, + /** + * make Envelope Cover Closed + */ + MAKE_ENVELOPE_COVER_CLOSED, + /** + * make Envelope Cover Open + */ + MAKE_ENVELOPE_COVER_OPEN, + /** + * make Envelope Empty + */ + MAKE_ENVELOPE_EMPTY, + /** + * make Envelope Full + */ + MAKE_ENVELOPE_FULL, + /** + * make Envelope Interlock Closed + */ + MAKE_ENVELOPE_INTERLOCK_CLOSED, + /** + * make Envelope Interlock Open + */ + MAKE_ENVELOPE_INTERLOCK_OPEN, + /** + * make Envelope Jam + */ + MAKE_ENVELOPE_JAM, + /** + * make Envelope Life Almost Over + */ + MAKE_ENVELOPE_LIFE_ALMOST_OVER, + /** + * make Envelope Life Over + */ + MAKE_ENVELOPE_LIFE_OVER, + /** + * make Envelope Memory Exhausted + */ + MAKE_ENVELOPE_MEMORY_EXHAUSTED, + /** + * make Envelope Missing + */ + MAKE_ENVELOPE_MISSING, + /** + * make Envelope Motor Failure + */ + MAKE_ENVELOPE_MOTOR_FAILURE, + /** + * make Envelope Near Limit + */ + MAKE_ENVELOPE_NEAR_LIMIT, + /** + * make Envelope Offline + */ + MAKE_ENVELOPE_OFFLINE, + /** + * make Envelope Opened + */ + MAKE_ENVELOPE_OPENED, + /** + * make Envelope Over Temperature + */ + MAKE_ENVELOPE_OVER_TEMPERATURE, + /** + * make Envelope Power Saver + */ + MAKE_ENVELOPE_POWER_SAVER, + /** + * make Envelope Recoverable Failure + */ + MAKE_ENVELOPE_RECOVERABLE_FAILURE, + /** + * make Envelope Recoverable Storage + */ + MAKE_ENVELOPE_RECOVERABLE_STORAGE, + /** + * make Envelope Removed + */ + MAKE_ENVELOPE_REMOVED, + /** + * make Envelope Resource Added + */ + MAKE_ENVELOPE_RESOURCE_ADDED, + /** + * make Envelope Resource Removed + */ + MAKE_ENVELOPE_RESOURCE_REMOVED, + /** + * make Envelope Thermistor Failure + */ + MAKE_ENVELOPE_THERMISTOR_FAILURE, + /** + * make Envelope Timing Failure + */ + MAKE_ENVELOPE_TIMING_FAILURE, + /** + * make Envelope Turned Off + */ + MAKE_ENVELOPE_TURNED_OFF, + /** + * make Envelope Turned On + */ + MAKE_ENVELOPE_TURNED_ON, + /** + * make Envelope Under Temperature + */ + MAKE_ENVELOPE_UNDER_TEMPERATURE, + /** + * make Envelope Unrecoverable Failure + */ + MAKE_ENVELOPE_UNRECOVERABLE_FAILURE, + /** + * make Envelope Unrecoverable Storage Error + */ + MAKE_ENVELOPE_UNRECOVERABLE_STORAGE_ERROR, + /** + * make Envelope Warming Up + */ + MAKE_ENVELOPE_WARMING_UP, + /** + * marker Adjusting Print Quality + */ + MARKER_ADJUSTING_PRINT_QUALITY, + /** + * marker Cleaner Missing + */ + MARKER_CLEANER_MISSING, + /** + * marker Developer Almost Empty + */ + MARKER_DEVELOPER_ALMOST_EMPTY, + /** + * marker Developer Empty + */ + MARKER_DEVELOPER_EMPTY, + /** + * marker Developer Missing + */ + MARKER_DEVELOPER_MISSING, + /** + * marker Fuser Missing + */ + MARKER_FUSER_MISSING, + /** + * marker Fuser Thermistor Failure + */ + MARKER_FUSER_THERMISTOR_FAILURE, + /** + * marker Fuser Timing Failure + */ + MARKER_FUSER_TIMING_FAILURE, + /** + * marker Ink Almost Empty + */ + MARKER_INK_ALMOST_EMPTY, + /** + * marker Ink Empty + */ + MARKER_INK_EMPTY, + /** + * marker Ink Missing + */ + MARKER_INK_MISSING, + /** + * marker Opc Missing + */ + MARKER_OPC_MISSING, + /** + * marker Print Ribbon Almost Empty + */ + MARKER_PRINT_RIBBON_ALMOST_EMPTY, + /** + * marker Print Ribbon Empty + */ + MARKER_PRINT_RIBBON_EMPTY, + /** + * marker Print Ribbon Missing + */ + MARKER_PRINT_RIBBON_MISSING, + /** + * marker Supply Almost Empty + */ + MARKER_SUPPLY_ALMOST_EMPTY, + /** + * marker Supply Missing + */ + MARKER_SUPPLY_MISSING, + /** + * marker Toner Cartridge Missing + */ + MARKER_TONER_CARTRIDGE_MISSING, + /** + * marker Toner Missing + */ + MARKER_TONER_MISSING, + /** + * marker Waste Ink Receptacle Almost Full + */ + MARKER_WASTE_INK_RECEPTACLE_ALMOST_FULL, + /** + * marker Waste Ink Receptacle Full + */ + MARKER_WASTE_INK_RECEPTACLE_FULL, + /** + * marker Waste Ink Receptacle Missing + */ + MARKER_WASTE_INK_RECEPTACLE_MISSING, + /** + * marker Waste Missing + */ + MARKER_WASTE_MISSING, + /** + * marker Waste Toner Receptacle Almost Full + */ + MARKER_WASTE_TONER_RECEPTACLE_ALMOST_FULL, + /** + * marker Waste Toner Receptacle Full + */ + MARKER_WASTE_TONER_RECEPTACLE_FULL, + /** + * marker Waste Toner Receptacle Missing + */ + MARKER_WASTE_TONER_RECEPTACLE_MISSING, + /** + * material Empty + */ + MATERIAL_EMPTY, + /** + * material Low + */ + MATERIAL_LOW, + /** + * material Needed + */ + MATERIAL_NEEDED, + /** + * media Drying + */ + MEDIA_DRYING, + /** + * media Path Cannot Duplex Media Selected + */ + MEDIA_PATH_CANNOT_DUPLEX_MEDIA_SELECTED, + /** + * media Path Failure + */ + MEDIA_PATH_FAILURE, + /** + * media Path Input Empty + */ + MEDIA_PATH_INPUT_EMPTY, + /** + * media Path Input Feed Error + */ + MEDIA_PATH_INPUT_FEED_ERROR, + /** + * media Path Input Jam + */ + MEDIA_PATH_INPUT_JAM, + /** + * media Path Input Request + */ + MEDIA_PATH_INPUT_REQUEST, + /** + * media Path Jam + */ + MEDIA_PATH_JAM, + /** + * media Path Media Tray Almost Full + */ + MEDIA_PATH_MEDIA_TRAY_ALMOST_FULL, + /** + * media Path Media Tray Full + */ + MEDIA_PATH_MEDIA_TRAY_FULL, + /** + * media Path Media Tray Missing + */ + MEDIA_PATH_MEDIA_TRAY_MISSING, + /** + * media Path Output Feed Error + */ + MEDIA_PATH_OUTPUT_FEED_ERROR, + /** + * media Path Output Full + */ + MEDIA_PATH_OUTPUT_FULL, + /** + * media Path Output Jam + */ + MEDIA_PATH_OUTPUT_JAM, + /** + * media Path Pick Roller Failure + */ + MEDIA_PATH_PICK_ROLLER_FAILURE, + /** + * media Path Pick Roller Life Over + */ + MEDIA_PATH_PICK_ROLLER_LIFE_OVER, + /** + * media Path Pick Roller Life Warn + */ + MEDIA_PATH_PICK_ROLLER_LIFE_WARN, + /** + * media Path Pick Roller Missing + */ + MEDIA_PATH_PICK_ROLLER_MISSING, + /** + * motor Failure + */ + MOTOR_FAILURE, + /** + * output Mailbox Select Failure + */ + OUTPUT_MAILBOX_SELECT_FAILURE, + /** + * output Media Tray Failure + */ + OUTPUT_MEDIA_TRAY_FAILURE, + /** + * output Media Tray Feed Error + */ + OUTPUT_MEDIA_TRAY_FEED_ERROR, + /** + * output Media Tray Jam + */ + OUTPUT_MEDIA_TRAY_JAM, + /** + * perforater Added + */ + PERFORATER_ADDED, + /** + * perforater Almost Empty + */ + PERFORATER_ALMOST_EMPTY, + /** + * perforater Almost Full + */ + PERFORATER_ALMOST_FULL, + /** + * perforater At Limit + */ + PERFORATER_AT_LIMIT, + /** + * perforater Closed + */ + PERFORATER_CLOSED, + /** + * perforater Configuration Change + */ + PERFORATER_CONFIGURATION_CHANGE, + /** + * perforater Cover Closed + */ + PERFORATER_COVER_CLOSED, + /** + * perforater Cover Open + */ + PERFORATER_COVER_OPEN, + /** + * perforater Empty + */ + PERFORATER_EMPTY, + /** + * perforater Full + */ + PERFORATER_FULL, + /** + * perforater Interlock Closed + */ + PERFORATER_INTERLOCK_CLOSED, + /** + * perforater Interlock Open + */ + PERFORATER_INTERLOCK_OPEN, + /** + * perforater Jam + */ + PERFORATER_JAM, + /** + * perforater Life Almost Over + */ + PERFORATER_LIFE_ALMOST_OVER, + /** + * perforater Life Over + */ + PERFORATER_LIFE_OVER, + /** + * perforater Memory Exhausted + */ + PERFORATER_MEMORY_EXHAUSTED, + /** + * perforater Missing + */ + PERFORATER_MISSING, + /** + * perforater Motor Failure + */ + PERFORATER_MOTOR_FAILURE, + /** + * perforater Near Limit + */ + PERFORATER_NEAR_LIMIT, + /** + * perforater Offline + */ + PERFORATER_OFFLINE, + /** + * perforater Opened + */ + PERFORATER_OPENED, + /** + * perforater Over Temperature + */ + PERFORATER_OVER_TEMPERATURE, + /** + * perforater Power Saver + */ + PERFORATER_POWER_SAVER, + /** + * perforater Recoverable Failure + */ + PERFORATER_RECOVERABLE_FAILURE, + /** + * perforater Recoverable Storage + */ + PERFORATER_RECOVERABLE_STORAGE, + /** + * perforater Removed + */ + PERFORATER_REMOVED, + /** + * perforater Resource Added + */ + PERFORATER_RESOURCE_ADDED, + /** + * perforater Resource Removed + */ + PERFORATER_RESOURCE_REMOVED, + /** + * perforater Thermistor Failure + */ + PERFORATER_THERMISTOR_FAILURE, + /** + * perforater Timing Failure + */ + PERFORATER_TIMING_FAILURE, + /** + * perforater Turned Off + */ + PERFORATER_TURNED_OFF, + /** + * perforater Turned On + */ + PERFORATER_TURNED_ON, + /** + * perforater Under Temperature + */ + PERFORATER_UNDER_TEMPERATURE, + /** + * perforater Unrecoverable Failure + */ + PERFORATER_UNRECOVERABLE_FAILURE, + /** + * perforater Unrecoverable Storage Error + */ + PERFORATER_UNRECOVERABLE_STORAGE_ERROR, + /** + * perforater Warming Up + */ + PERFORATER_WARMING_UP, + /** + * platform Cooling + */ + PLATFORM_COOLING, + /** + * platform Failure + */ + PLATFORM_FAILURE, + /** + * platform Heating + */ + PLATFORM_HEATING, + /** + * platform Temperature High + */ + PLATFORM_TEMPERATURE_HIGH, + /** + * platform Temperature Low + */ + PLATFORM_TEMPERATURE_LOW, + /** + * power Down + */ + POWER_DOWN, + /** + * power Up + */ + POWER_UP, + /** + * printer Manual Reset + */ + PRINTER_MANUAL_RESET, + /** + * printer Nms Reset + */ + PRINTER_NMS_RESET, + /** + * printer Ready To Print + */ + PRINTER_READY_TO_PRINT, + /** + * puncher Added + */ + PUNCHER_ADDED, + /** + * puncher Almost Empty + */ + PUNCHER_ALMOST_EMPTY, + /** + * puncher Almost Full + */ + PUNCHER_ALMOST_FULL, + /** + * puncher At Limit + */ + PUNCHER_AT_LIMIT, + /** + * puncher Closed + */ + PUNCHER_CLOSED, + /** + * puncher Configuration Change + */ + PUNCHER_CONFIGURATION_CHANGE, + /** + * puncher Cover Closed + */ + PUNCHER_COVER_CLOSED, + /** + * puncher Cover Open + */ + PUNCHER_COVER_OPEN, + /** + * puncher Empty + */ + PUNCHER_EMPTY, + /** + * puncher Full + */ + PUNCHER_FULL, + /** + * puncher Interlock Closed + */ + PUNCHER_INTERLOCK_CLOSED, + /** + * puncher Interlock Open + */ + PUNCHER_INTERLOCK_OPEN, + /** + * puncher Jam + */ + PUNCHER_JAM, + /** + * puncher Life Almost Over + */ + PUNCHER_LIFE_ALMOST_OVER, + /** + * puncher Life Over + */ + PUNCHER_LIFE_OVER, + /** + * puncher Memory Exhausted + */ + PUNCHER_MEMORY_EXHAUSTED, + /** + * puncher Missing + */ + PUNCHER_MISSING, + /** + * puncher Motor Failure + */ + PUNCHER_MOTOR_FAILURE, + /** + * puncher Near Limit + */ + PUNCHER_NEAR_LIMIT, + /** + * puncher Offline + */ + PUNCHER_OFFLINE, + /** + * puncher Opened + */ + PUNCHER_OPENED, + /** + * puncher Over Temperature + */ + PUNCHER_OVER_TEMPERATURE, + /** + * puncher Power Saver + */ + PUNCHER_POWER_SAVER, + /** + * puncher Recoverable Failure + */ + PUNCHER_RECOVERABLE_FAILURE, + /** + * puncher Recoverable Storage + */ + PUNCHER_RECOVERABLE_STORAGE, + /** + * puncher Removed + */ + PUNCHER_REMOVED, + /** + * puncher Resource Added + */ + PUNCHER_RESOURCE_ADDED, + /** + * puncher Resource Removed + */ + PUNCHER_RESOURCE_REMOVED, + /** + * puncher Thermistor Failure + */ + PUNCHER_THERMISTOR_FAILURE, + /** + * puncher Timing Failure + */ + PUNCHER_TIMING_FAILURE, + /** + * puncher Turned Off + */ + PUNCHER_TURNED_OFF, + /** + * puncher Turned On + */ + PUNCHER_TURNED_ON, + /** + * puncher Under Temperature + */ + PUNCHER_UNDER_TEMPERATURE, + /** + * puncher Unrecoverable Failure + */ + PUNCHER_UNRECOVERABLE_FAILURE, + /** + * puncher Unrecoverable Storage Error + */ + PUNCHER_UNRECOVERABLE_STORAGE_ERROR, + /** + * puncher Warming Up + */ + PUNCHER_WARMING_UP, + /** + * resuming + */ + RESUMING, + /** + * scan Media Path Failure + */ + SCAN_MEDIA_PATH_FAILURE, + /** + * scan Media Path Input Empty + */ + SCAN_MEDIA_PATH_INPUT_EMPTY, + /** + * scan Media Path Input Feed Error + */ + SCAN_MEDIA_PATH_INPUT_FEED_ERROR, + /** + * scan Media Path Input Jam + */ + SCAN_MEDIA_PATH_INPUT_JAM, + /** + * scan Media Path Input Request + */ + SCAN_MEDIA_PATH_INPUT_REQUEST, + /** + * scan Media Path Jam + */ + SCAN_MEDIA_PATH_JAM, + /** + * scan Media Path Output Feed Error + */ + SCAN_MEDIA_PATH_OUTPUT_FEED_ERROR, + /** + * scan Media Path Output Full + */ + SCAN_MEDIA_PATH_OUTPUT_FULL, + /** + * scan Media Path Output Jam + */ + SCAN_MEDIA_PATH_OUTPUT_JAM, + /** + * scan Media Path Pick Roller Failure + */ + SCAN_MEDIA_PATH_PICK_ROLLER_FAILURE, + /** + * scan Media Path Pick Roller Life Over + */ + SCAN_MEDIA_PATH_PICK_ROLLER_LIFE_OVER, + /** + * scan Media Path Pick Roller Life Warn + */ + SCAN_MEDIA_PATH_PICK_ROLLER_LIFE_WARN, + /** + * scan Media Path Pick Roller Missing + */ + SCAN_MEDIA_PATH_PICK_ROLLER_MISSING, + /** + * scan Media Path Tray Almost Full + */ + SCAN_MEDIA_PATH_TRAY_ALMOST_FULL, + /** + * scan Media Path Tray Full + */ + SCAN_MEDIA_PATH_TRAY_FULL, + /** + * scan Media Path Tray Missing + */ + SCAN_MEDIA_PATH_TRAY_MISSING, + /** + * scanner Light Failure + */ + SCANNER_LIGHT_FAILURE, + /** + * scanner Light Life Almost Over + */ + SCANNER_LIGHT_LIFE_ALMOST_OVER, + /** + * scanner Light Life Over + */ + SCANNER_LIGHT_LIFE_OVER, + /** + * scanner Light Missing + */ + SCANNER_LIGHT_MISSING, + /** + * scanner Sensor Failure + */ + SCANNER_SENSOR_FAILURE, + /** + * scanner Sensor Life Almost Over + */ + SCANNER_SENSOR_LIFE_ALMOST_OVER, + /** + * scanner Sensor Life Over + */ + SCANNER_SENSOR_LIFE_OVER, + /** + * scanner Sensor Missing + */ + SCANNER_SENSOR_MISSING, + /** + * separation Cutter Added + */ + SEPARATION_CUTTER_ADDED, + /** + * separation Cutter Almost Empty + */ + SEPARATION_CUTTER_ALMOST_EMPTY, + /** + * separation Cutter Almost Full + */ + SEPARATION_CUTTER_ALMOST_FULL, + /** + * separation Cutter At Limit + */ + SEPARATION_CUTTER_AT_LIMIT, + /** + * separation Cutter Closed + */ + SEPARATION_CUTTER_CLOSED, + /** + * separation Cutter Configuration Change + */ + SEPARATION_CUTTER_CONFIGURATION_CHANGE, + /** + * separation Cutter Cover Closed + */ + SEPARATION_CUTTER_COVER_CLOSED, + /** + * separation Cutter Cover Open + */ + SEPARATION_CUTTER_COVER_OPEN, + /** + * separation Cutter Empty + */ + SEPARATION_CUTTER_EMPTY, + /** + * separation Cutter Full + */ + SEPARATION_CUTTER_FULL, + /** + * separation Cutter Interlock Closed + */ + SEPARATION_CUTTER_INTERLOCK_CLOSED, + /** + * separation Cutter Interlock Open + */ + SEPARATION_CUTTER_INTERLOCK_OPEN, + /** + * separation Cutter Jam + */ + SEPARATION_CUTTER_JAM, + /** + * separation Cutter Life Almost Over + */ + SEPARATION_CUTTER_LIFE_ALMOST_OVER, + /** + * separation Cutter Life Over + */ + SEPARATION_CUTTER_LIFE_OVER, + /** + * separation Cutter Memory Exhausted + */ + SEPARATION_CUTTER_MEMORY_EXHAUSTED, + /** + * separation Cutter Missing + */ + SEPARATION_CUTTER_MISSING, + /** + * separation Cutter Motor Failure + */ + SEPARATION_CUTTER_MOTOR_FAILURE, + /** + * separation Cutter Near Limit + */ + SEPARATION_CUTTER_NEAR_LIMIT, + /** + * separation Cutter Offline + */ + SEPARATION_CUTTER_OFFLINE, + /** + * separation Cutter Opened + */ + SEPARATION_CUTTER_OPENED, + /** + * separation Cutter Over Temperature + */ + SEPARATION_CUTTER_OVER_TEMPERATURE, + /** + * separation Cutter Power Saver + */ + SEPARATION_CUTTER_POWER_SAVER, + /** + * separation Cutter Recoverable Failure + */ + SEPARATION_CUTTER_RECOVERABLE_FAILURE, + /** + * separation Cutter Recoverable Storage + */ + SEPARATION_CUTTER_RECOVERABLE_STORAGE, + /** + * separation Cutter Removed + */ + SEPARATION_CUTTER_REMOVED, + /** + * separation Cutter Resource Added + */ + SEPARATION_CUTTER_RESOURCE_ADDED, + /** + * separation Cutter Resource Removed + */ + SEPARATION_CUTTER_RESOURCE_REMOVED, + /** + * separation Cutter Thermistor Failure + */ + SEPARATION_CUTTER_THERMISTOR_FAILURE, + /** + * separation Cutter Timing Failure + */ + SEPARATION_CUTTER_TIMING_FAILURE, + /** + * separation Cutter Turned Off + */ + SEPARATION_CUTTER_TURNED_OFF, + /** + * separation Cutter Turned On + */ + SEPARATION_CUTTER_TURNED_ON, + /** + * separation Cutter Under Temperature + */ + SEPARATION_CUTTER_UNDER_TEMPERATURE, + /** + * separation Cutter Unrecoverable Failure + */ + SEPARATION_CUTTER_UNRECOVERABLE_FAILURE, + /** + * separation Cutter Unrecoverable Storage Error + */ + SEPARATION_CUTTER_UNRECOVERABLE_STORAGE_ERROR, + /** + * separation Cutter Warming Up + */ + SEPARATION_CUTTER_WARMING_UP, + /** + * sheet Rotator Added + */ + SHEET_ROTATOR_ADDED, + /** + * sheet Rotator Almost Empty + */ + SHEET_ROTATOR_ALMOST_EMPTY, + /** + * sheet Rotator Almost Full + */ + SHEET_ROTATOR_ALMOST_FULL, + /** + * sheet Rotator At Limit + */ + SHEET_ROTATOR_AT_LIMIT, + /** + * sheet Rotator Closed + */ + SHEET_ROTATOR_CLOSED, + /** + * sheet Rotator Configuration Change + */ + SHEET_ROTATOR_CONFIGURATION_CHANGE, + /** + * sheet Rotator Cover Closed + */ + SHEET_ROTATOR_COVER_CLOSED, + /** + * sheet Rotator Cover Open + */ + SHEET_ROTATOR_COVER_OPEN, + /** + * sheet Rotator Empty + */ + SHEET_ROTATOR_EMPTY, + /** + * sheet Rotator Full + */ + SHEET_ROTATOR_FULL, + /** + * sheet Rotator Interlock Closed + */ + SHEET_ROTATOR_INTERLOCK_CLOSED, + /** + * sheet Rotator Interlock Open + */ + SHEET_ROTATOR_INTERLOCK_OPEN, + /** + * sheet Rotator Jam + */ + SHEET_ROTATOR_JAM, + /** + * sheet Rotator Life Almost Over + */ + SHEET_ROTATOR_LIFE_ALMOST_OVER, + /** + * sheet Rotator Life Over + */ + SHEET_ROTATOR_LIFE_OVER, + /** + * sheet Rotator Memory Exhausted + */ + SHEET_ROTATOR_MEMORY_EXHAUSTED, + /** + * sheet Rotator Missing + */ + SHEET_ROTATOR_MISSING, + /** + * sheet Rotator Motor Failure + */ + SHEET_ROTATOR_MOTOR_FAILURE, + /** + * sheet Rotator Near Limit + */ + SHEET_ROTATOR_NEAR_LIMIT, + /** + * sheet Rotator Offline + */ + SHEET_ROTATOR_OFFLINE, + /** + * sheet Rotator Opened + */ + SHEET_ROTATOR_OPENED, + /** + * sheet Rotator Over Temperature + */ + SHEET_ROTATOR_OVER_TEMPERATURE, + /** + * sheet Rotator Power Saver + */ + SHEET_ROTATOR_POWER_SAVER, + /** + * sheet Rotator Recoverable Failure + */ + SHEET_ROTATOR_RECOVERABLE_FAILURE, + /** + * sheet Rotator Recoverable Storage + */ + SHEET_ROTATOR_RECOVERABLE_STORAGE, + /** + * sheet Rotator Removed + */ + SHEET_ROTATOR_REMOVED, + /** + * sheet Rotator Resource Added + */ + SHEET_ROTATOR_RESOURCE_ADDED, + /** + * sheet Rotator Resource Removed + */ + SHEET_ROTATOR_RESOURCE_REMOVED, + /** + * sheet Rotator Thermistor Failure + */ + SHEET_ROTATOR_THERMISTOR_FAILURE, + /** + * sheet Rotator Timing Failure + */ + SHEET_ROTATOR_TIMING_FAILURE, + /** + * sheet Rotator Turned Off + */ + SHEET_ROTATOR_TURNED_OFF, + /** + * sheet Rotator Turned On + */ + SHEET_ROTATOR_TURNED_ON, + /** + * sheet Rotator Under Temperature + */ + SHEET_ROTATOR_UNDER_TEMPERATURE, + /** + * sheet Rotator Unrecoverable Failure + */ + SHEET_ROTATOR_UNRECOVERABLE_FAILURE, + /** + * sheet Rotator Unrecoverable Storage Error + */ + SHEET_ROTATOR_UNRECOVERABLE_STORAGE_ERROR, + /** + * sheet Rotator Warming Up + */ + SHEET_ROTATOR_WARMING_UP, + /** + * slitter Added + */ + SLITTER_ADDED, + /** + * slitter Almost Empty + */ + SLITTER_ALMOST_EMPTY, + /** + * slitter Almost Full + */ + SLITTER_ALMOST_FULL, + /** + * slitter At Limit + */ + SLITTER_AT_LIMIT, + /** + * slitter Closed + */ + SLITTER_CLOSED, + /** + * slitter Configuration Change + */ + SLITTER_CONFIGURATION_CHANGE, + /** + * slitter Cover Closed + */ + SLITTER_COVER_CLOSED, + /** + * slitter Cover Open + */ + SLITTER_COVER_OPEN, + /** + * slitter Empty + */ + SLITTER_EMPTY, + /** + * slitter Full + */ + SLITTER_FULL, + /** + * slitter Interlock Closed + */ + SLITTER_INTERLOCK_CLOSED, + /** + * slitter Interlock Open + */ + SLITTER_INTERLOCK_OPEN, + /** + * slitter Jam + */ + SLITTER_JAM, + /** + * slitter Life Almost Over + */ + SLITTER_LIFE_ALMOST_OVER, + /** + * slitter Life Over + */ + SLITTER_LIFE_OVER, + /** + * slitter Memory Exhausted + */ + SLITTER_MEMORY_EXHAUSTED, + /** + * slitter Missing + */ + SLITTER_MISSING, + /** + * slitter Motor Failure + */ + SLITTER_MOTOR_FAILURE, + /** + * slitter Near Limit + */ + SLITTER_NEAR_LIMIT, + /** + * slitter Offline + */ + SLITTER_OFFLINE, + /** + * slitter Opened + */ + SLITTER_OPENED, + /** + * slitter Over Temperature + */ + SLITTER_OVER_TEMPERATURE, + /** + * slitter Power Saver + */ + SLITTER_POWER_SAVER, + /** + * slitter Recoverable Failure + */ + SLITTER_RECOVERABLE_FAILURE, + /** + * slitter Recoverable Storage + */ + SLITTER_RECOVERABLE_STORAGE, + /** + * slitter Removed + */ + SLITTER_REMOVED, + /** + * slitter Resource Added + */ + SLITTER_RESOURCE_ADDED, + /** + * slitter Resource Removed + */ + SLITTER_RESOURCE_REMOVED, + /** + * slitter Thermistor Failure + */ + SLITTER_THERMISTOR_FAILURE, + /** + * slitter Timing Failure + */ + SLITTER_TIMING_FAILURE, + /** + * slitter Turned Off + */ + SLITTER_TURNED_OFF, + /** + * slitter Turned On + */ + SLITTER_TURNED_ON, + /** + * slitter Under Temperature + */ + SLITTER_UNDER_TEMPERATURE, + /** + * slitter Unrecoverable Failure + */ + SLITTER_UNRECOVERABLE_FAILURE, + /** + * slitter Unrecoverable Storage Error + */ + SLITTER_UNRECOVERABLE_STORAGE_ERROR, + /** + * slitter Warming Up + */ + SLITTER_WARMING_UP, + /** + * stacker Added + */ + STACKER_ADDED, + /** + * stacker Almost Empty + */ + STACKER_ALMOST_EMPTY, + /** + * stacker Almost Full + */ + STACKER_ALMOST_FULL, + /** + * stacker At Limit + */ + STACKER_AT_LIMIT, + /** + * stacker Closed + */ + STACKER_CLOSED, + /** + * stacker Configuration Change + */ + STACKER_CONFIGURATION_CHANGE, + /** + * stacker Cover Closed + */ + STACKER_COVER_CLOSED, + /** + * stacker Cover Open + */ + STACKER_COVER_OPEN, + /** + * stacker Empty + */ + STACKER_EMPTY, + /** + * stacker Full + */ + STACKER_FULL, + /** + * stacker Interlock Closed + */ + STACKER_INTERLOCK_CLOSED, + /** + * stacker Interlock Open + */ + STACKER_INTERLOCK_OPEN, + /** + * stacker Jam + */ + STACKER_JAM, + /** + * stacker Life Almost Over + */ + STACKER_LIFE_ALMOST_OVER, + /** + * stacker Life Over + */ + STACKER_LIFE_OVER, + /** + * stacker Memory Exhausted + */ + STACKER_MEMORY_EXHAUSTED, + /** + * stacker Missing + */ + STACKER_MISSING, + /** + * stacker Motor Failure + */ + STACKER_MOTOR_FAILURE, + /** + * stacker Near Limit + */ + STACKER_NEAR_LIMIT, + /** + * stacker Offline + */ + STACKER_OFFLINE, + /** + * stacker Opened + */ + STACKER_OPENED, + /** + * stacker Over Temperature + */ + STACKER_OVER_TEMPERATURE, + /** + * stacker Power Saver + */ + STACKER_POWER_SAVER, + /** + * stacker Recoverable Failure + */ + STACKER_RECOVERABLE_FAILURE, + /** + * stacker Recoverable Storage + */ + STACKER_RECOVERABLE_STORAGE, + /** + * stacker Removed + */ + STACKER_REMOVED, + /** + * stacker Resource Added + */ + STACKER_RESOURCE_ADDED, + /** + * stacker Resource Removed + */ + STACKER_RESOURCE_REMOVED, + /** + * stacker Thermistor Failure + */ + STACKER_THERMISTOR_FAILURE, + /** + * stacker Timing Failure + */ + STACKER_TIMING_FAILURE, + /** + * stacker Turned Off + */ + STACKER_TURNED_OFF, + /** + * stacker Turned On + */ + STACKER_TURNED_ON, + /** + * stacker Under Temperature + */ + STACKER_UNDER_TEMPERATURE, + /** + * stacker Unrecoverable Failure + */ + STACKER_UNRECOVERABLE_FAILURE, + /** + * stacker Unrecoverable Storage Error + */ + STACKER_UNRECOVERABLE_STORAGE_ERROR, + /** + * stacker Warming Up + */ + STACKER_WARMING_UP, + /** + * standby + */ + STANDBY, + /** + * stapler Added + */ + STAPLER_ADDED, + /** + * stapler Almost Empty + */ + STAPLER_ALMOST_EMPTY, + /** + * stapler Almost Full + */ + STAPLER_ALMOST_FULL, + /** + * stapler At Limit + */ + STAPLER_AT_LIMIT, + /** + * stapler Closed + */ + STAPLER_CLOSED, + /** + * stapler Configuration Change + */ + STAPLER_CONFIGURATION_CHANGE, + /** + * stapler Cover Closed + */ + STAPLER_COVER_CLOSED, + /** + * stapler Cover Open + */ + STAPLER_COVER_OPEN, + /** + * stapler Empty + */ + STAPLER_EMPTY, + /** + * stapler Full + */ + STAPLER_FULL, + /** + * stapler Interlock Closed + */ + STAPLER_INTERLOCK_CLOSED, + /** + * stapler Interlock Open + */ + STAPLER_INTERLOCK_OPEN, + /** + * stapler Jam + */ + STAPLER_JAM, + /** + * stapler Life Almost Over + */ + STAPLER_LIFE_ALMOST_OVER, + /** + * stapler Life Over + */ + STAPLER_LIFE_OVER, + /** + * stapler Memory Exhausted + */ + STAPLER_MEMORY_EXHAUSTED, + /** + * stapler Missing + */ + STAPLER_MISSING, + /** + * stapler Motor Failure + */ + STAPLER_MOTOR_FAILURE, + /** + * stapler Near Limit + */ + STAPLER_NEAR_LIMIT, + /** + * stapler Offline + */ + STAPLER_OFFLINE, + /** + * stapler Opened + */ + STAPLER_OPENED, + /** + * stapler Over Temperature + */ + STAPLER_OVER_TEMPERATURE, + /** + * stapler Power Saver + */ + STAPLER_POWER_SAVER, + /** + * stapler Recoverable Failure + */ + STAPLER_RECOVERABLE_FAILURE, + /** + * stapler Recoverable Storage + */ + STAPLER_RECOVERABLE_STORAGE, + /** + * stapler Removed + */ + STAPLER_REMOVED, + /** + * stapler Resource Added + */ + STAPLER_RESOURCE_ADDED, + /** + * stapler Resource Removed + */ + STAPLER_RESOURCE_REMOVED, + /** + * stapler Thermistor Failure + */ + STAPLER_THERMISTOR_FAILURE, + /** + * stapler Timing Failure + */ + STAPLER_TIMING_FAILURE, + /** + * stapler Turned Off + */ + STAPLER_TURNED_OFF, + /** + * stapler Turned On + */ + STAPLER_TURNED_ON, + /** + * stapler Under Temperature + */ + STAPLER_UNDER_TEMPERATURE, + /** + * stapler Unrecoverable Failure + */ + STAPLER_UNRECOVERABLE_FAILURE, + /** + * stapler Unrecoverable Storage Error + */ + STAPLER_UNRECOVERABLE_STORAGE_ERROR, + /** + * stapler Warming Up + */ + STAPLER_WARMING_UP, + /** + * stitcher Added + */ + STITCHER_ADDED, + /** + * stitcher Almost Empty + */ + STITCHER_ALMOST_EMPTY, + /** + * stitcher Almost Full + */ + STITCHER_ALMOST_FULL, + /** + * stitcher At Limit + */ + STITCHER_AT_LIMIT, + /** + * stitcher Closed + */ + STITCHER_CLOSED, + /** + * stitcher Configuration Change + */ + STITCHER_CONFIGURATION_CHANGE, + /** + * stitcher Cover Closed + */ + STITCHER_COVER_CLOSED, + /** + * stitcher Cover Open + */ + STITCHER_COVER_OPEN, + /** + * stitcher Empty + */ + STITCHER_EMPTY, + /** + * stitcher Full + */ + STITCHER_FULL, + /** + * stitcher Interlock Closed + */ + STITCHER_INTERLOCK_CLOSED, + /** + * stitcher Interlock Open + */ + STITCHER_INTERLOCK_OPEN, + /** + * stitcher Jam + */ + STITCHER_JAM, + /** + * stitcher Life Almost Over + */ + STITCHER_LIFE_ALMOST_OVER, + /** + * stitcher Life Over + */ + STITCHER_LIFE_OVER, + /** + * stitcher Memory Exhausted + */ + STITCHER_MEMORY_EXHAUSTED, + /** + * stitcher Missing + */ + STITCHER_MISSING, + /** + * stitcher Motor Failure + */ + STITCHER_MOTOR_FAILURE, + /** + * stitcher Near Limit + */ + STITCHER_NEAR_LIMIT, + /** + * stitcher Offline + */ + STITCHER_OFFLINE, + /** + * stitcher Opened + */ + STITCHER_OPENED, + /** + * stitcher Over Temperature + */ + STITCHER_OVER_TEMPERATURE, + /** + * stitcher Power Saver + */ + STITCHER_POWER_SAVER, + /** + * stitcher Recoverable Failure + */ + STITCHER_RECOVERABLE_FAILURE, + /** + * stitcher Recoverable Storage + */ + STITCHER_RECOVERABLE_STORAGE, + /** + * stitcher Removed + */ + STITCHER_REMOVED, + /** + * stitcher Resource Added + */ + STITCHER_RESOURCE_ADDED, + /** + * stitcher Resource Removed + */ + STITCHER_RESOURCE_REMOVED, + /** + * stitcher Thermistor Failure + */ + STITCHER_THERMISTOR_FAILURE, + /** + * stitcher Timing Failure + */ + STITCHER_TIMING_FAILURE, + /** + * stitcher Turned Off + */ + STITCHER_TURNED_OFF, + /** + * stitcher Turned On + */ + STITCHER_TURNED_ON, + /** + * stitcher Under Temperature + */ + STITCHER_UNDER_TEMPERATURE, + /** + * stitcher Unrecoverable Failure + */ + STITCHER_UNRECOVERABLE_FAILURE, + /** + * stitcher Unrecoverable Storage Error + */ + STITCHER_UNRECOVERABLE_STORAGE_ERROR, + /** + * stitcher Warming Up + */ + STITCHER_WARMING_UP, + /** + * subunit Added + */ + SUBUNIT_ADDED, + /** + * subunit Almost Empty + */ + SUBUNIT_ALMOST_EMPTY, + /** + * subunit Almost Full + */ + SUBUNIT_ALMOST_FULL, + /** + * subunit At Limit + */ + SUBUNIT_AT_LIMIT, + /** + * subunit Closed + */ + SUBUNIT_CLOSED, + /** + * subunit Cooling Down + */ + SUBUNIT_COOLING_DOWN, + /** + * subunit Empty + */ + SUBUNIT_EMPTY, + /** + * subunit Full + */ + SUBUNIT_FULL, + /** + * subunit Life Almost Over + */ + SUBUNIT_LIFE_ALMOST_OVER, + /** + * subunit Life Over + */ + SUBUNIT_LIFE_OVER, + /** + * subunit Memory Exhausted + */ + SUBUNIT_MEMORY_EXHAUSTED, + /** + * subunit Missing + */ + SUBUNIT_MISSING, + /** + * subunit Motor Failure + */ + SUBUNIT_MOTOR_FAILURE, + /** + * subunit Near Limit + */ + SUBUNIT_NEAR_LIMIT, + /** + * subunit Offline + */ + SUBUNIT_OFFLINE, + /** + * subunit Opened + */ + SUBUNIT_OPENED, + /** + * subunit Over Temperature + */ + SUBUNIT_OVER_TEMPERATURE, + /** + * subunit Power Saver + */ + SUBUNIT_POWER_SAVER, + /** + * subunit Recoverable Failure + */ + SUBUNIT_RECOVERABLE_FAILURE, + /** + * subunit Recoverable Storage + */ + SUBUNIT_RECOVERABLE_STORAGE, + /** + * subunit Removed + */ + SUBUNIT_REMOVED, + /** + * subunit Resource Added + */ + SUBUNIT_RESOURCE_ADDED, + /** + * subunit Resource Removed + */ + SUBUNIT_RESOURCE_REMOVED, + /** + * subunit Thermistor Failure + */ + SUBUNIT_THERMISTOR_FAILURE, + /** + * subunit Timing Failure + */ + SUBUNIT_TIMING_FAILURE, + /** + * subunit Turned Off + */ + SUBUNIT_TURNED_OFF, + /** + * subunit Turned On + */ + SUBUNIT_TURNED_ON, + /** + * subunit Under Temperature + */ + SUBUNIT_UNDER_TEMPERATURE, + /** + * subunit Unrecoverable Failure + */ + SUBUNIT_UNRECOVERABLE_FAILURE, + /** + * subunit Unrecoverable Storage + */ + SUBUNIT_UNRECOVERABLE_STORAGE, + /** + * subunit Warming Up + */ + SUBUNIT_WARMING_UP, + /** + * suspend + */ + SUSPEND, + /** + * testing + */ + TESTING, + /** + * trimmer Added + */ + TRIMMER_ADDED, + /** + * trimmer Almost Empty + */ + TRIMMER_ALMOST_EMPTY, + /** + * trimmer Almost Full + */ + TRIMMER_ALMOST_FULL, + /** + * trimmer At Limit + */ + TRIMMER_AT_LIMIT, + /** + * trimmer Closed + */ + TRIMMER_CLOSED, + /** + * trimmer Configuration Change + */ + TRIMMER_CONFIGURATION_CHANGE, + /** + * trimmer Cover Closed + */ + TRIMMER_COVER_CLOSED, + /** + * trimmer Cover Open + */ + TRIMMER_COVER_OPEN, + /** + * trimmer Empty + */ + TRIMMER_EMPTY, + /** + * trimmer Full + */ + TRIMMER_FULL, + /** + * trimmer Interlock Closed + */ + TRIMMER_INTERLOCK_CLOSED, + /** + * trimmer Interlock Open + */ + TRIMMER_INTERLOCK_OPEN, + /** + * trimmer Jam + */ + TRIMMER_JAM, + /** + * trimmer Life Almost Over + */ + TRIMMER_LIFE_ALMOST_OVER, + /** + * trimmer Life Over + */ + TRIMMER_LIFE_OVER, + /** + * trimmer Memory Exhausted + */ + TRIMMER_MEMORY_EXHAUSTED, + /** + * trimmer Missing + */ + TRIMMER_MISSING, + /** + * trimmer Motor Failure + */ + TRIMMER_MOTOR_FAILURE, + /** + * trimmer Near Limit + */ + TRIMMER_NEAR_LIMIT, + /** + * trimmer Offline + */ + TRIMMER_OFFLINE, + /** + * trimmer Opened + */ + TRIMMER_OPENED, + /** + * trimmer Over Temperature + */ + TRIMMER_OVER_TEMPERATURE, + /** + * trimmer Power Saver + */ + TRIMMER_POWER_SAVER, + /** + * trimmer Recoverable Failure + */ + TRIMMER_RECOVERABLE_FAILURE, + /** + * trimmer Recoverable Storage + */ + TRIMMER_RECOVERABLE_STORAGE, + /** + * trimmer Removed + */ + TRIMMER_REMOVED, + /** + * trimmer Resource Added + */ + TRIMMER_RESOURCE_ADDED, + /** + * trimmer Resource Removed + */ + TRIMMER_RESOURCE_REMOVED, + /** + * trimmer Thermistor Failure + */ + TRIMMER_THERMISTOR_FAILURE, + /** + * trimmer Timing Failure + */ + TRIMMER_TIMING_FAILURE, + /** + * trimmer Turned Off + */ + TRIMMER_TURNED_OFF, + /** + * trimmer Turned On + */ + TRIMMER_TURNED_ON, + /** + * trimmer Under Temperature + */ + TRIMMER_UNDER_TEMPERATURE, + /** + * trimmer Unrecoverable Failure + */ + TRIMMER_UNRECOVERABLE_FAILURE, + /** + * trimmer Unrecoverable Storage Error + */ + TRIMMER_UNRECOVERABLE_STORAGE_ERROR, + /** + * trimmer Warming Up + */ + TRIMMER_WARMING_UP, + /** + * unknown + */ + UNKNOWN, + /** + * wrapper Added + */ + WRAPPER_ADDED, + /** + * wrapper Almost Empty + */ + WRAPPER_ALMOST_EMPTY, + /** + * wrapper Almost Full + */ + WRAPPER_ALMOST_FULL, + /** + * wrapper At Limit + */ + WRAPPER_AT_LIMIT, + /** + * wrapper Closed + */ + WRAPPER_CLOSED, + /** + * wrapper Configuration Change + */ + WRAPPER_CONFIGURATION_CHANGE, + /** + * wrapper Cover Closed + */ + WRAPPER_COVER_CLOSED, + /** + * wrapper Cover Open + */ + WRAPPER_COVER_OPEN, + /** + * wrapper Empty + */ + WRAPPER_EMPTY, + /** + * wrapper Full + */ + WRAPPER_FULL, + /** + * wrapper Interlock Closed + */ + WRAPPER_INTERLOCK_CLOSED, + /** + * wrapper Interlock Open + */ + WRAPPER_INTERLOCK_OPEN, + /** + * wrapper Jam + */ + WRAPPER_JAM, + /** + * wrapper Life Almost Over + */ + WRAPPER_LIFE_ALMOST_OVER, + /** + * wrapper Life Over + */ + WRAPPER_LIFE_OVER, + /** + * wrapper Memory Exhausted + */ + WRAPPER_MEMORY_EXHAUSTED, + /** + * wrapper Missing + */ + WRAPPER_MISSING, + /** + * wrapper Motor Failure + */ + WRAPPER_MOTOR_FAILURE, + /** + * wrapper Near Limit + */ + WRAPPER_NEAR_LIMIT, + /** + * wrapper Offline + */ + WRAPPER_OFFLINE, + /** + * wrapper Opened + */ + WRAPPER_OPENED, + /** + * wrapper Over Temperature + */ + WRAPPER_OVER_TEMPERATURE, + /** + * wrapper Power Saver + */ + WRAPPER_POWER_SAVER, + /** + * wrapper Recoverable Failure + */ + WRAPPER_RECOVERABLE_FAILURE, + /** + * wrapper Recoverable Storage + */ + WRAPPER_RECOVERABLE_STORAGE, + /** + * wrapper Removed + */ + WRAPPER_REMOVED, + /** + * wrapper Resource Added + */ + WRAPPER_RESOURCE_ADDED, + /** + * wrapper Resource Removed + */ + WRAPPER_RESOURCE_REMOVED, + /** + * wrapper Thermistor Failure + */ + WRAPPER_THERMISTOR_FAILURE, + /** + * wrapper Timing Failure + */ + WRAPPER_TIMING_FAILURE, + /** + * wrapper Turned Off + */ + WRAPPER_TURNED_OFF, + /** + * wrapper Turned On + */ + WRAPPER_TURNED_ON, + /** + * wrapper Under Temperature + */ + WRAPPER_UNDER_TEMPERATURE, + /** + * wrapper Unrecoverable Failure + */ + WRAPPER_UNRECOVERABLE_FAILURE, + /** + * wrapper Unrecoverable Storage Error + */ + WRAPPER_UNRECOVERABLE_STORAGE_ERROR, + /** + * wrapper Warming Up + */ + WRAPPER_WARMING_UP, + /** * For PrinterProcessingStateDetail values that were not expected from the service */ UNEXPECTED_VALUE diff --git a/src/main/java/com/microsoft/graph/models/RoleManagement.java b/src/main/java/com/microsoft/graph/models/RoleManagement.java index c177e38f050..a4faa747c8d 100644 --- a/src/main/java/com/microsoft/graph/models/RoleManagement.java +++ b/src/main/java/com/microsoft/graph/models/RoleManagement.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.RbacApplication; import com.google.gson.JsonObject; @@ -37,6 +38,15 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Directory. + * + */ + @SerializedName(value = "directory", alternate = {"Directory"}) + @Expose + @Nullable + public RbacApplication directory; + /** * Sets the raw JSON object diff --git a/src/main/java/com/microsoft/graph/models/ServiceHealth.java b/src/main/java/com/microsoft/graph/models/ServiceHealth.java index 1f1c981b291..471272915ca 100644 --- a/src/main/java/com/microsoft/graph/models/ServiceHealth.java +++ b/src/main/java/com/microsoft/graph/models/ServiceHealth.java @@ -31,7 +31,7 @@ public class ServiceHealth extends Entity implements IJsonBackedObject { /** * The Service. - * The service name. + * The service name. Use the list healthOverviews operation to get exact string names for services subscribed by the tenant. */ @SerializedName(value = "service", alternate = {"Service"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ServiceUpdateMessage.java b/src/main/java/com/microsoft/graph/models/ServiceUpdateMessage.java index 4b5561a2139..89b4ae80005 100644 --- a/src/main/java/com/microsoft/graph/models/ServiceUpdateMessage.java +++ b/src/main/java/com/microsoft/graph/models/ServiceUpdateMessage.java @@ -95,7 +95,7 @@ public class ServiceUpdateMessage extends ServiceAnnouncementBase implements IJs /** * The View Point. - * Represents user view points data of the service message. + * Represents user view points data of the service message. This data includes message status such as whether the user has archived, read, or marked the message as favorite. This property is null when accessed with application permissions. */ @SerializedName(value = "viewPoint", alternate = {"ViewPoint"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/SettingSource.java b/src/main/java/com/microsoft/graph/models/SettingSource.java index b80e6c93c53..7569077b5bc 100644 --- a/src/main/java/com/microsoft/graph/models/SettingSource.java +++ b/src/main/java/com/microsoft/graph/models/SettingSource.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.SettingSourceType; import com.google.gson.JsonObject; @@ -55,6 +56,15 @@ public final AdditionalDataManager additionalDataManager() { @Nullable public String id; + /** + * The Source Type. + * Not yet documented. Possible values are: deviceConfiguration, deviceIntent. + */ + @SerializedName(value = "sourceType", alternate = {"SourceType"}) + @Expose + @Nullable + public SettingSourceType sourceType; + /** * Sets the raw JSON object diff --git a/src/main/java/com/microsoft/graph/models/SettingSourceType.java b/src/main/java/com/microsoft/graph/models/SettingSourceType.java new file mode 100644 index 00000000000..4cf940653b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/SettingSourceType.java @@ -0,0 +1,26 @@ +// Template Source: Enum.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +/** + * The Enum Setting Source Type. +*/ +public enum SettingSourceType +{ + /** + * device Configuration + */ + DEVICE_CONFIGURATION, + /** + * device Intent + */ + DEVICE_INTENT, + /** + * For SettingSourceType values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/models/TargetedManagedAppConfigurationTargetAppsParameterSet.java b/src/main/java/com/microsoft/graph/models/TargetedManagedAppConfigurationTargetAppsParameterSet.java index 3138225f3c5..d2957a84421 100644 --- a/src/main/java/com/microsoft/graph/models/TargetedManagedAppConfigurationTargetAppsParameterSet.java +++ b/src/main/java/com/microsoft/graph/models/TargetedManagedAppConfigurationTargetAppsParameterSet.java @@ -6,6 +6,7 @@ package com.microsoft.graph.models; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import javax.annotation.Nonnull; @@ -29,6 +30,15 @@ public class TargetedManagedAppConfigurationTargetAppsParameterSet { @Nullable public java.util.List apps; + /** + * The app Group Type. + * + */ + @SerializedName(value = "appGroupType", alternate = {"AppGroupType"}) + @Expose + @Nullable + public TargetedManagedAppGroupType appGroupType; + /** * Instiaciates a new TargetedManagedAppConfigurationTargetAppsParameterSet @@ -40,6 +50,7 @@ public TargetedManagedAppConfigurationTargetAppsParameterSet() {} */ protected TargetedManagedAppConfigurationTargetAppsParameterSet(@Nonnull final TargetedManagedAppConfigurationTargetAppsParameterSetBuilder builder) { this.apps = builder.apps; + this.appGroupType = builder.appGroupType; } /** * Gets a new builder for the body @@ -68,6 +79,21 @@ public TargetedManagedAppConfigurationTargetAppsParameterSetBuilder withApps(@Nu this.apps = val; return this; } + /** + * The appGroupType parameter value + */ + @Nullable + protected TargetedManagedAppGroupType appGroupType; + /** + * Sets the AppGroupType + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public TargetedManagedAppConfigurationTargetAppsParameterSetBuilder withAppGroupType(@Nullable final TargetedManagedAppGroupType val) { + this.appGroupType = val; + return this; + } /** * Instanciates a new TargetedManagedAppConfigurationTargetAppsParameterSetBuilder */ @@ -92,6 +118,9 @@ public java.util.List getFunctionOpt if(this.apps != null) { result.add(new com.microsoft.graph.options.FunctionOption("apps", apps)); } + if(this.appGroupType != null) { + result.add(new com.microsoft.graph.options.FunctionOption("appGroupType", appGroupType)); + } return result; } } diff --git a/src/main/java/com/microsoft/graph/models/TargetedManagedAppGroupType.java b/src/main/java/com/microsoft/graph/models/TargetedManagedAppGroupType.java new file mode 100644 index 00000000000..44220c1acf5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TargetedManagedAppGroupType.java @@ -0,0 +1,34 @@ +// Template Source: Enum.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +/** + * The Enum Targeted Managed App Group Type. +*/ +public enum TargetedManagedAppGroupType +{ + /** + * selected Public Apps + */ + SELECTED_PUBLIC_APPS, + /** + * all Core Microsoft Apps + */ + ALL_CORE_MICROSOFT_APPS, + /** + * all Microsoft Apps + */ + ALL_MICROSOFT_APPS, + /** + * all Apps + */ + ALL_APPS, + /** + * For TargetedManagedAppGroupType values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/models/TargetedManagedAppProtectionTargetAppsParameterSet.java b/src/main/java/com/microsoft/graph/models/TargetedManagedAppProtectionTargetAppsParameterSet.java new file mode 100644 index 00000000000..01c5b97c3b3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TargetedManagedAppProtectionTargetAppsParameterSet.java @@ -0,0 +1,126 @@ +// 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.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; +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 Targeted Managed App Protection Target Apps Parameter Set. + */ +public class TargetedManagedAppProtectionTargetAppsParameterSet { + /** + * The apps. + * + */ + @SerializedName(value = "apps", alternate = {"Apps"}) + @Expose + @Nullable + public java.util.List apps; + + /** + * The app Group Type. + * + */ + @SerializedName(value = "appGroupType", alternate = {"AppGroupType"}) + @Expose + @Nullable + public TargetedManagedAppGroupType appGroupType; + + + /** + * Instiaciates a new TargetedManagedAppProtectionTargetAppsParameterSet + */ + public TargetedManagedAppProtectionTargetAppsParameterSet() {} + /** + * Instiaciates a new TargetedManagedAppProtectionTargetAppsParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected TargetedManagedAppProtectionTargetAppsParameterSet(@Nonnull final TargetedManagedAppProtectionTargetAppsParameterSetBuilder builder) { + this.apps = builder.apps; + this.appGroupType = builder.appGroupType; + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static TargetedManagedAppProtectionTargetAppsParameterSetBuilder newBuilder() { + return new TargetedManagedAppProtectionTargetAppsParameterSetBuilder(); + } + /** + * Fluent builder for the TargetedManagedAppProtectionTargetAppsParameterSet + */ + public static final class TargetedManagedAppProtectionTargetAppsParameterSetBuilder { + /** + * The apps parameter value + */ + @Nullable + protected java.util.List apps; + /** + * Sets the Apps + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public TargetedManagedAppProtectionTargetAppsParameterSetBuilder withApps(@Nullable final java.util.List val) { + this.apps = val; + return this; + } + /** + * The appGroupType parameter value + */ + @Nullable + protected TargetedManagedAppGroupType appGroupType; + /** + * Sets the AppGroupType + * @param val the value to set it to + * @return the current builder object + */ + @Nonnull + public TargetedManagedAppProtectionTargetAppsParameterSetBuilder withAppGroupType(@Nullable final TargetedManagedAppGroupType val) { + this.appGroupType = val; + return this; + } + /** + * Instanciates a new TargetedManagedAppProtectionTargetAppsParameterSetBuilder + */ + @Nullable + protected TargetedManagedAppProtectionTargetAppsParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public TargetedManagedAppProtectionTargetAppsParameterSet build() { + return new TargetedManagedAppProtectionTargetAppsParameterSet(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.apps != null) { + result.add(new com.microsoft.graph.options.FunctionOption("apps", apps)); + } + if(this.appGroupType != null) { + result.add(new com.microsoft.graph.options.FunctionOption("appGroupType", appGroupType)); + } + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/Win32LobAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/Win32LobAppAssignmentSettings.java index 01a28e8f37f..4b21b688470 100644 --- a/src/main/java/com/microsoft/graph/models/Win32LobAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/Win32LobAppAssignmentSettings.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.Win32LobAppDeliveryOptimizationPriority; import com.microsoft.graph.models.MobileAppInstallTimeSettings; import com.microsoft.graph.models.Win32LobAppNotification; import com.microsoft.graph.models.Win32LobAppRestartSettings; @@ -28,6 +29,15 @@ public class Win32LobAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { + /** + * The Delivery Optimization Priority. + * The delivery optimization priority for this app assignment. This setting is not supported in National Cloud environments. Possible values are: notConfigured, foreground. + */ + @SerializedName(value = "deliveryOptimizationPriority", alternate = {"DeliveryOptimizationPriority"}) + @Expose + @Nullable + public Win32LobAppDeliveryOptimizationPriority deliveryOptimizationPriority; + /** * The Install Time Settings. * The install time settings to apply for this app assignment. diff --git a/src/main/java/com/microsoft/graph/models/Win32LobAppDeliveryOptimizationPriority.java b/src/main/java/com/microsoft/graph/models/Win32LobAppDeliveryOptimizationPriority.java new file mode 100644 index 00000000000..78fc63198de --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/Win32LobAppDeliveryOptimizationPriority.java @@ -0,0 +1,26 @@ +// Template Source: Enum.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models; + + +/** + * The Enum Win32Lob App Delivery Optimization Priority. +*/ +public enum Win32LobAppDeliveryOptimizationPriority +{ + /** + * not Configured + */ + NOT_CONFIGURED, + /** + * foreground + */ + FOREGROUND, + /** + * For Win32LobAppDeliveryOptimizationPriority values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/requests/AndroidCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AndroidCustomConfigurationRequestBuilder.java index a976b594ee0..4569f7997f6 100644 --- a/src/main/java/com/microsoft/graph/requests/AndroidCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AndroidCustomConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/AndroidGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AndroidGeneralDeviceConfigurationRequestBuilder.java index c7d36aacad9..a3ca5b690b1 100644 --- a/src/main/java/com/microsoft/graph/requests/AndroidGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AndroidGeneralDeviceConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionCollectionRequest.java index a978801e574..13a5f8eaeb6 100644 --- a/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionCollectionRequest.java @@ -11,6 +11,7 @@ import com.microsoft.graph.models.AndroidManagedAppProtection; import com.microsoft.graph.models.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; diff --git a/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionCollectionRequestBuilder.java index 87226335353..b0a4ab3db33 100644 --- a/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionCollectionRequestBuilder.java @@ -11,6 +11,7 @@ import com.microsoft.graph.models.AndroidManagedAppProtection; import com.microsoft.graph.models.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; @@ -23,6 +24,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.PrimitiveRequestBuilder; import com.microsoft.graph.models.TargetedManagedAppProtectionAssignParameterSet; +import com.microsoft.graph.models.TargetedManagedAppProtectionTargetAppsParameterSet; import com.microsoft.graph.models.ManagedAppProtectionTargetAppsParameterSet; import com.microsoft.graph.models.ManagedAppPolicyTargetAppsParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. diff --git a/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionRequest.java index 612edda2abb..c72fb321547 100644 --- a/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionRequest.java @@ -10,6 +10,7 @@ import com.microsoft.graph.models.AndroidManagedAppProtection; import com.microsoft.graph.models.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import com.microsoft.graph.requests.ManagedMobileAppCollectionRequestBuilder; import com.microsoft.graph.requests.ManagedMobileAppRequestBuilder; import com.microsoft.graph.requests.ManagedAppPolicyDeploymentSummaryRequestBuilder; diff --git a/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionRequestBuilder.java index a002c9d7b8a..89ba8c39fda 100644 --- a/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AndroidManagedAppProtectionRequestBuilder.java @@ -10,6 +10,7 @@ import com.microsoft.graph.models.AndroidManagedAppProtection; import com.microsoft.graph.models.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import com.microsoft.graph.requests.ManagedMobileAppCollectionRequestBuilder; import com.microsoft.graph.requests.ManagedMobileAppRequestBuilder; import com.microsoft.graph.requests.ManagedAppPolicyDeploymentSummaryRequestBuilder; @@ -20,6 +21,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.TargetedManagedAppProtectionAssignParameterSet; +import com.microsoft.graph.models.TargetedManagedAppProtectionTargetAppsParameterSet; import com.microsoft.graph.models.ManagedAppProtectionTargetAppsParameterSet; import com.microsoft.graph.models.ManagedAppPolicyTargetAppsParameterSet; @@ -131,7 +133,7 @@ public TargetedManagedAppProtectionAssignRequestBuilder assign(@Nonnull final Ta * @param parameters the parameters for the service method */ @Nonnull - public ManagedAppProtectionTargetAppsRequestBuilder targetApps(@Nonnull final ManagedAppProtectionTargetAppsParameterSet parameters) { - return new ManagedAppProtectionTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, parameters); + public TargetedManagedAppProtectionTargetAppsRequestBuilder targetApps(@Nonnull final TargetedManagedAppProtectionTargetAppsParameterSet parameters) { + return new TargetedManagedAppProtectionTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, parameters); } } diff --git a/src/main/java/com/microsoft/graph/requests/AndroidWorkProfileCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AndroidWorkProfileCustomConfigurationRequestBuilder.java index 07ea4bcc9eb..be701a23552 100644 --- a/src/main/java/com/microsoft/graph/requests/AndroidWorkProfileCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AndroidWorkProfileCustomConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java index e9d61088c66..186d4570002 100644 --- a/src/main/java/com/microsoft/graph/requests/AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AndroidWorkProfileGeneralDeviceConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/AppleDeviceFeaturesConfigurationBaseRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AppleDeviceFeaturesConfigurationBaseRequestBuilder.java index e98c9356d59..25e828b0208 100644 --- a/src/main/java/com/microsoft/graph/requests/AppleDeviceFeaturesConfigurationBaseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AppleDeviceFeaturesConfigurationBaseRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/DeviceConfigurationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceConfigurationCollectionRequestBuilder.java index 9a7704ce592..d35afc974f0 100644 --- a/src/main/java/com/microsoft/graph/requests/DeviceConfigurationCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/DeviceConfigurationCollectionRequestBuilder.java @@ -22,6 +22,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.PrimitiveRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** diff --git a/src/main/java/com/microsoft/graph/requests/DeviceConfigurationGetOmaSettingPlainTextValueRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceConfigurationGetOmaSettingPlainTextValueRequest.java new file mode 100644 index 00000000000..bca7244951e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceConfigurationGetOmaSettingPlainTextValueRequest.java @@ -0,0 +1,80 @@ +// 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.DeviceConfiguration; +import com.microsoft.graph.requests.DeviceConfigurationGetOmaSettingPlainTextValueRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Configuration Get Oma Setting Plain Text Value Request. + */ +public class DeviceConfigurationGetOmaSettingPlainTextValueRequest extends BaseRequest { + /** + * The request for this DeviceConfigurationGetOmaSettingPlainTextValue + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceConfigurationGetOmaSettingPlainTextValueRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, String.class); + } + + /** + * Gets the String + * + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture getAsync() { + return sendAsync(HttpMethod.GET, null); + } + + /** + * Gets the String + * + * @return the String + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public String get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequest 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 DeviceConfigurationGetOmaSettingPlainTextValueRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder.java new file mode 100644 index 00000000000..33acdfb6d13 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder.java @@ -0,0 +1,77 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceConfigurationGetOmaSettingPlainTextValueRequest; +import com.microsoft.graph.models.DeviceConfiguration; + +import com.microsoft.graph.http.BaseFunctionRequestBuilder; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; +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 Device Configuration Get Oma Setting Plain Text Value Request Builder. + */ +public class DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder extends BaseFunctionRequestBuilder { + + /** + * The request builder for this DeviceConfigurationGetOmaSettingPlainTextValue + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + /** + * The request builder for this DeviceConfigurationGetOmaSettingPlainTextValue + * + * @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 DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + super(requestUrl, client, requestOptions); + if(parameters != null) { + functionOptions = parameters.getFunctionOptions(); + } + } + + /** + * Creates the DeviceConfigurationGetOmaSettingPlainTextValueRequest + * + * @param requestOptions the options for the request + * @return the DeviceConfigurationGetOmaSettingPlainTextValueRequest instance + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceConfigurationGetOmaSettingPlainTextValueRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceConfigurationGetOmaSettingPlainTextValueRequest instance + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceConfigurationGetOmaSettingPlainTextValueRequest request = new DeviceConfigurationGetOmaSettingPlainTextValueRequest( + getRequestUrl(), + getClient(), + requestOptions); + for (com.microsoft.graph.options.FunctionOption option : functionOptions) { + request.addFunctionOption(option); + } + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceConfigurationRequestBuilder.java index 9e9f11122c3..b87741efba7 100644 --- a/src/main/java/com/microsoft/graph/requests/DeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/DeviceConfigurationRequestBuilder.java @@ -26,6 +26,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -178,4 +179,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionPage.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionPage.java new file mode 100644 index 00000000000..ccfb8dd2afc --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionPage.java @@ -0,0 +1,40 @@ +// Template Source: BaseEntityCollectionPage.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementExportJob; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionRequestBuilder; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionResponse; +import com.microsoft.graph.http.BaseCollectionPage; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Export Job Collection Page. + */ +public class DeviceManagementExportJobCollectionPage extends BaseCollectionPage { + + /** + * A collection page for DeviceManagementExportJob + * + * @param response the serialized DeviceManagementExportJobCollectionResponse from the service + * @param builder the request builder for the next collection page + */ + public DeviceManagementExportJobCollectionPage(@Nonnull final DeviceManagementExportJobCollectionResponse response, @Nonnull final DeviceManagementExportJobCollectionRequestBuilder builder) { + super(response, builder); + } + + /** + * Creates the collection page for DeviceManagementExportJob + * + * @param pageContents the contents of this page + * @param nextRequestBuilder the request builder for the next page + */ + public DeviceManagementExportJobCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final DeviceManagementExportJobCollectionRequestBuilder nextRequestBuilder) { + super(pageContents, nextRequestBuilder); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionRequest.java new file mode 100644 index 00000000000..33265bb9b3b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionRequest.java @@ -0,0 +1,173 @@ +// Template Source: BaseEntityCollectionRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.models.DeviceManagementExportJob; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseEntityCollectionRequest; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionResponse; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionRequestBuilder; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionRequest; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Export Job Collection Request. + */ +public class DeviceManagementExportJobCollectionRequest extends BaseEntityCollectionRequest { + + /** + * The request builder for this collection of DeviceManagementExportJob + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementExportJobCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceManagementExportJobCollectionResponse.class, DeviceManagementExportJobCollectionPage.class, DeviceManagementExportJobCollectionRequestBuilder.class); + } + + /** + * Creates a new DeviceManagementExportJob + * @param newDeviceManagementExportJob the DeviceManagementExportJob to create + * @return a future with the created object + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final DeviceManagementExportJob newDeviceManagementExportJob) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceManagementExportJobRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .postAsync(newDeviceManagementExportJob); + } + + /** + * Creates a new DeviceManagementExportJob + * @param newDeviceManagementExportJob the DeviceManagementExportJob to create + * @return the newly created object + */ + @Nonnull + public DeviceManagementExportJob post(@Nonnull final DeviceManagementExportJob newDeviceManagementExportJob) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new DeviceManagementExportJobRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .post(newDeviceManagementExportJob); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobCollectionRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + + /** + * Sets the filter clause for the request + * + * @param value the filter clause + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobCollectionRequest 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 DeviceManagementExportJobCollectionRequest orderBy(@Nonnull final String value) { + addOrderByOption(value); + return this; + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobCollectionRequest select(@Nonnull final String value) { + addSelectOption(value); + return this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobCollectionRequest top(final int value) { + addTopOption(value); + return this; + } + + /** + * Sets the count value for the request + * + * @param value whether or not to return the count of objects with the request + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobCollectionRequest count(final boolean value) { + addCountOption(value); + return this; + } + /** + * Sets the count value to true for the request + * + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobCollectionRequest count() { + addCountOption(true); + return this; + } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobCollectionRequest skip(final int value) { + addSkipOption(value); + return this; + } + + + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobCollectionRequest skipToken(@Nonnull final String skipToken) { + addSkipTokenOption(skipToken); + return this; + } +} + diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionRequestBuilder.java new file mode 100644 index 00000000000..63def8223e9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionRequestBuilder.java @@ -0,0 +1,51 @@ +// Template Source: BaseEntityCollectionRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.models.DeviceManagementExportJob; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionRequestBuilder; +import com.microsoft.graph.requests.DeviceManagementExportJobRequestBuilder; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionRequest; +import com.microsoft.graph.http.BaseCollectionRequestBuilder; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.PrimitiveRequestBuilder; +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Export Job Collection Request Builder. + */ +public class DeviceManagementExportJobCollectionRequestBuilder extends BaseCollectionRequestBuilder { + + /** + * The request builder for this collection of DeviceManagementReports + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementExportJobCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceManagementExportJobRequestBuilder.class, DeviceManagementExportJobCollectionRequest.class); + } + + + + /** + * Gets the raw count request for the collection + * @return The raw count request for the collection + */ + @Nonnull + public PrimitiveRequestBuilder count() { + return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionResponse.java new file mode 100644 index 00000000000..c6d72daea95 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobCollectionResponse.java @@ -0,0 +1,18 @@ +// Template Source: BaseEntityCollectionResponse.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementExportJob; + +import com.microsoft.graph.http.BaseCollectionResponse; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Export Job Collection Response. + */ +public class DeviceManagementExportJobCollectionResponse extends BaseCollectionResponse { + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobRequest.java new file mode 100644 index 00000000000..668fe896332 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobRequest.java @@ -0,0 +1,173 @@ +// Template Source: BaseEntityRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.DeviceManagementExportJob; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Export Job Request. + */ +public class DeviceManagementExportJobRequest extends BaseRequest { + + /** + * The request for the DeviceManagementExportJob + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementExportJobRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceManagementExportJob.class); + } + + /** + * Gets the DeviceManagementExportJob from the service + * + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture getAsync() { + return sendAsync(HttpMethod.GET, null); + } + + /** + * Gets the DeviceManagementExportJob from the service + * + * @return the DeviceManagementExportJob from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public DeviceManagementExportJob get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @return a future with the deletion result + */ + @Nonnull + public java.util.concurrent.CompletableFuture deleteAsync() { + return sendAsync(HttpMethod.DELETE, null); + } + + /** + * Delete this item from the service + * @return the resulting response if the service returns anything on deletion + * + * @throws ClientException if there was an exception during the delete operation + */ + @Nullable + public DeviceManagementExportJob delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceManagementExportJob with a source + * + * @param sourceDeviceManagementExportJob the source object with updates + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final DeviceManagementExportJob sourceDeviceManagementExportJob) { + return sendAsync(HttpMethod.PATCH, sourceDeviceManagementExportJob); + } + + /** + * Patches this DeviceManagementExportJob with a source + * + * @param sourceDeviceManagementExportJob the source object with updates + * @return the updated DeviceManagementExportJob + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public DeviceManagementExportJob patch(@Nonnull final DeviceManagementExportJob sourceDeviceManagementExportJob) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceManagementExportJob); + } + + /** + * Creates a DeviceManagementExportJob with a new object + * + * @param newDeviceManagementExportJob the new object to create + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final DeviceManagementExportJob newDeviceManagementExportJob) { + return sendAsync(HttpMethod.POST, newDeviceManagementExportJob); + } + + /** + * Creates a DeviceManagementExportJob with a new object + * + * @param newDeviceManagementExportJob the new object to create + * @return the created DeviceManagementExportJob + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public DeviceManagementExportJob post(@Nonnull final DeviceManagementExportJob newDeviceManagementExportJob) throws ClientException { + return send(HttpMethod.POST, newDeviceManagementExportJob); + } + + /** + * Creates a DeviceManagementExportJob with a new object + * + * @param newDeviceManagementExportJob the object to create/update + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture putAsync(@Nonnull final DeviceManagementExportJob newDeviceManagementExportJob) { + return sendAsync(HttpMethod.PUT, newDeviceManagementExportJob); + } + + /** + * Creates a DeviceManagementExportJob with a new object + * + * @param newDeviceManagementExportJob the object to create/update + * @return the created DeviceManagementExportJob + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public DeviceManagementExportJob put(@Nonnull final DeviceManagementExportJob newDeviceManagementExportJob) throws ClientException { + return send(HttpMethod.PUT, newDeviceManagementExportJob); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementExportJobRequest 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 DeviceManagementExportJobRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} + diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobRequestBuilder.java new file mode 100644 index 00000000000..c92479039e5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementExportJobRequestBuilder.java @@ -0,0 +1,59 @@ +// Template Source: BaseEntityRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.DeviceManagementExportJob; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Export Job Request Builder. + */ +public class DeviceManagementExportJobRequestBuilder extends BaseRequestBuilder { + + /** + * The request builder for the DeviceManagementExportJob + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementExportJobRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + + /** + * Creates the request + * + * @param requestOptions the options for this request + * @return the DeviceManagementExportJobRequest instance + */ + @Nonnull + public DeviceManagementExportJobRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the DeviceManagementExportJobRequest instance + */ + @Nonnull + public DeviceManagementExportJobRequest buildRequest(@Nonnull final java.util.List requestOptions) { + return new com.microsoft.graph.requests.DeviceManagementExportJobRequest(getRequestUrl(), getClient(), requestOptions); + } + + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCachedReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCachedReportRequest.java new file mode 100644 index 00000000000..b666c896a4f --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCachedReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetCachedReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetCachedReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Cached Report Request. + */ +public class DeviceManagementReportsGetCachedReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetCachedReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetCachedReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetCachedReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetCachedReportRequest 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 DeviceManagementReportsGetCachedReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCachedReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCachedReportRequestBuilder.java new file mode 100644 index 00000000000..2b37f35a853 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCachedReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetCachedReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetCachedReportParameterSet; +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 Device Management Reports Get Cached Report Request Builder. + */ +public class DeviceManagementReportsGetCachedReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetCachedReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetCachedReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetCachedReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetCachedReport + * + * @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 DeviceManagementReportsGetCachedReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetCachedReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetCachedReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetCachedReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetCachedReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetCachedReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetCachedReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetCachedReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetCachedReportRequest request = new DeviceManagementReportsGetCachedReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest.java new file mode 100644 index 00000000000..1998ab97d22 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Compliance Policy Non Compliance Report Request. + */ +public class DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetCompliancePolicyNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest 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 DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder.java new file mode 100644 index 00000000000..924646ced1c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet; +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 Device Management Reports Get Compliance Policy Non Compliance Report Request Builder. + */ +public class DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetCompliancePolicyNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetCompliancePolicyNonComplianceReport + * + * @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 DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest request = new DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest.java new file mode 100644 index 00000000000..a6b12ce4e7a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Compliance Policy Non Compliance Summary Report Request. + */ +public class DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest 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 DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder.java new file mode 100644 index 00000000000..254f5178695 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet; +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 Device Management Reports Get Compliance Policy Non Compliance Summary Report Request Builder. + */ +public class DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReport + * + * @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 DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest request = new DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest.java new file mode 100644 index 00000000000..4831f501291 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Compliance Setting Non Compliance Report Request. + */ +public class DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetComplianceSettingNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest 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 DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder.java new file mode 100644 index 00000000000..fe68a7c33fb --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet; +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 Device Management Reports Get Compliance Setting Non Compliance Report Request Builder. + */ +public class DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetComplianceSettingNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetComplianceSettingNonComplianceReport + * + * @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 DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest request = new DeviceManagementReportsGetComplianceSettingNonComplianceReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest.java new file mode 100644 index 00000000000..91018cdd735 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Configuration Policy Non Compliance Report Request. + */ +public class DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetConfigurationPolicyNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest 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 DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder.java new file mode 100644 index 00000000000..3da7a8977b1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet; +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 Device Management Reports Get Configuration Policy Non Compliance Report Request Builder. + */ +public class DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetConfigurationPolicyNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetConfigurationPolicyNonComplianceReport + * + * @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 DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest request = new DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest.java new file mode 100644 index 00000000000..58cc96c7c7d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Configuration Policy Non Compliance Summary Report Request. + */ +public class DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest 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 DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.java new file mode 100644 index 00000000000..bb02dfbf6de --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet; +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 Device Management Reports Get Configuration Policy Non Compliance Summary Report Request Builder. + */ +public class DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReport + * + * @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 DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest request = new DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest.java new file mode 100644 index 00000000000..67c3135cb5f --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Configuration Setting Non Compliance Report Request. + */ +public class DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetConfigurationSettingNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest 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 DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder.java new file mode 100644 index 00000000000..1eb3bacc1e2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet; +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 Device Management Reports Get Configuration Setting Non Compliance Report Request Builder. + */ +public class DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetConfigurationSettingNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetConfigurationSettingNonComplianceReport + * + * @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 DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest request = new DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest.java new file mode 100644 index 00000000000..958166f8f4e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Device Management Intent Settings Report Request. + */ +public class DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetDeviceManagementIntentSettingsReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest 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 DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder.java new file mode 100644 index 00000000000..c389a1bd0eb --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet; +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 Device Management Reports Get Device Management Intent Settings Report Request Builder. + */ +public class DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetDeviceManagementIntentSettingsReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetDeviceManagementIntentSettingsReport + * + * @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 DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest request = new DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceNonComplianceReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceNonComplianceReportRequest.java new file mode 100644 index 00000000000..2fc7bb73b57 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceNonComplianceReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetDeviceNonComplianceReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetDeviceNonComplianceReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Device Non Compliance Report Request. + */ +public class DeviceManagementReportsGetDeviceNonComplianceReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetDeviceNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetDeviceNonComplianceReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetDeviceNonComplianceReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportRequest 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 DeviceManagementReportsGetDeviceNonComplianceReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder.java new file mode 100644 index 00000000000..0d476a28db7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetDeviceNonComplianceReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetDeviceNonComplianceReportParameterSet; +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 Device Management Reports Get Device Non Compliance Report Request Builder. + */ +public class DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetDeviceNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetDeviceNonComplianceReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetDeviceNonComplianceReport + * + * @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 DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetDeviceNonComplianceReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetDeviceNonComplianceReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetDeviceNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetDeviceNonComplianceReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetDeviceNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetDeviceNonComplianceReportRequest request = new DeviceManagementReportsGetDeviceNonComplianceReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetHistoricalReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetHistoricalReportRequest.java new file mode 100644 index 00000000000..d2bea61c820 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetHistoricalReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetHistoricalReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetHistoricalReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Historical Report Request. + */ +public class DeviceManagementReportsGetHistoricalReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetHistoricalReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetHistoricalReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetHistoricalReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportRequest 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 DeviceManagementReportsGetHistoricalReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetHistoricalReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetHistoricalReportRequestBuilder.java new file mode 100644 index 00000000000..70a41c0460a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetHistoricalReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetHistoricalReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetHistoricalReportParameterSet; +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 Device Management Reports Get Historical Report Request Builder. + */ +public class DeviceManagementReportsGetHistoricalReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetHistoricalReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetHistoricalReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetHistoricalReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetHistoricalReport + * + * @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 DeviceManagementReportsGetHistoricalReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetHistoricalReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetHistoricalReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetHistoricalReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetHistoricalReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetHistoricalReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetHistoricalReportRequest request = new DeviceManagementReportsGetHistoricalReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceMetadataRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceMetadataRequest.java new file mode 100644 index 00000000000..0420184eba0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceMetadataRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetPolicyNonComplianceMetadataRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Policy Non Compliance Metadata Request. + */ +public class DeviceManagementReportsGetPolicyNonComplianceMetadataRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetPolicyNonComplianceMetadata + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetPolicyNonComplianceMetadataRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataRequest 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 DeviceManagementReportsGetPolicyNonComplianceMetadataRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder.java new file mode 100644 index 00000000000..85cd2c99806 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetPolicyNonComplianceMetadataRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet; +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 Device Management Reports Get Policy Non Compliance Metadata Request Builder. + */ +public class DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetPolicyNonComplianceMetadata + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetPolicyNonComplianceMetadata + * + * @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 DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetPolicyNonComplianceMetadataRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetPolicyNonComplianceMetadataRequest instance + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetPolicyNonComplianceMetadataRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetPolicyNonComplianceMetadataRequest instance + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetPolicyNonComplianceMetadataRequest request = new DeviceManagementReportsGetPolicyNonComplianceMetadataRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceReportRequest.java new file mode 100644 index 00000000000..58b5d94dc2e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetPolicyNonComplianceReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Policy Non Compliance Report Request. + */ +public class DeviceManagementReportsGetPolicyNonComplianceReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetPolicyNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetPolicyNonComplianceReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetPolicyNonComplianceReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportRequest 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 DeviceManagementReportsGetPolicyNonComplianceReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder.java new file mode 100644 index 00000000000..a30fe5907e7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetPolicyNonComplianceReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceReportParameterSet; +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 Device Management Reports Get Policy Non Compliance Report Request Builder. + */ +public class DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetPolicyNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetPolicyNonComplianceReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetPolicyNonComplianceReport + * + * @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 DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetPolicyNonComplianceReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetPolicyNonComplianceReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetPolicyNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetPolicyNonComplianceReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetPolicyNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetPolicyNonComplianceReportRequest request = new DeviceManagementReportsGetPolicyNonComplianceReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest.java new file mode 100644 index 00000000000..db723320c94 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Policy Non Compliance Summary Report Request. + */ +public class DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetPolicyNonComplianceSummaryReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest 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 DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder.java new file mode 100644 index 00000000000..5a6dec9af9a --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet; +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 Device Management Reports Get Policy Non Compliance Summary Report Request Builder. + */ +public class DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetPolicyNonComplianceSummaryReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetPolicyNonComplianceSummaryReport + * + * @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 DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest request = new DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetReportFiltersRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetReportFiltersRequest.java new file mode 100644 index 00000000000..1c15b863641 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetReportFiltersRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetReportFiltersRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetReportFiltersParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Report Filters Request. + */ +public class DeviceManagementReportsGetReportFiltersRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetReportFilters + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetReportFiltersRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetReportFiltersParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersRequest 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 DeviceManagementReportsGetReportFiltersRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetReportFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetReportFiltersRequestBuilder.java new file mode 100644 index 00000000000..d888c7b1e40 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetReportFiltersRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetReportFiltersRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetReportFiltersParameterSet; +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 Device Management Reports Get Report Filters Request Builder. + */ +public class DeviceManagementReportsGetReportFiltersRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetReportFilters + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetReportFiltersRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetReportFiltersParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetReportFilters + * + * @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 DeviceManagementReportsGetReportFiltersRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetReportFiltersParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetReportFiltersRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetReportFiltersRequest instance + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetReportFiltersRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetReportFiltersRequest instance + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetReportFiltersRequest request = new DeviceManagementReportsGetReportFiltersRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetSettingNonComplianceReportRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetSettingNonComplianceReportRequest.java new file mode 100644 index 00000000000..a2547fd7130 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetSettingNonComplianceReportRequest.java @@ -0,0 +1,81 @@ +// Template Source: BaseMethodRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementReportsGetSettingNonComplianceReportRequest; + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.models.DeviceManagementReportsGetSettingNonComplianceReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Get Setting Non Compliance Report Request. + */ +public class DeviceManagementReportsGetSettingNonComplianceReportRequest extends BaseRequest { + /** + * The request for this DeviceManagementReportsGetSettingNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetSettingNonComplianceReportRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, java.io.InputStream.class); + } + + /** The body for the method */ + @Nullable + public DeviceManagementReportsGetSettingNonComplianceReportParameterSet body; + /** + * Invokes the method and returns a future with the result + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return sendAsync(HttpMethod.POST, body); + } + + /** + * Invokes the method and returns the result + * @return result of the method invocation + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + @Nullable + public java.io.InputStream post() throws ClientException { + return send(HttpMethod.POST, body); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportRequest 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 DeviceManagementReportsGetSettingNonComplianceReportRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder.java new file mode 100644 index 00000000000..c21e4cfa092 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder.java @@ -0,0 +1,74 @@ +// Template Source: BaseMethodRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; +import com.microsoft.graph.requests.DeviceManagementReportsGetSettingNonComplianceReportRequest; +import com.microsoft.graph.models.DeviceManagementReports; + +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetSettingNonComplianceReportParameterSet; +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 Device Management Reports Get Setting Non Compliance Report Request Builder. + */ +public class DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this DeviceManagementReportsGetSettingNonComplianceReport + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private DeviceManagementReportsGetSettingNonComplianceReportParameterSet body; + /** + * The request builder for this DeviceManagementReportsGetSettingNonComplianceReport + * + * @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 DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final DeviceManagementReportsGetSettingNonComplianceReportParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the DeviceManagementReportsGetSettingNonComplianceReportRequest + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetSettingNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the DeviceManagementReportsGetSettingNonComplianceReportRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the DeviceManagementReportsGetSettingNonComplianceReportRequest instance + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final DeviceManagementReportsGetSettingNonComplianceReportRequest request = new DeviceManagementReportsGetSettingNonComplianceReportRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsRequest.java new file mode 100644 index 00000000000..da41d81305c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsRequest.java @@ -0,0 +1,175 @@ +// Template Source: BaseEntityRequest.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionRequestBuilder; +import com.microsoft.graph.requests.DeviceManagementExportJobRequestBuilder; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequest; +import com.microsoft.graph.http.HttpMethod; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Request. + */ +public class DeviceManagementReportsRequest extends BaseRequest { + + /** + * The request for the DeviceManagementReports + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, DeviceManagementReports.class); + } + + /** + * Gets the DeviceManagementReports from the service + * + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture getAsync() { + return sendAsync(HttpMethod.GET, null); + } + + /** + * Gets the DeviceManagementReports from the service + * + * @return the DeviceManagementReports from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public DeviceManagementReports get() throws ClientException { + return send(HttpMethod.GET, null); + } + + /** + * Delete this item from the service + * + * @return a future with the deletion result + */ + @Nonnull + public java.util.concurrent.CompletableFuture deleteAsync() { + return sendAsync(HttpMethod.DELETE, null); + } + + /** + * Delete this item from the service + * @return the resulting response if the service returns anything on deletion + * + * @throws ClientException if there was an exception during the delete operation + */ + @Nullable + public DeviceManagementReports delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Patches this DeviceManagementReports with a source + * + * @param sourceDeviceManagementReports the source object with updates + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final DeviceManagementReports sourceDeviceManagementReports) { + return sendAsync(HttpMethod.PATCH, sourceDeviceManagementReports); + } + + /** + * Patches this DeviceManagementReports with a source + * + * @param sourceDeviceManagementReports the source object with updates + * @return the updated DeviceManagementReports + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public DeviceManagementReports patch(@Nonnull final DeviceManagementReports sourceDeviceManagementReports) throws ClientException { + return send(HttpMethod.PATCH, sourceDeviceManagementReports); + } + + /** + * Creates a DeviceManagementReports with a new object + * + * @param newDeviceManagementReports the new object to create + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final DeviceManagementReports newDeviceManagementReports) { + return sendAsync(HttpMethod.POST, newDeviceManagementReports); + } + + /** + * Creates a DeviceManagementReports with a new object + * + * @param newDeviceManagementReports the new object to create + * @return the created DeviceManagementReports + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public DeviceManagementReports post(@Nonnull final DeviceManagementReports newDeviceManagementReports) throws ClientException { + return send(HttpMethod.POST, newDeviceManagementReports); + } + + /** + * Creates a DeviceManagementReports with a new object + * + * @param newDeviceManagementReports the object to create/update + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture putAsync(@Nonnull final DeviceManagementReports newDeviceManagementReports) { + return sendAsync(HttpMethod.PUT, newDeviceManagementReports); + } + + /** + * Creates a DeviceManagementReports with a new object + * + * @param newDeviceManagementReports the object to create/update + * @return the created DeviceManagementReports + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public DeviceManagementReports put(@Nonnull final DeviceManagementReports newDeviceManagementReports) throws ClientException { + return send(HttpMethod.PUT, newDeviceManagementReports); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public DeviceManagementReportsRequest 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 DeviceManagementReportsRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} + diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsRequestBuilder.java new file mode 100644 index 00000000000..887473dcb2f --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementReportsRequestBuilder.java @@ -0,0 +1,246 @@ +// Template Source: BaseEntityRequestBuilder.java.tt +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.DeviceManagementReports; +import com.microsoft.graph.requests.DeviceManagementExportJobCollectionRequestBuilder; +import com.microsoft.graph.requests.DeviceManagementExportJobRequestBuilder; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseRequestBuilder; +import com.microsoft.graph.models.DeviceManagementReportsGetCachedReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetDeviceNonComplianceReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetHistoricalReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetReportFiltersParameterSet; +import com.microsoft.graph.models.DeviceManagementReportsGetSettingNonComplianceReportParameterSet; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Device Management Reports Request Builder. + */ +public class DeviceManagementReportsRequestBuilder extends BaseRequestBuilder { + + /** + * The request builder for the DeviceManagementReports + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public DeviceManagementReportsRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + + /** + * Creates the request + * + * @param requestOptions the options for this request + * @return the DeviceManagementReportsRequest instance + */ + @Nonnull + public DeviceManagementReportsRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the request with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for this request + * @return the DeviceManagementReportsRequest instance + */ + @Nonnull + public DeviceManagementReportsRequest buildRequest(@Nonnull final java.util.List requestOptions) { + return new com.microsoft.graph.requests.DeviceManagementReportsRequest(getRequestUrl(), getClient(), requestOptions); + } + + + /** + * Gets a request builder for the DeviceManagementExportJob collection + * + * @return the collection request builder + */ + @Nonnull + public DeviceManagementExportJobCollectionRequestBuilder exportJobs() { + return new DeviceManagementExportJobCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("exportJobs"), getClient(), null); + } + + /** + * Gets a request builder for the DeviceManagementExportJob item + * + * @return the request builder + * @param id the item identifier + */ + @Nonnull + public DeviceManagementExportJobRequestBuilder exportJobs(@Nonnull final String id) { + return new DeviceManagementExportJobRequestBuilder(getRequestUrlWithAdditionalSegment("exportJobs") + "/" + id, getClient(), null); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetCachedReportRequestBuilder getCachedReport(@Nonnull final DeviceManagementReportsGetCachedReportParameterSet parameters) { + return new DeviceManagementReportsGetCachedReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getCachedReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder getCompliancePolicyNonComplianceReport(@Nonnull final DeviceManagementReportsGetCompliancePolicyNonComplianceReportParameterSet parameters) { + return new DeviceManagementReportsGetCompliancePolicyNonComplianceReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getCompliancePolicyNonComplianceReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder getCompliancePolicyNonComplianceSummaryReport(@Nonnull final DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportParameterSet parameters) { + return new DeviceManagementReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getCompliancePolicyNonComplianceSummaryReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder getComplianceSettingNonComplianceReport(@Nonnull final DeviceManagementReportsGetComplianceSettingNonComplianceReportParameterSet parameters) { + return new DeviceManagementReportsGetComplianceSettingNonComplianceReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getComplianceSettingNonComplianceReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder getConfigurationPolicyNonComplianceReport(@Nonnull final DeviceManagementReportsGetConfigurationPolicyNonComplianceReportParameterSet parameters) { + return new DeviceManagementReportsGetConfigurationPolicyNonComplianceReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getConfigurationPolicyNonComplianceReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder getConfigurationPolicyNonComplianceSummaryReport(@Nonnull final DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportParameterSet parameters) { + return new DeviceManagementReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getConfigurationPolicyNonComplianceSummaryReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder getConfigurationSettingNonComplianceReport(@Nonnull final DeviceManagementReportsGetConfigurationSettingNonComplianceReportParameterSet parameters) { + return new DeviceManagementReportsGetConfigurationSettingNonComplianceReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getConfigurationSettingNonComplianceReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder getDeviceManagementIntentSettingsReport(@Nonnull final DeviceManagementReportsGetDeviceManagementIntentSettingsReportParameterSet parameters) { + return new DeviceManagementReportsGetDeviceManagementIntentSettingsReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getDeviceManagementIntentSettingsReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder getDeviceNonComplianceReport(@Nonnull final DeviceManagementReportsGetDeviceNonComplianceReportParameterSet parameters) { + return new DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getDeviceNonComplianceReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetHistoricalReportRequestBuilder getHistoricalReport(@Nonnull final DeviceManagementReportsGetHistoricalReportParameterSet parameters) { + return new DeviceManagementReportsGetHistoricalReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getHistoricalReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder getPolicyNonComplianceMetadata(@Nonnull final DeviceManagementReportsGetPolicyNonComplianceMetadataParameterSet parameters) { + return new DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getPolicyNonComplianceMetadata"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder getPolicyNonComplianceReport(@Nonnull final DeviceManagementReportsGetPolicyNonComplianceReportParameterSet parameters) { + return new DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getPolicyNonComplianceReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder getPolicyNonComplianceSummaryReport(@Nonnull final DeviceManagementReportsGetPolicyNonComplianceSummaryReportParameterSet parameters) { + return new DeviceManagementReportsGetPolicyNonComplianceSummaryReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getPolicyNonComplianceSummaryReport"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetReportFiltersRequestBuilder getReportFilters(@Nonnull final DeviceManagementReportsGetReportFiltersParameterSet parameters) { + return new DeviceManagementReportsGetReportFiltersRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getReportFilters"), getClient(), null, parameters); + } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder getSettingNonComplianceReport(@Nonnull final DeviceManagementReportsGetSettingNonComplianceReportParameterSet parameters) { + return new DeviceManagementReportsGetSettingNonComplianceReportRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getSettingNonComplianceReport"), getClient(), null, parameters); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementRequest.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementRequest.java index 711de1323e7..d903420adc0 100644 --- a/src/main/java/com/microsoft/graph/requests/DeviceManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementRequest.java @@ -55,6 +55,7 @@ import com.microsoft.graph.requests.RoleDefinitionRequestBuilder; import com.microsoft.graph.requests.RemoteAssistancePartnerCollectionRequestBuilder; import com.microsoft.graph.requests.RemoteAssistancePartnerRequestBuilder; +import com.microsoft.graph.requests.DeviceManagementReportsRequestBuilder; import com.microsoft.graph.requests.TelecomExpenseManagementPartnerCollectionRequestBuilder; import com.microsoft.graph.requests.TelecomExpenseManagementPartnerRequestBuilder; import com.microsoft.graph.requests.DeviceManagementTroubleshootingEventCollectionRequestBuilder; diff --git a/src/main/java/com/microsoft/graph/requests/DeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DeviceManagementRequestBuilder.java index c83235baaaa..f3f484c49ed 100644 --- a/src/main/java/com/microsoft/graph/requests/DeviceManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/DeviceManagementRequestBuilder.java @@ -55,6 +55,7 @@ import com.microsoft.graph.requests.RoleDefinitionRequestBuilder; import com.microsoft.graph.requests.RemoteAssistancePartnerCollectionRequestBuilder; import com.microsoft.graph.requests.RemoteAssistancePartnerRequestBuilder; +import com.microsoft.graph.requests.DeviceManagementReportsRequestBuilder; import com.microsoft.graph.requests.TelecomExpenseManagementPartnerCollectionRequestBuilder; import com.microsoft.graph.requests.TelecomExpenseManagementPartnerRequestBuilder; import com.microsoft.graph.requests.DeviceManagementTroubleshootingEventCollectionRequestBuilder; @@ -573,6 +574,16 @@ public RemoteAssistancePartnerCollectionRequestBuilder remoteAssistancePartners( public RemoteAssistancePartnerRequestBuilder remoteAssistancePartners(@Nonnull final String id) { return new RemoteAssistancePartnerRequestBuilder(getRequestUrlWithAdditionalSegment("remoteAssistancePartners") + "/" + id, getClient(), null); } + + /** + * Gets the request builder for DeviceManagementReports + * + * @return the DeviceManagementReportsRequestBuilder instance + */ + @Nonnull + public DeviceManagementReportsRequestBuilder reports() { + return new DeviceManagementReportsRequestBuilder(getRequestUrlWithAdditionalSegment("reports"), getClient(), null); + } /** * Gets a request builder for the TelecomExpenseManagementPartner collection * diff --git a/src/main/java/com/microsoft/graph/requests/EditionUpgradeConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/EditionUpgradeConfigurationRequestBuilder.java index 892f0dd3ecb..bfa7bdfef29 100644 --- a/src/main/java/com/microsoft/graph/requests/EditionUpgradeConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/EditionUpgradeConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/IosCertificateProfileRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/IosCertificateProfileRequestBuilder.java index a4a9d72ffc3..c279404e613 100644 --- a/src/main/java/com/microsoft/graph/requests/IosCertificateProfileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/IosCertificateProfileRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/IosCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/IosCustomConfigurationRequestBuilder.java index 0f3ef14313a..51f6ff37cd7 100644 --- a/src/main/java/com/microsoft/graph/requests/IosCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/IosCustomConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/IosDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/IosDeviceFeaturesConfigurationRequestBuilder.java index f589fba1561..1cbbf7731d9 100644 --- a/src/main/java/com/microsoft/graph/requests/IosDeviceFeaturesConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/IosDeviceFeaturesConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/IosGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/IosGeneralDeviceConfigurationRequestBuilder.java index d9c5c46595b..10fdc71682b 100644 --- a/src/main/java/com/microsoft/graph/requests/IosGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/IosGeneralDeviceConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionCollectionRequest.java index 42c0f9ac754..6bbb8f29d64 100644 --- a/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionCollectionRequest.java @@ -11,6 +11,7 @@ import com.microsoft.graph.models.IosManagedAppProtection; import com.microsoft.graph.models.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; diff --git a/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionCollectionRequestBuilder.java index 8e837f9460b..19b17b82c14 100644 --- a/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionCollectionRequestBuilder.java @@ -11,6 +11,7 @@ import com.microsoft.graph.models.IosManagedAppProtection; import com.microsoft.graph.models.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; @@ -23,6 +24,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.PrimitiveRequestBuilder; import com.microsoft.graph.models.TargetedManagedAppProtectionAssignParameterSet; +import com.microsoft.graph.models.TargetedManagedAppProtectionTargetAppsParameterSet; import com.microsoft.graph.models.ManagedAppProtectionTargetAppsParameterSet; import com.microsoft.graph.models.ManagedAppPolicyTargetAppsParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. diff --git a/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionRequest.java index f9fdd5e86a1..a99ebc2d31f 100644 --- a/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionRequest.java @@ -10,6 +10,7 @@ import com.microsoft.graph.models.IosManagedAppProtection; import com.microsoft.graph.models.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import com.microsoft.graph.requests.ManagedMobileAppCollectionRequestBuilder; import com.microsoft.graph.requests.ManagedMobileAppRequestBuilder; import com.microsoft.graph.requests.ManagedAppPolicyDeploymentSummaryRequestBuilder; diff --git a/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionRequestBuilder.java index f56b29b216e..4617c0e6910 100644 --- a/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/IosManagedAppProtectionRequestBuilder.java @@ -10,6 +10,7 @@ import com.microsoft.graph.models.IosManagedAppProtection; import com.microsoft.graph.models.TargetedManagedAppPolicyAssignment; import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; import com.microsoft.graph.requests.ManagedMobileAppCollectionRequestBuilder; import com.microsoft.graph.requests.ManagedMobileAppRequestBuilder; import com.microsoft.graph.requests.ManagedAppPolicyDeploymentSummaryRequestBuilder; @@ -20,6 +21,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.TargetedManagedAppProtectionAssignParameterSet; +import com.microsoft.graph.models.TargetedManagedAppProtectionTargetAppsParameterSet; import com.microsoft.graph.models.ManagedAppProtectionTargetAppsParameterSet; import com.microsoft.graph.models.ManagedAppPolicyTargetAppsParameterSet; @@ -131,7 +133,7 @@ public TargetedManagedAppProtectionAssignRequestBuilder assign(@Nonnull final Ta * @param parameters the parameters for the service method */ @Nonnull - public ManagedAppProtectionTargetAppsRequestBuilder targetApps(@Nonnull final ManagedAppProtectionTargetAppsParameterSet parameters) { - return new ManagedAppProtectionTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, parameters); + public TargetedManagedAppProtectionTargetAppsRequestBuilder targetApps(@Nonnull final TargetedManagedAppProtectionTargetAppsParameterSet parameters) { + return new TargetedManagedAppProtectionTargetAppsRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.targetApps"), getClient(), null, parameters); } } diff --git a/src/main/java/com/microsoft/graph/requests/IosUpdateConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/IosUpdateConfigurationRequestBuilder.java index 6286ba5e1f9..cfa7cd34103 100644 --- a/src/main/java/com/microsoft/graph/requests/IosUpdateConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/IosUpdateConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/MacOSCustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/MacOSCustomConfigurationRequestBuilder.java index b9be7306d02..8669677df73 100644 --- a/src/main/java/com/microsoft/graph/requests/MacOSCustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/MacOSCustomConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/MacOSDeviceFeaturesConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/MacOSDeviceFeaturesConfigurationRequestBuilder.java index 36805960266..cd55874edbc 100644 --- a/src/main/java/com/microsoft/graph/requests/MacOSDeviceFeaturesConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/MacOSDeviceFeaturesConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/MacOSGeneralDeviceConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/MacOSGeneralDeviceConfigurationRequestBuilder.java index 4f8f1b1c016..4fcaefeb1f9 100644 --- a/src/main/java/com/microsoft/graph/requests/MacOSGeneralDeviceConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/MacOSGeneralDeviceConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/RoleManagementRequest.java b/src/main/java/com/microsoft/graph/requests/RoleManagementRequest.java index 7c32533f02a..c66dd562d6b 100644 --- a/src/main/java/com/microsoft/graph/requests/RoleManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/RoleManagementRequest.java @@ -8,6 +8,7 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.RoleManagement; +import com.microsoft.graph.requests.RbacApplicationRequestBuilder; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; diff --git a/src/main/java/com/microsoft/graph/requests/RoleManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/RoleManagementRequestBuilder.java index 6d6e5fefd18..3213cc39201 100644 --- a/src/main/java/com/microsoft/graph/requests/RoleManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/RoleManagementRequestBuilder.java @@ -8,6 +8,7 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.RoleManagement; +import com.microsoft.graph.requests.RbacApplicationRequestBuilder; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; @@ -56,4 +57,14 @@ public RoleManagementRequest buildRequest(@Nonnull final java.util.List { + /** + * The request for this TargetedManagedAppProtectionTargetApps + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public TargetedManagedAppProtectionTargetAppsRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, Void.class); + } + + /** The body for the method */ + @Nullable + public TargetedManagedAppProtectionTargetAppsParameterSet body; + /** + * Creates the TargetedManagedAppProtectionTargetApps + * + * @return a future for the operation + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync() { + return this.sendAsync(HttpMethod.POST, body); + } + + /** + * Creates the TargetedManagedAppProtectionTargetApps + * + * @throws ClientException an exception occurs if there was an error while the request was sent + */ + public void post() throws ClientException { + this.send(HttpMethod.POST, body); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/TargetedManagedAppProtectionTargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/TargetedManagedAppProtectionTargetAppsRequestBuilder.java new file mode 100644 index 00000000000..ed1f14df8ad --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/TargetedManagedAppProtectionTargetAppsRequestBuilder.java @@ -0,0 +1,75 @@ +// 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.TargetedManagedAppProtectionTargetAppsRequest; +import com.microsoft.graph.models.TargetedManagedAppProtection; +import com.microsoft.graph.models.ManagedMobileApp; +import com.microsoft.graph.models.TargetedManagedAppGroupType; +import com.microsoft.graph.http.BaseActionRequestBuilder; +import com.microsoft.graph.models.TargetedManagedAppProtectionTargetAppsParameterSet; +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 Targeted Managed App Protection Target Apps Request Builder. + */ +public class TargetedManagedAppProtectionTargetAppsRequestBuilder extends BaseActionRequestBuilder { + + /** + * The request builder for this TargetedManagedAppProtectionTargetApps + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public TargetedManagedAppProtectionTargetAppsRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + private TargetedManagedAppProtectionTargetAppsParameterSet body; + /** + * The request builder for this TargetedManagedAppProtectionTargetApps + * + * @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 TargetedManagedAppProtectionTargetAppsRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions, @Nonnull final TargetedManagedAppProtectionTargetAppsParameterSet parameters) { + super(requestUrl, client, requestOptions); + this.body = parameters; + } + + /** + * Creates the TargetedManagedAppProtectionTargetAppsRequest + * + * @param requestOptions the options for the request + * @return the TargetedManagedAppProtectionTargetAppsRequest instance + */ + @Nonnull + public TargetedManagedAppProtectionTargetAppsRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) { + return buildRequest(getOptions(requestOptions)); + } + + /** + * Creates the TargetedManagedAppProtectionTargetAppsRequest with specific requestOptions instead of the existing requestOptions + * + * @param requestOptions the options for the request + * @return the TargetedManagedAppProtectionTargetAppsRequest instance + */ + @Nonnull + public TargetedManagedAppProtectionTargetAppsRequest buildRequest(@Nonnull final java.util.List requestOptions) { + final TargetedManagedAppProtectionTargetAppsRequest request = new TargetedManagedAppProtectionTargetAppsRequest( + getRequestUrl(), + getClient(), + requestOptions); + request.body = this.body; + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/Windows10CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/Windows10CustomConfigurationRequestBuilder.java index 3afc787eb4c..cdd02e0cae5 100644 --- a/src/main/java/com/microsoft/graph/requests/Windows10CustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/Windows10CustomConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/Windows10EndpointProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/Windows10EndpointProtectionConfigurationRequestBuilder.java index 5a6c4d7c04b..4eb0753d5be 100644 --- a/src/main/java/com/microsoft/graph/requests/Windows10EndpointProtectionConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/Windows10EndpointProtectionConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/Windows10EnterpriseModernAppManagementConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/Windows10EnterpriseModernAppManagementConfigurationRequestBuilder.java index bea25c44fe9..6965b1a9e2d 100644 --- a/src/main/java/com/microsoft/graph/requests/Windows10EnterpriseModernAppManagementConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/Windows10EnterpriseModernAppManagementConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/Windows10GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/Windows10GeneralConfigurationRequestBuilder.java index 3466a571d8d..7887c9ee55e 100644 --- a/src/main/java/com/microsoft/graph/requests/Windows10GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/Windows10GeneralConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/Windows10SecureAssessmentConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/Windows10SecureAssessmentConfigurationRequestBuilder.java index 9aaff5b1d46..631e1feb1c0 100644 --- a/src/main/java/com/microsoft/graph/requests/Windows10SecureAssessmentConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/Windows10SecureAssessmentConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/Windows10TeamGeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/Windows10TeamGeneralConfigurationRequestBuilder.java index c1d9015e065..7660c4ac96c 100644 --- a/src/main/java/com/microsoft/graph/requests/Windows10TeamGeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/Windows10TeamGeneralConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/Windows81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/Windows81GeneralConfigurationRequestBuilder.java index 3c9f53e7a1c..1319a75913c 100644 --- a/src/main/java/com/microsoft/graph/requests/Windows81GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/Windows81GeneralConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java index 20f6c11fa0b..4c5bf4e310b 100644 --- a/src/main/java/com/microsoft/graph/requests/WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/WindowsDefenderAdvancedThreatProtectionConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/WindowsPhone81CustomConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WindowsPhone81CustomConfigurationRequestBuilder.java index 878dc4c5e0e..1c1194b326b 100644 --- a/src/main/java/com/microsoft/graph/requests/WindowsPhone81CustomConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/WindowsPhone81CustomConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/WindowsPhone81GeneralConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WindowsPhone81GeneralConfigurationRequestBuilder.java index 25a74400d0b..c6fa1c18f34 100644 --- a/src/main/java/com/microsoft/graph/requests/WindowsPhone81GeneralConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/WindowsPhone81GeneralConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } diff --git a/src/main/java/com/microsoft/graph/requests/WindowsUpdateForBusinessConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WindowsUpdateForBusinessConfigurationRequestBuilder.java index 0f299e2de67..0f604df8a22 100644 --- a/src/main/java/com/microsoft/graph/requests/WindowsUpdateForBusinessConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/WindowsUpdateForBusinessConfigurationRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.BaseRequestBuilder; import com.microsoft.graph.models.DeviceConfigurationAssignParameterSet; +import com.microsoft.graph.models.DeviceConfigurationGetOmaSettingPlainTextValueParameterSet; // **NOTE** This file was generated by a tool and any changes will be overwritten. @@ -168,4 +169,14 @@ public DeviceConfigurationUserOverviewRequestBuilder userStatusOverview() { public DeviceConfigurationAssignCollectionRequestBuilder assign(@Nonnull final DeviceConfigurationAssignParameterSet parameters) { return new DeviceConfigurationAssignCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.assign"), getClient(), null, parameters); } + + /** + * Gets a builder to execute the method + * @return the request builder + * @param parameters the parameters for the service method + */ + @Nonnull + public DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder getOmaSettingPlainTextValue(@Nonnull final DeviceConfigurationGetOmaSettingPlainTextValueParameterSet parameters) { + return new DeviceConfigurationGetOmaSettingPlainTextValueRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getOmaSettingPlainTextValue"), getClient(), null, parameters); + } } From 629ab129ee34475f3886764169112e4315db5047 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Tue, 10 Aug 2021 10:43:25 -0700 Subject: [PATCH 2/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0063d50da61..bd325c17138 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:4.3.0' + implementation 'com.microsoft.graph:microsoft-graph:5.0.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 From 20a98827fd7654fb559f37cb8283c65ba151d07d Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Tue, 10 Aug 2021 10:44:30 -0700 Subject: [PATCH 3/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd325c17138..b1077e3358b 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml com.microsoft.graph microsoft-graph - 4.3.0 + 5.0.0 From d4cec2fd680dfd8a976e830fe264c0f0b8c37400 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Tue, 10 Aug 2021 10:45:08 -0700 Subject: [PATCH 4/8] Update README.md --- README.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/README.md b/README.md index b1077e3358b..00ad05bc935 100644 --- a/README.md +++ b/README.md @@ -135,16 +135,3 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI ## 9. Third-party notices [Third-party notices](THIRD%20PARTY%20NOTICES) - - - - - - - - - - - - - From 82c8a32e8626b2cfaf91e4574196e572b9671a91 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Tue, 10 Aug 2021 10:46:29 -0700 Subject: [PATCH 5/8] Update gradle.properties --- gradle.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index ad3913420e6..b22536b75fd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,8 +25,8 @@ org.gradle.caching=true mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph -mavenMajorVersion = 4 -mavenMinorVersion = 3 +mavenMajorVersion = 5 +mavenMinorVersion = 0 mavenPatchVersion = 0 mavenArtifactSuffix = From 60e8777133086c5f195dc7878c3f1d163f547838 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Tue, 10 Aug 2021 13:53:34 -0400 Subject: [PATCH 6/8] - adds upgrade guides for v4 and v5 --- docs/upgrade-to-v4.md | 15 +++++++++++++++ docs/upgrade-to-v5.md | 11 +++++++++++ 2 files changed, 26 insertions(+) create mode 100644 docs/upgrade-to-v4.md create mode 100644 docs/upgrade-to-v5.md diff --git a/docs/upgrade-to-v4.md b/docs/upgrade-to-v4.md new file mode 100644 index 00000000000..52cfe349678 --- /dev/null +++ b/docs/upgrade-to-v4.md @@ -0,0 +1,15 @@ +# Microsoft Graph Java SDK v4 changelog and upgrade guide + +Welcome to the Microsoft Graph Java SDK migration guide to v4. The purpose of this document is to list out any breaking change and migration work SDK users might run into while upgrading to the latest version of the SDK. + +## Upgrade guide for breaking changes + +### IdentitySet replaced by specialized types for Microsoft Teams APIs + +The `IdentitySet` type has been replaced by specialized types inheriting from it and exposing more information for the Microsoft Teams APIs. + +- The `ChatMessage.from` property is now of type `ChatMessageFromIdentitySet` +- The `ChatMessageMention.mentioned` property is now of type `ChatMessageMentionedIdentitySet` +- The `ChatMessageReaction.user` property is now of type `ChatMessageReactionIdentitySet` + +If your application is reading/assigning the above-mentioned properties, you need to update the code to reference these new types instead. If your application was using the `additionalData` property to read any property that is now available on the new types, update the code to use these new properties instead. diff --git a/docs/upgrade-to-v5.md b/docs/upgrade-to-v5.md new file mode 100644 index 00000000000..d4e30050155 --- /dev/null +++ b/docs/upgrade-to-v5.md @@ -0,0 +1,11 @@ +# Microsoft Graph Java SDK v5 changelog and upgrade guide + +Welcome to the Microsoft Graph Java SDK migration guide to v5. The purpose of this document is to list out any breaking change and migration work SDK users might run into while upgrading to the latest version of the SDK. + +## Upgrade guide for breaking changes + +### ManagedAppProtection replaced by TargetedManagedAppProtection for some Security APIs + +The `ManagedAppProtection` type used for the `targetApps` action as a parameter has been replaced by a new `TargetedManagedAppProtection` type that inherits from it and exposes new properties. + +If your application is using the above-mentioned type, you need to update the code to reference the new type instead. If your application was using the `additionalData` property to read any property that is now available on the new type, update the code to use these new properties instead. From c8d4a1f8e43ab61c5f5e9919f4d78b3bcc95fe73 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Tue, 10 Aug 2021 11:20:50 -0700 Subject: [PATCH 7/8] Update Constants.java --- src/main/java/com/microsoft/graph/info/Constants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java index 73fc5e461fa..25b87d4dc93 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 = "4.3.0"; + public static final String VERSION_NAME = "5.0.0"; } From 94728795b0e3e8e0fc889e99b652028be2d438e3 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Tue, 10 Aug 2021 11:23:49 -0700 Subject: [PATCH 8/8] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 94b90d5c57f..f46d04a8a8f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ as the dependency graph is not compatible with gradle https://docs.github.com/en/free-pro-team@latest/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems build.gradle is the source of truth --> - 4.0.0 + 5.0.0 com.microsoft.graph microsoft-graph @@ -50,4 +50,4 @@ test - \ No newline at end of file +