diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java index 502733139e4..2609d8c8b47 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java @@ -60,19 +60,21 @@ public ConfigurationSnapshotsRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * A container for configuration snapshot baselines. + * Get a list of configurationBaseline objects that represent configuration snapshots and their properties. * @return a {@link ConfigurationBaselineCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public ConfigurationBaselineCollectionResponse get() { return get(null); } /** - * A container for configuration snapshot baselines. + * Get a list of configurationBaseline objects that represent configuration snapshots and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConfigurationBaselineCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public ConfigurationBaselineCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +109,7 @@ public ConfigurationBaseline post(@jakarta.annotation.Nonnull final Configuratio return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue); } /** - * A container for configuration snapshot baselines. + * Get a list of configurationBaseline objects that represent configuration snapshots and their properties. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * A container for configuration snapshot baselines. + * Get a list of configurationBaseline objects that represent configuration snapshots and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +163,7 @@ public ConfigurationSnapshotsRequestBuilder withUrl(@jakarta.annotation.Nonnull return new ConfigurationSnapshotsRequestBuilder(rawUrl, requestAdapter); } /** - * A container for configuration snapshot baselines. + * Get a list of configurationBaseline objects that represent configuration snapshots and their properties. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java index bc96826c695..11aaea7d7b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item; +import com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.reupload.ReuploadRequestBuilder; import com.microsoft.graph.beta.models.CloudPcDeviceImage; import com.microsoft.graph.beta.models.odataerrors.ODataError; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class CloudPcDeviceImageItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the retryUpload method. + * @return a {@link RetryUploadRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RetryUploadRequestBuilder retryUpload() { + return new RetryUploadRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the reupload method. * @return a {@link ReuploadRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/retryupload/RetryUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/retryupload/RetryUploadRequestBuilder.java new file mode 100644 index 00000000000..b923e7b3666 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/retryupload/RetryUploadRequestBuilder.java @@ -0,0 +1,93 @@ +package com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the retryUpload method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RetryUploadRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RetryUploadRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RetryUploadRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}/retryUpload", pathParameters); + } + /** + * Instantiates a new {@link RetryUploadRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RetryUploadRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}/retryUpload", rawUrl); + } + /** + * Retry the upload of a cloudPcDeviceImage object that previously failed. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post() { + post(null); + } + /** + * Retry the upload of a cloudPcDeviceImage object that previously failed. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Retry the upload of a cloudPcDeviceImage object that previously failed. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Retry the upload of a cloudPcDeviceImage object that previously failed. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RetryUploadRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RetryUploadRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RetryUploadRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/reupload/ReuploadRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/reupload/ReuploadRequestBuilder.java index e9e3eaebafe..b5a4b98c18b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/reupload/ReuploadRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/reupload/ReuploadRequestBuilder.java @@ -37,8 +37,11 @@ public ReuploadRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Reupload a cloudPcDeviceImage object that failed to upload. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Reupload a cloudPcDeviceImage object that failed to upload. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Reupload a cloudPcDeviceImage object that failed to upload. * @return a {@link RequestInformation} + * @deprecated + * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Reupload a cloudPcDeviceImage object that failed to upload. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReuploadRequestBuilder} + * @deprecated + * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25 */ @jakarta.annotation.Nonnull + @Deprecated public ReuploadRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReuploadRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java index 6df3e51197e..856b5552725 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java @@ -43,10 +43,7 @@ public class ReportsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the exportJobs property of the microsoft.graph.cloudPcReports entity. * @return a {@link ExportJobsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public ExportJobsRequestBuilder exportJobs() { return new ExportJobsRequestBuilder(pathParameters, requestAdapter); @@ -54,10 +51,7 @@ public ExportJobsRequestBuilder exportJobs() { /** * Provides operations to call the getActionStatusReports method. * @return a {@link GetActionStatusReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetActionStatusReportsRequestBuilder getActionStatusReports() { return new GetActionStatusReportsRequestBuilder(pathParameters, requestAdapter); @@ -65,10 +59,7 @@ public GetActionStatusReportsRequestBuilder getActionStatusReports() { /** * Provides operations to call the getCloudPcPerformanceReport method. * @return a {@link GetCloudPcPerformanceReportRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetCloudPcPerformanceReportRequestBuilder getCloudPcPerformanceReport() { return new GetCloudPcPerformanceReportRequestBuilder(pathParameters, requestAdapter); @@ -76,10 +67,7 @@ public GetCloudPcPerformanceReportRequestBuilder getCloudPcPerformanceReport() { /** * Provides operations to call the getCloudPcRecommendationReports method. * @return a {@link GetCloudPcRecommendationReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetCloudPcRecommendationReportsRequestBuilder getCloudPcRecommendationReports() { return new GetCloudPcRecommendationReportsRequestBuilder(pathParameters, requestAdapter); @@ -87,10 +75,7 @@ public GetCloudPcRecommendationReportsRequestBuilder getCloudPcRecommendationRep /** * Provides operations to call the getConnectionQualityReports method. * @return a {@link GetConnectionQualityReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetConnectionQualityReportsRequestBuilder getConnectionQualityReports() { return new GetConnectionQualityReportsRequestBuilder(pathParameters, requestAdapter); @@ -98,10 +83,7 @@ public GetConnectionQualityReportsRequestBuilder getConnectionQualityReports() { /** * Provides operations to call the getDailyAggregatedRemoteConnectionReports method. * @return a {@link GetDailyAggregatedRemoteConnectionReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetDailyAggregatedRemoteConnectionReportsRequestBuilder getDailyAggregatedRemoteConnectionReports() { return new GetDailyAggregatedRemoteConnectionReportsRequestBuilder(pathParameters, requestAdapter); @@ -109,10 +91,7 @@ public GetDailyAggregatedRemoteConnectionReportsRequestBuilder getDailyAggregate /** * Provides operations to call the getFrontlineReport method. * @return a {@link GetFrontlineReportRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetFrontlineReportRequestBuilder getFrontlineReport() { return new GetFrontlineReportRequestBuilder(pathParameters, requestAdapter); @@ -120,10 +99,7 @@ public GetFrontlineReportRequestBuilder getFrontlineReport() { /** * Provides operations to call the getInaccessibleCloudPcReports method. * @return a {@link GetInaccessibleCloudPcReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetInaccessibleCloudPcReportsRequestBuilder getInaccessibleCloudPcReports() { return new GetInaccessibleCloudPcReportsRequestBuilder(pathParameters, requestAdapter); @@ -131,10 +107,7 @@ public GetInaccessibleCloudPcReportsRequestBuilder getInaccessibleCloudPcReports /** * Provides operations to call the getRawRemoteConnectionReports method. * @return a {@link GetRawRemoteConnectionReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetRawRemoteConnectionReportsRequestBuilder getRawRemoteConnectionReports() { return new GetRawRemoteConnectionReportsRequestBuilder(pathParameters, requestAdapter); @@ -142,10 +115,7 @@ public GetRawRemoteConnectionReportsRequestBuilder getRawRemoteConnectionReports /** * Provides operations to call the getRemoteConnectionHistoricalReports method. * @return a {@link GetRemoteConnectionHistoricalReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetRemoteConnectionHistoricalReportsRequestBuilder getRemoteConnectionHistoricalReports() { return new GetRemoteConnectionHistoricalReportsRequestBuilder(pathParameters, requestAdapter); @@ -153,10 +123,7 @@ public GetRemoteConnectionHistoricalReportsRequestBuilder getRemoteConnectionHis /** * Provides operations to call the getTotalAggregatedRemoteConnectionReports method. * @return a {@link GetTotalAggregatedRemoteConnectionReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public GetTotalAggregatedRemoteConnectionReportsRequestBuilder getTotalAggregatedRemoteConnectionReports() { return new GetTotalAggregatedRemoteConnectionReportsRequestBuilder(pathParameters, requestAdapter); @@ -164,10 +131,7 @@ public GetTotalAggregatedRemoteConnectionReportsRequestBuilder getTotalAggregate /** * Provides operations to call the retrieveBulkActionStatusReport method. * @return a {@link RetrieveBulkActionStatusReportRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public RetrieveBulkActionStatusReportRequestBuilder retrieveBulkActionStatusReport() { return new RetrieveBulkActionStatusReportRequestBuilder(pathParameters, requestAdapter); @@ -175,10 +139,7 @@ public RetrieveBulkActionStatusReportRequestBuilder retrieveBulkActionStatusRepo /** * Provides operations to call the retrieveCloudPcRecommendationReports method. * @return a {@link RetrieveCloudPcRecommendationReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public RetrieveCloudPcRecommendationReportsRequestBuilder retrieveCloudPcRecommendationReports() { return new RetrieveCloudPcRecommendationReportsRequestBuilder(pathParameters, requestAdapter); @@ -186,10 +147,7 @@ public RetrieveCloudPcRecommendationReportsRequestBuilder retrieveCloudPcRecomme /** * Provides operations to call the retrieveCloudPcTenantMetricsReport method. * @return a {@link RetrieveCloudPcTenantMetricsReportRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public RetrieveCloudPcTenantMetricsReportRequestBuilder retrieveCloudPcTenantMetricsReport() { return new RetrieveCloudPcTenantMetricsReportRequestBuilder(pathParameters, requestAdapter); @@ -197,10 +155,7 @@ public RetrieveCloudPcTenantMetricsReportRequestBuilder retrieveCloudPcTenantMet /** * Provides operations to call the retrieveCloudPcTroubleshootReports method. * @return a {@link RetrieveCloudPcTroubleshootReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public RetrieveCloudPcTroubleshootReportsRequestBuilder retrieveCloudPcTroubleshootReports() { return new RetrieveCloudPcTroubleshootReportsRequestBuilder(pathParameters, requestAdapter); @@ -208,10 +163,7 @@ public RetrieveCloudPcTroubleshootReportsRequestBuilder retrieveCloudPcTroublesh /** * Provides operations to call the retrieveConnectionQualityReports method. * @return a {@link RetrieveConnectionQualityReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public RetrieveConnectionQualityReportsRequestBuilder retrieveConnectionQualityReports() { return new RetrieveConnectionQualityReportsRequestBuilder(pathParameters, requestAdapter); @@ -219,10 +171,7 @@ public RetrieveConnectionQualityReportsRequestBuilder retrieveConnectionQualityR /** * Provides operations to call the retrieveCrossRegionDisasterRecoveryReport method. * @return a {@link RetrieveCrossRegionDisasterRecoveryReportRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public RetrieveCrossRegionDisasterRecoveryReportRequestBuilder retrieveCrossRegionDisasterRecoveryReport() { return new RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(pathParameters, requestAdapter); @@ -230,10 +179,7 @@ public RetrieveCrossRegionDisasterRecoveryReportRequestBuilder retrieveCrossRegi /** * Provides operations to call the retrieveFrontlineReports method. * @return a {@link RetrieveFrontlineReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public RetrieveFrontlineReportsRequestBuilder retrieveFrontlineReports() { return new RetrieveFrontlineReportsRequestBuilder(pathParameters, requestAdapter); @@ -257,10 +203,7 @@ public ReportsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * Delete navigation property reports for deviceManagement * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated public void delete() { delete(null); } @@ -268,10 +211,7 @@ public void delete() { * Delete navigation property reports for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -282,11 +222,8 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Cloud PC-related reports. * @return a {@link CloudPcReports} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public CloudPcReports get() { return get(null); } @@ -295,11 +232,8 @@ public CloudPcReports get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcReports} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public CloudPcReports get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -310,11 +244,8 @@ public CloudPcReports get(@jakarta.annotation.Nullable final java.util.function. * Provides operations to call the getRealTimeRemoteConnectionLatency method. * @param cloudPcId Usage: cloudPcId='{cloudPcId}' * @return a {@link GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder getRealTimeRemoteConnectionLatencyWithCloudPcId(@jakarta.annotation.Nonnull final String cloudPcId) { Objects.requireNonNull(cloudPcId); return new GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder(pathParameters, requestAdapter, cloudPcId); @@ -323,11 +254,8 @@ public GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder getRealTime * Provides operations to call the getRealTimeRemoteConnectionStatus method. * @param cloudPcId Usage: cloudPcId='{cloudPcId}' * @return a {@link GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder getRealTimeRemoteConnectionStatusWithCloudPcId(@jakarta.annotation.Nonnull final String cloudPcId) { Objects.requireNonNull(cloudPcId); return new GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder(pathParameters, requestAdapter, cloudPcId); @@ -337,11 +265,8 @@ public GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder getRealTimeR * @param body The request body * @return a {@link CloudPcReports} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public CloudPcReports patch(@jakarta.annotation.Nonnull final CloudPcReports body) { return patch(body, null); } @@ -351,11 +276,8 @@ public CloudPcReports patch(@jakarta.annotation.Nonnull final CloudPcReports bod * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcReports} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public CloudPcReports patch(@jakarta.annotation.Nonnull final CloudPcReports body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -366,11 +288,8 @@ public CloudPcReports patch(@jakarta.annotation.Nonnull final CloudPcReports bod /** * Delete navigation property reports for deviceManagement * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -378,11 +297,8 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property reports for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -392,11 +308,8 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Cloud PC-related reports. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -404,11 +317,8 @@ public RequestInformation toGetRequestInformation() { * Cloud PC-related reports. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -419,11 +329,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property reports in deviceManagement * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcReports body) { return toPatchRequestInformation(body, null); } @@ -432,11 +339,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcReports body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -449,11 +353,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public ReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java index 46c608bc269..18b2f4b169c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java @@ -26,10 +26,7 @@ public class ExportJobsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -38,11 +35,8 @@ public CountRequestBuilder count() { * Provides operations to manage the exportJobs property of the microsoft.graph.cloudPcReports entity. * @param cloudPcExportJobId The unique identifier of cloudPcExportJob * @return a {@link CloudPcExportJobItemRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public CloudPcExportJobItemRequestBuilder byCloudPcExportJobId(@jakarta.annotation.Nonnull final String cloudPcExportJobId) { Objects.requireNonNull(cloudPcExportJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -69,11 +63,8 @@ public ExportJobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @return a {@link CloudPcExportJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public CloudPcExportJobCollectionResponse get() { return get(null); } @@ -82,11 +73,8 @@ public CloudPcExportJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcExportJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public CloudPcExportJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -98,12 +86,9 @@ public CloudPcExportJobCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link CloudPcExportJob} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob body) { return post(body, null); } @@ -113,12 +98,9 @@ public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcExportJob} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,11 +111,8 @@ public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob /** * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -141,11 +120,8 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,11 +132,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report finishes downloading to the location specified by the exportUrl property. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body) { return toPostRequestInformation(body, null); } @@ -169,11 +142,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -186,11 +156,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExportJobsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public ExportJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExportJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/count/CountRequestBuilder.java index bdec627f9f1..1447757d908 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/count/CountRequestBuilder.java @@ -39,11 +39,8 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public Integer get() { return get(null); } @@ -52,11 +49,8 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -66,11 +60,8 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -78,11 +69,8 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -93,11 +81,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java index 576631cfc1e..790e2e9ee87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java @@ -39,10 +39,7 @@ public CloudPcExportJobItemRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property exportJobs for deviceManagement * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated public void delete() { delete(null); } @@ -50,10 +47,7 @@ public void delete() { * Delete navigation property exportJobs for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ - @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,12 +58,9 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @return a {@link CloudPcExportJob} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public CloudPcExportJob get() { return get(null); } @@ -78,12 +69,9 @@ public CloudPcExportJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcExportJob} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public CloudPcExportJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -95,11 +83,8 @@ public CloudPcExportJob get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link CloudPcExportJob} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public CloudPcExportJob patch(@jakarta.annotation.Nonnull final CloudPcExportJob body) { return patch(body, null); } @@ -109,11 +94,8 @@ public CloudPcExportJob patch(@jakarta.annotation.Nonnull final CloudPcExportJob * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcExportJob} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public CloudPcExportJob patch(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -124,11 +106,8 @@ public CloudPcExportJob patch(@jakarta.annotation.Nonnull final CloudPcExportJob /** * Delete navigation property exportJobs for deviceManagement * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -136,11 +115,8 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property exportJobs for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -150,11 +126,8 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,11 +135,8 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -177,11 +147,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property exportJobs in deviceManagement * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body) { return toPatchRequestInformation(body, null); } @@ -190,11 +157,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -207,11 +171,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CloudPcExportJobItemRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public CloudPcExportJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CloudPcExportJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getactionstatusreports/GetActionStatusReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getactionstatusreports/GetActionStatusReportsRequestBuilder.java index 30f3382e64e..dab750fdb0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getactionstatusreports/GetActionStatusReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getactionstatusreports/GetActionStatusReportsRequestBuilder.java @@ -40,12 +40,9 @@ public GetActionStatusReportsRequestBuilder(@jakarta.annotation.Nonnull final St * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetActionStatusReportsPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetActionStatusReports * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetActionStatusReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetActionStatusReports * Get the remote action status reports, including data such as the Cloud PC ID, Cloud PC device display name, initiating user's principal name, device owner's user principal name, action taken, and action state. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetActionStatusReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetActionStatusReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetActionStatusReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetActionStatusReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetActionStatusReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcperformancereport/GetCloudPcPerformanceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcperformancereport/GetCloudPcPerformanceReportRequestBuilder.java index 0f4d9001ef7..00fa32b9b43 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcperformancereport/GetCloudPcPerformanceReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcperformancereport/GetCloudPcPerformanceReportRequestBuilder.java @@ -41,7 +41,7 @@ public GetCloudPcPerformanceReportRequestBuilder(@jakarta.annotation.Nonnull fin * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31 * @see Find more info here */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcPerformanceR * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31 * @see Find more info here */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcPerformanceR * @param body The request body * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated @@ -86,7 +86,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated @@ -103,7 +103,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetCloudPcPerformanceReportRequestBuilder} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java index 60991aad6ab..fd18bb92d97 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java @@ -41,7 +41,7 @@ public GetCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.Nonnull * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 * @see Find more info here */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendati * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 * @see Find more info here */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendati * @param body The request body * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 */ @jakarta.annotation.Nonnull @Deprecated @@ -86,7 +86,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 */ @jakarta.annotation.Nonnull @Deprecated @@ -103,7 +103,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetCloudPcRecommendationReportsRequestBuilder} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getconnectionqualityreports/GetConnectionQualityReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getconnectionqualityreports/GetConnectionQualityReportsRequestBuilder.java index a7fc76ea084..986d8e02897 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getconnectionqualityreports/GetConnectionQualityReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getconnectionqualityreports/GetConnectionQualityReportsRequestBuilder.java @@ -41,7 +41,7 @@ public GetConnectionQualityReportsRequestBuilder(@jakarta.annotation.Nonnull fin * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31 * @see Find more info here */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetConnectionQualityRe * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31 * @see Find more info here */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetConnectionQualityRe * @param body The request body * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated @@ -86,7 +86,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated @@ -103,7 +103,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetConnectionQualityReportsRequestBuilder} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports/GetDailyAggregatedRemoteConnectionReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports/GetDailyAggregatedRemoteConnectionReportsRequestBuilder.java index 644d849b90f..406111c445e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports/GetDailyAggregatedRemoteConnectionReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports/GetDailyAggregatedRemoteConnectionReportsRequestBuilder.java @@ -40,12 +40,9 @@ public GetDailyAggregatedRemoteConnectionReportsRequestBuilder(@jakarta.annotati * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetDailyAggregatedRemoteConnectionReportsPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetDailyAggregatedRemo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetDailyAggregatedRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetDailyAggregatedRemo * Get the daily aggregated remote connection reports, such as round trip time, available bandwidth, and so on, in a given period. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetDailyAggregatedRemoteConnectionReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetDailyAggregatedRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetDailyAggregatedRemoteConnectionReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetDailyAggregatedRemoteConnectionReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetDailyAggregatedRemoteConnectionReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getfrontlinereport/GetFrontlineReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getfrontlinereport/GetFrontlineReportRequestBuilder.java index 64ed21cdc71..6734f45ac26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getfrontlinereport/GetFrontlineReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getfrontlinereport/GetFrontlineReportRequestBuilder.java @@ -41,7 +41,7 @@ public GetFrontlineReportRequestBuilder(@jakarta.annotation.Nonnull final String * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31 * @see Find more info here */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetFrontlineReportPost * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31 * @see Find more info here */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetFrontlineReportPost * @param body The request body * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated @@ -86,7 +86,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated @@ -103,7 +103,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetFrontlineReportRequestBuilder} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getinaccessiblecloudpcreports/GetInaccessibleCloudPcReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getinaccessiblecloudpcreports/GetInaccessibleCloudPcReportsRequestBuilder.java index c046fc0f898..2bca350475d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getinaccessiblecloudpcreports/GetInaccessibleCloudPcReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getinaccessiblecloudpcreports/GetInaccessibleCloudPcReportsRequestBuilder.java @@ -40,12 +40,9 @@ public GetInaccessibleCloudPcReportsRequestBuilder(@jakarta.annotation.Nonnull f * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetInaccessibleCloudPcReportsPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetInaccessibleCloudPc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetInaccessibleCloudPcReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetInaccessibleCloudPc * Get inaccessible Cloud PCs with details, including the latest health state, failed connection count, failed health check count, and system status. An inaccessible Cloud PC represents a Cloud PC that is in an unavailable state (at least one of the health checks failed) or has consecutive user connections failure. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetInaccessibleCloudPcReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetInaccessibleCloudPcReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetInaccessibleCloudPcReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetInaccessibleCloudPcReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetInaccessibleCloudPcReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrawremoteconnectionreports/GetRawRemoteConnectionReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrawremoteconnectionreports/GetRawRemoteConnectionReportsRequestBuilder.java index dcef3f001d8..4cbc5bf4fe6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrawremoteconnectionreports/GetRawRemoteConnectionReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrawremoteconnectionreports/GetRawRemoteConnectionReportsRequestBuilder.java @@ -40,12 +40,9 @@ public GetRawRemoteConnectionReportsRequestBuilder(@jakarta.annotation.Nonnull f * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetRawRemoteConnectionReportsPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetRawRemoteConnection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetRawRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetRawRemoteConnection * Get the raw real-time remote connection report for a Cloud PC without any calculation, such as roundTripTime or available bandwidth, which are aggregated hourly from the raw event data. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetRawRemoteConnectionReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetRawRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetRawRemoteConnectionReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetRawRemoteConnectionReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetRawRemoteConnectionReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionlatencywithcloudpcid/GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionlatencywithcloudpcid/GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder.java index 955493c108b..8772e574dda 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionlatencywithcloudpcid/GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionlatencywithcloudpcid/GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder.java @@ -41,12 +41,9 @@ public GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder(@jakarta.an * Get the real-time connection latency information for a Cloud PC. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream get() { return get(null); } @@ -55,12 +52,9 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,11 +64,8 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con /** * Get the real-time connection latency information for a Cloud PC. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -82,11 +73,8 @@ public RequestInformation toGetRequestInformation() { * Get the real-time connection latency information for a Cloud PC. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -97,11 +85,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionstatuswithcloudpcid/GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionstatuswithcloudpcid/GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder.java index 52b80373303..dc181f204a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionstatuswithcloudpcid/GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionstatuswithcloudpcid/GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder.java @@ -41,12 +41,9 @@ public GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder(@jakarta.ann * Get the real-time connection status information, such as signInStatus or daysSinceLastUse, for a Cloud PC. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream get() { return get(null); } @@ -55,12 +52,9 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,11 +64,8 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con /** * Get the real-time connection status information, such as signInStatus or daysSinceLastUse, for a Cloud PC. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -82,11 +73,8 @@ public RequestInformation toGetRequestInformation() { * Get the real-time connection status information, such as signInStatus or daysSinceLastUse, for a Cloud PC. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -97,11 +85,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getremoteconnectionhistoricalreports/GetRemoteConnectionHistoricalReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getremoteconnectionhistoricalreports/GetRemoteConnectionHistoricalReportsRequestBuilder.java index 962f4c0abb7..d45002ab323 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getremoteconnectionhistoricalreports/GetRemoteConnectionHistoricalReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getremoteconnectionhistoricalreports/GetRemoteConnectionHistoricalReportsRequestBuilder.java @@ -40,12 +40,9 @@ public GetRemoteConnectionHistoricalReportsRequestBuilder(@jakarta.annotation.No * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetRemoteConnectionHistoricalReportsPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetRemoteConnectionHis * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetRemoteConnectionHistoricalReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetRemoteConnectionHis * Get the remote connection history records of a Cloud PC during a given period. This report contains data such as signInDateTime, signOutDateTime, usageInHour, remoteSignInTimeInSec and roundTripTimeInMsP50, and so on. This data is aggregated hourly for a specified time period, such as the last seven days. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetRemoteConnectionHistoricalReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetRemoteConnectionHistoricalReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetRemoteConnectionHistoricalReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetRemoteConnectionHistoricalReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetRemoteConnectionHistoricalReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/gettotalaggregatedremoteconnectionreports/GetTotalAggregatedRemoteConnectionReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/gettotalaggregatedremoteconnectionreports/GetTotalAggregatedRemoteConnectionReportsRequestBuilder.java index fa064807e98..9065ff60400 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/gettotalaggregatedremoteconnectionreports/GetTotalAggregatedRemoteConnectionReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/gettotalaggregatedremoteconnectionreports/GetTotalAggregatedRemoteConnectionReportsRequestBuilder.java @@ -40,12 +40,9 @@ public GetTotalAggregatedRemoteConnectionReportsRequestBuilder(@jakarta.annotati * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetTotalAggregatedRemoteConnectionReportsPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetTotalAggregatedRemo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final GetTotalAggregatedRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetTotalAggregatedRemo * Get the total aggregated remote connection usage of a Cloud PC during a given time span. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetTotalAggregatedRemoteConnectionReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetTotalAggregatedRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetTotalAggregatedRemoteConnectionReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public GetTotalAggregatedRemoteConnectionReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetTotalAggregatedRemoteConnectionReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievebulkactionstatusreport/RetrieveBulkActionStatusReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievebulkactionstatusreport/RetrieveBulkActionStatusReportRequestBuilder.java index 26dd5cc89bb..ec0418669c5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievebulkactionstatusreport/RetrieveBulkActionStatusReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievebulkactionstatusreport/RetrieveBulkActionStatusReportRequestBuilder.java @@ -40,12 +40,9 @@ public RetrieveBulkActionStatusReportRequestBuilder(@jakarta.annotation.Nonnull * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveBulkActionStatusReportPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveBulkActionStat * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveBulkActionStatusReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveBulkActionStat * Get the bulk remote action status report, including data such as the bulk action ID, bulk action display name, initiating user's principal name, action type, and action state. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveBulkActionStatusReportPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveBulkActionStatusReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RetrieveBulkActionStatusReportRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RetrieveBulkActionStatusReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RetrieveBulkActionStatusReportRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java index 3495a325472..2e00b1e976f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java @@ -41,7 +41,7 @@ public RetrieveCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.No * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31 */ @jakarta.annotation.Nullable @Deprecated @@ -55,7 +55,7 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecomme * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31 */ @jakarta.annotation.Nullable @Deprecated @@ -71,7 +71,7 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecomme * @param body The request body * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31 */ @jakarta.annotation.Nonnull @Deprecated @@ -84,7 +84,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31 */ @jakarta.annotation.Nonnull @Deprecated @@ -101,7 +101,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param rawUrl The raw URL to use for the request builder. * @return a {@link RetrieveCloudPcRecommendationReportsRequestBuilder} * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 + * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctenantmetricsreport/RetrieveCloudPcTenantMetricsReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctenantmetricsreport/RetrieveCloudPcTenantMetricsReportRequestBuilder.java index 0231f185bdd..2baa7cda9a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctenantmetricsreport/RetrieveCloudPcTenantMetricsReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctenantmetricsreport/RetrieveCloudPcTenantMetricsReportRequestBuilder.java @@ -40,12 +40,9 @@ public RetrieveCloudPcTenantMetricsReportRequestBuilder(@jakarta.annotation.Nonn * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantMetricsReportPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantM * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantMetricsReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantM * Get a report related to the performance of Cloud PCs. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantMetricsReportPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantMetricsReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RetrieveCloudPcTenantMetricsReportRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RetrieveCloudPcTenantMetricsReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RetrieveCloudPcTenantMetricsReportRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctroubleshootreports/RetrieveCloudPcTroubleshootReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctroubleshootreports/RetrieveCloudPcTroubleshootReportsRequestBuilder.java index facc08298ef..c436a700379 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctroubleshootreports/RetrieveCloudPcTroubleshootReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctroubleshootreports/RetrieveCloudPcTroubleshootReportsRequestBuilder.java @@ -40,12 +40,9 @@ public RetrieveCloudPcTroubleshootReportsRequestBuilder(@jakarta.annotation.Nonn * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTroubleshootReportsPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTrouble * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTroubleshootReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTrouble * Get troubleshooting reports for Cloud PCs. You can get a regional troubleshooting report, a report with troubleshooting details, a report with troubleshooting trends, or a report on the number of troubleshooting issues. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcTroubleshootReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcTroubleshootReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RetrieveCloudPcTroubleshootReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RetrieveCloudPcTroubleshootReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RetrieveCloudPcTroubleshootReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrieveconnectionqualityreports/RetrieveConnectionQualityReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrieveconnectionqualityreports/RetrieveConnectionQualityReportsRequestBuilder.java index f98b7e7a7d8..c0f13c0667f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrieveconnectionqualityreports/RetrieveConnectionQualityReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrieveconnectionqualityreports/RetrieveConnectionQualityReportsRequestBuilder.java @@ -40,11 +40,8 @@ public RetrieveConnectionQualityReportsRequestBuilder(@jakarta.annotation.Nonnul * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveConnectionQualityReportsPostRequestBody body) { return post(body, null); } @@ -54,11 +51,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveConnectionQual * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveConnectionQualityReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -70,11 +64,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveConnectionQual * Invoke action retrieveConnectionQualityReports * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveConnectionQualityReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -83,11 +74,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveConnectionQualityReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -100,11 +88,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RetrieveConnectionQualityReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RetrieveConnectionQualityReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RetrieveConnectionQualityReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportRequestBuilder.java index e24034e7718..dfb3319e7bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportRequestBuilder.java @@ -40,12 +40,9 @@ public RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(@jakarta.annotati * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveCrossRegionDisasterRecoveryReportPostRequestBody body) { return post(body, null); } @@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCrossRegionDis * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 * @see Find more info here */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveCrossRegionDisasterRecoveryReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCrossRegionDis * Retrieve the Windows 365 cross-region disaster recovery report, including cloudPcId, userId, deviceId, cloudPCDeviceDisplayName, userPrincipalName, enabledDRType, disasterRecoveryStatus, licenseType, drHealthStatus, currentRestorePointDateTime, backupCloudPcStatus, and activationExpirationDateTime. * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCrossRegionDisasterRecoveryReportPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCrossRegionDisasterRecoveryReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RetrieveCrossRegionDisasterRecoveryReportRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RetrieveCrossRegionDisasterRecoveryReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievefrontlinereports/RetrieveFrontlineReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievefrontlinereports/RetrieveFrontlineReportsRequestBuilder.java index fd6cf782c10..9b2cb31a0d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievefrontlinereports/RetrieveFrontlineReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievefrontlinereports/RetrieveFrontlineReportsRequestBuilder.java @@ -40,11 +40,8 @@ public RetrieveFrontlineReportsRequestBuilder(@jakarta.annotation.Nonnull final * @param body The request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveFrontlineReportsPostRequestBody body) { return post(body, null); } @@ -54,11 +51,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveFrontlineRepor * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nullable - @Deprecated public InputStream post(@jakarta.annotation.Nonnull final RetrieveFrontlineReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -70,11 +64,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveFrontlineRepor * Invoke action retrieveFrontlineReports * @param body The request body * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveFrontlineReportsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -83,11 +74,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveFrontlineReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -100,11 +88,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RetrieveFrontlineReportsRequestBuilder} - * @deprecated - * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31 */ @jakarta.annotation.Nonnull - @Deprecated public RetrieveFrontlineReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RetrieveFrontlineReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java index 103c3b5dd9e..6f95ed44c97 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java @@ -18,11 +18,13 @@ import com.microsoft.graph.beta.directory.publickeyinfrastructure.PublicKeyInfrastructureRequestBuilder; import com.microsoft.graph.beta.directory.recommendationconfiguration.RecommendationConfigurationRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder; +import com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder; import com.microsoft.graph.beta.directory.sharedemaildomains.SharedEmailDomainsRequestBuilder; import com.microsoft.graph.beta.directory.subscriptions.SubscriptionsRequestBuilder; import com.microsoft.graph.beta.directory.subscriptionswithcommercesubscriptionid.SubscriptionsWithCommerceSubscriptionIdRequestBuilder; import com.microsoft.graph.beta.directory.subscriptionswithocpsubscriptionid.SubscriptionsWithOcpSubscriptionIdRequestBuilder; import com.microsoft.graph.beta.directory.templates.TemplatesRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder; import com.microsoft.graph.beta.models.Directory; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -187,6 +189,14 @@ public RecommendationConfigurationRequestBuilder recommendationConfiguration() { public RecommendationsRequestBuilder recommendations() { return new RecommendationsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the recovery property of the microsoft.graph.directory entity. + * @return a {@link RecoveryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryRequestBuilder recovery() { + return new RecoveryRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sharedEmailDomains property of the microsoft.graph.directory entity. * @return a {@link SharedEmailDomainsRequestBuilder} @@ -211,6 +221,14 @@ public SubscriptionsRequestBuilder subscriptions() { public TemplatesRequestBuilder templates() { return new TemplatesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the tenantGovernance property of the microsoft.graph.directory entity. + * @return a {@link TenantGovernanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TenantGovernanceRequestBuilder tenantGovernance() { + return new TenantGovernanceRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link DirectoryRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/DeletedItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/DeletedItemsRequestBuilder.java index 2cc10f1fc03..3a28ddb3e54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/DeletedItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/DeletedItemsRequestBuilder.java @@ -131,7 +131,7 @@ public DeletedItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/directory/deletedItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -140,7 +140,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -153,7 +153,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -161,7 +161,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -183,7 +183,7 @@ public DeletedItemsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new DeletedItemsRequestBuilder(rawUrl, requestAdapter); } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java index b5f5d44e255..463b7bf165c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java @@ -136,16 +136,18 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete navigation property deletedItems for directory + * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete navigation property deletedItems for directory + * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -154,19 +156,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObject get() { return get(null); } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -176,7 +180,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Delete navigation property deletedItems for directory + * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -184,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete navigation property deletedItems for directory + * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -196,7 +200,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -204,7 +208,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -232,7 +236,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Recently deleted items. Read-only. Nullable. + * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/RecoveryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/RecoveryRequestBuilder.java new file mode 100644 index 00000000000..91b2605aa14 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/RecoveryRequestBuilder.java @@ -0,0 +1,246 @@ +package com.microsoft.graph.beta.directory.recovery; + +import com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder; +import com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder; +import com.microsoft.graph.beta.models.entrarecoveryservices.Recovery; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the recovery property of the microsoft.graph.directory entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity. + * @return a {@link JobsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public JobsRequestBuilder jobs() { + return new JobsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity. + * @return a {@link SnapshotsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SnapshotsRequestBuilder snapshots() { + return new SnapshotsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link RecoveryRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RecoveryRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property recovery for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property recovery for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Represents the Entra backup and recovery service for the tenant. + * @return a {@link Recovery} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recovery get() { + return get(null); + } + /** + * Represents the Entra backup and recovery service for the tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Recovery} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recovery get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Recovery::createFromDiscriminatorValue); + } + /** + * Update the navigation property recovery in directory + * @param body The request body + * @return a {@link Recovery} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recovery patch(@jakarta.annotation.Nonnull final Recovery body) { + return patch(body, null); + } + /** + * Update the navigation property recovery in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Recovery} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recovery patch(@jakarta.annotation.Nonnull final Recovery body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Recovery::createFromDiscriminatorValue); + } + /** + * Delete navigation property recovery for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property recovery for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Represents the Entra backup and recovery service for the tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents the Entra backup and recovery service for the tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property recovery in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Recovery body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property recovery in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Recovery body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecoveryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecoveryRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Represents the Entra backup and recovery service for the tenant. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/JobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/JobsRequestBuilder.java new file mode 100644 index 00000000000..90502d0dfd4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/JobsRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.beta.directory.recovery.jobs; + +import com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder; +import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase; +import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class JobsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity. + * @param recoveryJobBaseId The unique identifier of recoveryJobBase + * @return a {@link RecoveryJobBaseItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryJobBaseItemRequestBuilder byRecoveryJobBaseId(@jakarta.annotation.Nonnull final String recoveryJobBaseId) { + Objects.requireNonNull(recoveryJobBaseId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("recoveryJobBase%2Did", recoveryJobBaseId); + return new RecoveryJobBaseItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link JobsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public JobsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/jobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link JobsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public JobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/jobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant. + * @return a {@link RecoveryJobBaseCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RecoveryJobBaseCollectionResponse get() { + return get(null); + } + /** + * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecoveryJobBaseCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RecoveryJobBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobBaseCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to jobs for directory + * @param body The request body + * @return a {@link RecoveryJobBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJobBase post(@jakarta.annotation.Nonnull final RecoveryJobBase body) { + return post(body, null); + } + /** + * Create new navigation property to jobs for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecoveryJobBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJobBase post(@jakarta.annotation.Nonnull final RecoveryJobBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobBase::createFromDiscriminatorValue); + } + /** + * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to jobs for directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecoveryJobBase body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to jobs for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecoveryJobBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link JobsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public JobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new JobsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/count/CountRequestBuilder.java new file mode 100644 index 00000000000..0e1dad88337 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.recovery.jobs.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/jobs/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/jobs/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/RecoveryJobBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/RecoveryJobBaseItemRequestBuilder.java new file mode 100644 index 00000000000..efe10e89680 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/RecoveryJobBaseItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.beta.directory.recovery.jobs.item; + +import com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder; +import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobBaseItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the cancel method. + * @return a {@link MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder microsoftGraphEntraRecoveryServicesCancel() { + return new MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link RecoveryJobBaseItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryJobBaseItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/jobs/{recoveryJobBase%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RecoveryJobBaseItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryJobBaseItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/jobs/{recoveryJobBase%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property jobs for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property jobs for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Collection of all recovery jobs (both preview and recovery) for the tenant. + * @return a {@link RecoveryJobBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJobBase get() { + return get(null); + } + /** + * Collection of all recovery jobs (both preview and recovery) for the tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecoveryJobBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJobBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobBase::createFromDiscriminatorValue); + } + /** + * Update the navigation property jobs in directory + * @param body The request body + * @return a {@link RecoveryJobBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJobBase patch(@jakarta.annotation.Nonnull final RecoveryJobBase body) { + return patch(body, null); + } + /** + * Update the navigation property jobs in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecoveryJobBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJobBase patch(@jakarta.annotation.Nonnull final RecoveryJobBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobBase::createFromDiscriminatorValue); + } + /** + * Delete navigation property jobs for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property jobs for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Collection of all recovery jobs (both preview and recovery) for the tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Collection of all recovery jobs (both preview and recovery) for the tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property jobs in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecoveryJobBase body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property jobs in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecoveryJobBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecoveryJobBaseItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryJobBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecoveryJobBaseItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Collection of all recovery jobs (both preview and recovery) for the tenant. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/microsoftgraphentrarecoveryservicescancel/MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/microsoftgraphentrarecoveryservicescancel/MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder.java new file mode 100644 index 00000000000..c13f7524596 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/microsoftgraphentrarecoveryservicescancel/MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder.java @@ -0,0 +1,93 @@ +package com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the cancel method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/jobs/{recoveryJobBase%2Did}/microsoft.graph.entraRecoveryServices.cancel", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/jobs/{recoveryJobBase%2Did}/microsoft.graph.entraRecoveryServices.cancel", rawUrl); + } + /** + * Cancel a running recoveryJobBase object (either a preview or recovery job). The job must be in a non-terminal state (initialized, calculating, loadingData, or running). After cancellation, the job status changes to abandoned. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post() { + post(null); + } + /** + * Cancel a running recoveryJobBase object (either a preview or recovery job). The job must be in a non-terminal state (initialized, calculating, loadingData, or running). After cancellation, the job status changes to abandoned. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Cancel a running recoveryJobBase object (either a preview or recovery job). The job must be in a non-terminal state (initialized, calculating, loadingData, or running). After cancellation, the job status changes to abandoned. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Cancel a running recoveryJobBase object (either a preview or recovery job). The job must be in a non-terminal state (initialized, calculating, loadingData, or running). After cancellation, the job status changes to abandoned. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/SnapshotsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/SnapshotsRequestBuilder.java new file mode 100644 index 00000000000..f2a33a67365 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/SnapshotsRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots; + +import com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder; +import com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot; +import com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SnapshotsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity. + * @param snapshotId The unique identifier of snapshot + * @return a {@link SnapshotItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SnapshotItemRequestBuilder bySnapshotId(@jakarta.annotation.Nonnull final String snapshotId) { + Objects.requireNonNull(snapshotId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("snapshot%2Did", snapshotId); + return new SnapshotItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link SnapshotsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SnapshotsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link SnapshotsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SnapshotsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored. + * @return a {@link SnapshotCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SnapshotCollectionResponse get() { + return get(null); + } + /** + * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SnapshotCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public SnapshotCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SnapshotCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to snapshots for directory + * @param body The request body + * @return a {@link Snapshot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Snapshot post(@jakarta.annotation.Nonnull final Snapshot body) { + return post(body, null); + } + /** + * Create new navigation property to snapshots for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Snapshot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Snapshot post(@jakarta.annotation.Nonnull final Snapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Snapshot::createFromDiscriminatorValue); + } + /** + * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to snapshots for directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Snapshot body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to snapshots for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Snapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link SnapshotsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SnapshotsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SnapshotsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/count/CountRequestBuilder.java new file mode 100644 index 00000000000..9717f1e5761 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/SnapshotItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/SnapshotItemRequestBuilder.java new file mode 100644 index 00000000000..e603f4d1319 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/SnapshotItemRequestBuilder.java @@ -0,0 +1,246 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots.item; + +import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder; +import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder; +import com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SnapshotItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the recoveryJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity. + * @return a {@link RecoveryJobsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryJobsRequestBuilder recoveryJobs() { + return new RecoveryJobsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the recoveryPreviewJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity. + * @return a {@link RecoveryPreviewJobsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryPreviewJobsRequestBuilder recoveryPreviewJobs() { + return new RecoveryPreviewJobsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link SnapshotItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SnapshotItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SnapshotItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SnapshotItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property snapshots for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property snapshots for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Collection of backup snapshots available for the tenant. + * @return a {@link Snapshot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Snapshot get() { + return get(null); + } + /** + * Collection of backup snapshots available for the tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Snapshot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Snapshot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Snapshot::createFromDiscriminatorValue); + } + /** + * Update the navigation property snapshots in directory + * @param body The request body + * @return a {@link Snapshot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Snapshot patch(@jakarta.annotation.Nonnull final Snapshot body) { + return patch(body, null); + } + /** + * Update the navigation property snapshots in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Snapshot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Snapshot patch(@jakarta.annotation.Nonnull final Snapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Snapshot::createFromDiscriminatorValue); + } + /** + * Delete navigation property snapshots for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property snapshots for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Collection of backup snapshots available for the tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Collection of backup snapshots available for the tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property snapshots in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Snapshot body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property snapshots in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Snapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link SnapshotItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SnapshotItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SnapshotItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Collection of backup snapshots available for the tenant. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/RecoveryJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/RecoveryJobsRequestBuilder.java new file mode 100644 index 00000000000..333f02f5dc1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/RecoveryJobsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs; + +import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder; +import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the recoveryJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the recoveryJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity. + * @param recoveryJobId The unique identifier of recoveryJob + * @return a {@link RecoveryJobItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryJobItemRequestBuilder byRecoveryJobId(@jakarta.annotation.Nonnull final String recoveryJobId) { + Objects.requireNonNull(recoveryJobId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("recoveryJob%2Did", recoveryJobId); + return new RecoveryJobItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link RecoveryJobsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryJobsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RecoveryJobsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryJobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Collection of recovery jobs created for this snapshot. + * @return a {@link RecoveryJobCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJobCollectionResponse get() { + return get(null); + } + /** + * Collection of recovery jobs created for this snapshot. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecoveryJobCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobCollectionResponse::createFromDiscriminatorValue); + } + /** + * Collection of recovery jobs created for this snapshot. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Collection of recovery jobs created for this snapshot. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecoveryJobsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecoveryJobsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Collection of recovery jobs created for this snapshot. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/count/CountRequestBuilder.java new file mode 100644 index 00000000000..7558832d39e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/item/RecoveryJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/item/RecoveryJobItemRequestBuilder.java new file mode 100644 index 00000000000..1ad7b7424a1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/item/RecoveryJobItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item; + +import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the recoveryJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RecoveryJobItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryJobItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs/{recoveryJob%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RecoveryJobItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryJobItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs/{recoveryJob%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Collection of recovery jobs created for this snapshot. + * @return a {@link RecoveryJob} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJob get() { + return get(null); + } + /** + * Collection of recovery jobs created for this snapshot. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecoveryJob} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJob::createFromDiscriminatorValue); + } + /** + * Collection of recovery jobs created for this snapshot. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Collection of recovery jobs created for this snapshot. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecoveryJobItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecoveryJobItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Collection of recovery jobs created for this snapshot. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/RecoveryPreviewJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/RecoveryPreviewJobsRequestBuilder.java new file mode 100644 index 00000000000..7f78a9b3178 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/RecoveryPreviewJobsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs; + +import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder; +import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the recoveryPreviewJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryPreviewJobsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the recoveryPreviewJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity. + * @param recoveryPreviewJobId The unique identifier of recoveryPreviewJob + * @return a {@link RecoveryPreviewJobItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryPreviewJobItemRequestBuilder byRecoveryPreviewJobId(@jakarta.annotation.Nonnull final String recoveryPreviewJobId) { + Objects.requireNonNull(recoveryPreviewJobId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("recoveryPreviewJob%2Did", recoveryPreviewJobId); + return new RecoveryPreviewJobItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link RecoveryPreviewJobsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryPreviewJobsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RecoveryPreviewJobsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryPreviewJobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Collection of preview jobs created for this snapshot. + * @return a {@link RecoveryPreviewJobCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryPreviewJobCollectionResponse get() { + return get(null); + } + /** + * Collection of preview jobs created for this snapshot. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecoveryPreviewJobCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryPreviewJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecoveryPreviewJobCollectionResponse::createFromDiscriminatorValue); + } + /** + * Collection of preview jobs created for this snapshot. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Collection of preview jobs created for this snapshot. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecoveryPreviewJobsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryPreviewJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecoveryPreviewJobsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Collection of preview jobs created for this snapshot. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/count/CountRequestBuilder.java new file mode 100644 index 00000000000..a6054f328f6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/item/RecoveryPreviewJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/item/RecoveryPreviewJobItemRequestBuilder.java new file mode 100644 index 00000000000..474b1bd2930 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/item/RecoveryPreviewJobItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item; + +import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJob; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the recoveryPreviewJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryPreviewJobItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RecoveryPreviewJobItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryPreviewJobItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs/{recoveryPreviewJob%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RecoveryPreviewJobItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecoveryPreviewJobItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs/{recoveryPreviewJob%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Collection of preview jobs created for this snapshot. + * @return a {@link RecoveryPreviewJob} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryPreviewJob get() { + return get(null); + } + /** + * Collection of preview jobs created for this snapshot. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecoveryPreviewJob} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecoveryPreviewJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecoveryPreviewJob::createFromDiscriminatorValue); + } + /** + * Collection of preview jobs created for this snapshot. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Collection of preview jobs created for this snapshot. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecoveryPreviewJobItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecoveryPreviewJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecoveryPreviewJobItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Collection of preview jobs created for this snapshot. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java new file mode 100644 index 00000000000..4ef68b6e7da --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java @@ -0,0 +1,282 @@ +package com.microsoft.graph.beta.directory.tenantgovernance; + +import com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the tenantGovernance property of the microsoft.graph.directory entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TenantGovernanceRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @return a {@link GovernanceInvitationsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceInvitationsRequestBuilder governanceInvitations() { + return new GovernanceInvitationsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @return a {@link GovernancePolicyTemplatesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernancePolicyTemplatesRequestBuilder governancePolicyTemplates() { + return new GovernancePolicyTemplatesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @return a {@link GovernanceRelationshipsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceRelationshipsRequestBuilder governanceRelationships() { + return new GovernanceRelationshipsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @return a {@link GovernanceRequestsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceRequestsRequestBuilder governanceRequests() { + return new GovernanceRequestsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @return a {@link RelatedTenantsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RelatedTenantsRequestBuilder relatedTenants() { + return new RelatedTenantsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the settings property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @return a {@link SettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SettingsRequestBuilder settings() { + return new SettingsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link TenantGovernanceRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TenantGovernanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link TenantGovernanceRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TenantGovernanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property tenantGovernance for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property tenantGovernance for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Container for Microsoft Entra Tenant Governance capabilities. + * @return a {@link TenantGovernance} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TenantGovernance get() { + return get(null); + } + /** + * Container for Microsoft Entra Tenant Governance capabilities. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TenantGovernance} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TenantGovernance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernance::createFromDiscriminatorValue); + } + /** + * Update the navigation property tenantGovernance in directory + * @param body The request body + * @return a {@link TenantGovernance} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TenantGovernance patch(@jakarta.annotation.Nonnull final TenantGovernance body) { + return patch(body, null); + } + /** + * Update the navigation property tenantGovernance in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TenantGovernance} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public TenantGovernance patch(@jakarta.annotation.Nonnull final TenantGovernance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernance::createFromDiscriminatorValue); + } + /** + * Delete navigation property tenantGovernance for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property tenantGovernance for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Container for Microsoft Entra Tenant Governance capabilities. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Container for Microsoft Entra Tenant Governance capabilities. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property tenantGovernance in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TenantGovernance body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property tenantGovernance in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TenantGovernance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link TenantGovernanceRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TenantGovernanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TenantGovernanceRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Container for Microsoft Entra Tenant Governance capabilities. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java new file mode 100644 index 00000000000..9a990d7d572 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations; + +import com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceInvitationsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @param governanceInvitationId The unique identifier of governanceInvitation + * @return a {@link GovernanceInvitationItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceInvitationItemRequestBuilder byGovernanceInvitationId(@jakarta.annotation.Nonnull final String governanceInvitationId) { + Objects.requireNonNull(governanceInvitationId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("governanceInvitation%2Did", governanceInvitationId); + return new GovernanceInvitationItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link GovernanceInvitationsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceInvitationsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link GovernanceInvitationsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceInvitationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. + * @return a {@link GovernanceInvitationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceInvitationCollectionResponse get() { + return get(null); + } + /** + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceInvitationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceInvitationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitationCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships. + * @param body The request body + * @return a {@link GovernanceInvitation} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInvitation body) { + return post(body, null); + } + /** + * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceInvitation} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitation::createFromDiscriminatorValue); + } + /** + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInvitation body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernanceInvitationsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceInvitationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernanceInvitationsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/count/CountRequestBuilder.java new file mode 100644 index 00000000000..6e8d8bf2a83 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java new file mode 100644 index 00000000000..2603ddd13a3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java @@ -0,0 +1,232 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceInvitationItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GovernanceInvitationItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceInvitationItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations/{governanceInvitation%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link GovernanceInvitationItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceInvitationItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations/{governanceInvitation%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete a governanceInvitation object. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a governanceInvitation object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties of a governanceInvitation object. + * @return a {@link GovernanceInvitation} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceInvitation get() { + return get(null); + } + /** + * Read the properties of a governanceInvitation object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceInvitation} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceInvitation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitation::createFromDiscriminatorValue); + } + /** + * Update the navigation property governanceInvitations in directory + * @param body The request body + * @return a {@link GovernanceInvitation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GovernanceInvitation patch(@jakarta.annotation.Nonnull final GovernanceInvitation body) { + return patch(body, null); + } + /** + * Update the navigation property governanceInvitations in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceInvitation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GovernanceInvitation patch(@jakarta.annotation.Nonnull final GovernanceInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitation::createFromDiscriminatorValue); + } + /** + * Delete a governanceInvitation object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a governanceInvitation object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties of a governanceInvitation object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties of a governanceInvitation object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property governanceInvitations in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInvitation body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property governanceInvitations in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernanceInvitationItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceInvitationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernanceInvitationItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties of a governanceInvitation object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java new file mode 100644 index 00000000000..762ab6b1e5a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates; + +import com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernancePolicyTemplatesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @param governancePolicyTemplateId The unique identifier of governancePolicyTemplate + * @return a {@link GovernancePolicyTemplateItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernancePolicyTemplateItemRequestBuilder byGovernancePolicyTemplateId(@jakarta.annotation.Nonnull final String governancePolicyTemplateId) { + Objects.requireNonNull(governancePolicyTemplateId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("governancePolicyTemplate%2Did", governancePolicyTemplateId); + return new GovernancePolicyTemplateItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link GovernancePolicyTemplatesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernancePolicyTemplatesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link GovernancePolicyTemplatesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernancePolicyTemplatesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. + * @return a {@link GovernancePolicyTemplateCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplateCollectionResponse get() { + return get(null); + } + /** + * Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernancePolicyTemplateCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplateCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new governancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. + * @param body The request body + * @return a {@link GovernancePolicyTemplate} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate post(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body) { + return post(body, null); + } + /** + * Create a new governancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernancePolicyTemplate} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate post(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplate::createFromDiscriminatorValue); + } + /** + * Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create a new governancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new governancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernancePolicyTemplatesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernancePolicyTemplatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernancePolicyTemplatesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/count/CountRequestBuilder.java new file mode 100644 index 00000000000..84190068e59 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java new file mode 100644 index 00000000000..b63626d1a65 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java @@ -0,0 +1,234 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernancePolicyTemplateItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GovernancePolicyTemplateItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernancePolicyTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{governancePolicyTemplate%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link GovernancePolicyTemplateItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernancePolicyTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{governancePolicyTemplate%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete a governancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a governancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties of a governancePolicyTemplate object. + * @return a {@link GovernancePolicyTemplate} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate get() { + return get(null); + } + /** + * Read the properties of a governancePolicyTemplate object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernancePolicyTemplate} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplate::createFromDiscriminatorValue); + } + /** + * Update the properties of a governancePolicyTemplate object. + * @param body The request body + * @return a {@link GovernancePolicyTemplate} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body) { + return patch(body, null); + } + /** + * Update the properties of a governancePolicyTemplate object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernancePolicyTemplate} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplate::createFromDiscriminatorValue); + } + /** + * Delete a governancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a governancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties of a governancePolicyTemplate object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties of a governancePolicyTemplate object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the properties of a governancePolicyTemplate object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of a governancePolicyTemplate object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernancePolicyTemplateItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernancePolicyTemplateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernancePolicyTemplateItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties of a governancePolicyTemplate object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java new file mode 100644 index 00000000000..b9f06e05509 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships; + +import com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceRelationshipsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @param governanceRelationshipId The unique identifier of governanceRelationship + * @return a {@link GovernanceRelationshipItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceRelationshipItemRequestBuilder byGovernanceRelationshipId(@jakarta.annotation.Nonnull final String governanceRelationshipId) { + Objects.requireNonNull(governanceRelationshipId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("governanceRelationship%2Did", governanceRelationshipId); + return new GovernanceRelationshipItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link GovernanceRelationshipsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceRelationshipsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link GovernanceRelationshipsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceRelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. + * @return a {@link GovernanceRelationshipCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRelationshipCollectionResponse get() { + return get(null); + } + /** + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceRelationshipCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRelationshipCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRelationshipCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to governanceRelationships for directory + * @param body The request body + * @return a {@link GovernanceRelationship} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GovernanceRelationship post(@jakarta.annotation.Nonnull final GovernanceRelationship body) { + return post(body, null); + } + /** + * Create new navigation property to governanceRelationships for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceRelationship} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GovernanceRelationship post(@jakarta.annotation.Nonnull final GovernanceRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRelationship::createFromDiscriminatorValue); + } + /** + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to governanceRelationships for directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRelationship body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to governanceRelationships for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernanceRelationshipsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceRelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernanceRelationshipsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/count/CountRequestBuilder.java new file mode 100644 index 00000000000..b2ccd8b1907 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRelationships/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRelationships/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java new file mode 100644 index 00000000000..9ce09da0e9b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java @@ -0,0 +1,232 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceRelationshipItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GovernanceRelationshipItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceRelationshipItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRelationships/{governanceRelationship%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link GovernanceRelationshipItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceRelationshipItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRelationships/{governanceRelationship%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property governanceRelationships for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property governanceRelationships for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties of a governanceRelationship object. + * @return a {@link GovernanceRelationship} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRelationship get() { + return get(null); + } + /** + * Read the properties of a governanceRelationship object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceRelationship} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRelationship get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRelationship::createFromDiscriminatorValue); + } + /** + * Update the status property of a governanceRelationship to initiate the termination process. There are two models for termination:1) Initiated by the governing tenant: After the governing tenant updates the status to terminationRequestedByGoverningTenant, the governed tenant may subsequently update the status to terminated.1) Directly terminated by the governed tenant: The governed tenant updates the status to terminated to immediately terminate the relationship. When the governed tenant updates the status to terminated in either model, the resources that were provisioned in the governed tenant upon relationship creation are deleted. + * @param body The request body + * @return a {@link GovernanceRelationship} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRelationship patch(@jakarta.annotation.Nonnull final GovernanceRelationship body) { + return patch(body, null); + } + /** + * Update the status property of a governanceRelationship to initiate the termination process. There are two models for termination:1) Initiated by the governing tenant: After the governing tenant updates the status to terminationRequestedByGoverningTenant, the governed tenant may subsequently update the status to terminated.1) Directly terminated by the governed tenant: The governed tenant updates the status to terminated to immediately terminate the relationship. When the governed tenant updates the status to terminated in either model, the resources that were provisioned in the governed tenant upon relationship creation are deleted. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceRelationship} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRelationship patch(@jakarta.annotation.Nonnull final GovernanceRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRelationship::createFromDiscriminatorValue); + } + /** + * Delete navigation property governanceRelationships for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property governanceRelationships for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties of a governanceRelationship object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties of a governanceRelationship object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the status property of a governanceRelationship to initiate the termination process. There are two models for termination:1) Initiated by the governing tenant: After the governing tenant updates the status to terminationRequestedByGoverningTenant, the governed tenant may subsequently update the status to terminated.1) Directly terminated by the governed tenant: The governed tenant updates the status to terminated to immediately terminate the relationship. When the governed tenant updates the status to terminated in either model, the resources that were provisioned in the governed tenant upon relationship creation are deleted. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceRelationship body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the status property of a governanceRelationship to initiate the termination process. There are two models for termination:1) Initiated by the governing tenant: After the governing tenant updates the status to terminationRequestedByGoverningTenant, the governed tenant may subsequently update the status to terminated.1) Directly terminated by the governed tenant: The governed tenant updates the status to terminated to immediately terminate the relationship. When the governed tenant updates the status to terminated in either model, the resources that were provisioned in the governed tenant upon relationship creation are deleted. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernanceRelationshipItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernanceRelationshipItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties of a governanceRelationship object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java new file mode 100644 index 00000000000..17dd8c0c8df --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancerequests; + +import com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceRequestsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @param governanceRequestId The unique identifier of governanceRequest + * @return a {@link GovernanceRequestItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceRequestItemRequestBuilder byGovernanceRequestId(@jakarta.annotation.Nonnull final String governanceRequestId) { + Objects.requireNonNull(governanceRequestId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("governanceRequest%2Did", governanceRequestId); + return new GovernanceRequestItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link GovernanceRequestsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceRequestsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link GovernanceRequestsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceRequestsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. + * @return a {@link GovernanceRequestCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRequestCollectionResponse get() { + return get(null); + } + /** + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceRequestCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRequestCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new governanceRequest to establish a governance relationship with a governed tenant. The governed tenant can then accept or reject the request. + * @param body The request body + * @return a {@link GovernanceRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRequest post(@jakarta.annotation.Nonnull final GovernanceRequest body) { + return post(body, null); + } + /** + * Create a new governanceRequest to establish a governance relationship with a governed tenant. The governed tenant can then accept or reject the request. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRequest post(@jakarta.annotation.Nonnull final GovernanceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRequest::createFromDiscriminatorValue); + } + /** + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create a new governanceRequest to establish a governance relationship with a governed tenant. The governed tenant can then accept or reject the request. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRequest body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new governanceRequest to establish a governance relationship with a governed tenant. The governed tenant can then accept or reject the request. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernanceRequestsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernanceRequestsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/count/CountRequestBuilder.java new file mode 100644 index 00000000000..a0f7be28ed7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java new file mode 100644 index 00000000000..9dcdae2b471 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java @@ -0,0 +1,241 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item; + +import com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceRequestItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.tenantGovernanceServices.governanceRequest entity. + * @return a {@link GovernancePolicyTemplateRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernancePolicyTemplateRequestBuilder governancePolicyTemplate() { + return new GovernancePolicyTemplateRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link GovernanceRequestItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceRequestItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link GovernanceRequestItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernanceRequestItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property governanceRequests for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property governanceRequests for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties of a governanceRequest object. + * @return a {@link GovernanceRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRequest get() { + return get(null); + } + /** + * Read the properties of a governanceRequest object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRequest::createFromDiscriminatorValue); + } + /** + * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. + * @param body The request body + * @return a {@link GovernanceRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRequest patch(@jakarta.annotation.Nonnull final GovernanceRequest body) { + return patch(body, null); + } + /** + * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernanceRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GovernanceRequest patch(@jakarta.annotation.Nonnull final GovernanceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRequest::createFromDiscriminatorValue); + } + /** + * Delete navigation property governanceRequests for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property governanceRequests for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties of a governanceRequest object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties of a governanceRequest object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceRequest body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernanceRequestItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernanceRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernanceRequestItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties of a governanceRequest object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java new file mode 100644 index 00000000000..fa5c04dabd6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.tenantGovernanceServices.governanceRequest entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernancePolicyTemplateRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GovernancePolicyTemplateRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernancePolicyTemplateRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}/governancePolicyTemplate{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link GovernancePolicyTemplateRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GovernancePolicyTemplateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}/governancePolicyTemplate{?%24expand,%24select}", rawUrl); + } + /** + * The governance policy template associated with this request. + * @return a {@link GovernancePolicyTemplate} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate get() { + return get(null); + } + /** + * The governance policy template associated with this request. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GovernancePolicyTemplate} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplate::createFromDiscriminatorValue); + } + /** + * The governance policy template associated with this request. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The governance policy template associated with this request. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GovernancePolicyTemplateRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GovernancePolicyTemplateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GovernancePolicyTemplateRequestBuilder(rawUrl, requestAdapter); + } + /** + * The governance policy template associated with this request. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java new file mode 100644 index 00000000000..331057a0231 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java @@ -0,0 +1,263 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants; + +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant; +import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RelatedTenantsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the refresh method. + * @return a {@link MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder microsoftGraphTenantGovernanceServicesRefresh() { + return new MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the refreshStatus method. + * @return a {@link MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder microsoftGraphTenantGovernanceServicesRefreshStatus() { + return new MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * @param relatedTenantId The unique identifier of relatedTenant + * @return a {@link RelatedTenantItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RelatedTenantItemRequestBuilder byRelatedTenantId(@jakarta.annotation.Nonnull final String relatedTenantId) { + Objects.requireNonNull(relatedTenantId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("relatedTenant%2Did", relatedTenantId); + return new RelatedTenantItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link RelatedTenantsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RelatedTenantsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of relatedTenant objects and their properties, including relationship metrics. + * @return a {@link RelatedTenantCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RelatedTenantCollectionResponse get() { + return get(null); + } + /** + * Get a list of relatedTenant objects and their properties, including relationship metrics. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RelatedTenantCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RelatedTenantCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RelatedTenantCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to relatedTenants for directory + * @param body The request body + * @return a {@link RelatedTenant} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RelatedTenant post(@jakarta.annotation.Nonnull final RelatedTenant body) { + return post(body, null); + } + /** + * Create new navigation property to relatedTenants for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RelatedTenant} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RelatedTenant post(@jakarta.annotation.Nonnull final RelatedTenant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RelatedTenant::createFromDiscriminatorValue); + } + /** + * Get a list of relatedTenant objects and their properties, including relationship metrics. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of relatedTenant objects and their properties, including relationship metrics. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to relatedTenants for directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RelatedTenant body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to relatedTenants for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RelatedTenant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RelatedTenantsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RelatedTenantsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RelatedTenantsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of relatedTenant objects and their properties, including relationship metrics. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/count/CountRequestBuilder.java new file mode 100644 index 00000000000..d075c283b01 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java new file mode 100644 index 00000000000..c58f2246983 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java @@ -0,0 +1,275 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item; + +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RelatedTenantItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * @return a {@link AppB2BSignInActivityMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AppB2BSignInActivityMetricsRequestBuilder appB2BSignInActivityMetrics() { + return new AppB2BSignInActivityMetricsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * @return a {@link B2BRegistrationMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public B2BRegistrationMetricsRequestBuilder b2BRegistrationMetrics() { + return new B2BRegistrationMetricsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * @return a {@link B2BSignInActivityMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public B2BSignInActivityMetricsRequestBuilder b2BSignInActivityMetrics() { + return new B2BSignInActivityMetricsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the billingMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * @return a {@link BillingMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BillingMetricsRequestBuilder billingMetrics() { + return new BillingMetricsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * @return a {@link MultiTenantApplicationMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MultiTenantApplicationMetricsRequestBuilder multiTenantApplicationMetrics() { + return new MultiTenantApplicationMetricsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link RelatedTenantItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RelatedTenantItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RelatedTenantItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RelatedTenantItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property relatedTenants for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property relatedTenants for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties and relationships of microsoft.graph.tenantGovernanceServices.relatedTenant object. + * @return a {@link RelatedTenant} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RelatedTenant get() { + return get(null); + } + /** + * Read the properties and relationships of microsoft.graph.tenantGovernanceServices.relatedTenant object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RelatedTenant} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RelatedTenant get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RelatedTenant::createFromDiscriminatorValue); + } + /** + * Update the navigation property relatedTenants in directory + * @param body The request body + * @return a {@link RelatedTenant} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RelatedTenant patch(@jakarta.annotation.Nonnull final RelatedTenant body) { + return patch(body, null); + } + /** + * Update the navigation property relatedTenants in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RelatedTenant} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RelatedTenant patch(@jakarta.annotation.Nonnull final RelatedTenant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RelatedTenant::createFromDiscriminatorValue); + } + /** + * Delete navigation property relatedTenants for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property relatedTenants for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties and relationships of microsoft.graph.tenantGovernanceServices.relatedTenant object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of microsoft.graph.tenantGovernanceServices.relatedTenant object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property relatedTenants in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RelatedTenant body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property relatedTenants in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RelatedTenant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RelatedTenantItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RelatedTenantItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RelatedTenantItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties and relationships of microsoft.graph.tenantGovernanceServices.relatedTenant object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java new file mode 100644 index 00000000000..dbd3ebefd6f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AppB2BSignInActivityMetricsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AppB2BSignInActivityMetricsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AppB2BSignInActivityMetricsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/appB2BSignInActivityMetrics{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link AppB2BSignInActivityMetricsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AppB2BSignInActivityMetricsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/appB2BSignInActivityMetrics{?%24expand,%24select}", rawUrl); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + * @return a {@link B2BSignInActivityMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public B2BSignInActivityMetrics get() { + return get(null); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link B2BSignInActivityMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public B2BSignInActivityMetrics get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, B2BSignInActivityMetrics::createFromDiscriminatorValue); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AppB2BSignInActivityMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AppB2BSignInActivityMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AppB2BSignInActivityMetricsRequestBuilder(rawUrl, requestAdapter); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java new file mode 100644 index 00000000000..cb856b55024 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BRegistrationMetricsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link B2BRegistrationMetricsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public B2BRegistrationMetricsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BRegistrationMetrics{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link B2BRegistrationMetricsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public B2BRegistrationMetricsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BRegistrationMetrics{?%24expand,%24select}", rawUrl); + } + /** + * B2B registration metrics for this related tenant. Expanded by default. + * @return a {@link B2bRegistrationMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public B2bRegistrationMetrics get() { + return get(null); + } + /** + * B2B registration metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link B2bRegistrationMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public B2bRegistrationMetrics get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, B2bRegistrationMetrics::createFromDiscriminatorValue); + } + /** + * B2B registration metrics for this related tenant. Expanded by default. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * B2B registration metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link B2BRegistrationMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public B2BRegistrationMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new B2BRegistrationMetricsRequestBuilder(rawUrl, requestAdapter); + } + /** + * B2B registration metrics for this related tenant. Expanded by default. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java new file mode 100644 index 00000000000..37cd6f07889 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BSignInActivityMetricsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link B2BSignInActivityMetricsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public B2BSignInActivityMetricsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BSignInActivityMetrics{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link B2BSignInActivityMetricsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public B2BSignInActivityMetricsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BSignInActivityMetrics{?%24expand,%24select}", rawUrl); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + * @return a {@link B2BSignInActivityMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public B2BSignInActivityMetrics get() { + return get(null); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link B2BSignInActivityMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public B2BSignInActivityMetrics get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, B2BSignInActivityMetrics::createFromDiscriminatorValue); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link B2BSignInActivityMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public B2BSignInActivityMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new B2BSignInActivityMetricsRequestBuilder(rawUrl, requestAdapter); + } + /** + * B2B sign-in activity metrics for this related tenant. Expanded by default. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java new file mode 100644 index 00000000000..9d52febbcc2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the billingMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BillingMetricsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link BillingMetricsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BillingMetricsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/billingMetrics{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link BillingMetricsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BillingMetricsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/billingMetrics{?%24expand,%24select}", rawUrl); + } + /** + * Billing metrics for this related tenant. Expanded by default. + * @return a {@link BillingMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BillingMetrics get() { + return get(null); + } + /** + * Billing metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link BillingMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BillingMetrics get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, BillingMetrics::createFromDiscriminatorValue); + } + /** + * Billing metrics for this related tenant. Expanded by default. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Billing metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link BillingMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BillingMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new BillingMetricsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Billing metrics for this related tenant. Expanded by default. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java new file mode 100644 index 00000000000..43269aebf87 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MultiTenantApplicationMetricsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MultiTenantApplicationMetricsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MultiTenantApplicationMetricsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/multiTenantApplicationMetrics{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link MultiTenantApplicationMetricsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MultiTenantApplicationMetricsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/multiTenantApplicationMetrics{?%24expand,%24select}", rawUrl); + } + /** + * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * @return a {@link MultiTenantApplicationMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MultiTenantApplicationMetrics get() { + return get(null); + } + /** + * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link MultiTenantApplicationMetrics} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MultiTenantApplicationMetrics get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, MultiTenantApplicationMetrics::createFromDiscriminatorValue); + } + /** + * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MultiTenantApplicationMetricsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MultiTenantApplicationMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MultiTenantApplicationMetricsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Multi-tenant application usage metrics for this related tenant. Expanded by default. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefresh/MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefresh/MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.java new file mode 100644 index 00000000000..c28621a1fd6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefresh/MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.java @@ -0,0 +1,93 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the refresh method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refresh", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refresh", rawUrl); + } + /** + * Manually refresh the list of related tenants. The list is also automatically refreshed daily. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post() { + post(null); + } + /** + * Manually refresh the list of related tenants. The list is also automatically refreshed daily. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Manually refresh the list of related tenants. The list is also automatically refreshed daily. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Manually refresh the list of related tenants. The list is also automatically refreshed daily. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefreshstatus/MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefreshstatus/MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.java new file mode 100644 index 00000000000..2c9a335f406 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefreshstatus/MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.java @@ -0,0 +1,98 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the refreshStatus method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refreshStatus()", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refreshStatus()", rawUrl); + } + /** + * Get the status of the related tenants refresh action. + * @return a {@link RelatedTenantsRefreshStatus} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RelatedTenantsRefreshStatus get() { + return get(null); + } + /** + * Get the status of the related tenants refresh action. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RelatedTenantsRefreshStatus} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RelatedTenantsRefreshStatus get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RelatedTenantsRefreshStatus::createFromDiscriminatorValue); + } + /** + * Get the status of the related tenants refresh action. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the status of the related tenants refresh action. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java new file mode 100644 index 00000000000..ca1e0758422 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java @@ -0,0 +1,241 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.settings; + +import com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the settings property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SettingsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the enableRelatedTenants method. + * @return a {@link MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder microsoftGraphTenantGovernanceServicesEnableRelatedTenants() { + return new MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link SettingsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SettingsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SettingsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SettingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property settings for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property settings for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. + * @return a {@link TenantGovernanceSetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public TenantGovernanceSetting get() { + return get(null); + } + /** + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TenantGovernanceSetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public TenantGovernanceSetting get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernanceSetting::createFromDiscriminatorValue); + } + /** + * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. + * @param body The request body + * @return a {@link TenantGovernanceSetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public TenantGovernanceSetting patch(@jakarta.annotation.Nonnull final TenantGovernanceSetting body) { + return patch(body, null); + } + /** + * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link TenantGovernanceSetting} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public TenantGovernanceSetting patch(@jakarta.annotation.Nonnull final TenantGovernanceSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernanceSetting::createFromDiscriminatorValue); + } + /** + * Delete navigation property settings for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property settings for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TenantGovernanceSetting body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TenantGovernanceSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link SettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SettingsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/microsoftgraphtenantgovernanceservicesenablerelatedtenants/MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/microsoftgraphtenantgovernanceservicesenablerelatedtenants/MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.java new file mode 100644 index 00000000000..e3ffda08802 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/microsoftgraphtenantgovernanceservicesenablerelatedtenants/MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.java @@ -0,0 +1,93 @@ +package com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the enableRelatedTenants method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings/microsoft.graph.tenantGovernanceServices.enableRelatedTenants", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings/microsoft.graph.tenantGovernanceServices.enableRelatedTenants", rawUrl); + } + /** + * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post() { + post(null); + } + /** + * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.java index 3f90bc3a711..6fca85ffb0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.java @@ -35,11 +35,12 @@ public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(@jakart super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", rawUrl); } /** - * Invoke action previewTaskFailures + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. * @return a {@link PreviewTaskFailuresPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -47,12 +48,13 @@ public PreviewTaskFailuresPostResponse post() { return post(null); } /** - * Invoke action previewTaskFailures + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PreviewTaskFailuresPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -63,7 +65,7 @@ public PreviewTaskFailuresPostResponse post(@jakarta.annotation.Nullable final j return this.requestAdapter.send(requestInfo, errorMapping, PreviewTaskFailuresPostResponse::createFromDiscriminatorValue); } /** - * Invoke action previewTaskFailures + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. * @return a {@link RequestInformation} * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 @@ -74,7 +76,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Invoke action previewTaskFailures + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java index 7b8923c8675..659a97225af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java @@ -35,23 +35,25 @@ public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(@jakarta.an super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", rawUrl); } /** - * Invoke action previewWorkflow + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'previewMode'. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 + * @see Find more info here */ @Deprecated public void post(@jakarta.annotation.Nonnull final PreviewWorkflowPostRequestBody body) { post(body, null); } /** - * Invoke action previewWorkflow + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'previewMode'. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 + * @see Find more info here */ @Deprecated public void post(@jakarta.annotation.Nonnull final PreviewWorkflowPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -62,7 +64,7 @@ public void post(@jakarta.annotation.Nonnull final PreviewWorkflowPostRequestBod this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action previewWorkflow + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'previewMode'. * @param body The request body * @return a {@link RequestInformation} * @deprecated @@ -74,7 +76,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action previewWorkflow + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'previewMode'. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/PreviewScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/PreviewScopeRequestBuilder.java index 02e8846dfcf..202086dbd78 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/PreviewScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/PreviewScopeRequestBuilder.java @@ -65,7 +65,7 @@ public PreviewScopeRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated @@ -77,7 +77,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -93,7 +93,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link RequestInformation} * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 @@ -104,7 +104,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated @@ -132,7 +132,7 @@ public PreviewScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new PreviewScopeRequestBuilder(rawUrl, requestAdapter); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java index 2cec62b84ac..0f338ea1b6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java @@ -37,7 +37,7 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated @@ -49,7 +49,7 @@ public DirectoryObject get() { return get(null); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -65,7 +65,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link RequestInformation} * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 @@ -76,7 +76,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated @@ -104,7 +104,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.java index 14846c74bef..9d3b72b8747 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewtaskfailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.java @@ -35,11 +35,12 @@ public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(@jakart super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", rawUrl); } /** - * Invoke action previewTaskFailures + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. * @return a {@link PreviewTaskFailuresPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -47,12 +48,13 @@ public PreviewTaskFailuresPostResponse post() { return post(null); } /** - * Invoke action previewTaskFailures + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PreviewTaskFailuresPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -63,7 +65,7 @@ public PreviewTaskFailuresPostResponse post(@jakarta.annotation.Nullable final j return this.requestAdapter.send(requestInfo, errorMapping, PreviewTaskFailuresPostResponse::createFromDiscriminatorValue); } /** - * Invoke action previewTaskFailures + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. * @return a {@link RequestInformation} * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 @@ -74,7 +76,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Invoke action previewTaskFailures + * Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java index 0b3475a265d..69f40df3399 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancepreviewworkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.java @@ -35,23 +35,25 @@ public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(@jakarta.an super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", rawUrl); } /** - * Invoke action previewWorkflow + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'previewMode'. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 + * @see Find more info here */ @Deprecated public void post(@jakarta.annotation.Nonnull final PreviewWorkflowPostRequestBody body) { post(body, null); } /** - * Invoke action previewWorkflow + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'previewMode'. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 + * @see Find more info here */ @Deprecated public void post(@jakarta.annotation.Nonnull final PreviewWorkflowPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -62,7 +64,7 @@ public void post(@jakarta.annotation.Nonnull final PreviewWorkflowPostRequestBod this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action previewWorkflow + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'previewMode'. * @param body The request body * @return a {@link RequestInformation} * @deprecated @@ -74,7 +76,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action previewWorkflow + * Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'previewMode'. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/PreviewScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/PreviewScopeRequestBuilder.java index 13c0a1bf00e..925a1ead732 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/PreviewScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/PreviewScopeRequestBuilder.java @@ -65,7 +65,7 @@ public PreviewScopeRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated @@ -77,7 +77,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -93,7 +93,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link RequestInformation} * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 @@ -104,7 +104,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated @@ -132,7 +132,7 @@ public PreviewScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new PreviewScopeRequestBuilder(rawUrl, requestAdapter); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java index 4cda1250fe6..c7f4f44e670 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/previewscope/item/DirectoryObjectItemRequestBuilder.java @@ -37,7 +37,7 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated @@ -49,7 +49,7 @@ public DirectoryObject get() { return get(null); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -65,7 +65,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link RequestInformation} * @deprecated * as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28 @@ -76,7 +76,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated @@ -104,7 +104,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); } /** - * Get previewScope from identityGovernance + * A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt index 68f5ab9e1b0..ac5ea9af906 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt @@ -71050,6 +71050,7 @@ com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.Clou com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CloudPcDeviceImage com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|patch(body:CloudPcDeviceImage):CloudPcDeviceImage com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|patch(body:CloudPcDeviceImage; requestConfiguration?:java.util.function.Consumer):CloudPcDeviceImage +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|retryUpload:RetryUploadRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|reupload:ReuploadRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -71058,6 +71059,15 @@ com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.Clou com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|toPatchRequestInformation(body:CloudPcDeviceImage):RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|toPatchRequestInformation(body:CloudPcDeviceImage; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder::|public|withUrl(rawUrl:String):CloudPcDeviceImageItemRequestBuilder +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder::|public|post():Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder::|public|withUrl(rawUrl:String):RetryUploadRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.reupload.ReuploadRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.reupload.ReuploadRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.reupload.ReuploadRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -78832,11 +78842,13 @@ com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|pendingExter com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|publicKeyInfrastructure:PublicKeyInfrastructureRequestBuilder com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|recommendationConfiguration:RecommendationConfigurationRequestBuilder com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|recommendations:RecommendationsRequestBuilder +com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|recovery:RecoveryRequestBuilder com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|sharedEmailDomains:SharedEmailDomainsRequestBuilder com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|subscriptions:SubscriptionsRequestBuilder com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|subscriptionsWithCommerceSubscriptionId(commerceSubscriptionId:String):SubscriptionsWithCommerceSubscriptionIdRequestBuilder com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|subscriptionsWithOcpSubscriptionId(ocpSubscriptionId:String):SubscriptionsWithOcpSubscriptionIdRequestBuilder com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|templates:TemplatesRequestBuilder +com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|tenantGovernance:TenantGovernanceRequestBuilder com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.DirectoryRequestBuilder::|public|toPatchRequestInformation(body:Directory):RequestInformation @@ -80110,6 +80122,274 @@ com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder::|public|toPostRequestInformation(body:Recommendation):RequestInformation com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder::|public|toPostRequestInformation(body:Recommendation; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder::|public|withUrl(rawUrl:String):RecommendationsRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder::|public|post():Void +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|get():RecoveryJobBase +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecoveryJobBase +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|microsoftGraphEntraRecoveryServicesCancel:MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|patch(body:RecoveryJobBase):RecoveryJobBase +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|patch(body:RecoveryJobBase; requestConfiguration?:java.util.function.Consumer):RecoveryJobBase +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|toPatchRequestInformation(body:RecoveryJobBase):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|toPatchRequestInformation(body:RecoveryJobBase; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder::|public|withUrl(rawUrl:String):RecoveryJobBaseItemRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|byRecoveryJobBaseId(recoveryJobBaseId:String):RecoveryJobBaseItemRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|get():RecoveryJobBaseCollectionResponse +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecoveryJobBaseCollectionResponse +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|post(body:RecoveryJobBase):RecoveryJobBase +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|post(body:RecoveryJobBase; requestConfiguration?:java.util.function.Consumer):RecoveryJobBase +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|toPostRequestInformation(body:RecoveryJobBase):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|toPostRequestInformation(body:RecoveryJobBase; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder::|public|withUrl(rawUrl:String):JobsRequestBuilder +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|get():Recovery +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Recovery +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|jobs:JobsRequestBuilder +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|patch(body:Recovery):Recovery +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|patch(body:Recovery; requestConfiguration?:java.util.function.Consumer):Recovery +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|snapshots:SnapshotsRequestBuilder +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|toPatchRequestInformation(body:Recovery):RequestInformation +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|toPatchRequestInformation(body:Recovery; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder::|public|withUrl(rawUrl:String):RecoveryRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder::|public|get():RecoveryJob +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecoveryJob +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder::|public|withUrl(rawUrl:String):RecoveryJobItemRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|byRecoveryJobId(recoveryJobId:String):RecoveryJobItemRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|get():RecoveryJobCollectionResponse +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecoveryJobCollectionResponse +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder::|public|withUrl(rawUrl:String):RecoveryJobsRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder::|public|get():RecoveryPreviewJob +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecoveryPreviewJob +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder::|public|withUrl(rawUrl:String):RecoveryPreviewJobItemRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|byRecoveryPreviewJobId(recoveryPreviewJobId:String):RecoveryPreviewJobItemRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|get():RecoveryPreviewJobCollectionResponse +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecoveryPreviewJobCollectionResponse +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder::|public|withUrl(rawUrl:String):RecoveryPreviewJobsRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|get():Snapshot +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Snapshot +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|patch(body:Snapshot):Snapshot +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|patch(body:Snapshot; requestConfiguration?:java.util.function.Consumer):Snapshot +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|recoveryJobs:RecoveryJobsRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|recoveryPreviewJobs:RecoveryPreviewJobsRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|toPatchRequestInformation(body:Snapshot):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|toPatchRequestInformation(body:Snapshot; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder::|public|withUrl(rawUrl:String):SnapshotItemRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|bySnapshotId(snapshotId:String):SnapshotItemRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|get():SnapshotCollectionResponse +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SnapshotCollectionResponse +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|post(body:Snapshot):Snapshot +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|post(body:Snapshot; requestConfiguration?:java.util.function.Consumer):Snapshot +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|toPostRequestInformation(body:Snapshot):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|toPostRequestInformation(body:Snapshot; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder::|public|withUrl(rawUrl:String):SnapshotsRequestBuilder com.microsoft.graph.beta.directory.sharedemaildomains.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.sharedemaildomains.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.directory.sharedemaildomains.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -80527,6 +80807,505 @@ com.microsoft.graph.beta.directory.templates.TemplatesRequestBuilder::|public|to com.microsoft.graph.beta.directory.templates.TemplatesRequestBuilder::|public|toPatchRequestInformation(body:Template):RequestInformation com.microsoft.graph.beta.directory.templates.TemplatesRequestBuilder::|public|toPatchRequestInformation(body:Template; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.templates.TemplatesRequestBuilder::|public|withUrl(rawUrl:String):TemplatesRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|byGovernanceInvitationId(governanceInvitationId:String):GovernanceInvitationItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|get():GovernanceInvitationCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernanceInvitationCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|post(body:GovernanceInvitation):GovernanceInvitation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|post(body:GovernanceInvitation; requestConfiguration?:java.util.function.Consumer):GovernanceInvitation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|toPostRequestInformation(body:GovernanceInvitation):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|toPostRequestInformation(body:GovernanceInvitation; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder::|public|withUrl(rawUrl:String):GovernanceInvitationsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|get():GovernanceInvitation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernanceInvitation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|patch(body:GovernanceInvitation):GovernanceInvitation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|patch(body:GovernanceInvitation; requestConfiguration?:java.util.function.Consumer):GovernanceInvitation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|toPatchRequestInformation(body:GovernanceInvitation):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|toPatchRequestInformation(body:GovernanceInvitation; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder::|public|withUrl(rawUrl:String):GovernanceInvitationItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|byGovernancePolicyTemplateId(governancePolicyTemplateId:String):GovernancePolicyTemplateItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|get():GovernancePolicyTemplateCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplateCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|post(body:GovernancePolicyTemplate):GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|post(body:GovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toPostRequestInformation(body:GovernancePolicyTemplate):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toPostRequestInformation(body:GovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|withUrl(rawUrl:String):GovernancePolicyTemplatesRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|get():GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|patch(body:GovernancePolicyTemplate):GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|patch(body:GovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toPatchRequestInformation(body:GovernancePolicyTemplate):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toPatchRequestInformation(body:GovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|withUrl(rawUrl:String):GovernancePolicyTemplateItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|byGovernanceRelationshipId(governanceRelationshipId:String):GovernanceRelationshipItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|get():GovernanceRelationshipCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernanceRelationshipCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|post(body:GovernanceRelationship):GovernanceRelationship +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|post(body:GovernanceRelationship; requestConfiguration?:java.util.function.Consumer):GovernanceRelationship +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|toPostRequestInformation(body:GovernanceRelationship):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|toPostRequestInformation(body:GovernanceRelationship; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder::|public|withUrl(rawUrl:String):GovernanceRelationshipsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|get():GovernanceRelationship +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernanceRelationship +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|patch(body:GovernanceRelationship):GovernanceRelationship +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|patch(body:GovernanceRelationship; requestConfiguration?:java.util.function.Consumer):GovernanceRelationship +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|toPatchRequestInformation(body:GovernanceRelationship):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|toPatchRequestInformation(body:GovernanceRelationship; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder::|public|withUrl(rawUrl:String):GovernanceRelationshipItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|byGovernanceRequestId(governanceRequestId:String):GovernanceRequestItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|get():GovernanceRequestCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernanceRequestCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|post(body:GovernanceRequest):GovernanceRequest +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|post(body:GovernanceRequest; requestConfiguration?:java.util.function.Consumer):GovernanceRequest +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|toPostRequestInformation(body:GovernanceRequest):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|toPostRequestInformation(body:GovernanceRequest; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder::|public|withUrl(rawUrl:String):GovernanceRequestsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|get():GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|withUrl(rawUrl:String):GovernancePolicyTemplateRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|get():GovernanceRequest +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernanceRequest +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|governancePolicyTemplate:GovernancePolicyTemplateRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|patch(body:GovernanceRequest):GovernanceRequest +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|patch(body:GovernanceRequest; requestConfiguration?:java.util.function.Consumer):GovernanceRequest +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|toPatchRequestInformation(body:GovernanceRequest):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|toPatchRequestInformation(body:GovernanceRequest; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder::|public|withUrl(rawUrl:String):GovernanceRequestItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|get():B2BSignInActivityMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):B2BSignInActivityMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|withUrl(rawUrl:String):AppB2BSignInActivityMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder::|public|get():B2bRegistrationMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):B2bRegistrationMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics.B2BRegistrationMetricsRequestBuilder::|public|withUrl(rawUrl:String):B2BRegistrationMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder::|public|get():B2BSignInActivityMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):B2BSignInActivityMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics.B2BSignInActivityMetricsRequestBuilder::|public|withUrl(rawUrl:String):B2BSignInActivityMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder::|public|get():BillingMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):BillingMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder::|public|withUrl(rawUrl:String):BillingMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder::|public|get():MultiTenantApplicationMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):MultiTenantApplicationMetrics +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder::|public|withUrl(rawUrl:String):MultiTenantApplicationMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|appB2BSignInActivityMetrics:AppB2BSignInActivityMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|b2BRegistrationMetrics:B2BRegistrationMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|b2BSignInActivityMetrics:B2BSignInActivityMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|billingMetrics:BillingMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|get():RelatedTenant +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RelatedTenant +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|multiTenantApplicationMetrics:MultiTenantApplicationMetricsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|patch(body:RelatedTenant):RelatedTenant +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|patch(body:RelatedTenant; requestConfiguration?:java.util.function.Consumer):RelatedTenant +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|toPatchRequestInformation(body:RelatedTenant):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|toPatchRequestInformation(body:RelatedTenant; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|withUrl(rawUrl:String):RelatedTenantItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|post():Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|get():RelatedTenantsRefreshStatus +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RelatedTenantsRefreshStatus +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|byRelatedTenantId(relatedTenantId:String):RelatedTenantItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|get():RelatedTenantCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RelatedTenantCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|microsoftGraphTenantGovernanceServicesRefresh:MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|microsoftGraphTenantGovernanceServicesRefreshStatus:MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|post(body:RelatedTenant):RelatedTenant +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|post(body:RelatedTenant; requestConfiguration?:java.util.function.Consumer):RelatedTenant +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|toPostRequestInformation(body:RelatedTenant):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|toPostRequestInformation(body:RelatedTenant; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|withUrl(rawUrl:String):RelatedTenantsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|post():Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|get():TenantGovernanceSetting +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TenantGovernanceSetting +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|microsoftGraphTenantGovernanceServicesEnableRelatedTenants:MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|patch(body:TenantGovernanceSetting):TenantGovernanceSetting +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|patch(body:TenantGovernanceSetting; requestConfiguration?:java.util.function.Consumer):TenantGovernanceSetting +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|toPatchRequestInformation(body:TenantGovernanceSetting):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|toPatchRequestInformation(body:TenantGovernanceSetting; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|withUrl(rawUrl:String):SettingsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|get():TenantGovernance +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TenantGovernance +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|governanceInvitations:GovernanceInvitationsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|governancePolicyTemplates:GovernancePolicyTemplatesRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|governanceRelationships:GovernanceRelationshipsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|governanceRequests:GovernanceRequestsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|patch(body:TenantGovernance):TenantGovernance +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|patch(body:TenantGovernance; requestConfiguration?:java.util.function.Consumer):TenantGovernance +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|relatedTenants:RelatedTenantsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|settings:SettingsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|toPatchRequestInformation(body:TenantGovernance):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|toPatchRequestInformation(body:TenantGovernance; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder::|public|withUrl(rawUrl:String):TenantGovernanceRequestBuilder com.microsoft.graph.beta.directoryobjects.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directoryobjects.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.directoryobjects.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -199645,6 +200424,22 @@ com.microsoft.graph.beta.models.ApprovedClientAppCollectionResponse::|public|get com.microsoft.graph.beta.models.ApprovedClientAppCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.ApprovedClientAppCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.ApprovedClientAppCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ApprovedClientAppCollectionResponse +com.microsoft.graph.beta.models.ApproverDelegate::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ApproverDelegate::|public|constructor():void +com.microsoft.graph.beta.models.ApproverDelegate::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ApproverDelegate::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ApproverDelegate::|public|getDelegate():SubjectSet +com.microsoft.graph.beta.models.ApproverDelegate::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ApproverDelegate::|public|getOdataType():String +com.microsoft.graph.beta.models.ApproverDelegate::|public|getSchedule():RequestSchedule +com.microsoft.graph.beta.models.ApproverDelegate::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ApproverDelegate::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ApproverDelegate::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ApproverDelegate::|public|setDelegate(value?:SubjectSet):void +com.microsoft.graph.beta.models.ApproverDelegate::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ApproverDelegate::|public|setSchedule(value?:RequestSchedule):void +com.microsoft.graph.beta.models.ApproverDelegate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ApproverDelegate +com.microsoft.graph.beta.models.ApproverDelegate~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.ApproverInformationVisibility::0000-Default com.microsoft.graph.beta.models.ApproverInformationVisibility::0001-NotVisible com.microsoft.graph.beta.models.ApproverInformationVisibility::0002-Visible @@ -208245,6 +209040,12 @@ com.microsoft.graph.beta.models.CloudPcAuditResource::|public|setResourceId(valu com.microsoft.graph.beta.models.CloudPcAuditResource::|public|setResourceType(value?:String):void com.microsoft.graph.beta.models.CloudPcAuditResource::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudPcAuditResource com.microsoft.graph.beta.models.CloudPcAuditResource~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.CloudPcAutomaticDiscoveredAppDetail-->CloudPcCloudAppDetail +com.microsoft.graph.beta.models.CloudPcAutomaticDiscoveredAppDetail::|public|constructor():void +com.microsoft.graph.beta.models.CloudPcAutomaticDiscoveredAppDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CloudPcAutomaticDiscoveredAppDetail::|public|OdataType:String +com.microsoft.graph.beta.models.CloudPcAutomaticDiscoveredAppDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CloudPcAutomaticDiscoveredAppDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudPcAutomaticDiscoveredAppDetail com.microsoft.graph.beta.models.CloudPcAutopilotConfiguration::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.CloudPcAutopilotConfiguration::|public|constructor():void com.microsoft.graph.beta.models.CloudPcAutopilotConfiguration::|public|getAdditionalData():Map @@ -208468,6 +209269,8 @@ com.microsoft.graph.beta.models.CloudPcCloudAppActionFailedErrorCode::0001-Cloud com.microsoft.graph.beta.models.CloudPcCloudAppActionFailedErrorCode::0002-InternalServerError com.microsoft.graph.beta.models.CloudPcCloudAppActionFailedErrorCode::0003-AppDiscoveryFailed com.microsoft.graph.beta.models.CloudPcCloudAppActionFailedErrorCode::0004-UnknownFutureValue +com.microsoft.graph.beta.models.CloudPcCloudAppActionFailedErrorCode::0005-IconPathInvalid +com.microsoft.graph.beta.models.CloudPcCloudAppActionFailedErrorCode::0006-FilePathInvalid com.microsoft.graph.beta.models.CloudPcCloudAppCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.beta.models.CloudPcCloudAppCollectionResponse::|public|constructor():void com.microsoft.graph.beta.models.CloudPcCloudAppCollectionResponse::|public|getFieldDeserializers():Map> @@ -208624,6 +209427,8 @@ com.microsoft.graph.beta.models.CloudPcConnectivityStatus::0001-Available com.microsoft.graph.beta.models.CloudPcConnectivityStatus::0002-AvailableWithWarning com.microsoft.graph.beta.models.CloudPcConnectivityStatus::0003-Unavailable com.microsoft.graph.beta.models.CloudPcConnectivityStatus::0004-UnknownFutureValue +com.microsoft.graph.beta.models.CloudPcConnectivityStatus::0005-UnderServiceMaintenance +com.microsoft.graph.beta.models.CloudPcConnectivityStatus::0006-InUse com.microsoft.graph.beta.models.CloudPcCrossCloudGovernmentOrganizationMapping-->Entity com.microsoft.graph.beta.models.CloudPcCrossCloudGovernmentOrganizationMapping::|public|constructor():void com.microsoft.graph.beta.models.CloudPcCrossCloudGovernmentOrganizationMapping::|public|getFieldDeserializers():Map> @@ -209077,6 +209882,12 @@ com.microsoft.graph.beta.models.CloudPcExternalPartnerStatus::0001-Available com.microsoft.graph.beta.models.CloudPcExternalPartnerStatus::0002-Healthy com.microsoft.graph.beta.models.CloudPcExternalPartnerStatus::0003-Unhealthy com.microsoft.graph.beta.models.CloudPcExternalPartnerStatus::0004-UnknownFutureValue +com.microsoft.graph.beta.models.CloudPcFilePathAppDetail-->CloudPcCloudAppDetail +com.microsoft.graph.beta.models.CloudPcFilePathAppDetail::|public|constructor():void +com.microsoft.graph.beta.models.CloudPcFilePathAppDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CloudPcFilePathAppDetail::|public|OdataType:String +com.microsoft.graph.beta.models.CloudPcFilePathAppDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CloudPcFilePathAppDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudPcFilePathAppDetail com.microsoft.graph.beta.models.CloudPcForensicStorageAccount-->Entity com.microsoft.graph.beta.models.CloudPcForensicStorageAccount::|public|constructor():void com.microsoft.graph.beta.models.CloudPcForensicStorageAccount::|public|getAccessTier():CloudPcStorageAccountAccessTier @@ -213772,6 +214583,20 @@ com.microsoft.graph.beta.models.CrossTenantAccessPolicy::|public|setDefault(valu com.microsoft.graph.beta.models.CrossTenantAccessPolicy::|public|setPartners(value?:java.util.List):void com.microsoft.graph.beta.models.CrossTenantAccessPolicy::|public|setTemplates(value?:PolicyTemplate):void com.microsoft.graph.beta.models.CrossTenantAccessPolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantAccessPolicy +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|constructor():void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|getApplications():CrossTenantAccessPolicyTargetConfiguration +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|getOdataType():String +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|setApplications(value?:CrossTenantAccessPolicyTargetConfiguration):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantAccessPolicyAppServiceConnectSetting +com.microsoft.graph.beta.models.CrossTenantAccessPolicyAppServiceConnectSetting~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.CrossTenantAccessPolicyB2BSetting::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.CrossTenantAccessPolicyB2BSetting::|public|constructor():void com.microsoft.graph.beta.models.CrossTenantAccessPolicyB2BSetting::|public|getAdditionalData():Map @@ -213790,6 +214615,7 @@ com.microsoft.graph.beta.models.CrossTenantAccessPolicyB2BSetting::|static|publi com.microsoft.graph.beta.models.CrossTenantAccessPolicyB2BSetting~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault-->Entity com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|constructor():void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getAppServiceConnectInbound():CrossTenantAccessPolicyAppServiceConnectSetting com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getAutomaticUserConsentSettings():InboundOutboundPolicyConfiguration com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getB2bCollaborationInbound():CrossTenantAccessPolicyB2BSetting com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getB2bCollaborationOutbound():CrossTenantAccessPolicyB2BSetting @@ -213800,9 +214626,12 @@ com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|pu com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getInboundTrust():CrossTenantAccessPolicyInboundTrust com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getInvitationRedemptionIdentityProviderConfiguration():DefaultInvitationRedemptionIdentityProviderConfiguration com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getIsServiceDefault():Boolean +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getM365CollaborationInbound():CrossTenantAccessPolicyM365CollaborationInboundSetting +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getM365CollaborationOutbound():CrossTenantAccessPolicyM365CollaborationOutboundSetting com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|getTenantRestrictions():CrossTenantAccessPolicyTenantRestrictions com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|OdataType:String com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setAppServiceConnectInbound(value?:CrossTenantAccessPolicyAppServiceConnectSetting):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setAutomaticUserConsentSettings(value?:InboundOutboundPolicyConfiguration):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setB2bCollaborationInbound(value?:CrossTenantAccessPolicyB2BSetting):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setB2bCollaborationOutbound(value?:CrossTenantAccessPolicyB2BSetting):void @@ -213812,10 +214641,13 @@ com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|pu com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setInboundTrust(value?:CrossTenantAccessPolicyInboundTrust):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setInvitationRedemptionIdentityProviderConfiguration(value?:DefaultInvitationRedemptionIdentityProviderConfiguration):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setIsServiceDefault(value?:Boolean):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setM365CollaborationInbound(value?:CrossTenantAccessPolicyM365CollaborationInboundSetting):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setM365CollaborationOutbound(value?:CrossTenantAccessPolicyM365CollaborationOutboundSetting):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|public|setTenantRestrictions(value?:CrossTenantAccessPolicyTenantRestrictions):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationDefault::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantAccessPolicyConfigurationDefault com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner-->PolicyDeletableItem com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|constructor():void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getAppServiceConnectInbound():CrossTenantAccessPolicyAppServiceConnectSetting com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getAutomaticUserConsentSettings():InboundOutboundPolicyConfiguration com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getB2bCollaborationInbound():CrossTenantAccessPolicyB2BSetting com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getB2bCollaborationOutbound():CrossTenantAccessPolicyB2BSetting @@ -213827,10 +214659,13 @@ com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|pu com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getInboundTrust():CrossTenantAccessPolicyInboundTrust com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getIsInMultiTenantOrganization():Boolean com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getIsServiceProvider():Boolean +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getM365CollaborationInbound():CrossTenantAccessPolicyM365CollaborationInboundSetting +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getM365CollaborationOutbound():CrossTenantAccessPolicyM365CollaborationOutboundSetting com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getTenantId():String com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|getTenantRestrictions():CrossTenantAccessPolicyTenantRestrictions com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|OdataType:String com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setAppServiceConnectInbound(value?:CrossTenantAccessPolicyAppServiceConnectSetting):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setAutomaticUserConsentSettings(value?:InboundOutboundPolicyConfiguration):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setB2bCollaborationInbound(value?:CrossTenantAccessPolicyB2BSetting):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setB2bCollaborationOutbound(value?:CrossTenantAccessPolicyB2BSetting):void @@ -213841,6 +214676,8 @@ com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|pu com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setInboundTrust(value?:CrossTenantAccessPolicyInboundTrust):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setIsInMultiTenantOrganization(value?:Boolean):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setIsServiceProvider(value?:Boolean):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setM365CollaborationInbound(value?:CrossTenantAccessPolicyM365CollaborationInboundSetting):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setM365CollaborationOutbound(value?:CrossTenantAccessPolicyM365CollaborationOutboundSetting):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setTenantId(value?:String):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|public|setTenantRestrictions(value?:CrossTenantAccessPolicyTenantRestrictions):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyConfigurationPartner::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantAccessPolicyConfigurationPartner @@ -213869,6 +214706,34 @@ com.microsoft.graph.beta.models.CrossTenantAccessPolicyInboundTrust::|public|set com.microsoft.graph.beta.models.CrossTenantAccessPolicyInboundTrust::|public|setOdataType(value?:String):void com.microsoft.graph.beta.models.CrossTenantAccessPolicyInboundTrust::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantAccessPolicyInboundTrust com.microsoft.graph.beta.models.CrossTenantAccessPolicyInboundTrust~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|constructor():void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|getOdataType():String +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|getUsers():CrossTenantAccessPolicyTargetConfiguration +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|public|setUsers(value?:CrossTenantAccessPolicyTargetConfiguration):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantAccessPolicyM365CollaborationInboundSetting +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationInboundSetting~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|constructor():void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|getOdataType():String +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|getUsersAndGroups():CrossTenantAccessPolicyTargetConfiguration +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|public|setUsersAndGroups(value?:CrossTenantAccessPolicyTargetConfiguration):void +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantAccessPolicyM365CollaborationOutboundSetting +com.microsoft.graph.beta.models.CrossTenantAccessPolicyM365CollaborationOutboundSetting~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.CrossTenantAccessPolicyTarget::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.CrossTenantAccessPolicyTarget::|public|constructor():void com.microsoft.graph.beta.models.CrossTenantAccessPolicyTarget::|public|getAdditionalData():Map @@ -222878,9 +223743,11 @@ com.microsoft.graph.beta.models.Directory::|public|getPendingExternalUserProfile com.microsoft.graph.beta.models.Directory::|public|getPublicKeyInfrastructure():PublicKeyInfrastructureRoot com.microsoft.graph.beta.models.Directory::|public|getRecommendationConfiguration():RecommendationConfiguration com.microsoft.graph.beta.models.Directory::|public|getRecommendations():java.util.List +com.microsoft.graph.beta.models.Directory::|public|getRecovery():Recovery com.microsoft.graph.beta.models.Directory::|public|getSharedEmailDomains():java.util.List com.microsoft.graph.beta.models.Directory::|public|getSubscriptions():java.util.List com.microsoft.graph.beta.models.Directory::|public|getTemplates():Template +com.microsoft.graph.beta.models.Directory::|public|getTenantGovernance():TenantGovernance com.microsoft.graph.beta.models.Directory::|public|OdataType:String com.microsoft.graph.beta.models.Directory::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.Directory::|public|setAdministrativeUnits(value?:java.util.List):void @@ -222901,9 +223768,11 @@ com.microsoft.graph.beta.models.Directory::|public|setPendingExternalUserProfile com.microsoft.graph.beta.models.Directory::|public|setPublicKeyInfrastructure(value?:PublicKeyInfrastructureRoot):void com.microsoft.graph.beta.models.Directory::|public|setRecommendationConfiguration(value?:RecommendationConfiguration):void com.microsoft.graph.beta.models.Directory::|public|setRecommendations(value?:java.util.List):void +com.microsoft.graph.beta.models.Directory::|public|setRecovery(value?:Recovery):void com.microsoft.graph.beta.models.Directory::|public|setSharedEmailDomains(value?:java.util.List):void com.microsoft.graph.beta.models.Directory::|public|setSubscriptions(value?:java.util.List):void com.microsoft.graph.beta.models.Directory::|public|setTemplates(value?:Template):void +com.microsoft.graph.beta.models.Directory::|public|setTenantGovernance(value?:TenantGovernance):void com.microsoft.graph.beta.models.Directory::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Directory com.microsoft.graph.beta.models.DirectoryAudit-->Entity com.microsoft.graph.beta.models.DirectoryAudit::|public|constructor():void @@ -227305,6 +228174,179 @@ com.microsoft.graph.beta.models.EntraIdProtectionRiskyUserApproval::|public|seri com.microsoft.graph.beta.models.EntraIdProtectionRiskyUserApproval::|public|setIsApprovalRequired(value?:Boolean):void com.microsoft.graph.beta.models.EntraIdProtectionRiskyUserApproval::|public|setMinimumRiskLevel(value?:RiskLevel):void com.microsoft.graph.beta.models.EntraIdProtectionRiskyUserApproval::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EntraIdProtectionRiskyUserApproval +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|getEntityIds():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|getEntityType():ResourceTypeName +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|getOdataType():String +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|setEntityIds(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|setEntityType(value?:ResourceTypeName):void +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EntityTypeAndIds +com.microsoft.graph.beta.models.entrarecoveryservices.EntityTypeAndIds~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery-->Entity +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|public|getJobs():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|public|getSnapshots():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|public|OdataType:String +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|public|setJobs(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|public|setSnapshots(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.Recovery::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Recovery +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryAction::0000-SoftDelete +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryAction::0001-Update +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryAction::0002-Restore +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryAction::0003-UnknownFutureValue +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase-->Entity +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|getDisplayName():String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|getEntityTypeName():ResourceTypeName +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|getFailureMessage():String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|getRecoveryAction():RecoveryAction +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|OdataType:String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|setEntityTypeName(value?:ResourceTypeName):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|setFailureMessage(value?:String):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|public|setRecoveryAction(value?:RecoveryAction):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryChangeObjectBase +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob-->RecoveryJobBase +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|getTotalFailedChanges():Integer +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|getTotalLinksModified():Integer +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|getTotalObjectsModified():Integer +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|OdataType:String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|setTotalFailedChanges(value?:Integer):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|setTotalLinksModified(value?:Integer):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|public|setTotalObjectsModified(value?:Integer):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryJob +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase-->Entity +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|getFilteringCriteria():RecoveryJobFilteringCriteriaBase +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|getJobCompletionDateTime():OffsetDateTime +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|getJobStartDateTime():OffsetDateTime +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|getStatus():RecoveryStatus +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|getTargetStateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|getTotalChangedLinksCalculated():Integer +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|getTotalChangedObjectsCalculated():Integer +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|OdataType:String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|setFilteringCriteria(value?:RecoveryJobFilteringCriteriaBase):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|setJobCompletionDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|setJobStartDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|setStatus(value?:RecoveryStatus):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|setTargetStateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|setTotalChangedLinksCalculated(value?:Integer):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|public|setTotalChangedObjectsCalculated(value?:Integer):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryJobBase +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryJobBaseCollectionResponse +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryJobCollectionResponse +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNameAndIdsFilter-->RecoveryJobFilteringCriteriaBase +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNameAndIdsFilter::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNameAndIdsFilter::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNameAndIdsFilter::|public|getFilterValues():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNameAndIdsFilter::|public|OdataType:String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNameAndIdsFilter::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNameAndIdsFilter::|public|setFilterValues(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNameAndIdsFilter::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryJobEntityNameAndIdsFilter +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNamesFilter-->RecoveryJobFilteringCriteriaBase +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNamesFilter::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNamesFilter::|public|getEntityTypes():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNamesFilter::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNamesFilter::|public|OdataType:String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNamesFilter::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNamesFilter::|public|setEntityTypes(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobEntityNamesFilter::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryJobEntityNamesFilter +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|getOdataType():String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryJobFilteringCriteriaBase +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobFilteringCriteriaBase~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJob-->RecoveryJobBase +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJob::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJob::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJob::|public|OdataType:String +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJob::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJob::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryPreviewJob +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecoveryPreviewJobCollectionResponse +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryStatus::0000-Initialized +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryStatus::0001-Running +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryStatus::0002-Successful +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryStatus::0003-Failed +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryStatus::0004-Abandoned +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryStatus::0005-UnknownFutureValue +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryStatus::0006-Calculating +com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryStatus::0007-LoadingData +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0000-User +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0001-Group +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0002-ConditionalAccessPolicy +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0003-NamedLocationPolicy +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0004-AuthenticationMethodPolicy +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0005-AuthorizationPolicy +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0006-AuthenticationStrengthPolicy +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0007-Application +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0008-ServicePrincipal +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0009-UnknownFutureValue +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0010-OAuth2PermissionGrant +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0011-AppRoleAssignment +com.microsoft.graph.beta.models.entrarecoveryservices.ResourceTypeName::0012-Organization +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot-->Entity +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|getRecoveryJobs():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|getRecoveryPreviewJobs():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|getTotalChangedObjects():Integer +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|OdataType:String +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|setRecoveryJobs(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|setRecoveryPreviewJobs(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|public|setTotalChangedObjects(value?:Integer):void +com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Snapshot +com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SnapshotCollectionResponse com.microsoft.graph.beta.models.EnumeratedAccountsWithAccess-->AccountsWithAccess com.microsoft.graph.beta.models.EnumeratedAccountsWithAccess::|public|constructor():void com.microsoft.graph.beta.models.EnumeratedAccountsWithAccess::|public|getAccounts():java.util.List @@ -233683,6 +234725,20 @@ com.microsoft.graph.beta.models.IdentityGovernance::|public|setPrivilegedAccess( com.microsoft.graph.beta.models.IdentityGovernance::|public|setRoleManagementAlerts(value?:RoleManagementAlert):void com.microsoft.graph.beta.models.IdentityGovernance::|public|setTermsOfUse(value?:TermsOfUseContainer):void com.microsoft.graph.beta.models.IdentityGovernance::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IdentityGovernance +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|constructor():void +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|getApproverDelegate():ApproverDelegate +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|getOdataType():String +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|setApproverDelegate(value?:ApproverDelegate):void +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IdentityGovernanceUserSettings +com.microsoft.graph.beta.models.IdentityGovernanceUserSettings~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.IdentityGovernance~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.IdentityInput::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.IdentityInput::|public|constructor():void @@ -248180,6 +249236,10 @@ com.microsoft.graph.beta.models.networkaccess.Algorithm::0001-Sha1 com.microsoft.graph.beta.models.networkaccess.Algorithm::0002-Sha256 com.microsoft.graph.beta.models.networkaccess.Algorithm::0003-Sha256ac com.microsoft.graph.beta.models.networkaccess.Algorithm::0004-UnknownFutureValue +com.microsoft.graph.beta.models.networkaccess.ApplicationActivity::0000-None +com.microsoft.graph.beta.models.networkaccess.ApplicationActivity::0001-Prompt +com.microsoft.graph.beta.models.networkaccess.ApplicationActivity::0002-Mcp +com.microsoft.graph.beta.models.networkaccess.ApplicationActivity::0003-UnknownFutureValue com.microsoft.graph.beta.models.networkaccess.ApplicationAnalyticsUsagePoint::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.networkaccess.ApplicationAnalyticsUsagePoint::|public|constructor():void com.microsoft.graph.beta.models.networkaccess.ApplicationAnalyticsUsagePoint::|public|getAdditionalData():Map @@ -248335,6 +249395,7 @@ com.microsoft.graph.beta.models.networkaccess.ClientFallbackAction::0001-Block com.microsoft.graph.beta.models.networkaccess.ClientFallbackAction::0002-UnknownFutureValue com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|constructor():void +com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|getActivity():ApplicationActivity com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|getAdditionalData():Map com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|getBackingStore():BackingStore com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|getCategories():java.util.List @@ -248350,6 +249411,7 @@ com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public| com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|getSecurityScore():Integer com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|getSubactivity():String com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|setActivity(value?:ApplicationActivity):void com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|setAdditionalData(value?:Map):void com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.models.networkaccess.CloudApplicationMetadata::|public|setCategories(value?:java.util.List):void @@ -249256,6 +250318,49 @@ com.microsoft.graph.beta.models.networkaccess.FqdnFilteringRule::|public|getFiel com.microsoft.graph.beta.models.networkaccess.FqdnFilteringRule::|public|OdataType:String com.microsoft.graph.beta.models.networkaccess.FqdnFilteringRule::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.networkaccess.FqdnFilteringRule::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FqdnFilteringRule +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|constructor():void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getActivity():ApplicationActivity +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getContent():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getDestinationUrl():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getEventId():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getEventType():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getMcpClientName():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getMcpServerName():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getOdataType():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getSessionId():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getSubactivity():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getTransactionId():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|getUserPrincipalName():String +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setActivity(value?:ApplicationActivity):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setContent(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setDestinationUrl(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setEventId(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setEventType(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setMcpClientName(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setMcpServerName(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setSessionId(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setSubactivity(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setTransactionId(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|public|setUserPrincipalName(value?:String):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GenerativeAIInsight +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsightCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsightCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsightCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsightCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsightCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsightCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsightCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GenerativeAIInsightCollectionResponse +com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.networkaccess.Headers::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.networkaccess.Headers::|public|constructor():void com.microsoft.graph.beta.models.networkaccess.Headers::|public|getAdditionalData():Map @@ -249389,11 +250494,13 @@ com.microsoft.graph.beta.models.networkaccess.Logs-->Entity com.microsoft.graph.beta.models.networkaccess.Logs::|public|constructor():void com.microsoft.graph.beta.models.networkaccess.Logs::|public|getConnections():java.util.List com.microsoft.graph.beta.models.networkaccess.Logs::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.networkaccess.Logs::|public|getGenerativeAIInsights():java.util.List com.microsoft.graph.beta.models.networkaccess.Logs::|public|getRemoteNetworks():java.util.List com.microsoft.graph.beta.models.networkaccess.Logs::|public|getTraffic():java.util.List com.microsoft.graph.beta.models.networkaccess.Logs::|public|OdataType:String com.microsoft.graph.beta.models.networkaccess.Logs::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.networkaccess.Logs::|public|setConnections(value?:java.util.List):void +com.microsoft.graph.beta.models.networkaccess.Logs::|public|setGenerativeAIInsights(value?:java.util.List):void com.microsoft.graph.beta.models.networkaccess.Logs::|public|setRemoteNetworks(value?:java.util.List):void com.microsoft.graph.beta.models.networkaccess.Logs::|public|setTraffic(value?:java.util.List):void com.microsoft.graph.beta.models.networkaccess.Logs::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Logs @@ -285436,6 +286543,280 @@ com.microsoft.graph.beta.models.TenantDataSecurityAndGovernance::|public|seriali com.microsoft.graph.beta.models.TenantDataSecurityAndGovernance::|public|setPolicyFiles(value?:java.util.List):void com.microsoft.graph.beta.models.TenantDataSecurityAndGovernance::|public|setProtectionScopes(value?:TenantProtectionScopeContainer):void com.microsoft.graph.beta.models.TenantDataSecurityAndGovernance::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantDataSecurityAndGovernance +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|getInitial():B2BRegistrationMetricsInitial +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|getRecent():B2BRegistrationMetricsRecent +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|setInitial(value?:B2BRegistrationMetricsInitial):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|setRecent(value?:B2BRegistrationMetricsRecent):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2bRegistrationMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|getInboundTotalUsers():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|getOutboundTotalUsers():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|getWatermarkDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|setInboundTotalUsers(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|setOutboundTotalUsers(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial-->B2BRegistrationMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsInitial +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent-->B2BRegistrationMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|getUpdateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsRecent +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|getInitial():B2BSignInActivityMetricsInitial +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|getRecent():B2BSignInActivityMetricsRecent +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|setInitial(value?:B2BSignInActivityMetricsInitial):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|setRecent(value?:B2BSignInActivityMetricsRecent):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getInboundMonthlyTotalApplications():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getInboundMonthlyTotalUsers():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getOutboundMonthlyTotalApplications():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getOutboundMonthlyTotalUsers():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getWatermarkDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setInboundMonthlyTotalApplications(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setInboundMonthlyTotalUsers(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setOutboundMonthlyTotalApplications(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setOutboundMonthlyTotalUsers(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial-->B2BSignInActivityMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsInitial +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent-->B2BSignInActivityMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|getUpdateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsRecent +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|getInitial():BillingMetricsInitial +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|getRecent():BillingMetricsRecent +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|setInitial(value?:BillingMetricsInitial):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|setRecent(value?:BillingMetricsRecent):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getForeignAssociatedTenantBillingManagementActiveCount():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getForeignAssociatedTenantCount():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getForeignAssociatedTenantProvisioningActiveCount():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getLocalAssociatedTenantBillingManagementActiveCount():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getLocalAssociatedTenantCount():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getLocalAssociatedTenantIds():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getLocalAssociatedTenantProvisioningActiveCount():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getWatermarkDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setForeignAssociatedTenantBillingManagementActiveCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setForeignAssociatedTenantCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setForeignAssociatedTenantProvisioningActiveCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setLocalAssociatedTenantBillingManagementActiveCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setLocalAssociatedTenantCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setLocalAssociatedTenantIds(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setLocalAssociatedTenantProvisioningActiveCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial-->BillingMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsInitial +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent-->BillingMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|getUpdateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsRecent +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getGroup():Group +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getRoleTemplates():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setGroup(value?:Group):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setRoleTemplates(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdministrationRoleAssignment +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getGroupId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getRoleTemplates():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setGroupId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setRoleTemplates(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdministrationRoleAssignmentSnapshot +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getExpirationDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getGovernedTenantId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getGovernedTenantName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getGoverningTenantId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getGoverningTenantName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setExpirationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setGovernedTenantId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setGovernedTenantName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setGoverningTenantId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setGoverningTenantName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceInvitation +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceInvitationCollectionResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getDelegatedAdministrationRoleAssignments():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getDescription():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getDisplayName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getGovernedTenantCanTerminate():Boolean +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getLastModifiedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getMultiTenantApplicationsToProvision():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getVersion():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setDelegatedAdministrationRoleAssignments(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setDescription(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setGovernedTenantCanTerminate(value?:Boolean):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setLastModifiedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setMultiTenantApplicationsToProvision(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setVersion(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernancePolicyTemplate +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernancePolicyTemplateCollectionResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getCreatedType():RelationshipCreationType +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getCreationDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getGovernedTenantId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getGovernedTenantName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getGoverningTenantId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getGoverningTenantName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getPolicySnapshot():RelationshipPolicy +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getStatus():RelationshipStatus +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setCreatedType(value?:RelationshipCreationType):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setCreationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setGovernedTenantId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setGovernedTenantName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setGoverningTenantId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setGoverningTenantName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setPolicySnapshot(value?:RelationshipPolicy):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setStatus(value?:RelationshipStatus):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRelationship +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRelationshipCollectionResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getExpirationDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGovernancePolicyTemplate():GovernancePolicyTemplate +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGovernedTenantId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGovernedTenantName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGoverningTenantId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGoverningTenantName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getPolicySnapshot():RelationshipPolicy +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getRequestDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getStatus():RequestStatus +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setExpirationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGovernancePolicyTemplate(value?:GovernancePolicyTemplate):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGovernedTenantId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGovernedTenantName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGoverningTenantId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGoverningTenantName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setPolicySnapshot(value?:RelationshipPolicy):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setRequestDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setStatus(value?:RequestStatus):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRequest +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRequestCollectionResponse com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation-->Entity com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|constructor():void com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|getCreatedDateTime():OffsetDateTime @@ -285457,6 +286838,249 @@ com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationSta com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationStatus::0002-Succeeded com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationStatus::0003-Failed com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationStatus::0004-UnknownFutureValue +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|getInitial():MultiTenantApplicationMetricsInitial +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|getRecent():MultiTenantApplicationMetricsRecent +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|setInitial(value?:MultiTenantApplicationMetricsInitial):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|setRecent(value?:MultiTenantApplicationMetricsRecent):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|getInboundMonthlyTotalApplications():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|getOutboundMonthlyTotalApplications():BigDecimal +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|getWatermarkDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|setInboundMonthlyTotalApplications(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|setOutboundMonthlyTotalApplications(value?:BigDecimal):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial-->MultiTenantApplicationMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsInitial +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent-->MultiTenantApplicationMetricsBase +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|getUpdateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsRecent +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getAppId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getDisplayName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getObjectId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getRequiredResourceAccesses():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setAppId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setObjectId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setRequiredResourceAccesses(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationsToProvision +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getAppId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getDisplayName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getObjectId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getRequiredResourceAccesses():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setAppId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setObjectId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setRequiredResourceAccesses(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationsToProvisionSnapshot +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.PermissionType::0000-Role +com.microsoft.graph.beta.models.tenantgovernanceservices.PermissionType::0001-Scope +com.microsoft.graph.beta.models.tenantgovernanceservices.PermissionType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getAppB2BSignInActivityMetrics():B2BSignInActivityMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getB2BRegistrationMetrics():B2bRegistrationMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getB2BSignInActivityMetrics():B2BSignInActivityMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getBillingMetrics():BillingMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getMultiTenantApplicationMetrics():MultiTenantApplicationMetrics +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setAppB2BSignInActivityMetrics(value?:B2BSignInActivityMetrics):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setB2BRegistrationMetrics(value?:B2bRegistrationMetrics):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setB2BSignInActivityMetrics(value?:B2BSignInActivityMetrics):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setBillingMetrics(value?:BillingMetrics):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setMultiTenantApplicationMetrics(value?:MultiTenantApplicationMetrics):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenant +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantCollectionResponse +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|getLocation():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|setLocation(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantsRefreshRequest +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getIsFirstRefresh():Boolean +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getMostRecentRefreshRequestStatus():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getMostRecentRefreshTime():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setIsFirstRefresh(value?:Boolean):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setMostRecentRefreshRequestStatus(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setMostRecentRefreshTime(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantsRefreshStatus +com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipCreationType::0000-ApprovedByAdmin +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipCreationType::0001-AddOnTenant +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipCreationType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getDelegatedAdministrationRoleAssignments():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getGovernedTenantCanTerminate():Boolean +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getMultiTenantApplicationsToProvision():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getPolicyId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getVersion():Integer +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setDelegatedAdministrationRoleAssignments(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setGovernedTenantCanTerminate(value?:Boolean):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setMultiTenantApplicationsToProvision(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setPolicyId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setVersion(value?:Integer):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelationshipPolicy +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipStatus::0000-Active +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipStatus::0001-Terminated +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipStatus::0002-TerminationRequestedByGoverningTenant +com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipStatus::0003-UnknownFutureValue +com.microsoft.graph.beta.models.tenantgovernanceservices.RequestStatus::0000-Pending +com.microsoft.graph.beta.models.tenantgovernanceservices.RequestStatus::0001-Accepted +com.microsoft.graph.beta.models.tenantgovernanceservices.RequestStatus::0002-Rejected +com.microsoft.graph.beta.models.tenantgovernanceservices.RequestStatus::0003-UnknownFutureValue +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getPermissions():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getResourceAppId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setPermissions(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setResourceAppId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RequiredResourceAccess +com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getType():PermissionType +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setType(value?:PermissionType):void +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ResourcePermission +com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getId():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getName():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getOdataType():String +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setId(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setName(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RoleTemplate +com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getGovernanceInvitations():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getGovernancePolicyTemplates():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getGovernanceRelationships():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getGovernanceRequests():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getRelatedTenants():java.util.List +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getSettings():TenantGovernanceSetting +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setGovernanceInvitations(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setGovernancePolicyTemplates(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setGovernanceRelationships(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setGovernanceRequests(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setRelatedTenants(value?:java.util.List):void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setSettings(value?:TenantGovernanceSetting):void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantGovernance +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting-->Entity +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|constructor():void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|getCanReceiveInvitations():Boolean +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|getIsRelatedTenantsEnabled():Boolean +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|OdataType:String +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|setCanReceiveInvitations(value?:Boolean):void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|setIsRelatedTenantsEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantGovernanceSetting com.microsoft.graph.beta.models.TenantInformation::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.TenantInformation::|public|constructor():void com.microsoft.graph.beta.models.TenantInformation::|public|getAdditionalData():Map @@ -288671,6 +290295,7 @@ com.microsoft.graph.beta.models.User::|public|getFollowedSites():java.util.List< com.microsoft.graph.beta.models.User::|public|getGivenName():String com.microsoft.graph.beta.models.User::|public|getHireDate():OffsetDateTime com.microsoft.graph.beta.models.User::|public|getIdentities():java.util.List +com.microsoft.graph.beta.models.User::|public|getIdentityGovernance():IdentityGovernanceUserSettings com.microsoft.graph.beta.models.User::|public|getIdentityParentId():String com.microsoft.graph.beta.models.User::|public|getImAddresses():java.util.List com.microsoft.graph.beta.models.User::|public|getInferenceClassification():InferenceClassification @@ -288835,6 +290460,7 @@ com.microsoft.graph.beta.models.User::|public|setFollowedSites(value?:java.util. com.microsoft.graph.beta.models.User::|public|setGivenName(value?:String):void com.microsoft.graph.beta.models.User::|public|setHireDate(value?:OffsetDateTime):void com.microsoft.graph.beta.models.User::|public|setIdentities(value?:java.util.List):void +com.microsoft.graph.beta.models.User::|public|setIdentityGovernance(value?:IdentityGovernanceUserSettings):void com.microsoft.graph.beta.models.User::|public|setIdentityParentId(value?:String):void com.microsoft.graph.beta.models.User::|public|setImAddresses(value?:java.util.List):void com.microsoft.graph.beta.models.User::|public|setInferenceClassification(value?:InferenceClassification):void @@ -304111,6 +305737,71 @@ com.microsoft.graph.beta.networkaccess.logs.connections.item.ConnectionItemReque com.microsoft.graph.beta.networkaccess.logs.connections.item.ConnectionItemRequestBuilder::|public|toPatchRequestInformation(body:Connection):RequestInformation com.microsoft.graph.beta.networkaccess.logs.connections.item.ConnectionItemRequestBuilder::|public|toPatchRequestInformation(body:Connection; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.networkaccess.logs.connections.item.ConnectionItemRequestBuilder::|public|withUrl(rawUrl:String):ConnectionItemRequestBuilder +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|byGenerativeAIInsightTransactionId(generativeAIInsightTransactionId:String):GenerativeAIInsightTransactionItemRequestBuilder +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|get():GenerativeAIInsightCollectionResponse +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GenerativeAIInsightCollectionResponse +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|post(body:GenerativeAIInsight):GenerativeAIInsight +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|post(body:GenerativeAIInsight; requestConfiguration?:java.util.function.Consumer):GenerativeAIInsight +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|toPostRequestInformation(body:GenerativeAIInsight):RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|toPostRequestInformation(body:GenerativeAIInsight; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder::|public|withUrl(rawUrl:String):GenerativeAIInsightsRequestBuilder +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|get():GenerativeAIInsight +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GenerativeAIInsight +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|patch(body:GenerativeAIInsight):GenerativeAIInsight +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|patch(body:GenerativeAIInsight; requestConfiguration?:java.util.function.Consumer):GenerativeAIInsight +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|toPatchRequestInformation(body:GenerativeAIInsight):RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|toPatchRequestInformation(body:GenerativeAIInsight; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder::|public|withUrl(rawUrl:String):GenerativeAIInsightTransactionItemRequestBuilder com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -304125,6 +305816,7 @@ com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder::|public|construc com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder::|public|delete():Void com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder::|public|generativeAIInsights:GenerativeAIInsightsRequestBuilder com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder::|public|get():Logs com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Logs com.microsoft.graph.beta.networkaccess.logs.LogsRequestBuilder::|public|patch(body:Logs):Logs diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json index b1687ff0e75..3d60c2ffbee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "9131FF6ED7EE6DE4D7109C3029D845A520AC5A57DAAA4DAF7AA7DB1ED437262FDF2A117B6BCF6AF4FB58B7A66D09BD604A14CDA51447A161F7AC05FD1B4BD928", + "descriptionHash": "DFACD0D29DD04EDA725BEC5EB325E6898F670A3F359CEEAAEC2161F35BE8DD6722D8869B5C417D48B5FDB1B252B4953F94940ACBE0B55B7E4C3101504C887C2C", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0", diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ApproverDelegate.java b/src/main/java/com/microsoft/graph/beta/generated/models/ApproverDelegate.java new file mode 100644 index 00000000000..c32674ec7d2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ApproverDelegate.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ApproverDelegate implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ApproverDelegate} and sets the default values. + */ + public ApproverDelegate() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ApproverDelegate} + */ + @jakarta.annotation.Nonnull + public static ApproverDelegate createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ApproverDelegate(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegate property value. The delegate property + * @return a {@link SubjectSet} + */ + @jakarta.annotation.Nullable + public SubjectSet getDelegate() { + return this.backingStore.get("delegate"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("delegate", (n) -> { this.setDelegate(n.getObjectValue(SubjectSet::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("schedule", (n) -> { this.setSchedule(n.getObjectValue(RequestSchedule::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the schedule property value. The schedule property + * @return a {@link RequestSchedule} + */ + @jakarta.annotation.Nullable + public RequestSchedule getSchedule() { + return this.backingStore.get("schedule"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeObjectValue("delegate", this.getDelegate()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeObjectValue("schedule", this.getSchedule()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegate property value. The delegate property + * @param value Value to set for the delegate property. + */ + public void setDelegate(@jakarta.annotation.Nullable final SubjectSet value) { + this.backingStore.set("delegate", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the schedule property value. The schedule property + * @param value Value to set for the schedule property. + */ + public void setSchedule(@jakarta.annotation.Nullable final RequestSchedule value) { + this.backingStore.set("schedule", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcAutomaticDiscoveredAppDetail.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcAutomaticDiscoveredAppDetail.java new file mode 100644 index 00000000000..85f999f067c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcAutomaticDiscoveredAppDetail.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CloudPcAutomaticDiscoveredAppDetail extends CloudPcCloudAppDetail implements Parsable { + /** + * Instantiates a new {@link CloudPcAutomaticDiscoveredAppDetail} and sets the default values. + */ + public CloudPcAutomaticDiscoveredAppDetail() { + super(); + this.setOdataType("#microsoft.graph.cloudPcAutomaticDiscoveredAppDetail"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CloudPcAutomaticDiscoveredAppDetail} + */ + @jakarta.annotation.Nonnull + public static CloudPcAutomaticDiscoveredAppDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CloudPcAutomaticDiscoveredAppDetail(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcCloudAppActionFailedErrorCode.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcCloudAppActionFailedErrorCode.java index a56e79653a6..8eb5a2ad4c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcCloudAppActionFailedErrorCode.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcCloudAppActionFailedErrorCode.java @@ -9,7 +9,9 @@ public enum CloudPcCloudAppActionFailedErrorCode implements ValuedEnum { CloudPcLicenseNotFound("cloudPcLicenseNotFound"), InternalServerError("internalServerError"), AppDiscoveryFailed("appDiscoveryFailed"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + IconPathInvalid("iconPathInvalid"), + FilePathInvalid("filePathInvalid"); public final String value; CloudPcCloudAppActionFailedErrorCode(final String value) { this.value = value; @@ -25,6 +27,8 @@ public static CloudPcCloudAppActionFailedErrorCode forValue(@jakarta.annotation. case "internalServerError": return InternalServerError; case "appDiscoveryFailed": return AppDiscoveryFailed; case "unknownFutureValue": return UnknownFutureValue; + case "iconPathInvalid": return IconPathInvalid; + case "filePathInvalid": return FilePathInvalid; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcCloudAppDetail.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcCloudAppDetail.java index b2475cd1f5a..f8e10463b1e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcCloudAppDetail.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcCloudAppDetail.java @@ -32,6 +32,14 @@ public CloudPcCloudAppDetail() { @jakarta.annotation.Nonnull public static CloudPcCloudAppDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.cloudPcAutomaticDiscoveredAppDetail": return new CloudPcAutomaticDiscoveredAppDetail(); + case "#microsoft.graph.cloudPcFilePathAppDetail": return new CloudPcFilePathAppDetail(); + } + } return new CloudPcCloudAppDetail(); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcConnectivityStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcConnectivityStatus.java index e330554a6c9..25341485ba2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcConnectivityStatus.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcConnectivityStatus.java @@ -9,7 +9,9 @@ public enum CloudPcConnectivityStatus implements ValuedEnum { Available("available"), AvailableWithWarning("availableWithWarning"), Unavailable("unavailable"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + UnderServiceMaintenance("underServiceMaintenance"), + InUse("inUse"); public final String value; CloudPcConnectivityStatus(final String value) { this.value = value; @@ -25,6 +27,8 @@ public static CloudPcConnectivityStatus forValue(@jakarta.annotation.Nonnull fin case "availableWithWarning": return AvailableWithWarning; case "unavailable": return Unavailable; case "unknownFutureValue": return UnknownFutureValue; + case "underServiceMaintenance": return UnderServiceMaintenance; + case "inUse": return InUse; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcFilePathAppDetail.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcFilePathAppDetail.java new file mode 100644 index 00000000000..ef674a2a014 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcFilePathAppDetail.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CloudPcFilePathAppDetail extends CloudPcCloudAppDetail implements Parsable { + /** + * Instantiates a new {@link CloudPcFilePathAppDetail} and sets the default values. + */ + public CloudPcFilePathAppDetail() { + super(); + this.setOdataType("#microsoft.graph.cloudPcFilePathAppDetail"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CloudPcFilePathAppDetail} + */ + @jakarta.annotation.Nonnull + public static CloudPcFilePathAppDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CloudPcFilePathAppDetail(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationDrift.java b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationDrift.java index 65eea277d3a..4128d4cd679 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationDrift.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationDrift.java @@ -26,7 +26,7 @@ public static ConfigurationDrift createFromDiscriminatorValue(@jakarta.annotatio return new ConfigurationDrift(); } /** - * Gets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. + * Gets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. Supports $filter (eq, ne, startsWith) and $orderby. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public String getBaselineResourceDisplayName() { return this.backingStore.get("baselineResourceDisplayName"); } /** - * Gets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. + * Gets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. Returned only on $select. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -59,7 +59,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the firstReportedDateTime property value. The date and time at which drift is first detected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the firstReportedDateTime property value. The date and time at which drift is first detected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -67,7 +67,7 @@ public OffsetDateTime getFirstReportedDateTime() { return this.backingStore.get("firstReportedDateTime"); } /** - * Gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. + * Gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -83,7 +83,7 @@ public OpenComplexDictionaryType getResourceInstanceIdentifier() { return this.backingStore.get("resourceInstanceIdentifier"); } /** - * Gets the resourceType property value. Resource for which the drift is detected. + * Gets the resourceType property value. Resource for which the drift is detected. Supports $filter (eq, ne, startsWith). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -99,7 +99,7 @@ public DriftStatus getStatus() { return this.backingStore.get("status"); } /** - * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. + * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -117,28 +117,28 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("status", this.getStatus()); } /** - * Sets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. + * Sets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. Supports $filter (eq, ne, startsWith) and $orderby. * @param value Value to set for the baselineResourceDisplayName property. */ public void setBaselineResourceDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("baselineResourceDisplayName", value); } /** - * Sets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. + * Sets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. Returned only on $select. * @param value Value to set for the driftedProperties property. */ public void setDriftedProperties(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("driftedProperties", value); } /** - * Sets the firstReportedDateTime property value. The date and time at which drift is first detected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the firstReportedDateTime property value. The date and time at which drift is first detected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @param value Value to set for the firstReportedDateTime property. */ public void setFirstReportedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("firstReportedDateTime", value); } /** - * Sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. + * Sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne). * @param value Value to set for the monitorId property. */ public void setMonitorId(@jakarta.annotation.Nullable final String value) { @@ -152,7 +152,7 @@ public void setResourceInstanceIdentifier(@jakarta.annotation.Nullable final Ope this.backingStore.set("resourceInstanceIdentifier", value); } /** - * Sets the resourceType property value. Resource for which the drift is detected. + * Sets the resourceType property value. Resource for which the drift is detected. Supports $filter (eq, ne, startsWith). * @param value Value to set for the resourceType property. */ public void setResourceType(@jakarta.annotation.Nullable final String value) { @@ -166,7 +166,7 @@ public void setStatus(@jakarta.annotation.Nullable final DriftStatus value) { this.backingStore.set("status", value); } /** - * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. + * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationMonitor.java b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationMonitor.java index 6eeef07eaee..6e9279ac81b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationMonitor.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationMonitor.java @@ -42,7 +42,7 @@ public IdentitySet getCreatedBy() { return this.backingStore.get("createdBy"); } /** - * Gets the createdDateTime property value. The date and time when the monitor was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the createdDateTime property value. The date and time when the monitor was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -50,7 +50,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the description property value. User-friendly description of the monitor given by the user. + * Gets the description property value. User-friendly description of the monitor given by the user. Supports $filter (eq, ne, startsWith) and $orderby. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -58,7 +58,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. User-friendly name given by the user to the monitor. + * Gets the displayName property value. User-friendly name given by the user to the monitor. Supports $filter (eq, ne, startsWith) and $orderby. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -88,7 +88,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the inactivationReason property value. The reason for the monitor's inactivation. + * Gets the inactivationReason property value. The reason for the monitor's inactivation. Returned only on $select. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -104,7 +104,7 @@ public IdentitySet getLastModifiedBy() { return this.backingStore.get("lastModifiedBy"); } /** - * Gets the lastModifiedDateTime property value. The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the lastModifiedDateTime property value. The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -128,7 +128,7 @@ public Integer getMonitorRunFrequencyInHours() { return this.backingStore.get("monitorRunFrequencyInHours"); } /** - * Gets the parameters property value. Key-value pairs that contain parameter values which might be used in the baseline. + * Gets the parameters property value. Key-value pairs that contain parameter values which might be used in the baseline. Returned only on $select. * @return a {@link OpenComplexDictionaryType} */ @jakarta.annotation.Nullable @@ -144,7 +144,7 @@ public MonitorStatus getStatus() { return this.backingStore.get("status"); } /** - * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. + * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -182,28 +182,28 @@ public void setCreatedBy(@jakarta.annotation.Nullable final IdentitySet value) { this.backingStore.set("createdBy", value); } /** - * Sets the createdDateTime property value. The date and time when the monitor was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the createdDateTime property value. The date and time when the monitor was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("createdDateTime", value); } /** - * Sets the description property value. User-friendly description of the monitor given by the user. + * Sets the description property value. User-friendly description of the monitor given by the user. Supports $filter (eq, ne, startsWith) and $orderby. * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the displayName property value. User-friendly name given by the user to the monitor. + * Sets the displayName property value. User-friendly name given by the user to the monitor. Supports $filter (eq, ne, startsWith) and $orderby. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the inactivationReason property value. The reason for the monitor's inactivation. + * Sets the inactivationReason property value. The reason for the monitor's inactivation. Returned only on $select. * @param value Value to set for the inactivationReason property. */ public void setInactivationReason(@jakarta.annotation.Nullable final String value) { @@ -217,7 +217,7 @@ public void setLastModifiedBy(@jakarta.annotation.Nullable final IdentitySet val this.backingStore.set("lastModifiedBy", value); } /** - * Sets the lastModifiedDateTime property value. The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the lastModifiedDateTime property value. The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @param value Value to set for the lastModifiedDateTime property. */ public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { @@ -238,7 +238,7 @@ public void setMonitorRunFrequencyInHours(@jakarta.annotation.Nullable final Int this.backingStore.set("monitorRunFrequencyInHours", value); } /** - * Sets the parameters property value. Key-value pairs that contain parameter values which might be used in the baseline. + * Sets the parameters property value. Key-value pairs that contain parameter values which might be used in the baseline. Returned only on $select. * @param value Value to set for the parameters property. */ public void setParameters(@jakarta.annotation.Nullable final OpenComplexDictionaryType value) { @@ -252,7 +252,7 @@ public void setStatus(@jakarta.annotation.Nullable final MonitorStatus value) { this.backingStore.set("status", value); } /** - * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. + * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationMonitoringResult.java b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationMonitoringResult.java index 5f828d2be1c..a0e14cfc683 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationMonitoringResult.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationMonitoringResult.java @@ -26,7 +26,7 @@ public static ConfigurationMonitoringResult createFromDiscriminatorValue(@jakart return new ConfigurationMonitoringResult(); } /** - * Gets the driftsCount property value. Number of drifts observed during a monitor run. + * Gets the driftsCount property value. Number of drifts observed during a monitor run. Supports $filter (eq, ne, ge, le) and $orderby. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public Integer getDriftsCount() { return this.backingStore.get("driftsCount"); } /** - * Gets the errorDetails property value. All the error details that prevent the monitor from running successfully. The error details are a contained entity. + * Gets the errorDetails property value. All the error details that prevent the monitor from running successfully. The error details are a contained entity. Returned only on $select. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -58,7 +58,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. + * Gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -66,7 +66,7 @@ public String getMonitorId() { return this.backingStore.get("monitorId"); } /** - * Gets the runCompletionDateTime property value. Date and time at which the monitor run completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the runCompletionDateTime property value. Date and time at which the monitor run completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -74,7 +74,7 @@ public OffsetDateTime getRunCompletionDateTime() { return this.backingStore.get("runCompletionDateTime"); } /** - * Gets the runInitiationDateTime property value. Date and time at which the monitor run initiated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the runInitiationDateTime property value. Date and time at which the monitor run initiated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -90,7 +90,7 @@ public MonitorRunStatus getRunStatus() { return this.backingStore.get("runStatus"); } /** - * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. + * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -107,35 +107,35 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("runStatus", this.getRunStatus()); } /** - * Sets the driftsCount property value. Number of drifts observed during a monitor run. + * Sets the driftsCount property value. Number of drifts observed during a monitor run. Supports $filter (eq, ne, ge, le) and $orderby. * @param value Value to set for the driftsCount property. */ public void setDriftsCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("driftsCount", value); } /** - * Sets the errorDetails property value. All the error details that prevent the monitor from running successfully. The error details are a contained entity. + * Sets the errorDetails property value. All the error details that prevent the monitor from running successfully. The error details are a contained entity. Returned only on $select. * @param value Value to set for the errorDetails property. */ public void setErrorDetails(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("errorDetails", value); } /** - * Sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. + * Sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne). * @param value Value to set for the monitorId property. */ public void setMonitorId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("monitorId", value); } /** - * Sets the runCompletionDateTime property value. Date and time at which the monitor run completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the runCompletionDateTime property value. Date and time at which the monitor run completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @param value Value to set for the runCompletionDateTime property. */ public void setRunCompletionDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("runCompletionDateTime", value); } /** - * Sets the runInitiationDateTime property value. Date and time at which the monitor run initiated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the runInitiationDateTime property value. Date and time at which the monitor run initiated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @param value Value to set for the runInitiationDateTime property. */ public void setRunInitiationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { @@ -149,7 +149,7 @@ public void setRunStatus(@jakarta.annotation.Nullable final MonitorRunStatus val this.backingStore.set("runStatus", value); } /** - * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. + * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationSnapshotJob.java b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationSnapshotJob.java index a5310ea8645..ce86dce023d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationSnapshotJob.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationSnapshotJob.java @@ -26,7 +26,7 @@ public static ConfigurationSnapshotJob createFromDiscriminatorValue(@jakarta.ann return new ConfigurationSnapshotJob(); } /** - * Gets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -42,7 +42,7 @@ public IdentitySet getCreatedBy() { return this.backingStore.get("createdBy"); } /** - * Gets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -50,7 +50,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the description property value. User-friendly description of the snapshot given by the user. + * Gets the description property value. User-friendly description of the snapshot given by the user. Supports $filter (eq, ne, startsWith) and $orderby. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -58,7 +58,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. User-friendly name provided by the user during snapshot creation. + * Gets the displayName property value. User-friendly name provided by the user during snapshot creation. Supports $filter (eq, ne, startsWith) and $orderby. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -66,7 +66,7 @@ public String getDisplayName() { return this.backingStore.get("displayName"); } /** - * Gets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. + * Gets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. Returned only on $select. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the resourceLocation property value. The URL at which the snapshot file resides. + * Gets the resourceLocation property value. The URL at which the snapshot file resides. Returned only on $select. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -101,7 +101,7 @@ public String getResourceLocation() { return this.backingStore.get("resourceLocation"); } /** - * Gets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. + * Gets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. Returned only on $select. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -117,7 +117,7 @@ public SnapshotJobStatus getStatus() { return this.backingStore.get("status"); } /** - * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. + * Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. Supports $filter (eq, ne). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -138,7 +138,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("status", this.getStatus()); } /** - * Sets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @param value Value to set for the completedDateTime property. */ public void setCompletedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { @@ -152,42 +152,42 @@ public void setCreatedBy(@jakarta.annotation.Nullable final IdentitySet value) { this.backingStore.set("createdBy", value); } /** - * Sets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("createdDateTime", value); } /** - * Sets the description property value. User-friendly description of the snapshot given by the user. + * Sets the description property value. User-friendly description of the snapshot given by the user. Supports $filter (eq, ne, startsWith) and $orderby. * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the displayName property value. User-friendly name provided by the user during snapshot creation. + * Sets the displayName property value. User-friendly name provided by the user during snapshot creation. Supports $filter (eq, ne, startsWith) and $orderby. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. + * Sets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. Returned only on $select. * @param value Value to set for the errorDetails property. */ public void setErrorDetails(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("errorDetails", value); } /** - * Sets the resourceLocation property value. The URL at which the snapshot file resides. + * Sets the resourceLocation property value. The URL at which the snapshot file resides. Returned only on $select. * @param value Value to set for the resourceLocation property. */ public void setResourceLocation(@jakarta.annotation.Nullable final String value) { this.backingStore.set("resourceLocation", value); } /** - * Sets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. + * Sets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. Returned only on $select. * @param value Value to set for the resources property. */ public void setResources(@jakarta.annotation.Nullable final java.util.List value) { @@ -201,7 +201,7 @@ public void setStatus(@jakarta.annotation.Nullable final SnapshotJobStatus value this.backingStore.set("status", value); } /** - * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. + * Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. Supports $filter (eq, ne). * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyAppServiceConnectSetting.java b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyAppServiceConnectSetting.java new file mode 100644 index 00000000000..96c0aea7c4c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyAppServiceConnectSetting.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CrossTenantAccessPolicyAppServiceConnectSetting implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CrossTenantAccessPolicyAppServiceConnectSetting} and sets the default values. + */ + public CrossTenantAccessPolicyAppServiceConnectSetting() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CrossTenantAccessPolicyAppServiceConnectSetting} + */ + @jakarta.annotation.Nonnull + public static CrossTenantAccessPolicyAppServiceConnectSetting createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CrossTenantAccessPolicyAppServiceConnectSetting(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the applications property value. The applications property + * @return a {@link CrossTenantAccessPolicyTargetConfiguration} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyTargetConfiguration getApplications() { + return this.backingStore.get("applications"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("applications", (n) -> { this.setApplications(n.getObjectValue(CrossTenantAccessPolicyTargetConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeObjectValue("applications", this.getApplications()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the applications property value. The applications property + * @param value Value to set for the applications property. + */ + public void setApplications(@jakarta.annotation.Nullable final CrossTenantAccessPolicyTargetConfiguration value) { + this.backingStore.set("applications", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyConfigurationDefault.java b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyConfigurationDefault.java index 18e4b7ab6ac..e7e8c253bd0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyConfigurationDefault.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyConfigurationDefault.java @@ -24,6 +24,14 @@ public static CrossTenantAccessPolicyConfigurationDefault createFromDiscriminato Objects.requireNonNull(parseNode); return new CrossTenantAccessPolicyConfigurationDefault(); } + /** + * Gets the appServiceConnectInbound property value. The appServiceConnectInbound property + * @return a {@link CrossTenantAccessPolicyAppServiceConnectSetting} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyAppServiceConnectSetting getAppServiceConnectInbound() { + return this.backingStore.get("appServiceConnectInbound"); + } /** * Gets the automaticUserConsentSettings property value. Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and can't be updated in the default configuration. Read-only. * @return a {@link InboundOutboundPolicyConfiguration} @@ -79,6 +87,7 @@ public Boolean getBlockServiceProviderOutboundAccess() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("appServiceConnectInbound", (n) -> { this.setAppServiceConnectInbound(n.getObjectValue(CrossTenantAccessPolicyAppServiceConnectSetting::createFromDiscriminatorValue)); }); deserializerMap.put("automaticUserConsentSettings", (n) -> { this.setAutomaticUserConsentSettings(n.getObjectValue(InboundOutboundPolicyConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("b2bCollaborationInbound", (n) -> { this.setB2bCollaborationInbound(n.getObjectValue(CrossTenantAccessPolicyB2BSetting::createFromDiscriminatorValue)); }); deserializerMap.put("b2bCollaborationOutbound", (n) -> { this.setB2bCollaborationOutbound(n.getObjectValue(CrossTenantAccessPolicyB2BSetting::createFromDiscriminatorValue)); }); @@ -88,6 +97,8 @@ public Map> getFieldDeserializers deserializerMap.put("inboundTrust", (n) -> { this.setInboundTrust(n.getObjectValue(CrossTenantAccessPolicyInboundTrust::createFromDiscriminatorValue)); }); deserializerMap.put("invitationRedemptionIdentityProviderConfiguration", (n) -> { this.setInvitationRedemptionIdentityProviderConfiguration(n.getObjectValue(DefaultInvitationRedemptionIdentityProviderConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("isServiceDefault", (n) -> { this.setIsServiceDefault(n.getBooleanValue()); }); + deserializerMap.put("m365CollaborationInbound", (n) -> { this.setM365CollaborationInbound(n.getObjectValue(CrossTenantAccessPolicyM365CollaborationInboundSetting::createFromDiscriminatorValue)); }); + deserializerMap.put("m365CollaborationOutbound", (n) -> { this.setM365CollaborationOutbound(n.getObjectValue(CrossTenantAccessPolicyM365CollaborationOutboundSetting::createFromDiscriminatorValue)); }); deserializerMap.put("tenantRestrictions", (n) -> { this.setTenantRestrictions(n.getObjectValue(CrossTenantAccessPolicyTenantRestrictions::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -115,6 +126,22 @@ public DefaultInvitationRedemptionIdentityProviderConfiguration getInvitationRed public Boolean getIsServiceDefault() { return this.backingStore.get("isServiceDefault"); } + /** + * Gets the m365CollaborationInbound property value. The m365CollaborationInbound property + * @return a {@link CrossTenantAccessPolicyM365CollaborationInboundSetting} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyM365CollaborationInboundSetting getM365CollaborationInbound() { + return this.backingStore.get("m365CollaborationInbound"); + } + /** + * Gets the m365CollaborationOutbound property value. The m365CollaborationOutbound property + * @return a {@link CrossTenantAccessPolicyM365CollaborationOutboundSetting} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyM365CollaborationOutboundSetting getM365CollaborationOutbound() { + return this.backingStore.get("m365CollaborationOutbound"); + } /** * Gets the tenantRestrictions property value. Defines the default tenant restrictions configuration for users in your organization who access an external organization on your network or devices. * @return a {@link CrossTenantAccessPolicyTenantRestrictions} @@ -130,6 +157,7 @@ public CrossTenantAccessPolicyTenantRestrictions getTenantRestrictions() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeObjectValue("appServiceConnectInbound", this.getAppServiceConnectInbound()); writer.writeObjectValue("automaticUserConsentSettings", this.getAutomaticUserConsentSettings()); writer.writeObjectValue("b2bCollaborationInbound", this.getB2bCollaborationInbound()); writer.writeObjectValue("b2bCollaborationOutbound", this.getB2bCollaborationOutbound()); @@ -139,8 +167,17 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("inboundTrust", this.getInboundTrust()); writer.writeObjectValue("invitationRedemptionIdentityProviderConfiguration", this.getInvitationRedemptionIdentityProviderConfiguration()); writer.writeBooleanValue("isServiceDefault", this.getIsServiceDefault()); + writer.writeObjectValue("m365CollaborationInbound", this.getM365CollaborationInbound()); + writer.writeObjectValue("m365CollaborationOutbound", this.getM365CollaborationOutbound()); writer.writeObjectValue("tenantRestrictions", this.getTenantRestrictions()); } + /** + * Sets the appServiceConnectInbound property value. The appServiceConnectInbound property + * @param value Value to set for the appServiceConnectInbound property. + */ + public void setAppServiceConnectInbound(@jakarta.annotation.Nullable final CrossTenantAccessPolicyAppServiceConnectSetting value) { + this.backingStore.set("appServiceConnectInbound", value); + } /** * Sets the automaticUserConsentSettings property value. Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and can't be updated in the default configuration. Read-only. * @param value Value to set for the automaticUserConsentSettings property. @@ -204,6 +241,20 @@ public void setInvitationRedemptionIdentityProviderConfiguration(@jakarta.annota public void setIsServiceDefault(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isServiceDefault", value); } + /** + * Sets the m365CollaborationInbound property value. The m365CollaborationInbound property + * @param value Value to set for the m365CollaborationInbound property. + */ + public void setM365CollaborationInbound(@jakarta.annotation.Nullable final CrossTenantAccessPolicyM365CollaborationInboundSetting value) { + this.backingStore.set("m365CollaborationInbound", value); + } + /** + * Sets the m365CollaborationOutbound property value. The m365CollaborationOutbound property + * @param value Value to set for the m365CollaborationOutbound property. + */ + public void setM365CollaborationOutbound(@jakarta.annotation.Nullable final CrossTenantAccessPolicyM365CollaborationOutboundSetting value) { + this.backingStore.set("m365CollaborationOutbound", value); + } /** * Sets the tenantRestrictions property value. Defines the default tenant restrictions configuration for users in your organization who access an external organization on your network or devices. * @param value Value to set for the tenantRestrictions property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyConfigurationPartner.java b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyConfigurationPartner.java index 66c98347794..3ba6a9af4ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyConfigurationPartner.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyConfigurationPartner.java @@ -25,6 +25,14 @@ public static CrossTenantAccessPolicyConfigurationPartner createFromDiscriminato Objects.requireNonNull(parseNode); return new CrossTenantAccessPolicyConfigurationPartner(); } + /** + * Gets the appServiceConnectInbound property value. The appServiceConnectInbound property + * @return a {@link CrossTenantAccessPolicyAppServiceConnectSetting} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyAppServiceConnectSetting getAppServiceConnectInbound() { + return this.backingStore.get("appServiceConnectInbound"); + } /** * Gets the automaticUserConsentSettings property value. Determines the partner-specific configuration for automatic user consent settings. Unless configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. * @return a {@link InboundOutboundPolicyConfiguration} @@ -80,6 +88,7 @@ public Boolean getBlockServiceProviderOutboundAccess() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("appServiceConnectInbound", (n) -> { this.setAppServiceConnectInbound(n.getObjectValue(CrossTenantAccessPolicyAppServiceConnectSetting::createFromDiscriminatorValue)); }); deserializerMap.put("automaticUserConsentSettings", (n) -> { this.setAutomaticUserConsentSettings(n.getObjectValue(InboundOutboundPolicyConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("b2bCollaborationInbound", (n) -> { this.setB2bCollaborationInbound(n.getObjectValue(CrossTenantAccessPolicyB2BSetting::createFromDiscriminatorValue)); }); deserializerMap.put("b2bCollaborationOutbound", (n) -> { this.setB2bCollaborationOutbound(n.getObjectValue(CrossTenantAccessPolicyB2BSetting::createFromDiscriminatorValue)); }); @@ -90,6 +99,8 @@ public Map> getFieldDeserializers deserializerMap.put("inboundTrust", (n) -> { this.setInboundTrust(n.getObjectValue(CrossTenantAccessPolicyInboundTrust::createFromDiscriminatorValue)); }); deserializerMap.put("isInMultiTenantOrganization", (n) -> { this.setIsInMultiTenantOrganization(n.getBooleanValue()); }); deserializerMap.put("isServiceProvider", (n) -> { this.setIsServiceProvider(n.getBooleanValue()); }); + deserializerMap.put("m365CollaborationInbound", (n) -> { this.setM365CollaborationInbound(n.getObjectValue(CrossTenantAccessPolicyM365CollaborationInboundSetting::createFromDiscriminatorValue)); }); + deserializerMap.put("m365CollaborationOutbound", (n) -> { this.setM365CollaborationOutbound(n.getObjectValue(CrossTenantAccessPolicyM365CollaborationOutboundSetting::createFromDiscriminatorValue)); }); deserializerMap.put("tenantId", (n) -> { this.setTenantId(n.getStringValue()); }); deserializerMap.put("tenantRestrictions", (n) -> { this.setTenantRestrictions(n.getObjectValue(CrossTenantAccessPolicyTenantRestrictions::createFromDiscriminatorValue)); }); return deserializerMap; @@ -126,6 +137,22 @@ public Boolean getIsInMultiTenantOrganization() { public Boolean getIsServiceProvider() { return this.backingStore.get("isServiceProvider"); } + /** + * Gets the m365CollaborationInbound property value. The m365CollaborationInbound property + * @return a {@link CrossTenantAccessPolicyM365CollaborationInboundSetting} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyM365CollaborationInboundSetting getM365CollaborationInbound() { + return this.backingStore.get("m365CollaborationInbound"); + } + /** + * Gets the m365CollaborationOutbound property value. The m365CollaborationOutbound property + * @return a {@link CrossTenantAccessPolicyM365CollaborationOutboundSetting} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyM365CollaborationOutboundSetting getM365CollaborationOutbound() { + return this.backingStore.get("m365CollaborationOutbound"); + } /** * Gets the tenantId property value. The tenant identifier for the partner Microsoft Entra organization. Read-only. Key. * @return a {@link String} @@ -149,6 +176,7 @@ public CrossTenantAccessPolicyTenantRestrictions getTenantRestrictions() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeObjectValue("appServiceConnectInbound", this.getAppServiceConnectInbound()); writer.writeObjectValue("automaticUserConsentSettings", this.getAutomaticUserConsentSettings()); writer.writeObjectValue("b2bCollaborationInbound", this.getB2bCollaborationInbound()); writer.writeObjectValue("b2bCollaborationOutbound", this.getB2bCollaborationOutbound()); @@ -159,9 +187,18 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("inboundTrust", this.getInboundTrust()); writer.writeBooleanValue("isInMultiTenantOrganization", this.getIsInMultiTenantOrganization()); writer.writeBooleanValue("isServiceProvider", this.getIsServiceProvider()); + writer.writeObjectValue("m365CollaborationInbound", this.getM365CollaborationInbound()); + writer.writeObjectValue("m365CollaborationOutbound", this.getM365CollaborationOutbound()); writer.writeStringValue("tenantId", this.getTenantId()); writer.writeObjectValue("tenantRestrictions", this.getTenantRestrictions()); } + /** + * Sets the appServiceConnectInbound property value. The appServiceConnectInbound property + * @param value Value to set for the appServiceConnectInbound property. + */ + public void setAppServiceConnectInbound(@jakarta.annotation.Nullable final CrossTenantAccessPolicyAppServiceConnectSetting value) { + this.backingStore.set("appServiceConnectInbound", value); + } /** * Sets the automaticUserConsentSettings property value. Determines the partner-specific configuration for automatic user consent settings. Unless configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. * @param value Value to set for the automaticUserConsentSettings property. @@ -232,6 +269,20 @@ public void setIsInMultiTenantOrganization(@jakarta.annotation.Nullable final Bo public void setIsServiceProvider(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isServiceProvider", value); } + /** + * Sets the m365CollaborationInbound property value. The m365CollaborationInbound property + * @param value Value to set for the m365CollaborationInbound property. + */ + public void setM365CollaborationInbound(@jakarta.annotation.Nullable final CrossTenantAccessPolicyM365CollaborationInboundSetting value) { + this.backingStore.set("m365CollaborationInbound", value); + } + /** + * Sets the m365CollaborationOutbound property value. The m365CollaborationOutbound property + * @param value Value to set for the m365CollaborationOutbound property. + */ + public void setM365CollaborationOutbound(@jakarta.annotation.Nullable final CrossTenantAccessPolicyM365CollaborationOutboundSetting value) { + this.backingStore.set("m365CollaborationOutbound", value); + } /** * Sets the tenantId property value. The tenant identifier for the partner Microsoft Entra organization. Read-only. Key. * @param value Value to set for the tenantId property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyM365CollaborationInboundSetting.java b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyM365CollaborationInboundSetting.java new file mode 100644 index 00000000000..54841c26fa6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyM365CollaborationInboundSetting.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CrossTenantAccessPolicyM365CollaborationInboundSetting implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CrossTenantAccessPolicyM365CollaborationInboundSetting} and sets the default values. + */ + public CrossTenantAccessPolicyM365CollaborationInboundSetting() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CrossTenantAccessPolicyM365CollaborationInboundSetting} + */ + @jakarta.annotation.Nonnull + public static CrossTenantAccessPolicyM365CollaborationInboundSetting createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CrossTenantAccessPolicyM365CollaborationInboundSetting(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("users", (n) -> { this.setUsers(n.getObjectValue(CrossTenantAccessPolicyTargetConfiguration::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the users property value. The users property + * @return a {@link CrossTenantAccessPolicyTargetConfiguration} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyTargetConfiguration getUsers() { + return this.backingStore.get("users"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeObjectValue("users", this.getUsers()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the users property value. The users property + * @param value Value to set for the users property. + */ + public void setUsers(@jakarta.annotation.Nullable final CrossTenantAccessPolicyTargetConfiguration value) { + this.backingStore.set("users", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyM365CollaborationOutboundSetting.java b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyM365CollaborationOutboundSetting.java new file mode 100644 index 00000000000..5560ca56e46 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantAccessPolicyM365CollaborationOutboundSetting.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CrossTenantAccessPolicyM365CollaborationOutboundSetting implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CrossTenantAccessPolicyM365CollaborationOutboundSetting} and sets the default values. + */ + public CrossTenantAccessPolicyM365CollaborationOutboundSetting() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CrossTenantAccessPolicyM365CollaborationOutboundSetting} + */ + @jakarta.annotation.Nonnull + public static CrossTenantAccessPolicyM365CollaborationOutboundSetting createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CrossTenantAccessPolicyM365CollaborationOutboundSetting(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("usersAndGroups", (n) -> { this.setUsersAndGroups(n.getObjectValue(CrossTenantAccessPolicyTargetConfiguration::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the usersAndGroups property value. The usersAndGroups property + * @return a {@link CrossTenantAccessPolicyTargetConfiguration} + */ + @jakarta.annotation.Nullable + public CrossTenantAccessPolicyTargetConfiguration getUsersAndGroups() { + return this.backingStore.get("usersAndGroups"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeObjectValue("usersAndGroups", this.getUsersAndGroups()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the usersAndGroups property value. The usersAndGroups property + * @param value Value to set for the usersAndGroups property. + */ + public void setUsersAndGroups(@jakarta.annotation.Nullable final CrossTenantAccessPolicyTargetConfiguration value) { + this.backingStore.set("usersAndGroups", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantIdentitySyncPolicyPartner.java b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantIdentitySyncPolicyPartner.java index 3aa4879b02c..b24cd764ed7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantIdentitySyncPolicyPartner.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantIdentitySyncPolicyPartner.java @@ -26,7 +26,7 @@ public static CrossTenantIdentitySyncPolicyPartner createFromDiscriminatorValue( return new CrossTenantIdentitySyncPolicyPartner(); } /** - * Gets the displayName property value. Display name for the cross-tenant user synchronization policy. Use the name of the partner Microsoft Entra tenant to easily identify the policy. Optional. + * Gets the displayName property value. Display name for the cross-tenant user and group synchronization policy. Use the name of the partner Microsoft Entra tenant to easily identify the policy. Optional. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the groupSyncInbound property value. Defines whether groups can be synchronized from a partner tenant. Key. + * Gets the groupSyncInbound property value. Defines whether groups can be synchronized from a partner tenant. * @return a {@link CrossTenantGroupSyncInbound} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public CrossTenantGroupSyncInbound getGroupSyncInbound() { return this.backingStore.get("groupSyncInbound"); } /** - * Gets the tenantId property value. Tenant identifier for the partner Microsoft Entra organization. Read-only. + * Gets the tenantId property value. Tenant identifier for the partner Microsoft Entra organization. Key. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -72,7 +72,7 @@ public String getTenantId() { return this.backingStore.get("tenantId"); } /** - * Gets the userSyncInbound property value. Defines whether users can be synchronized from the partner tenant. Key. + * Gets the userSyncInbound property value. Defines whether users can be synchronized from the partner tenant. * @return a {@link CrossTenantUserSyncInbound} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("userSyncInbound", this.getUserSyncInbound()); } /** - * Sets the displayName property value. Display name for the cross-tenant user synchronization policy. Use the name of the partner Microsoft Entra tenant to easily identify the policy. Optional. + * Sets the displayName property value. Display name for the cross-tenant user and group synchronization policy. Use the name of the partner Microsoft Entra tenant to easily identify the policy. Optional. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { @@ -107,21 +107,21 @@ public void setExternalCloudAuthorizedApplicationId(@jakarta.annotation.Nullable this.backingStore.set("externalCloudAuthorizedApplicationId", value); } /** - * Sets the groupSyncInbound property value. Defines whether groups can be synchronized from a partner tenant. Key. + * Sets the groupSyncInbound property value. Defines whether groups can be synchronized from a partner tenant. * @param value Value to set for the groupSyncInbound property. */ public void setGroupSyncInbound(@jakarta.annotation.Nullable final CrossTenantGroupSyncInbound value) { this.backingStore.set("groupSyncInbound", value); } /** - * Sets the tenantId property value. Tenant identifier for the partner Microsoft Entra organization. Read-only. + * Sets the tenantId property value. Tenant identifier for the partner Microsoft Entra organization. Key. Read-only. * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("tenantId", value); } /** - * Sets the userSyncInbound property value. Defines whether users can be synchronized from the partner tenant. Key. + * Sets the userSyncInbound property value. Defines whether users can be synchronized from the partner tenant. * @param value Value to set for the userSyncInbound property. */ public void setUserSyncInbound(@jakarta.annotation.Nullable final CrossTenantUserSyncInbound value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Directory.java b/src/main/java/com/microsoft/graph/beta/generated/models/Directory.java index cff8285c11d..6306313750f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Directory.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Directory.java @@ -1,5 +1,7 @@ package com.microsoft.graph.beta.models; +import com.microsoft.graph.beta.models.entrarecoveryservices.Recovery; +import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -129,9 +131,11 @@ public Map> getFieldDeserializers deserializerMap.put("publicKeyInfrastructure", (n) -> { this.setPublicKeyInfrastructure(n.getObjectValue(PublicKeyInfrastructureRoot::createFromDiscriminatorValue)); }); deserializerMap.put("recommendationConfiguration", (n) -> { this.setRecommendationConfiguration(n.getObjectValue(RecommendationConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("recommendations", (n) -> { this.setRecommendations(n.getCollectionOfObjectValues(Recommendation::createFromDiscriminatorValue)); }); + deserializerMap.put("recovery", (n) -> { this.setRecovery(n.getObjectValue(Recovery::createFromDiscriminatorValue)); }); deserializerMap.put("sharedEmailDomains", (n) -> { this.setSharedEmailDomains(n.getCollectionOfObjectValues(SharedEmailDomain::createFromDiscriminatorValue)); }); deserializerMap.put("subscriptions", (n) -> { this.setSubscriptions(n.getCollectionOfObjectValues(CompanySubscription::createFromDiscriminatorValue)); }); deserializerMap.put("templates", (n) -> { this.setTemplates(n.getObjectValue(Template::createFromDiscriminatorValue)); }); + deserializerMap.put("tenantGovernance", (n) -> { this.setTenantGovernance(n.getObjectValue(TenantGovernance::createFromDiscriminatorValue)); }); return deserializerMap; } /** @@ -198,6 +202,14 @@ public RecommendationConfiguration getRecommendationConfiguration() { public java.util.List getRecommendations() { return this.backingStore.get("recommendations"); } + /** + * Gets the recovery property value. Represents the Entra backup and recovery service for the tenant. + * @return a {@link Recovery} + */ + @jakarta.annotation.Nullable + public Recovery getRecovery() { + return this.backingStore.get("recovery"); + } /** * Gets the sharedEmailDomains property value. The sharedEmailDomains property * @return a {@link java.util.List} @@ -222,6 +234,14 @@ public java.util.List getSubscriptions() { public Template getTemplates() { return this.backingStore.get("templates"); } + /** + * Gets the tenantGovernance property value. Container for Microsoft Entra Tenant Governance capabilities. + * @return a {@link TenantGovernance} + */ + @jakarta.annotation.Nullable + public TenantGovernance getTenantGovernance() { + return this.backingStore.get("tenantGovernance"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -247,9 +267,11 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("publicKeyInfrastructure", this.getPublicKeyInfrastructure()); writer.writeObjectValue("recommendationConfiguration", this.getRecommendationConfiguration()); writer.writeCollectionOfObjectValues("recommendations", this.getRecommendations()); + writer.writeObjectValue("recovery", this.getRecovery()); writer.writeCollectionOfObjectValues("sharedEmailDomains", this.getSharedEmailDomains()); writer.writeCollectionOfObjectValues("subscriptions", this.getSubscriptions()); writer.writeObjectValue("templates", this.getTemplates()); + writer.writeObjectValue("tenantGovernance", this.getTenantGovernance()); } /** * Sets the administrativeUnits property value. Conceptual container for user and group directory objects. @@ -377,6 +399,13 @@ public void setRecommendationConfiguration(@jakarta.annotation.Nullable final Re public void setRecommendations(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("recommendations", value); } + /** + * Sets the recovery property value. Represents the Entra backup and recovery service for the tenant. + * @param value Value to set for the recovery property. + */ + public void setRecovery(@jakarta.annotation.Nullable final Recovery value) { + this.backingStore.set("recovery", value); + } /** * Sets the sharedEmailDomains property value. The sharedEmailDomains property * @param value Value to set for the sharedEmailDomains property. @@ -398,4 +427,11 @@ public void setSubscriptions(@jakarta.annotation.Nullable final java.util.List} */ @jakarta.annotation.Nullable @@ -183,7 +183,7 @@ public void setOwningAppId(@jakarta.annotation.Nullable final UUID value) { this.backingStore.set("owningAppId", value); } /** - * Sets the permissions property value. The permissions property + * Sets the permissions property value. The set of permissions for users in the container type. The permissions collection defines who has access to manage the container type. Use the owner role to grant management access. * @param value Value to set for the permissions property. */ public void setPermissions(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/IdentityGovernanceUserSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/IdentityGovernanceUserSettings.java new file mode 100644 index 00000000000..eff47268ddb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/IdentityGovernanceUserSettings.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class IdentityGovernanceUserSettings implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link IdentityGovernanceUserSettings} and sets the default values. + */ + public IdentityGovernanceUserSettings() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link IdentityGovernanceUserSettings} + */ + @jakarta.annotation.Nonnull + public static IdentityGovernanceUserSettings createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new IdentityGovernanceUserSettings(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the approverDelegate property value. The approverDelegate property + * @return a {@link ApproverDelegate} + */ + @jakarta.annotation.Nullable + public ApproverDelegate getApproverDelegate() { + return this.backingStore.get("approverDelegate"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("approverDelegate", (n) -> { this.setApproverDelegate(n.getObjectValue(ApproverDelegate::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeObjectValue("approverDelegate", this.getApproverDelegate()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the approverDelegate property value. The approverDelegate property + * @param value Value to set for the approverDelegate property. + */ + public void setApproverDelegate(@jakarta.annotation.Nullable final ApproverDelegate value) { + this.backingStore.set("approverDelegate", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/InheritablePermission.java b/src/main/java/com/microsoft/graph/beta/generated/models/InheritablePermission.java index f6668cda43c..30a3723b992 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/InheritablePermission.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/InheritablePermission.java @@ -68,7 +68,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the inheritableScopes property value. The inheritableScopes property + * Gets the inheritableScopes property value. Inheritance configuration for delegated permission scopes published by the resource application. Supports three patterns: allAllowedScopes (inherit all available scopes), enumeratedScopes (inherit only the listed scopes), and noScopes (inherit none). Each pattern exposes a kind discriminator for filtering. * @return a {@link InheritableScopes} */ @jakarta.annotation.Nullable @@ -118,7 +118,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the inheritableScopes property value. The inheritableScopes property + * Sets the inheritableScopes property value. Inheritance configuration for delegated permission scopes published by the resource application. Supports three patterns: allAllowedScopes (inherit all available scopes), enumeratedScopes (inherit only the listed scopes), and noScopes (inherit none). Each pattern exposes a kind discriminator for filtering. * @param value Value to set for the inheritableScopes property. */ public void setInheritableScopes(@jakarta.annotation.Nullable final InheritableScopes value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/OwnerlessGroupPolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/OwnerlessGroupPolicy.java index 799a946423c..d42d00c2707 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/OwnerlessGroupPolicy.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/OwnerlessGroupPolicy.java @@ -33,7 +33,7 @@ public EmailDetails getEmailInfo() { return this.backingStore.get("emailInfo"); } /** - * Gets the enabledGroupIds property value. The enabledGroupIds property + * Gets the enabledGroupIds property value. The collection of IDs for groups to which the policy is enabled. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -57,7 +57,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isEnabled property value. The isEnabled property + * Gets the isEnabled property value. Indicates whether the ownerless group policy is enabled in the tenant. Setting this property to false clears the values of all other policy parameters. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -65,7 +65,7 @@ public Boolean getIsEnabled() { return this.backingStore.get("isEnabled"); } /** - * Gets the maxMembersToNotify property value. The maxMembersToNotify property + * Gets the maxMembersToNotify property value. The maximum number of members to notify. Value range is 0-90. Members are prioritized by recent group activity (most active first). If there aren't enough active members to fill the limit, remaining slots are filled with other eligible group members from the directory. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public Long getMaxMembersToNotify() { return this.backingStore.get("maxMembersToNotify"); } /** - * Gets the notificationDurationInWeeks property value. The notificationDurationInWeeks property + * Gets the notificationDurationInWeeks property value. The number of weeks for the notification duration. Value range is 1-7. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -81,7 +81,7 @@ public Long getNotificationDurationInWeeks() { return this.backingStore.get("notificationDurationInWeeks"); } /** - * Gets the policyWebUrl property value. The policyWebUrl property + * Gets the policyWebUrl property value. The URL to the policy documentation. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -119,35 +119,35 @@ public void setEmailInfo(@jakarta.annotation.Nullable final EmailDetails value) this.backingStore.set("emailInfo", value); } /** - * Sets the enabledGroupIds property value. The enabledGroupIds property + * Sets the enabledGroupIds property value. The collection of IDs for groups to which the policy is enabled. * @param value Value to set for the enabledGroupIds property. */ public void setEnabledGroupIds(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("enabledGroupIds", value); } /** - * Sets the isEnabled property value. The isEnabled property + * Sets the isEnabled property value. Indicates whether the ownerless group policy is enabled in the tenant. Setting this property to false clears the values of all other policy parameters. * @param value Value to set for the isEnabled property. */ public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isEnabled", value); } /** - * Sets the maxMembersToNotify property value. The maxMembersToNotify property + * Sets the maxMembersToNotify property value. The maximum number of members to notify. Value range is 0-90. Members are prioritized by recent group activity (most active first). If there aren't enough active members to fill the limit, remaining slots are filled with other eligible group members from the directory. * @param value Value to set for the maxMembersToNotify property. */ public void setMaxMembersToNotify(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("maxMembersToNotify", value); } /** - * Sets the notificationDurationInWeeks property value. The notificationDurationInWeeks property + * Sets the notificationDurationInWeeks property value. The number of weeks for the notification duration. Value range is 1-7. * @param value Value to set for the notificationDurationInWeeks property. */ public void setNotificationDurationInWeeks(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("notificationDurationInWeeks", value); } /** - * Sets the policyWebUrl property value. The policyWebUrl property + * Sets the policyWebUrl property value. The URL to the policy documentation. * @param value Value to set for the policyWebUrl property. */ public void setPolicyWebUrl(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/PolicyRoot.java b/src/main/java/com/microsoft/graph/beta/generated/models/PolicyRoot.java index e185bd94f6c..ea24adbff13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/PolicyRoot.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/PolicyRoot.java @@ -267,7 +267,7 @@ public java.util.List getOnPremAuthenticationPolicie return this.backingStore.get("onPremAuthenticationPolicies"); } /** - * Gets the ownerlessGroupPolicy property value. The ownerlessGroupPolicy property + * Gets the ownerlessGroupPolicy property value. The policy configuration for managing groups that have lost their sole owner. * @return a {@link OwnerlessGroupPolicy} */ @jakarta.annotation.Nullable @@ -547,7 +547,7 @@ public void setOnPremAuthenticationPolicies(@jakarta.annotation.Nullable final j this.backingStore.set("onPremAuthenticationPolicies", value); } /** - * Sets the ownerlessGroupPolicy property value. The ownerlessGroupPolicy property + * Sets the ownerlessGroupPolicy property value. The policy configuration for managing groups that have lost their sole owner. * @param value Value to set for the ownerlessGroupPolicy property. */ public void setOwnerlessGroupPolicy(@jakarta.annotation.Nullable final OwnerlessGroupPolicy value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/SignIn.java b/src/main/java/com/microsoft/graph/beta/generated/models/SignIn.java index fe97c2bfc52..1657ed3d5e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/SignIn.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/SignIn.java @@ -600,7 +600,7 @@ public java.util.List getSessionLifetimePolicies() { return this.backingStore.get("sessionLifetimePolicies"); } /** - * Gets the signInEventTypes property value. Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign-ins, the category is servicePrincipal. The possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). NOTE: Only interactive sign-ins are returned unless you set an explicit filter. For example, the filter for getting non-interactive sign-ins is https://graph.microsoft.com/beta/auditLogs/signIns?&$filter=signInEventTypes/any(t: t eq 'nonInteractiveUser'). + * Gets the signInEventTypes property value. Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign-ins, the category is servicePrincipal. The possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). NOTE: Only interactive sign-ins are returned unless you set an explicit filter. For example, the filter for getting non-interactive sign-ins is https://graph.microsoft.com/beta/auditLogs/signIns?&$filter=signInEventTypes/any(t: t eq 'nonInteractiveUser'). You can also get both interactive and non-interactive sign-ins using the filter signInEventTypes/any(t: t eq 'interactiveUser' or t eq 'noninteractiveUser'). However, the filter for getting both user and service principal sign-in even types is not supported. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -1222,7 +1222,7 @@ public void setSessionLifetimePolicies(@jakarta.annotation.Nullable final java.u this.backingStore.set("sessionLifetimePolicies", value); } /** - * Sets the signInEventTypes property value. Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign-ins, the category is servicePrincipal. The possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). NOTE: Only interactive sign-ins are returned unless you set an explicit filter. For example, the filter for getting non-interactive sign-ins is https://graph.microsoft.com/beta/auditLogs/signIns?&$filter=signInEventTypes/any(t: t eq 'nonInteractiveUser'). + * Sets the signInEventTypes property value. Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign-ins, the category is servicePrincipal. The possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). NOTE: Only interactive sign-ins are returned unless you set an explicit filter. For example, the filter for getting non-interactive sign-ins is https://graph.microsoft.com/beta/auditLogs/signIns?&$filter=signInEventTypes/any(t: t eq 'nonInteractiveUser'). You can also get both interactive and non-interactive sign-ins using the filter signInEventTypes/any(t: t eq 'interactiveUser' or t eq 'noninteractiveUser'). However, the filter for getting both user and service principal sign-in even types is not supported. * @param value Value to set for the signInEventTypes property. */ public void setSignInEventTypes(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/TargetOwners.java b/src/main/java/com/microsoft/graph/beta/generated/models/TargetOwners.java index c24768548c7..5191ab079ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/TargetOwners.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/TargetOwners.java @@ -84,7 +84,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the securityGroups property value. The securityGroups property + * Gets the securityGroups property value. The collection of IDs for security groups used for allowing or blocking filtering. When notifyMembers is all, all members are eligible for ownership and this collection can be empty. When notifyMembers is allowSelected, only members in these security groups are eligible. When notifyMembers is blockSelected, members in these security groups are excluded. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -132,7 +132,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the securityGroups property value. The securityGroups property + * Sets the securityGroups property value. The collection of IDs for security groups used for allowing or blocking filtering. When notifyMembers is all, all members are eligible for ownership and this collection can be empty. When notifyMembers is allowSelected, only members in these security groups are eligible. When notifyMembers is blockSelected, members in these security groups are excluded. * @param value Value to set for the securityGroups property. */ public void setSecurityGroups(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/User.java b/src/main/java/com/microsoft/graph/beta/generated/models/User.java index d1860acb7da..f67855b14fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/User.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/User.java @@ -577,6 +577,7 @@ public Map> getFieldDeserializers deserializerMap.put("givenName", (n) -> { this.setGivenName(n.getStringValue()); }); deserializerMap.put("hireDate", (n) -> { this.setHireDate(n.getOffsetDateTimeValue()); }); deserializerMap.put("identities", (n) -> { this.setIdentities(n.getCollectionOfObjectValues(ObjectIdentity::createFromDiscriminatorValue)); }); + deserializerMap.put("identityGovernance", (n) -> { this.setIdentityGovernance(n.getObjectValue(IdentityGovernanceUserSettings::createFromDiscriminatorValue)); }); deserializerMap.put("identityParentId", (n) -> { this.setIdentityParentId(n.getStringValue()); }); deserializerMap.put("imAddresses", (n) -> { this.setImAddresses(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("inferenceClassification", (n) -> { this.setInferenceClassification(n.getObjectValue(InferenceClassification::createFromDiscriminatorValue)); }); @@ -710,6 +711,14 @@ public OffsetDateTime getHireDate() { public java.util.List getIdentities() { return this.backingStore.get("identities"); } + /** + * Gets the identityGovernance property value. The identityGovernance property + * @return a {@link IdentityGovernanceUserSettings} + */ + @jakarta.annotation.Nullable + public IdentityGovernanceUserSettings getIdentityGovernance() { + return this.backingStore.get("identityGovernance"); + } /** * Gets the identityParentId property value. The object ID of the parent identity for agent users. Always null for regular user accounts. For agentUser resources, this property references the object ID of the associated agent identity. * @return a {@link String} @@ -1572,6 +1581,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("givenName", this.getGivenName()); writer.writeOffsetDateTimeValue("hireDate", this.getHireDate()); writer.writeCollectionOfObjectValues("identities", this.getIdentities()); + writer.writeObjectValue("identityGovernance", this.getIdentityGovernance()); writer.writeStringValue("identityParentId", this.getIdentityParentId()); writer.writeCollectionOfPrimitiveValues("imAddresses", this.getImAddresses()); writer.writeObjectValue("inferenceClassification", this.getInferenceClassification()); @@ -2113,6 +2123,13 @@ public void setHireDate(@jakarta.annotation.Nullable final OffsetDateTime value) public void setIdentities(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("identities", value); } + /** + * Sets the identityGovernance property value. The identityGovernance property + * @param value Value to set for the identityGovernance property. + */ + public void setIdentityGovernance(@jakarta.annotation.Nullable final IdentityGovernanceUserSettings value) { + this.backingStore.set("identityGovernance", value); + } /** * Sets the identityParentId property value. The object ID of the parent identity for agent users. Always null for regular user accounts. For agentUser resources, this property references the object ID of the associated agent identity. * @param value Value to set for the identityParentId property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/EntityTypeAndIds.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/EntityTypeAndIds.java new file mode 100644 index 00000000000..24b6018ed48 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/EntityTypeAndIds.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EntityTypeAndIds implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link EntityTypeAndIds} and sets the default values. + */ + public EntityTypeAndIds() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link EntityTypeAndIds} + */ + @jakarta.annotation.Nonnull + public static EntityTypeAndIds createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EntityTypeAndIds(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the entityIds property value. The list of entity IDs for the specified entity type. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getEntityIds() { + return this.backingStore.get("entityIds"); + } + /** + * Gets the entityType property value. The entityType property + * @return a {@link ResourceTypeName} + */ + @jakarta.annotation.Nullable + public ResourceTypeName getEntityType() { + return this.backingStore.get("entityType"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("entityIds", (n) -> { this.setEntityIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("entityType", (n) -> { this.setEntityType(n.getEnumValue(ResourceTypeName::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("entityIds", this.getEntityIds()); + writer.writeEnumValue("entityType", this.getEntityType()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the entityIds property value. The list of entity IDs for the specified entity type. + * @param value Value to set for the entityIds property. + */ + public void setEntityIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("entityIds", value); + } + /** + * Sets the entityType property value. The entityType property + * @param value Value to set for the entityType property. + */ + public void setEntityType(@jakarta.annotation.Nullable final ResourceTypeName value) { + this.backingStore.set("entityType", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/Recovery.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/Recovery.java new file mode 100644 index 00000000000..34394e703b7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/Recovery.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class Recovery extends Entity implements Parsable { + /** + * Instantiates a new {@link Recovery} and sets the default values. + */ + public Recovery() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link Recovery} + */ + @jakarta.annotation.Nonnull + public static Recovery createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new Recovery(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("jobs", (n) -> { this.setJobs(n.getCollectionOfObjectValues(RecoveryJobBase::createFromDiscriminatorValue)); }); + deserializerMap.put("snapshots", (n) -> { this.setSnapshots(n.getCollectionOfObjectValues(Snapshot::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the jobs property value. Collection of all recovery jobs (both preview and recovery) for the tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getJobs() { + return this.backingStore.get("jobs"); + } + /** + * Gets the snapshots property value. Collection of backup snapshots available for the tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSnapshots() { + return this.backingStore.get("snapshots"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("jobs", this.getJobs()); + writer.writeCollectionOfObjectValues("snapshots", this.getSnapshots()); + } + /** + * Sets the jobs property value. Collection of all recovery jobs (both preview and recovery) for the tenant. + * @param value Value to set for the jobs property. + */ + public void setJobs(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("jobs", value); + } + /** + * Sets the snapshots property value. Collection of backup snapshots available for the tenant. + * @param value Value to set for the snapshots property. + */ + public void setSnapshots(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("snapshots", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryAction.java new file mode 100644 index 00000000000..1b750982a42 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryAction.java @@ -0,0 +1,33 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum RecoveryAction implements ValuedEnum { + /** Represents a soft delete action during recovery */ + SoftDelete("softDelete"), + /** Represents an update action during recovery */ + Update("update"), + /** Represents a restore action during recovery */ + Restore("restore"), + /** This will help in making this enum evolable and adding more values in the future */ + UnknownFutureValue("unknownFutureValue"); + public final String value; + RecoveryAction(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static RecoveryAction forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "softDelete": return SoftDelete; + case "update": return Update; + case "restore": return Restore; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryChangeObjectBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryChangeObjectBase.java new file mode 100644 index 00000000000..a6afe1b3acb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryChangeObjectBase.java @@ -0,0 +1,113 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryChangeObjectBase extends Entity implements Parsable { + /** + * Instantiates a new {@link RecoveryChangeObjectBase} and sets the default values. + */ + public RecoveryChangeObjectBase() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryChangeObjectBase} + */ + @jakarta.annotation.Nonnull + public static RecoveryChangeObjectBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecoveryChangeObjectBase(); + } + /** + * Gets the displayName property value. The display name of the changed object in its current state, used to uniquely identify the object. Supports $filter (eq, ne, startswith). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * Gets the entityTypeName property value. The entityTypeName property + * @return a {@link ResourceTypeName} + */ + @jakarta.annotation.Nullable + public ResourceTypeName getEntityTypeName() { + return this.backingStore.get("entityTypeName"); + } + /** + * Gets the failureMessage property value. The error message if the change failed to apply. Only populated in getFailedChanges responses. null otherwise. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFailureMessage() { + return this.backingStore.get("failureMessage"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("entityTypeName", (n) -> { this.setEntityTypeName(n.getEnumValue(ResourceTypeName::forValue)); }); + deserializerMap.put("failureMessage", (n) -> { this.setFailureMessage(n.getStringValue()); }); + deserializerMap.put("recoveryAction", (n) -> { this.setRecoveryAction(n.getEnumValue(RecoveryAction::forValue)); }); + return deserializerMap; + } + /** + * Gets the recoveryAction property value. The recoveryAction property + * @return a {@link RecoveryAction} + */ + @jakarta.annotation.Nullable + public RecoveryAction getRecoveryAction() { + return this.backingStore.get("recoveryAction"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeEnumValue("entityTypeName", this.getEntityTypeName()); + writer.writeStringValue("failureMessage", this.getFailureMessage()); + writer.writeEnumValue("recoveryAction", this.getRecoveryAction()); + } + /** + * Sets the displayName property value. The display name of the changed object in its current state, used to uniquely identify the object. Supports $filter (eq, ne, startswith). + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the entityTypeName property value. The entityTypeName property + * @param value Value to set for the entityTypeName property. + */ + public void setEntityTypeName(@jakarta.annotation.Nullable final ResourceTypeName value) { + this.backingStore.set("entityTypeName", value); + } + /** + * Sets the failureMessage property value. The error message if the change failed to apply. Only populated in getFailedChanges responses. null otherwise. + * @param value Value to set for the failureMessage property. + */ + public void setFailureMessage(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("failureMessage", value); + } + /** + * Sets the recoveryAction property value. The recoveryAction property + * @param value Value to set for the recoveryAction property. + */ + public void setRecoveryAction(@jakarta.annotation.Nullable final RecoveryAction value) { + this.backingStore.set("recoveryAction", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJob.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJob.java new file mode 100644 index 00000000000..7c8a97ba10d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJob.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJob extends RecoveryJobBase implements Parsable { + /** + * Instantiates a new {@link RecoveryJob} and sets the default values. + */ + public RecoveryJob() { + super(); + this.setOdataType("#microsoft.graph.entraRecoveryServices.recoveryJob"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryJob} + */ + @jakarta.annotation.Nonnull + public static RecoveryJob createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecoveryJob(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("totalFailedChanges", (n) -> { this.setTotalFailedChanges(n.getIntegerValue()); }); + deserializerMap.put("totalLinksModified", (n) -> { this.setTotalLinksModified(n.getIntegerValue()); }); + deserializerMap.put("totalObjectsModified", (n) -> { this.setTotalObjectsModified(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the totalFailedChanges property value. The count of changes (including both objects and links) that failed to apply during recovery. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalFailedChanges() { + return this.backingStore.get("totalFailedChanges"); + } + /** + * Gets the totalLinksModified property value. The count of directory object links (relationships) that were successfully modified during recovery. This value may be less than totalChangedLinksCalculated if some link changes failed. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalLinksModified() { + return this.backingStore.get("totalLinksModified"); + } + /** + * Gets the totalObjectsModified property value. The count of directory objects that were successfully modified during recovery. This value may be less than totalChangedObjectsCalculated if some object changes failed. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalObjectsModified() { + return this.backingStore.get("totalObjectsModified"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeIntegerValue("totalFailedChanges", this.getTotalFailedChanges()); + writer.writeIntegerValue("totalLinksModified", this.getTotalLinksModified()); + writer.writeIntegerValue("totalObjectsModified", this.getTotalObjectsModified()); + } + /** + * Sets the totalFailedChanges property value. The count of changes (including both objects and links) that failed to apply during recovery. + * @param value Value to set for the totalFailedChanges property. + */ + public void setTotalFailedChanges(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalFailedChanges", value); + } + /** + * Sets the totalLinksModified property value. The count of directory object links (relationships) that were successfully modified during recovery. This value may be less than totalChangedLinksCalculated if some link changes failed. + * @param value Value to set for the totalLinksModified property. + */ + public void setTotalLinksModified(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalLinksModified", value); + } + /** + * Sets the totalObjectsModified property value. The count of directory objects that were successfully modified during recovery. This value may be less than totalChangedObjectsCalculated if some object changes failed. + * @param value Value to set for the totalObjectsModified property. + */ + public void setTotalObjectsModified(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalObjectsModified", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobBase.java new file mode 100644 index 00000000000..4c447c73568 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobBase.java @@ -0,0 +1,173 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobBase extends Entity implements Parsable { + /** + * Instantiates a new {@link RecoveryJobBase} and sets the default values. + */ + public RecoveryJobBase() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryJobBase} + */ + @jakarta.annotation.Nonnull + public static RecoveryJobBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.entraRecoveryServices.recoveryJob": return new RecoveryJob(); + case "#microsoft.graph.entraRecoveryServices.recoveryPreviewJob": return new RecoveryPreviewJob(); + } + } + return new RecoveryJobBase(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("filteringCriteria", (n) -> { this.setFilteringCriteria(n.getObjectValue(RecoveryJobFilteringCriteriaBase::createFromDiscriminatorValue)); }); + deserializerMap.put("jobCompletionDateTime", (n) -> { this.setJobCompletionDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("jobStartDateTime", (n) -> { this.setJobStartDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(RecoveryStatus::forValue)); }); + deserializerMap.put("targetStateDateTime", (n) -> { this.setTargetStateDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("totalChangedLinksCalculated", (n) -> { this.setTotalChangedLinksCalculated(n.getIntegerValue()); }); + deserializerMap.put("totalChangedObjectsCalculated", (n) -> { this.setTotalChangedObjectsCalculated(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the filteringCriteria property value. Optional filtering criteria used to scope the job to specific entity types or entity IDs. + * @return a {@link RecoveryJobFilteringCriteriaBase} + */ + @jakarta.annotation.Nullable + public RecoveryJobFilteringCriteriaBase getFilteringCriteria() { + return this.backingStore.get("filteringCriteria"); + } + /** + * Gets the jobCompletionDateTime property value. The date and time when the job completed. Null if the job is still running. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getJobCompletionDateTime() { + return this.backingStore.get("jobCompletionDateTime"); + } + /** + * Gets the jobStartDateTime property value. The date and time when the job started. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getJobStartDateTime() { + return this.backingStore.get("jobStartDateTime"); + } + /** + * Gets the status property value. The status property + * @return a {@link RecoveryStatus} + */ + @jakarta.annotation.Nullable + public RecoveryStatus getStatus() { + return this.backingStore.get("status"); + } + /** + * Gets the targetStateDateTime property value. The target snapshot timestamp to which the tenant is being restored. Supports $filter (eq, ne). + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getTargetStateDateTime() { + return this.backingStore.get("targetStateDateTime"); + } + /** + * Gets the totalChangedLinksCalculated property value. The total count of changed directory object links (relationships) calculated by the job. null until the job completes calculation. Not all calculated link changes may be successfully applied; see totalLinksModified on derived types for the count of links that were actually modified. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalChangedLinksCalculated() { + return this.backingStore.get("totalChangedLinksCalculated"); + } + /** + * Gets the totalChangedObjectsCalculated property value. The total count of changed directory objects calculated by the job. null until the job completes calculation. Not all calculated object changes may be successfully applied; see totalObjectsModified on derived types for the count of objects that were actually modified. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalChangedObjectsCalculated() { + return this.backingStore.get("totalChangedObjectsCalculated"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("filteringCriteria", this.getFilteringCriteria()); + writer.writeOffsetDateTimeValue("jobCompletionDateTime", this.getJobCompletionDateTime()); + writer.writeOffsetDateTimeValue("jobStartDateTime", this.getJobStartDateTime()); + writer.writeEnumValue("status", this.getStatus()); + writer.writeOffsetDateTimeValue("targetStateDateTime", this.getTargetStateDateTime()); + writer.writeIntegerValue("totalChangedLinksCalculated", this.getTotalChangedLinksCalculated()); + writer.writeIntegerValue("totalChangedObjectsCalculated", this.getTotalChangedObjectsCalculated()); + } + /** + * Sets the filteringCriteria property value. Optional filtering criteria used to scope the job to specific entity types or entity IDs. + * @param value Value to set for the filteringCriteria property. + */ + public void setFilteringCriteria(@jakarta.annotation.Nullable final RecoveryJobFilteringCriteriaBase value) { + this.backingStore.set("filteringCriteria", value); + } + /** + * Sets the jobCompletionDateTime property value. The date and time when the job completed. Null if the job is still running. + * @param value Value to set for the jobCompletionDateTime property. + */ + public void setJobCompletionDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("jobCompletionDateTime", value); + } + /** + * Sets the jobStartDateTime property value. The date and time when the job started. + * @param value Value to set for the jobStartDateTime property. + */ + public void setJobStartDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("jobStartDateTime", value); + } + /** + * Sets the status property value. The status property + * @param value Value to set for the status property. + */ + public void setStatus(@jakarta.annotation.Nullable final RecoveryStatus value) { + this.backingStore.set("status", value); + } + /** + * Sets the targetStateDateTime property value. The target snapshot timestamp to which the tenant is being restored. Supports $filter (eq, ne). + * @param value Value to set for the targetStateDateTime property. + */ + public void setTargetStateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("targetStateDateTime", value); + } + /** + * Sets the totalChangedLinksCalculated property value. The total count of changed directory object links (relationships) calculated by the job. null until the job completes calculation. Not all calculated link changes may be successfully applied; see totalLinksModified on derived types for the count of links that were actually modified. + * @param value Value to set for the totalChangedLinksCalculated property. + */ + public void setTotalChangedLinksCalculated(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalChangedLinksCalculated", value); + } + /** + * Sets the totalChangedObjectsCalculated property value. The total count of changed directory objects calculated by the job. null until the job completes calculation. Not all calculated object changes may be successfully applied; see totalObjectsModified on derived types for the count of objects that were actually modified. + * @param value Value to set for the totalChangedObjectsCalculated property. + */ + public void setTotalChangedObjectsCalculated(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalChangedObjectsCalculated", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobBaseCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobBaseCollectionResponse.java new file mode 100644 index 00000000000..0589856f4cd --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobBaseCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobBaseCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RecoveryJobBaseCollectionResponse} and sets the default values. + */ + public RecoveryJobBaseCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryJobBaseCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static RecoveryJobBaseCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecoveryJobBaseCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RecoveryJobBase::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobCollectionResponse.java new file mode 100644 index 00000000000..37be4f28b7c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RecoveryJobCollectionResponse} and sets the default values. + */ + public RecoveryJobCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryJobCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static RecoveryJobCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecoveryJobCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RecoveryJob::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobEntityNameAndIdsFilter.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobEntityNameAndIdsFilter.java new file mode 100644 index 00000000000..992622f2856 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobEntityNameAndIdsFilter.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobEntityNameAndIdsFilter extends RecoveryJobFilteringCriteriaBase implements Parsable { + /** + * Instantiates a new {@link RecoveryJobEntityNameAndIdsFilter} and sets the default values. + */ + public RecoveryJobEntityNameAndIdsFilter() { + super(); + this.setOdataType("#microsoft.graph.entraRecoveryServices.recoveryJobEntityNameAndIdsFilter"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryJobEntityNameAndIdsFilter} + */ + @jakarta.annotation.Nonnull + public static RecoveryJobEntityNameAndIdsFilter createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecoveryJobEntityNameAndIdsFilter(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("filterValues", (n) -> { this.setFilterValues(n.getCollectionOfObjectValues(EntityTypeAndIds::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the filterValues property value. The list of entity type and ID pairs to include in the recovery job. Duplicate entity types are not allowed and return a 400 Bad Request error. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getFilterValues() { + return this.backingStore.get("filterValues"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("filterValues", this.getFilterValues()); + } + /** + * Sets the filterValues property value. The list of entity type and ID pairs to include in the recovery job. Duplicate entity types are not allowed and return a 400 Bad Request error. + * @param value Value to set for the filterValues property. + */ + public void setFilterValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("filterValues", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobEntityNamesFilter.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobEntityNamesFilter.java new file mode 100644 index 00000000000..2fecd85f3d6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobEntityNamesFilter.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobEntityNamesFilter extends RecoveryJobFilteringCriteriaBase implements Parsable { + /** + * Instantiates a new {@link RecoveryJobEntityNamesFilter} and sets the default values. + */ + public RecoveryJobEntityNamesFilter() { + super(); + this.setOdataType("#microsoft.graph.entraRecoveryServices.recoveryJobEntityNamesFilter"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryJobEntityNamesFilter} + */ + @jakarta.annotation.Nonnull + public static RecoveryJobEntityNamesFilter createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecoveryJobEntityNamesFilter(); + } + /** + * Gets the entityTypes property value. The list of entity types to include in the recovery job. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getEntityTypes() { + return this.backingStore.get("entityTypes"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("entityTypes", (n) -> { this.setEntityTypes(n.getCollectionOfEnumValues(ResourceTypeName::forValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfEnumValues("entityTypes", this.getEntityTypes()); + } + /** + * Sets the entityTypes property value. The list of entity types to include in the recovery job. + * @param value Value to set for the entityTypes property. + */ + public void setEntityTypes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("entityTypes", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobFilteringCriteriaBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobFilteringCriteriaBase.java new file mode 100644 index 00000000000..1a6dd3d8314 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryJobFilteringCriteriaBase.java @@ -0,0 +1,115 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryJobFilteringCriteriaBase implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RecoveryJobFilteringCriteriaBase} and sets the default values. + */ + public RecoveryJobFilteringCriteriaBase() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryJobFilteringCriteriaBase} + */ + @jakarta.annotation.Nonnull + public static RecoveryJobFilteringCriteriaBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.entraRecoveryServices.recoveryJobEntityNameAndIdsFilter": return new RecoveryJobEntityNameAndIdsFilter(); + case "#microsoft.graph.entraRecoveryServices.recoveryJobEntityNamesFilter": return new RecoveryJobEntityNamesFilter(); + } + } + return new RecoveryJobFilteringCriteriaBase(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryPreviewJob.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryPreviewJob.java new file mode 100644 index 00000000000..0e070d027c3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryPreviewJob.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryPreviewJob extends RecoveryJobBase implements Parsable { + /** + * Instantiates a new {@link RecoveryPreviewJob} and sets the default values. + */ + public RecoveryPreviewJob() { + super(); + this.setOdataType("#microsoft.graph.entraRecoveryServices.recoveryPreviewJob"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryPreviewJob} + */ + @jakarta.annotation.Nonnull + public static RecoveryPreviewJob createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecoveryPreviewJob(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryPreviewJobCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryPreviewJobCollectionResponse.java new file mode 100644 index 00000000000..a92270eeab3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryPreviewJobCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecoveryPreviewJobCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RecoveryPreviewJobCollectionResponse} and sets the default values. + */ + public RecoveryPreviewJobCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecoveryPreviewJobCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static RecoveryPreviewJobCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecoveryPreviewJobCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RecoveryPreviewJob::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryStatus.java new file mode 100644 index 00000000000..35f17543816 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/RecoveryStatus.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum RecoveryStatus implements ValuedEnum { + /** Represents a job that has been initialized but has not been started yet */ + Initialized("initialized"), + /** Represents a job that is in progress */ + Running("running"), + /** Represents a job that ran successfully and is now complete */ + Successful("successful"), + /** Represents a job that we were not able to run successfully */ + Failed("failed"), + /** Represents a job that was abandoned by the user */ + Abandoned("abandoned"), + /** This will help in making this enum evolable and adding more values in the future- */ + UnknownFutureValue("unknownFutureValue"), + /** Represents a job for which we have started calculating the diff/preview. */ + Calculating("calculating"), + /** Represents a job for which we have started loading data of the snapshot. */ + LoadingData("loadingData"); + public final String value; + RecoveryStatus(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static RecoveryStatus forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "initialized": return Initialized; + case "running": return Running; + case "successful": return Successful; + case "failed": return Failed; + case "abandoned": return Abandoned; + case "unknownFutureValue": return UnknownFutureValue; + case "calculating": return Calculating; + case "loadingData": return LoadingData; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/ResourceTypeName.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/ResourceTypeName.java new file mode 100644 index 00000000000..0d9098fab1c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/ResourceTypeName.java @@ -0,0 +1,60 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ResourceTypeName implements ValuedEnum { + /** Represents the user entity */ + User("user"), + /** Represents the group entity */ + Group("group"), + /** Represents the conditional access policy entity */ + ConditionalAccessPolicy("conditionalAccessPolicy"), + /** Represents the named location policy entity */ + NamedLocationPolicy("namedLocationPolicy"), + /** Represents the authentication method policy entity */ + AuthenticationMethodPolicy("authenticationMethodPolicy"), + /** Represents the authorization policy entity */ + AuthorizationPolicy("authorizationPolicy"), + /** Represents the authentication strength policy entity */ + AuthenticationStrengthPolicy("authenticationStrengthPolicy"), + /** Represents the application entity */ + Application("application"), + /** Represents the service principal entity */ + ServicePrincipal("servicePrincipal"), + /** This will help in making this enum evolable and adding more values in the future. */ + UnknownFutureValue("unknownFutureValue"), + /** Represents the oAuth2PermissionGrant entity. */ + OAuth2PermissionGrant("oAuth2PermissionGrant"), + /** Represents the appRoleAssignment entity. */ + AppRoleAssignment("appRoleAssignment"), + /** Represents the organization entity. */ + Organization("organization"); + public final String value; + ResourceTypeName(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ResourceTypeName forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "user": return User; + case "group": return Group; + case "conditionalAccessPolicy": return ConditionalAccessPolicy; + case "namedLocationPolicy": return NamedLocationPolicy; + case "authenticationMethodPolicy": return AuthenticationMethodPolicy; + case "authorizationPolicy": return AuthorizationPolicy; + case "authenticationStrengthPolicy": return AuthenticationStrengthPolicy; + case "application": return Application; + case "servicePrincipal": return ServicePrincipal; + case "unknownFutureValue": return UnknownFutureValue; + case "oAuth2PermissionGrant": return OAuth2PermissionGrant; + case "appRoleAssignment": return AppRoleAssignment; + case "organization": return Organization; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/Snapshot.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/Snapshot.java new file mode 100644 index 00000000000..d1f90159d94 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/Snapshot.java @@ -0,0 +1,114 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class Snapshot extends Entity implements Parsable { + /** + * Instantiates a new {@link Snapshot} and sets the default values. + */ + public Snapshot() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link Snapshot} + */ + @jakarta.annotation.Nonnull + public static Snapshot createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new Snapshot(); + } + /** + * Gets the createdDateTime property value. The date and time when the snapshot was created. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("recoveryJobs", (n) -> { this.setRecoveryJobs(n.getCollectionOfObjectValues(RecoveryJob::createFromDiscriminatorValue)); }); + deserializerMap.put("recoveryPreviewJobs", (n) -> { this.setRecoveryPreviewJobs(n.getCollectionOfObjectValues(RecoveryPreviewJob::createFromDiscriminatorValue)); }); + deserializerMap.put("totalChangedObjects", (n) -> { this.setTotalChangedObjects(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the recoveryJobs property value. Collection of recovery jobs created for this snapshot. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRecoveryJobs() { + return this.backingStore.get("recoveryJobs"); + } + /** + * Gets the recoveryPreviewJobs property value. Collection of preview jobs created for this snapshot. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRecoveryPreviewJobs() { + return this.backingStore.get("recoveryPreviewJobs"); + } + /** + * Gets the totalChangedObjects property value. The total number of changed objects identified in this snapshot. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalChangedObjects() { + return this.backingStore.get("totalChangedObjects"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeCollectionOfObjectValues("recoveryJobs", this.getRecoveryJobs()); + writer.writeCollectionOfObjectValues("recoveryPreviewJobs", this.getRecoveryPreviewJobs()); + writer.writeIntegerValue("totalChangedObjects", this.getTotalChangedObjects()); + } + /** + * Sets the createdDateTime property value. The date and time when the snapshot was created. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the recoveryJobs property value. Collection of recovery jobs created for this snapshot. + * @param value Value to set for the recoveryJobs property. + */ + public void setRecoveryJobs(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("recoveryJobs", value); + } + /** + * Sets the recoveryPreviewJobs property value. Collection of preview jobs created for this snapshot. + * @param value Value to set for the recoveryPreviewJobs property. + */ + public void setRecoveryPreviewJobs(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("recoveryPreviewJobs", value); + } + /** + * Sets the totalChangedObjects property value. The total number of changed objects identified in this snapshot. + * @param value Value to set for the totalChangedObjects property. + */ + public void setTotalChangedObjects(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalChangedObjects", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/SnapshotCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/SnapshotCollectionResponse.java new file mode 100644 index 00000000000..7d304a92b98 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/entrarecoveryservices/SnapshotCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.entrarecoveryservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SnapshotCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link SnapshotCollectionResponse} and sets the default values. + */ + public SnapshotCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link SnapshotCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static SnapshotCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SnapshotCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(Snapshot::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/PreviewFailedTask.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/PreviewFailedTask.java index d390ae8e8bc..94921daa4b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/PreviewFailedTask.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/PreviewFailedTask.java @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the definitionId property value. The definitionId property + * Gets the definitionId property value. The identifier of the task definition of the task that failed during the preview operation of a workflow. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public String getDefinitionId() { return this.backingStore.get("definitionId"); } /** - * Gets the failureReason property value. The failureReason property + * Gets the failureReason property value. The reason why the task failed in the preview operation of a workflow. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -86,7 +86,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the name property value. The name property + * Gets the name property value. The name of the task that failed within the preview operation of a workflow. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -102,7 +102,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the taskId property value. The taskId property + * Gets the taskId property value. The identifier of the task that failed during the preview operation of a workflow. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -138,21 +138,21 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the definitionId property value. The definitionId property + * Sets the definitionId property value. The identifier of the task definition of the task that failed during the preview operation of a workflow. * @param value Value to set for the definitionId property. */ public void setDefinitionId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("definitionId", value); } /** - * Sets the failureReason property value. The failureReason property + * Sets the failureReason property value. The reason why the task failed in the preview operation of a workflow. * @param value Value to set for the failureReason property. */ public void setFailureReason(@jakarta.annotation.Nullable final String value) { this.backingStore.set("failureReason", value); } /** - * Sets the name property value. The name property + * Sets the name property value. The name of the task that failed within the preview operation of a workflow. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { @@ -166,7 +166,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the taskId property value. The taskId property + * Sets the taskId property value. The identifier of the task that failed during the preview operation of a workflow. * @param value Value to set for the taskId property. */ public void setTaskId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/Workflow.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/Workflow.java index d0d6b8e636c..0d9a358d027 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/Workflow.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/Workflow.java @@ -79,7 +79,7 @@ public OffsetDateTime getNextScheduleRunDateTime() { return this.backingStore.get("nextScheduleRunDateTime"); } /** - * Gets the previewScope property value. The previewScope property + * Gets the previewScope property value. A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -173,7 +173,7 @@ public void setNextScheduleRunDateTime(@jakarta.annotation.Nullable final Offset this.backingStore.set("nextScheduleRunDateTime", value); } /** - * Sets the previewScope property value. The previewScope property + * Sets the previewScope property value. A read-only collection of directory objects that are currently in-scope for the workflow based on its execution conditions. This property helps preview which users would be affected before running the workflow. Nullable. Read-only. Returned only on $expand. Supports $expand. * @param value Value to set for the previewScope property. */ public void setPreviewScope(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/ApplicationActivity.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/ApplicationActivity.java new file mode 100644 index 00000000000..fb222a7b829 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/ApplicationActivity.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.beta.models.networkaccess; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ApplicationActivity implements ValuedEnum { + None("none"), + Prompt("prompt"), + Mcp("mcp"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ApplicationActivity(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ApplicationActivity forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "prompt": return Prompt; + case "mcp": return Mcp; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/CloudApplicationMetadata.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/CloudApplicationMetadata.java index 13309b20e41..e2f6ba8f85c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/CloudApplicationMetadata.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/CloudApplicationMetadata.java @@ -34,6 +34,14 @@ public static CloudApplicationMetadata createFromDiscriminatorValue(@jakarta.ann Objects.requireNonNull(parseNode); return new CloudApplicationMetadata(); } + /** + * Gets the activity property value. The activity property + * @return a {@link ApplicationActivity} + */ + @jakarta.annotation.Nullable + public ApplicationActivity getActivity() { + return this.backingStore.get("activity"); + } /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @return a {@link Map} @@ -85,7 +93,8 @@ public Integer getComplianceScore() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(11); + final HashMap> deserializerMap = new HashMap>(12); + deserializerMap.put("activity", (n) -> { this.setActivity(n.getEnumValue(ApplicationActivity::forValue)); }); deserializerMap.put("categories", (n) -> { this.setCategories(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("cloudApplicationCatalogId", (n) -> { this.setCloudApplicationCatalogId(n.getStringValue()); }); deserializerMap.put("complianceScore", (n) -> { this.setComplianceScore(n.getIntegerValue()); }); @@ -169,6 +178,7 @@ public String getSubactivity() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); + writer.writeEnumValue("activity", this.getActivity()); writer.writeCollectionOfPrimitiveValues("categories", this.getCategories()); writer.writeStringValue("cloudApplicationCatalogId", this.getCloudApplicationCatalogId()); writer.writeIntegerValue("complianceScore", this.getComplianceScore()); @@ -182,6 +192,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("subactivity", this.getSubactivity()); writer.writeAdditionalData(this.getAdditionalData()); } + /** + * Sets the activity property value. The activity property + * @param value Value to set for the activity property. + */ + public void setActivity(@jakarta.annotation.Nullable final ApplicationActivity value) { + this.backingStore.set("activity", value); + } /** * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @param value Value to set for the AdditionalData property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/GenerativeAIInsight.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/GenerativeAIInsight.java new file mode 100644 index 00000000000..661619e4547 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/GenerativeAIInsight.java @@ -0,0 +1,312 @@ +package com.microsoft.graph.beta.models.networkaccess; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GenerativeAIInsight implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GenerativeAIInsight} and sets the default values. + */ + public GenerativeAIInsight() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GenerativeAIInsight} + */ + @jakarta.annotation.Nonnull + public static GenerativeAIInsight createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GenerativeAIInsight(); + } + /** + * Gets the activity property value. The activity property + * @return a {@link ApplicationActivity} + */ + @jakarta.annotation.Nullable + public ApplicationActivity getActivity() { + return this.backingStore.get("activity"); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the content property value. The content property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getContent() { + return this.backingStore.get("content"); + } + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * Gets the destinationUrl property value. The destinationUrl property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDestinationUrl() { + return this.backingStore.get("destinationUrl"); + } + /** + * Gets the eventId property value. The eventId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEventId() { + return this.backingStore.get("eventId"); + } + /** + * Gets the eventType property value. The eventType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEventType() { + return this.backingStore.get("eventType"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(13); + deserializerMap.put("activity", (n) -> { this.setActivity(n.getEnumValue(ApplicationActivity::forValue)); }); + deserializerMap.put("content", (n) -> { this.setContent(n.getStringValue()); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("destinationUrl", (n) -> { this.setDestinationUrl(n.getStringValue()); }); + deserializerMap.put("eventId", (n) -> { this.setEventId(n.getStringValue()); }); + deserializerMap.put("eventType", (n) -> { this.setEventType(n.getStringValue()); }); + deserializerMap.put("mcpClientName", (n) -> { this.setMcpClientName(n.getStringValue()); }); + deserializerMap.put("mcpServerName", (n) -> { this.setMcpServerName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("sessionId", (n) -> { this.setSessionId(n.getStringValue()); }); + deserializerMap.put("subactivity", (n) -> { this.setSubactivity(n.getStringValue()); }); + deserializerMap.put("transactionId", (n) -> { this.setTransactionId(n.getStringValue()); }); + deserializerMap.put("userPrincipalName", (n) -> { this.setUserPrincipalName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the mcpClientName property value. The mcpClientName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMcpClientName() { + return this.backingStore.get("mcpClientName"); + } + /** + * Gets the mcpServerName property value. The mcpServerName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMcpServerName() { + return this.backingStore.get("mcpServerName"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the sessionId property value. The sessionId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSessionId() { + return this.backingStore.get("sessionId"); + } + /** + * Gets the subactivity property value. The subactivity property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSubactivity() { + return this.backingStore.get("subactivity"); + } + /** + * Gets the transactionId property value. The transactionId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTransactionId() { + return this.backingStore.get("transactionId"); + } + /** + * Gets the userPrincipalName property value. The userPrincipalName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getUserPrincipalName() { + return this.backingStore.get("userPrincipalName"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeEnumValue("activity", this.getActivity()); + writer.writeStringValue("content", this.getContent()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeStringValue("destinationUrl", this.getDestinationUrl()); + writer.writeStringValue("eventId", this.getEventId()); + writer.writeStringValue("eventType", this.getEventType()); + writer.writeStringValue("mcpClientName", this.getMcpClientName()); + writer.writeStringValue("mcpServerName", this.getMcpServerName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("sessionId", this.getSessionId()); + writer.writeStringValue("subactivity", this.getSubactivity()); + writer.writeStringValue("transactionId", this.getTransactionId()); + writer.writeStringValue("userPrincipalName", this.getUserPrincipalName()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the activity property value. The activity property + * @param value Value to set for the activity property. + */ + public void setActivity(@jakarta.annotation.Nullable final ApplicationActivity value) { + this.backingStore.set("activity", value); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the content property value. The content property + * @param value Value to set for the content property. + */ + public void setContent(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("content", value); + } + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the destinationUrl property value. The destinationUrl property + * @param value Value to set for the destinationUrl property. + */ + public void setDestinationUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("destinationUrl", value); + } + /** + * Sets the eventId property value. The eventId property + * @param value Value to set for the eventId property. + */ + public void setEventId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("eventId", value); + } + /** + * Sets the eventType property value. The eventType property + * @param value Value to set for the eventType property. + */ + public void setEventType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("eventType", value); + } + /** + * Sets the mcpClientName property value. The mcpClientName property + * @param value Value to set for the mcpClientName property. + */ + public void setMcpClientName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("mcpClientName", value); + } + /** + * Sets the mcpServerName property value. The mcpServerName property + * @param value Value to set for the mcpServerName property. + */ + public void setMcpServerName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("mcpServerName", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the sessionId property value. The sessionId property + * @param value Value to set for the sessionId property. + */ + public void setSessionId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("sessionId", value); + } + /** + * Sets the subactivity property value. The subactivity property + * @param value Value to set for the subactivity property. + */ + public void setSubactivity(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("subactivity", value); + } + /** + * Sets the transactionId property value. The transactionId property + * @param value Value to set for the transactionId property. + */ + public void setTransactionId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("transactionId", value); + } + /** + * Sets the userPrincipalName property value. The userPrincipalName property + * @param value Value to set for the userPrincipalName property. + */ + public void setUserPrincipalName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("userPrincipalName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/GenerativeAIInsightCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/GenerativeAIInsightCollectionResponse.java new file mode 100644 index 00000000000..e445bce1a82 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/GenerativeAIInsightCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.networkaccess; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GenerativeAIInsightCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link GenerativeAIInsightCollectionResponse} and sets the default values. + */ + public GenerativeAIInsightCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GenerativeAIInsightCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static GenerativeAIInsightCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GenerativeAIInsightCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(GenerativeAIInsight::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/Logs.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/Logs.java index 266ebd3a3fc..c410d1de51a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/Logs.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/Logs.java @@ -41,10 +41,19 @@ public java.util.List getConnections() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("connections", (n) -> { this.setConnections(n.getCollectionOfObjectValues(Connection::createFromDiscriminatorValue)); }); + deserializerMap.put("generativeAIInsights", (n) -> { this.setGenerativeAIInsights(n.getCollectionOfObjectValues(GenerativeAIInsight::createFromDiscriminatorValue)); }); deserializerMap.put("remoteNetworks", (n) -> { this.setRemoteNetworks(n.getCollectionOfObjectValues(RemoteNetworkHealthEvent::createFromDiscriminatorValue)); }); deserializerMap.put("traffic", (n) -> { this.setTraffic(n.getCollectionOfObjectValues(NetworkAccessTraffic::createFromDiscriminatorValue)); }); return deserializerMap; } + /** + * Gets the generativeAIInsights property value. The generativeAIInsights property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getGenerativeAIInsights() { + return this.backingStore.get("generativeAIInsights"); + } /** * Gets the remoteNetworks property value. A collection of remote network health events. * @return a {@link java.util.List} @@ -69,6 +78,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeCollectionOfObjectValues("connections", this.getConnections()); + writer.writeCollectionOfObjectValues("generativeAIInsights", this.getGenerativeAIInsights()); writer.writeCollectionOfObjectValues("remoteNetworks", this.getRemoteNetworks()); writer.writeCollectionOfObjectValues("traffic", this.getTraffic()); } @@ -79,6 +89,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setConnections(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("connections", value); } + /** + * Sets the generativeAIInsights property value. The generativeAIInsights property + * @param value Value to set for the generativeAIInsights property. + */ + public void setGenerativeAIInsights(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("generativeAIInsights", value); + } /** * Sets the remoteNetworks property value. A collection of remote network health events. * @param value Value to set for the remoteNetworks property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsBase.java new file mode 100644 index 00000000000..efb5384f733 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsBase.java @@ -0,0 +1,106 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.math.BigDecimal; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BRegistrationMetricsBase extends Entity implements Parsable { + /** + * Instantiates a new {@link B2BRegistrationMetricsBase} and sets the default values. + */ + public B2BRegistrationMetricsBase() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link B2BRegistrationMetricsBase} + */ + @jakarta.annotation.Nonnull + public static B2BRegistrationMetricsBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsInitial": return new B2BRegistrationMetricsInitial(); + case "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsRecent": return new B2BRegistrationMetricsRecent(); + } + } + return new B2BRegistrationMetricsBase(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("inboundTotalUsers", (n) -> { this.setInboundTotalUsers(n.getBigDecimalValue()); }); + deserializerMap.put("outboundTotalUsers", (n) -> { this.setOutboundTotalUsers(n.getBigDecimalValue()); }); + deserializerMap.put("watermarkDateTime", (n) -> { this.setWatermarkDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the inboundTotalUsers property value. The total number of inbound B2B guest users registered. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getInboundTotalUsers() { + return this.backingStore.get("inboundTotalUsers"); + } + /** + * Gets the outboundTotalUsers property value. The total number of outbound B2B users from this tenant registered in other tenants. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getOutboundTotalUsers() { + return this.backingStore.get("outboundTotalUsers"); + } + /** + * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getWatermarkDateTime() { + return this.backingStore.get("watermarkDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeBigDecimalValue("inboundTotalUsers", this.getInboundTotalUsers()); + writer.writeBigDecimalValue("outboundTotalUsers", this.getOutboundTotalUsers()); + writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); + } + /** + * Sets the inboundTotalUsers property value. The total number of inbound B2B guest users registered. + * @param value Value to set for the inboundTotalUsers property. + */ + public void setInboundTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("inboundTotalUsers", value); + } + /** + * Sets the outboundTotalUsers property value. The total number of outbound B2B users from this tenant registered in other tenants. + * @param value Value to set for the outboundTotalUsers property. + */ + public void setOutboundTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("outboundTotalUsers", value); + } + /** + * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * @param value Value to set for the watermarkDateTime property. + */ + public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("watermarkDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsInitial.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsInitial.java new file mode 100644 index 00000000000..1d223b726fc --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsInitial.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BRegistrationMetricsInitial extends B2BRegistrationMetricsBase implements Parsable { + /** + * Instantiates a new {@link B2BRegistrationMetricsInitial} and sets the default values. + */ + public B2BRegistrationMetricsInitial() { + super(); + this.setOdataType("#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsInitial"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link B2BRegistrationMetricsInitial} + */ + @jakarta.annotation.Nonnull + public static B2BRegistrationMetricsInitial createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new B2BRegistrationMetricsInitial(); + } + /** + * Gets the createdDateTime property value. Timestamp that represents the date time that B2B registration data was initially aggregated. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + } + /** + * Sets the createdDateTime property value. Timestamp that represents the date time that B2B registration data was initially aggregated. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsRecent.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsRecent.java new file mode 100644 index 00000000000..c08652083e9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsRecent.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BRegistrationMetricsRecent extends B2BRegistrationMetricsBase implements Parsable { + /** + * Instantiates a new {@link B2BRegistrationMetricsRecent} and sets the default values. + */ + public B2BRegistrationMetricsRecent() { + super(); + this.setOdataType("#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsRecent"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link B2BRegistrationMetricsRecent} + */ + @jakarta.annotation.Nonnull + public static B2BRegistrationMetricsRecent createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new B2BRegistrationMetricsRecent(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("updateDateTime", (n) -> { this.setUpdateDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getUpdateDateTime() { + return this.backingStore.get("updateDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); + } + /** + * Sets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + * @param value Value to set for the updateDateTime property. + */ + public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("updateDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetrics.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetrics.java new file mode 100644 index 00000000000..267469504ae --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetrics.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BSignInActivityMetrics extends Entity implements Parsable { + /** + * Instantiates a new {@link B2BSignInActivityMetrics} and sets the default values. + */ + public B2BSignInActivityMetrics() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link B2BSignInActivityMetrics} + */ + @jakarta.annotation.Nonnull + public static B2BSignInActivityMetrics createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new B2BSignInActivityMetrics(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("initial", (n) -> { this.setInitial(n.getObjectValue(B2BSignInActivityMetricsInitial::createFromDiscriminatorValue)); }); + deserializerMap.put("recent", (n) -> { this.setRecent(n.getObjectValue(B2BSignInActivityMetricsRecent::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the initial property value. The initial property + * @return a {@link B2BSignInActivityMetricsInitial} + */ + @jakarta.annotation.Nullable + public B2BSignInActivityMetricsInitial getInitial() { + return this.backingStore.get("initial"); + } + /** + * Gets the recent property value. The recent property + * @return a {@link B2BSignInActivityMetricsRecent} + */ + @jakarta.annotation.Nullable + public B2BSignInActivityMetricsRecent getRecent() { + return this.backingStore.get("recent"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("initial", this.getInitial()); + writer.writeObjectValue("recent", this.getRecent()); + } + /** + * Sets the initial property value. The initial property + * @param value Value to set for the initial property. + */ + public void setInitial(@jakarta.annotation.Nullable final B2BSignInActivityMetricsInitial value) { + this.backingStore.set("initial", value); + } + /** + * Sets the recent property value. The recent property + * @param value Value to set for the recent property. + */ + public void setRecent(@jakarta.annotation.Nullable final B2BSignInActivityMetricsRecent value) { + this.backingStore.set("recent", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsBase.java new file mode 100644 index 00000000000..819c3298cba --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsBase.java @@ -0,0 +1,140 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.math.BigDecimal; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BSignInActivityMetricsBase extends Entity implements Parsable { + /** + * Instantiates a new {@link B2BSignInActivityMetricsBase} and sets the default values. + */ + public B2BSignInActivityMetricsBase() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link B2BSignInActivityMetricsBase} + */ + @jakarta.annotation.Nonnull + public static B2BSignInActivityMetricsBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsInitial": return new B2BSignInActivityMetricsInitial(); + case "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsRecent": return new B2BSignInActivityMetricsRecent(); + } + } + return new B2BSignInActivityMetricsBase(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("inboundMonthlyTotalApplications", (n) -> { this.setInboundMonthlyTotalApplications(n.getBigDecimalValue()); }); + deserializerMap.put("inboundMonthlyTotalUsers", (n) -> { this.setInboundMonthlyTotalUsers(n.getBigDecimalValue()); }); + deserializerMap.put("outboundMonthlyTotalApplications", (n) -> { this.setOutboundMonthlyTotalApplications(n.getBigDecimalValue()); }); + deserializerMap.put("outboundMonthlyTotalUsers", (n) -> { this.setOutboundMonthlyTotalUsers(n.getBigDecimalValue()); }); + deserializerMap.put("watermarkDateTime", (n) -> { this.setWatermarkDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the inboundMonthlyTotalApplications property value. The total number of applications accessed by inbound users in the last month. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getInboundMonthlyTotalApplications() { + return this.backingStore.get("inboundMonthlyTotalApplications"); + } + /** + * Gets the inboundMonthlyTotalUsers property value. The total number of unique inbound users with sign-in activity in the last month. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getInboundMonthlyTotalUsers() { + return this.backingStore.get("inboundMonthlyTotalUsers"); + } + /** + * Gets the outboundMonthlyTotalApplications property value. The total number of applications accessed by outbound users in the last month. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getOutboundMonthlyTotalApplications() { + return this.backingStore.get("outboundMonthlyTotalApplications"); + } + /** + * Gets the outboundMonthlyTotalUsers property value. The total number of unique outbound users with sign-in activity in the last month. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getOutboundMonthlyTotalUsers() { + return this.backingStore.get("outboundMonthlyTotalUsers"); + } + /** + * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getWatermarkDateTime() { + return this.backingStore.get("watermarkDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeBigDecimalValue("inboundMonthlyTotalApplications", this.getInboundMonthlyTotalApplications()); + writer.writeBigDecimalValue("inboundMonthlyTotalUsers", this.getInboundMonthlyTotalUsers()); + writer.writeBigDecimalValue("outboundMonthlyTotalApplications", this.getOutboundMonthlyTotalApplications()); + writer.writeBigDecimalValue("outboundMonthlyTotalUsers", this.getOutboundMonthlyTotalUsers()); + writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); + } + /** + * Sets the inboundMonthlyTotalApplications property value. The total number of applications accessed by inbound users in the last month. + * @param value Value to set for the inboundMonthlyTotalApplications property. + */ + public void setInboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("inboundMonthlyTotalApplications", value); + } + /** + * Sets the inboundMonthlyTotalUsers property value. The total number of unique inbound users with sign-in activity in the last month. + * @param value Value to set for the inboundMonthlyTotalUsers property. + */ + public void setInboundMonthlyTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("inboundMonthlyTotalUsers", value); + } + /** + * Sets the outboundMonthlyTotalApplications property value. The total number of applications accessed by outbound users in the last month. + * @param value Value to set for the outboundMonthlyTotalApplications property. + */ + public void setOutboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("outboundMonthlyTotalApplications", value); + } + /** + * Sets the outboundMonthlyTotalUsers property value. The total number of unique outbound users with sign-in activity in the last month. + * @param value Value to set for the outboundMonthlyTotalUsers property. + */ + public void setOutboundMonthlyTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("outboundMonthlyTotalUsers", value); + } + /** + * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * @param value Value to set for the watermarkDateTime property. + */ + public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("watermarkDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsInitial.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsInitial.java new file mode 100644 index 00000000000..a494dc3703a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsInitial.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BSignInActivityMetricsInitial extends B2BSignInActivityMetricsBase implements Parsable { + /** + * Instantiates a new {@link B2BSignInActivityMetricsInitial} and sets the default values. + */ + public B2BSignInActivityMetricsInitial() { + super(); + this.setOdataType("#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsInitial"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link B2BSignInActivityMetricsInitial} + */ + @jakarta.annotation.Nonnull + public static B2BSignInActivityMetricsInitial createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new B2BSignInActivityMetricsInitial(); + } + /** + * Gets the createdDateTime property value. Timestamp that represents when the time B2B sign-in activity content was initially aggregated for the related tenant. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + } + /** + * Sets the createdDateTime property value. Timestamp that represents when the time B2B sign-in activity content was initially aggregated for the related tenant. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsRecent.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsRecent.java new file mode 100644 index 00000000000..27d3b8b1ad8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsRecent.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2BSignInActivityMetricsRecent extends B2BSignInActivityMetricsBase implements Parsable { + /** + * Instantiates a new {@link B2BSignInActivityMetricsRecent} and sets the default values. + */ + public B2BSignInActivityMetricsRecent() { + super(); + this.setOdataType("#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsRecent"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link B2BSignInActivityMetricsRecent} + */ + @jakarta.annotation.Nonnull + public static B2BSignInActivityMetricsRecent createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new B2BSignInActivityMetricsRecent(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("updateDateTime", (n) -> { this.setUpdateDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getUpdateDateTime() { + return this.backingStore.get("updateDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); + } + /** + * Sets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + * @param value Value to set for the updateDateTime property. + */ + public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("updateDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2bRegistrationMetrics.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2bRegistrationMetrics.java new file mode 100644 index 00000000000..5182487dc1f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2bRegistrationMetrics.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class B2bRegistrationMetrics extends Entity implements Parsable { + /** + * Instantiates a new {@link B2bRegistrationMetrics} and sets the default values. + */ + public B2bRegistrationMetrics() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link B2bRegistrationMetrics} + */ + @jakarta.annotation.Nonnull + public static B2bRegistrationMetrics createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new B2bRegistrationMetrics(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("initial", (n) -> { this.setInitial(n.getObjectValue(B2BRegistrationMetricsInitial::createFromDiscriminatorValue)); }); + deserializerMap.put("recent", (n) -> { this.setRecent(n.getObjectValue(B2BRegistrationMetricsRecent::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the initial property value. The initial property + * @return a {@link B2BRegistrationMetricsInitial} + */ + @jakarta.annotation.Nullable + public B2BRegistrationMetricsInitial getInitial() { + return this.backingStore.get("initial"); + } + /** + * Gets the recent property value. The recent property + * @return a {@link B2BRegistrationMetricsRecent} + */ + @jakarta.annotation.Nullable + public B2BRegistrationMetricsRecent getRecent() { + return this.backingStore.get("recent"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("initial", this.getInitial()); + writer.writeObjectValue("recent", this.getRecent()); + } + /** + * Sets the initial property value. The initial property + * @param value Value to set for the initial property. + */ + public void setInitial(@jakarta.annotation.Nullable final B2BRegistrationMetricsInitial value) { + this.backingStore.set("initial", value); + } + /** + * Sets the recent property value. The recent property + * @param value Value to set for the recent property. + */ + public void setRecent(@jakarta.annotation.Nullable final B2BRegistrationMetricsRecent value) { + this.backingStore.set("recent", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetrics.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetrics.java new file mode 100644 index 00000000000..66dccc83f0b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetrics.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BillingMetrics extends Entity implements Parsable { + /** + * Instantiates a new {@link BillingMetrics} and sets the default values. + */ + public BillingMetrics() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BillingMetrics} + */ + @jakarta.annotation.Nonnull + public static BillingMetrics createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BillingMetrics(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("initial", (n) -> { this.setInitial(n.getObjectValue(BillingMetricsInitial::createFromDiscriminatorValue)); }); + deserializerMap.put("recent", (n) -> { this.setRecent(n.getObjectValue(BillingMetricsRecent::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the initial property value. The initial property + * @return a {@link BillingMetricsInitial} + */ + @jakarta.annotation.Nullable + public BillingMetricsInitial getInitial() { + return this.backingStore.get("initial"); + } + /** + * Gets the recent property value. The recent property + * @return a {@link BillingMetricsRecent} + */ + @jakarta.annotation.Nullable + public BillingMetricsRecent getRecent() { + return this.backingStore.get("recent"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("initial", this.getInitial()); + writer.writeObjectValue("recent", this.getRecent()); + } + /** + * Sets the initial property value. The initial property + * @param value Value to set for the initial property. + */ + public void setInitial(@jakarta.annotation.Nullable final BillingMetricsInitial value) { + this.backingStore.set("initial", value); + } + /** + * Sets the recent property value. The recent property + * @param value Value to set for the recent property. + */ + public void setRecent(@jakarta.annotation.Nullable final BillingMetricsRecent value) { + this.backingStore.set("recent", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsBase.java new file mode 100644 index 00000000000..28a33396c08 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsBase.java @@ -0,0 +1,191 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.math.BigDecimal; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BillingMetricsBase extends Entity implements Parsable { + /** + * Instantiates a new {@link BillingMetricsBase} and sets the default values. + */ + public BillingMetricsBase() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BillingMetricsBase} + */ + @jakarta.annotation.Nonnull + public static BillingMetricsBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.tenantGovernanceServices.billingMetricsInitial": return new BillingMetricsInitial(); + case "#microsoft.graph.tenantGovernanceServices.billingMetricsRecent": return new BillingMetricsRecent(); + } + } + return new BillingMetricsBase(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("foreignAssociatedTenantBillingManagementActiveCount", (n) -> { this.setForeignAssociatedTenantBillingManagementActiveCount(n.getBigDecimalValue()); }); + deserializerMap.put("foreignAssociatedTenantCount", (n) -> { this.setForeignAssociatedTenantCount(n.getBigDecimalValue()); }); + deserializerMap.put("foreignAssociatedTenantProvisioningActiveCount", (n) -> { this.setForeignAssociatedTenantProvisioningActiveCount(n.getBigDecimalValue()); }); + deserializerMap.put("localAssociatedTenantBillingManagementActiveCount", (n) -> { this.setLocalAssociatedTenantBillingManagementActiveCount(n.getBigDecimalValue()); }); + deserializerMap.put("localAssociatedTenantCount", (n) -> { this.setLocalAssociatedTenantCount(n.getBigDecimalValue()); }); + deserializerMap.put("localAssociatedTenantIds", (n) -> { this.setLocalAssociatedTenantIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("localAssociatedTenantProvisioningActiveCount", (n) -> { this.setLocalAssociatedTenantProvisioningActiveCount(n.getBigDecimalValue()); }); + deserializerMap.put("watermarkDateTime", (n) -> { this.setWatermarkDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the foreignAssociatedTenantBillingManagementActiveCount property value. The number of foreign associated tenants with active billing management. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getForeignAssociatedTenantBillingManagementActiveCount() { + return this.backingStore.get("foreignAssociatedTenantBillingManagementActiveCount"); + } + /** + * Gets the foreignAssociatedTenantCount property value. The total number of foreign associated tenants. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getForeignAssociatedTenantCount() { + return this.backingStore.get("foreignAssociatedTenantCount"); + } + /** + * Gets the foreignAssociatedTenantProvisioningActiveCount property value. The number of foreign associated tenants with active provisioning. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getForeignAssociatedTenantProvisioningActiveCount() { + return this.backingStore.get("foreignAssociatedTenantProvisioningActiveCount"); + } + /** + * Gets the localAssociatedTenantBillingManagementActiveCount property value. The number of local associated tenants with active billing management. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getLocalAssociatedTenantBillingManagementActiveCount() { + return this.backingStore.get("localAssociatedTenantBillingManagementActiveCount"); + } + /** + * Gets the localAssociatedTenantCount property value. The total number of local associated tenants. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getLocalAssociatedTenantCount() { + return this.backingStore.get("localAssociatedTenantCount"); + } + /** + * Gets the localAssociatedTenantIds property value. The list of local associated tenant IDs. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getLocalAssociatedTenantIds() { + return this.backingStore.get("localAssociatedTenantIds"); + } + /** + * Gets the localAssociatedTenantProvisioningActiveCount property value. The number of local associated tenants with active provisioning. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getLocalAssociatedTenantProvisioningActiveCount() { + return this.backingStore.get("localAssociatedTenantProvisioningActiveCount"); + } + /** + * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getWatermarkDateTime() { + return this.backingStore.get("watermarkDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeBigDecimalValue("foreignAssociatedTenantBillingManagementActiveCount", this.getForeignAssociatedTenantBillingManagementActiveCount()); + writer.writeBigDecimalValue("foreignAssociatedTenantCount", this.getForeignAssociatedTenantCount()); + writer.writeBigDecimalValue("foreignAssociatedTenantProvisioningActiveCount", this.getForeignAssociatedTenantProvisioningActiveCount()); + writer.writeBigDecimalValue("localAssociatedTenantBillingManagementActiveCount", this.getLocalAssociatedTenantBillingManagementActiveCount()); + writer.writeBigDecimalValue("localAssociatedTenantCount", this.getLocalAssociatedTenantCount()); + writer.writeCollectionOfPrimitiveValues("localAssociatedTenantIds", this.getLocalAssociatedTenantIds()); + writer.writeBigDecimalValue("localAssociatedTenantProvisioningActiveCount", this.getLocalAssociatedTenantProvisioningActiveCount()); + writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); + } + /** + * Sets the foreignAssociatedTenantBillingManagementActiveCount property value. The number of foreign associated tenants with active billing management. + * @param value Value to set for the foreignAssociatedTenantBillingManagementActiveCount property. + */ + public void setForeignAssociatedTenantBillingManagementActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("foreignAssociatedTenantBillingManagementActiveCount", value); + } + /** + * Sets the foreignAssociatedTenantCount property value. The total number of foreign associated tenants. + * @param value Value to set for the foreignAssociatedTenantCount property. + */ + public void setForeignAssociatedTenantCount(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("foreignAssociatedTenantCount", value); + } + /** + * Sets the foreignAssociatedTenantProvisioningActiveCount property value. The number of foreign associated tenants with active provisioning. + * @param value Value to set for the foreignAssociatedTenantProvisioningActiveCount property. + */ + public void setForeignAssociatedTenantProvisioningActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("foreignAssociatedTenantProvisioningActiveCount", value); + } + /** + * Sets the localAssociatedTenantBillingManagementActiveCount property value. The number of local associated tenants with active billing management. + * @param value Value to set for the localAssociatedTenantBillingManagementActiveCount property. + */ + public void setLocalAssociatedTenantBillingManagementActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("localAssociatedTenantBillingManagementActiveCount", value); + } + /** + * Sets the localAssociatedTenantCount property value. The total number of local associated tenants. + * @param value Value to set for the localAssociatedTenantCount property. + */ + public void setLocalAssociatedTenantCount(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("localAssociatedTenantCount", value); + } + /** + * Sets the localAssociatedTenantIds property value. The list of local associated tenant IDs. + * @param value Value to set for the localAssociatedTenantIds property. + */ + public void setLocalAssociatedTenantIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("localAssociatedTenantIds", value); + } + /** + * Sets the localAssociatedTenantProvisioningActiveCount property value. The number of local associated tenants with active provisioning. + * @param value Value to set for the localAssociatedTenantProvisioningActiveCount property. + */ + public void setLocalAssociatedTenantProvisioningActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("localAssociatedTenantProvisioningActiveCount", value); + } + /** + * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * @param value Value to set for the watermarkDateTime property. + */ + public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("watermarkDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsInitial.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsInitial.java new file mode 100644 index 00000000000..e81e3d8d96a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsInitial.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BillingMetricsInitial extends BillingMetricsBase implements Parsable { + /** + * Instantiates a new {@link BillingMetricsInitial} and sets the default values. + */ + public BillingMetricsInitial() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BillingMetricsInitial} + */ + @jakarta.annotation.Nonnull + public static BillingMetricsInitial createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BillingMetricsInitial(); + } + /** + * Gets the createdDateTime property value. Timestamp that represents when billing metrics are initially aggregated for the related tenant. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + } + /** + * Sets the createdDateTime property value. Timestamp that represents when billing metrics are initially aggregated for the related tenant. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsRecent.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsRecent.java new file mode 100644 index 00000000000..66e6e7edc5d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsRecent.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BillingMetricsRecent extends BillingMetricsBase implements Parsable { + /** + * Instantiates a new {@link BillingMetricsRecent} and sets the default values. + */ + public BillingMetricsRecent() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BillingMetricsRecent} + */ + @jakarta.annotation.Nonnull + public static BillingMetricsRecent createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BillingMetricsRecent(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("updateDateTime", (n) -> { this.setUpdateDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the updateDateTime property value. Timestamp that represents when billing metrics are aggregated and have sufficiently changed for the related tenant. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getUpdateDateTime() { + return this.backingStore.get("updateDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); + } + /** + * Sets the updateDateTime property value. Timestamp that represents when billing metrics are aggregated and have sufficiently changed for the related tenant. + * @param value Value to set for the updateDateTime property. + */ + public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("updateDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignment.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignment.java new file mode 100644 index 00000000000..b47b84a5fe5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignment.java @@ -0,0 +1,142 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Group; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DelegatedAdministrationRoleAssignment implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DelegatedAdministrationRoleAssignment} and sets the default values. + */ + public DelegatedAdministrationRoleAssignment() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DelegatedAdministrationRoleAssignment} + */ + @jakarta.annotation.Nonnull + public static DelegatedAdministrationRoleAssignment createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DelegatedAdministrationRoleAssignment(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("group", (n) -> { this.setGroup(n.getObjectValue(Group::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("roleTemplates", (n) -> { this.setRoleTemplates(n.getCollectionOfObjectValues(RoleTemplate::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the group property value. The group property + * @return a {@link Group} + */ + @jakarta.annotation.Nullable + public Group getGroup() { + return this.backingStore.get("group"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the roleTemplates property value. A collection of role templates that define the roles to be assigned to the group in the governed tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRoleTemplates() { + return this.backingStore.get("roleTemplates"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeObjectValue("group", this.getGroup()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("roleTemplates", this.getRoleTemplates()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the group property value. The group property + * @param value Value to set for the group property. + */ + public void setGroup(@jakarta.annotation.Nullable final Group value) { + this.backingStore.set("group", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the roleTemplates property value. A collection of role templates that define the roles to be assigned to the group in the governed tenant. + * @param value Value to set for the roleTemplates property. + */ + public void setRoleTemplates(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("roleTemplates", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignmentSnapshot.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignmentSnapshot.java new file mode 100644 index 00000000000..a80ac3577c1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignmentSnapshot.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DelegatedAdministrationRoleAssignmentSnapshot implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DelegatedAdministrationRoleAssignmentSnapshot} and sets the default values. + */ + public DelegatedAdministrationRoleAssignmentSnapshot() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DelegatedAdministrationRoleAssignmentSnapshot} + */ + @jakarta.annotation.Nonnull + public static DelegatedAdministrationRoleAssignmentSnapshot createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DelegatedAdministrationRoleAssignmentSnapshot(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("groupId", (n) -> { this.setGroupId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("roleTemplates", (n) -> { this.setRoleTemplates(n.getCollectionOfObjectValues(RoleTemplate::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the groupId property value. The object ID of the role-assignable security group in the governing tenant that will be assigned the specified roles. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGroupId() { + return this.backingStore.get("groupId"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the roleTemplates property value. The collection of role templates that define the Microsoft Entra roles to be assigned. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRoleTemplates() { + return this.backingStore.get("roleTemplates"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("groupId", this.getGroupId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("roleTemplates", this.getRoleTemplates()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the groupId property value. The object ID of the role-assignable security group in the governing tenant that will be assigned the specified roles. + * @param value Value to set for the groupId property. + */ + public void setGroupId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("groupId", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the roleTemplates property value. The collection of role templates that define the Microsoft Entra roles to be assigned. + * @param value Value to set for the roleTemplates property. + */ + public void setRoleTemplates(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("roleTemplates", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitation.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitation.java new file mode 100644 index 00000000000..b727af4d8e7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitation.java @@ -0,0 +1,148 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceInvitation extends Entity implements Parsable { + /** + * Instantiates a new {@link GovernanceInvitation} and sets the default values. + */ + public GovernanceInvitation() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GovernanceInvitation} + */ + @jakarta.annotation.Nonnull + public static GovernanceInvitation createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GovernanceInvitation(); + } + /** + * Gets the createdDateTime property value. The date and time when the invitation was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * Gets the expirationDateTime property value. The date and time when the invitation expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getExpirationDateTime() { + return this.backingStore.get("expirationDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("expirationDateTime", (n) -> { this.setExpirationDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("governedTenantId", (n) -> { this.setGovernedTenantId(n.getStringValue()); }); + deserializerMap.put("governedTenantName", (n) -> { this.setGovernedTenantName(n.getStringValue()); }); + deserializerMap.put("governingTenantId", (n) -> { this.setGoverningTenantId(n.getStringValue()); }); + deserializerMap.put("governingTenantName", (n) -> { this.setGoverningTenantName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGovernedTenantId() { + return this.backingStore.get("governedTenantId"); + } + /** + * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGovernedTenantName() { + return this.backingStore.get("governedTenantName"); + } + /** + * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGoverningTenantId() { + return this.backingStore.get("governingTenantId"); + } + /** + * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGoverningTenantName() { + return this.backingStore.get("governingTenantName"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeOffsetDateTimeValue("expirationDateTime", this.getExpirationDateTime()); + writer.writeStringValue("governedTenantId", this.getGovernedTenantId()); + writer.writeStringValue("governedTenantName", this.getGovernedTenantName()); + writer.writeStringValue("governingTenantId", this.getGoverningTenantId()); + writer.writeStringValue("governingTenantName", this.getGoverningTenantName()); + } + /** + * Sets the createdDateTime property value. The date and time when the invitation was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the expirationDateTime property value. The date and time when the invitation expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @param value Value to set for the expirationDateTime property. + */ + public void setExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("expirationDateTime", value); + } + /** + * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governedTenantId property. + */ + public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governedTenantId", value); + } + /** + * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governedTenantName property. + */ + public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governedTenantName", value); + } + /** + * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governingTenantId property. + */ + public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governingTenantId", value); + } + /** + * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governingTenantName property. + */ + public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governingTenantName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitationCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitationCollectionResponse.java new file mode 100644 index 00000000000..ccf6a505b2b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitationCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceInvitationCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link GovernanceInvitationCollectionResponse} and sets the default values. + */ + public GovernanceInvitationCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GovernanceInvitationCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static GovernanceInvitationCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GovernanceInvitationCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(GovernanceInvitation::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplate.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplate.java new file mode 100644 index 00000000000..3de2f83f6f2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplate.java @@ -0,0 +1,182 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernancePolicyTemplate extends Entity implements Parsable { + /** + * Instantiates a new {@link GovernancePolicyTemplate} and sets the default values. + */ + public GovernancePolicyTemplate() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GovernancePolicyTemplate} + */ + @jakarta.annotation.Nonnull + public static GovernancePolicyTemplate createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GovernancePolicyTemplate(); + } + /** + * Gets the createdDateTime property value. The date and time when the template was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * Gets the delegatedAdministrationRoleAssignments property value. A collection of delegated administration role assignments to be applied in the governed tenant when the governance relationship is established. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getDelegatedAdministrationRoleAssignments() { + return this.backingStore.get("delegatedAdministrationRoleAssignments"); + } + /** + * Gets the description property value. A description of the policy template. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * Gets the displayName property value. The display name of the policy template. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("delegatedAdministrationRoleAssignments", (n) -> { this.setDelegatedAdministrationRoleAssignments(n.getCollectionOfObjectValues(DelegatedAdministrationRoleAssignment::createFromDiscriminatorValue)); }); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("governedTenantCanTerminate", (n) -> { this.setGovernedTenantCanTerminate(n.getBooleanValue()); }); + deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("multiTenantApplicationsToProvision", (n) -> { this.setMultiTenantApplicationsToProvision(n.getCollectionOfObjectValues(MultiTenantApplicationsToProvision::createFromDiscriminatorValue)); }); + deserializerMap.put("version", (n) -> { this.setVersion(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the governedTenantCanTerminate property value. Not implemented. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getGovernedTenantCanTerminate() { + return this.backingStore.get("governedTenantCanTerminate"); + } + /** + * Gets the lastModifiedDateTime property value. The date and time when the template was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastModifiedDateTime() { + return this.backingStore.get("lastModifiedDateTime"); + } + /** + * Gets the multiTenantApplicationsToProvision property value. A collection of multi-tenant applications to be provisioned in the governed tenant when the governance relationship is established. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMultiTenantApplicationsToProvision() { + return this.backingStore.get("multiTenantApplicationsToProvision"); + } + /** + * Gets the version property value. The version of the policy template. Version count increased by 1 when updated. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getVersion() { + return this.backingStore.get("version"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeCollectionOfObjectValues("delegatedAdministrationRoleAssignments", this.getDelegatedAdministrationRoleAssignments()); + writer.writeStringValue("description", this.getDescription()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeBooleanValue("governedTenantCanTerminate", this.getGovernedTenantCanTerminate()); + writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); + writer.writeCollectionOfObjectValues("multiTenantApplicationsToProvision", this.getMultiTenantApplicationsToProvision()); + writer.writeStringValue("version", this.getVersion()); + } + /** + * Sets the createdDateTime property value. The date and time when the template was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the delegatedAdministrationRoleAssignments property value. A collection of delegated administration role assignments to be applied in the governed tenant when the governance relationship is established. + * @param value Value to set for the delegatedAdministrationRoleAssignments property. + */ + public void setDelegatedAdministrationRoleAssignments(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("delegatedAdministrationRoleAssignments", value); + } + /** + * Sets the description property value. A description of the policy template. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the displayName property value. The display name of the policy template. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the governedTenantCanTerminate property value. Not implemented. + * @param value Value to set for the governedTenantCanTerminate property. + */ + public void setGovernedTenantCanTerminate(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("governedTenantCanTerminate", value); + } + /** + * Sets the lastModifiedDateTime property value. The date and time when the template was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @param value Value to set for the lastModifiedDateTime property. + */ + public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastModifiedDateTime", value); + } + /** + * Sets the multiTenantApplicationsToProvision property value. A collection of multi-tenant applications to be provisioned in the governed tenant when the governance relationship is established. + * @param value Value to set for the multiTenantApplicationsToProvision property. + */ + public void setMultiTenantApplicationsToProvision(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("multiTenantApplicationsToProvision", value); + } + /** + * Sets the version property value. The version of the policy template. Version count increased by 1 when updated. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @param value Value to set for the version property. + */ + public void setVersion(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("version", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplateCollectionResponse.java new file mode 100644 index 00000000000..a0fed7ded18 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplateCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernancePolicyTemplateCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link GovernancePolicyTemplateCollectionResponse} and sets the default values. + */ + public GovernancePolicyTemplateCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GovernancePolicyTemplateCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static GovernancePolicyTemplateCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GovernancePolicyTemplateCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(GovernancePolicyTemplate::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationship.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationship.java new file mode 100644 index 00000000000..16af24f2ec3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationship.java @@ -0,0 +1,182 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceRelationship extends Entity implements Parsable { + /** + * Instantiates a new {@link GovernanceRelationship} and sets the default values. + */ + public GovernanceRelationship() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GovernanceRelationship} + */ + @jakarta.annotation.Nonnull + public static GovernanceRelationship createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GovernanceRelationship(); + } + /** + * Gets the createdType property value. The createdType property + * @return a {@link RelationshipCreationType} + */ + @jakarta.annotation.Nullable + public RelationshipCreationType getCreatedType() { + return this.backingStore.get("createdType"); + } + /** + * Gets the creationDateTime property value. The date and time when the relationship was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2026 is 2026-01-01T00:00:00Z. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreationDateTime() { + return this.backingStore.get("creationDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdType", (n) -> { this.setCreatedType(n.getEnumValue(RelationshipCreationType::forValue)); }); + deserializerMap.put("creationDateTime", (n) -> { this.setCreationDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("governedTenantId", (n) -> { this.setGovernedTenantId(n.getStringValue()); }); + deserializerMap.put("governedTenantName", (n) -> { this.setGovernedTenantName(n.getStringValue()); }); + deserializerMap.put("governingTenantId", (n) -> { this.setGoverningTenantId(n.getStringValue()); }); + deserializerMap.put("governingTenantName", (n) -> { this.setGoverningTenantName(n.getStringValue()); }); + deserializerMap.put("policySnapshot", (n) -> { this.setPolicySnapshot(n.getObjectValue(RelationshipPolicy::createFromDiscriminatorValue)); }); + deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(RelationshipStatus::forValue)); }); + return deserializerMap; + } + /** + * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGovernedTenantId() { + return this.backingStore.get("governedTenantId"); + } + /** + * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGovernedTenantName() { + return this.backingStore.get("governedTenantName"); + } + /** + * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGoverningTenantId() { + return this.backingStore.get("governingTenantId"); + } + /** + * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGoverningTenantName() { + return this.backingStore.get("governingTenantName"); + } + /** + * Gets the policySnapshot property value. The policySnapshot property + * @return a {@link RelationshipPolicy} + */ + @jakarta.annotation.Nullable + public RelationshipPolicy getPolicySnapshot() { + return this.backingStore.get("policySnapshot"); + } + /** + * Gets the status property value. The status property + * @return a {@link RelationshipStatus} + */ + @jakarta.annotation.Nullable + public RelationshipStatus getStatus() { + return this.backingStore.get("status"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeEnumValue("createdType", this.getCreatedType()); + writer.writeOffsetDateTimeValue("creationDateTime", this.getCreationDateTime()); + writer.writeStringValue("governedTenantId", this.getGovernedTenantId()); + writer.writeStringValue("governedTenantName", this.getGovernedTenantName()); + writer.writeStringValue("governingTenantId", this.getGoverningTenantId()); + writer.writeStringValue("governingTenantName", this.getGoverningTenantName()); + writer.writeObjectValue("policySnapshot", this.getPolicySnapshot()); + writer.writeEnumValue("status", this.getStatus()); + } + /** + * Sets the createdType property value. The createdType property + * @param value Value to set for the createdType property. + */ + public void setCreatedType(@jakarta.annotation.Nullable final RelationshipCreationType value) { + this.backingStore.set("createdType", value); + } + /** + * Sets the creationDateTime property value. The date and time when the relationship was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2026 is 2026-01-01T00:00:00Z. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @param value Value to set for the creationDateTime property. + */ + public void setCreationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("creationDateTime", value); + } + /** + * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governedTenantId property. + */ + public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governedTenantId", value); + } + /** + * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governedTenantName property. + */ + public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governedTenantName", value); + } + /** + * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governingTenantId property. + */ + public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governingTenantId", value); + } + /** + * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governingTenantName property. + */ + public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governingTenantName", value); + } + /** + * Sets the policySnapshot property value. The policySnapshot property + * @param value Value to set for the policySnapshot property. + */ + public void setPolicySnapshot(@jakarta.annotation.Nullable final RelationshipPolicy value) { + this.backingStore.set("policySnapshot", value); + } + /** + * Sets the status property value. The status property + * @param value Value to set for the status property. + */ + public void setStatus(@jakarta.annotation.Nullable final RelationshipStatus value) { + this.backingStore.set("status", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationshipCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationshipCollectionResponse.java new file mode 100644 index 00000000000..4df3b9bc7de --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationshipCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceRelationshipCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link GovernanceRelationshipCollectionResponse} and sets the default values. + */ + public GovernanceRelationshipCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GovernanceRelationshipCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static GovernanceRelationshipCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GovernanceRelationshipCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(GovernanceRelationship::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequest.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequest.java new file mode 100644 index 00000000000..4cf9d7b6bc7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequest.java @@ -0,0 +1,199 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceRequest extends Entity implements Parsable { + /** + * Instantiates a new {@link GovernanceRequest} and sets the default values. + */ + public GovernanceRequest() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GovernanceRequest} + */ + @jakarta.annotation.Nonnull + public static GovernanceRequest createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GovernanceRequest(); + } + /** + * Gets the expirationDateTime property value. The date and time when the request expires if not accepted or rejected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getExpirationDateTime() { + return this.backingStore.get("expirationDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("expirationDateTime", (n) -> { this.setExpirationDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("governancePolicyTemplate", (n) -> { this.setGovernancePolicyTemplate(n.getObjectValue(GovernancePolicyTemplate::createFromDiscriminatorValue)); }); + deserializerMap.put("governedTenantId", (n) -> { this.setGovernedTenantId(n.getStringValue()); }); + deserializerMap.put("governedTenantName", (n) -> { this.setGovernedTenantName(n.getStringValue()); }); + deserializerMap.put("governingTenantId", (n) -> { this.setGoverningTenantId(n.getStringValue()); }); + deserializerMap.put("governingTenantName", (n) -> { this.setGoverningTenantName(n.getStringValue()); }); + deserializerMap.put("policySnapshot", (n) -> { this.setPolicySnapshot(n.getObjectValue(RelationshipPolicy::createFromDiscriminatorValue)); }); + deserializerMap.put("requestDateTime", (n) -> { this.setRequestDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(RequestStatus::forValue)); }); + return deserializerMap; + } + /** + * Gets the governancePolicyTemplate property value. The governance policy template associated with this request. + * @return a {@link GovernancePolicyTemplate} + */ + @jakarta.annotation.Nullable + public GovernancePolicyTemplate getGovernancePolicyTemplate() { + return this.backingStore.get("governancePolicyTemplate"); + } + /** + * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGovernedTenantId() { + return this.backingStore.get("governedTenantId"); + } + /** + * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGovernedTenantName() { + return this.backingStore.get("governedTenantName"); + } + /** + * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGoverningTenantId() { + return this.backingStore.get("governingTenantId"); + } + /** + * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGoverningTenantName() { + return this.backingStore.get("governingTenantName"); + } + /** + * Gets the policySnapshot property value. The policySnapshot property + * @return a {@link RelationshipPolicy} + */ + @jakarta.annotation.Nullable + public RelationshipPolicy getPolicySnapshot() { + return this.backingStore.get("policySnapshot"); + } + /** + * Gets the requestDateTime property value. The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getRequestDateTime() { + return this.backingStore.get("requestDateTime"); + } + /** + * Gets the status property value. The status property + * @return a {@link RequestStatus} + */ + @jakarta.annotation.Nullable + public RequestStatus getStatus() { + return this.backingStore.get("status"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("expirationDateTime", this.getExpirationDateTime()); + writer.writeObjectValue("governancePolicyTemplate", this.getGovernancePolicyTemplate()); + writer.writeStringValue("governedTenantId", this.getGovernedTenantId()); + writer.writeStringValue("governedTenantName", this.getGovernedTenantName()); + writer.writeStringValue("governingTenantId", this.getGoverningTenantId()); + writer.writeStringValue("governingTenantName", this.getGoverningTenantName()); + writer.writeObjectValue("policySnapshot", this.getPolicySnapshot()); + writer.writeOffsetDateTimeValue("requestDateTime", this.getRequestDateTime()); + writer.writeEnumValue("status", this.getStatus()); + } + /** + * Sets the expirationDateTime property value. The date and time when the request expires if not accepted or rejected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @param value Value to set for the expirationDateTime property. + */ + public void setExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("expirationDateTime", value); + } + /** + * Sets the governancePolicyTemplate property value. The governance policy template associated with this request. + * @param value Value to set for the governancePolicyTemplate property. + */ + public void setGovernancePolicyTemplate(@jakarta.annotation.Nullable final GovernancePolicyTemplate value) { + this.backingStore.set("governancePolicyTemplate", value); + } + /** + * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governedTenantId property. + */ + public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governedTenantId", value); + } + /** + * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governedTenantName property. + */ + public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governedTenantName", value); + } + /** + * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governingTenantId property. + */ + public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governingTenantId", value); + } + /** + * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * @param value Value to set for the governingTenantName property. + */ + public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governingTenantName", value); + } + /** + * Sets the policySnapshot property value. The policySnapshot property + * @param value Value to set for the policySnapshot property. + */ + public void setPolicySnapshot(@jakarta.annotation.Nullable final RelationshipPolicy value) { + this.backingStore.set("policySnapshot", value); + } + /** + * Sets the requestDateTime property value. The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * @param value Value to set for the requestDateTime property. + */ + public void setRequestDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("requestDateTime", value); + } + /** + * Sets the status property value. The status property + * @param value Value to set for the status property. + */ + public void setStatus(@jakarta.annotation.Nullable final RequestStatus value) { + this.backingStore.set("status", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequestCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequestCollectionResponse.java new file mode 100644 index 00000000000..0e8edeed5c8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequestCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GovernanceRequestCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link GovernanceRequestCollectionResponse} and sets the default values. + */ + public GovernanceRequestCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GovernanceRequestCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static GovernanceRequestCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GovernanceRequestCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(GovernanceRequest::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetrics.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetrics.java new file mode 100644 index 00000000000..4361cefe85a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetrics.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MultiTenantApplicationMetrics extends Entity implements Parsable { + /** + * Instantiates a new {@link MultiTenantApplicationMetrics} and sets the default values. + */ + public MultiTenantApplicationMetrics() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link MultiTenantApplicationMetrics} + */ + @jakarta.annotation.Nonnull + public static MultiTenantApplicationMetrics createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new MultiTenantApplicationMetrics(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("initial", (n) -> { this.setInitial(n.getObjectValue(MultiTenantApplicationMetricsInitial::createFromDiscriminatorValue)); }); + deserializerMap.put("recent", (n) -> { this.setRecent(n.getObjectValue(MultiTenantApplicationMetricsRecent::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the initial property value. The initial property + * @return a {@link MultiTenantApplicationMetricsInitial} + */ + @jakarta.annotation.Nullable + public MultiTenantApplicationMetricsInitial getInitial() { + return this.backingStore.get("initial"); + } + /** + * Gets the recent property value. The recent property + * @return a {@link MultiTenantApplicationMetricsRecent} + */ + @jakarta.annotation.Nullable + public MultiTenantApplicationMetricsRecent getRecent() { + return this.backingStore.get("recent"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("initial", this.getInitial()); + writer.writeObjectValue("recent", this.getRecent()); + } + /** + * Sets the initial property value. The initial property + * @param value Value to set for the initial property. + */ + public void setInitial(@jakarta.annotation.Nullable final MultiTenantApplicationMetricsInitial value) { + this.backingStore.set("initial", value); + } + /** + * Sets the recent property value. The recent property + * @param value Value to set for the recent property. + */ + public void setRecent(@jakarta.annotation.Nullable final MultiTenantApplicationMetricsRecent value) { + this.backingStore.set("recent", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsBase.java new file mode 100644 index 00000000000..5823e6a3719 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsBase.java @@ -0,0 +1,106 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.math.BigDecimal; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MultiTenantApplicationMetricsBase extends Entity implements Parsable { + /** + * Instantiates a new {@link MultiTenantApplicationMetricsBase} and sets the default values. + */ + public MultiTenantApplicationMetricsBase() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link MultiTenantApplicationMetricsBase} + */ + @jakarta.annotation.Nonnull + public static MultiTenantApplicationMetricsBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsInitial": return new MultiTenantApplicationMetricsInitial(); + case "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsRecent": return new MultiTenantApplicationMetricsRecent(); + } + } + return new MultiTenantApplicationMetricsBase(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("inboundMonthlyTotalApplications", (n) -> { this.setInboundMonthlyTotalApplications(n.getBigDecimalValue()); }); + deserializerMap.put("outboundMonthlyTotalApplications", (n) -> { this.setOutboundMonthlyTotalApplications(n.getBigDecimalValue()); }); + deserializerMap.put("watermarkDateTime", (n) -> { this.setWatermarkDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the inboundMonthlyTotalApplications property value. The total number of inbound multi-tenant applications in the last month. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getInboundMonthlyTotalApplications() { + return this.backingStore.get("inboundMonthlyTotalApplications"); + } + /** + * Gets the outboundMonthlyTotalApplications property value. The total number of outbound multi-tenant applications in the last month. + * @return a {@link BigDecimal} + */ + @jakarta.annotation.Nullable + public BigDecimal getOutboundMonthlyTotalApplications() { + return this.backingStore.get("outboundMonthlyTotalApplications"); + } + /** + * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getWatermarkDateTime() { + return this.backingStore.get("watermarkDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeBigDecimalValue("inboundMonthlyTotalApplications", this.getInboundMonthlyTotalApplications()); + writer.writeBigDecimalValue("outboundMonthlyTotalApplications", this.getOutboundMonthlyTotalApplications()); + writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); + } + /** + * Sets the inboundMonthlyTotalApplications property value. The total number of inbound multi-tenant applications in the last month. + * @param value Value to set for the inboundMonthlyTotalApplications property. + */ + public void setInboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("inboundMonthlyTotalApplications", value); + } + /** + * Sets the outboundMonthlyTotalApplications property value. The total number of outbound multi-tenant applications in the last month. + * @param value Value to set for the outboundMonthlyTotalApplications property. + */ + public void setOutboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { + this.backingStore.set("outboundMonthlyTotalApplications", value); + } + /** + * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * @param value Value to set for the watermarkDateTime property. + */ + public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("watermarkDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsInitial.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsInitial.java new file mode 100644 index 00000000000..5f28ddbfc01 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsInitial.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MultiTenantApplicationMetricsInitial extends MultiTenantApplicationMetricsBase implements Parsable { + /** + * Instantiates a new {@link MultiTenantApplicationMetricsInitial} and sets the default values. + */ + public MultiTenantApplicationMetricsInitial() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link MultiTenantApplicationMetricsInitial} + */ + @jakarta.annotation.Nonnull + public static MultiTenantApplicationMetricsInitial createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new MultiTenantApplicationMetricsInitial(); + } + /** + * Gets the createdDateTime property value. Timestamp that represents when multitenant application metrics are initially aggregated for the related tenant. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + } + /** + * Sets the createdDateTime property value. Timestamp that represents when multitenant application metrics are initially aggregated for the related tenant. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsRecent.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsRecent.java new file mode 100644 index 00000000000..20afe0e15b6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsRecent.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MultiTenantApplicationMetricsRecent extends MultiTenantApplicationMetricsBase implements Parsable { + /** + * Instantiates a new {@link MultiTenantApplicationMetricsRecent} and sets the default values. + */ + public MultiTenantApplicationMetricsRecent() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link MultiTenantApplicationMetricsRecent} + */ + @jakarta.annotation.Nonnull + public static MultiTenantApplicationMetricsRecent createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new MultiTenantApplicationMetricsRecent(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("updateDateTime", (n) -> { this.setUpdateDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the updateDateTime property value. Timestamp that represents when multitenant application metrics are aggregated and have sufficiently changed for the related tenant. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getUpdateDateTime() { + return this.backingStore.get("updateDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); + } + /** + * Sets the updateDateTime property value. Timestamp that represents when multitenant application metrics are aggregated and have sufficiently changed for the related tenant. + * @param value Value to set for the updateDateTime property. + */ + public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("updateDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvision.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvision.java new file mode 100644 index 00000000000..e8defff2ba0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvision.java @@ -0,0 +1,175 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MultiTenantApplicationsToProvision implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link MultiTenantApplicationsToProvision} and sets the default values. + */ + public MultiTenantApplicationsToProvision() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link MultiTenantApplicationsToProvision} + */ + @jakarta.annotation.Nonnull + public static MultiTenantApplicationsToProvision createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new MultiTenantApplicationsToProvision(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the appId property value. The appId (client ID) of the multi-tenant application. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppId() { + return this.backingStore.get("appId"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The display name of the application. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(5); + deserializerMap.put("appId", (n) -> { this.setAppId(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("objectId", (n) -> { this.setObjectId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("requiredResourceAccesses", (n) -> { this.setRequiredResourceAccesses(n.getCollectionOfObjectValues(RequiredResourceAccess::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the objectId property value. The object ID of the service principal in the governing tenant. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getObjectId() { + return this.backingStore.get("objectId"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the requiredResourceAccesses property value. The collection of resource accesses (permissions) required by the application. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRequiredResourceAccesses() { + return this.backingStore.get("requiredResourceAccesses"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("appId", this.getAppId()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeStringValue("objectId", this.getObjectId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("requiredResourceAccesses", this.getRequiredResourceAccesses()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the appId property value. The appId (client ID) of the multi-tenant application. + * @param value Value to set for the appId property. + */ + public void setAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appId", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The display name of the application. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the objectId property value. The object ID of the service principal in the governing tenant. + * @param value Value to set for the objectId property. + */ + public void setObjectId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("objectId", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the requiredResourceAccesses property value. The collection of resource accesses (permissions) required by the application. + * @param value Value to set for the requiredResourceAccesses property. + */ + public void setRequiredResourceAccesses(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("requiredResourceAccesses", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvisionSnapshot.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvisionSnapshot.java new file mode 100644 index 00000000000..02cfbb5a3d9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvisionSnapshot.java @@ -0,0 +1,175 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MultiTenantApplicationsToProvisionSnapshot implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link MultiTenantApplicationsToProvisionSnapshot} and sets the default values. + */ + public MultiTenantApplicationsToProvisionSnapshot() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link MultiTenantApplicationsToProvisionSnapshot} + */ + @jakarta.annotation.Nonnull + public static MultiTenantApplicationsToProvisionSnapshot createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new MultiTenantApplicationsToProvisionSnapshot(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the appId property value. The appId (client ID) of the multi-tenant application. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppId() { + return this.backingStore.get("appId"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The display name of the application. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(5); + deserializerMap.put("appId", (n) -> { this.setAppId(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("objectId", (n) -> { this.setObjectId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("requiredResourceAccesses", (n) -> { this.setRequiredResourceAccesses(n.getCollectionOfObjectValues(RequiredResourceAccess::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the objectId property value. The object ID of the service principal in the governing tenant. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getObjectId() { + return this.backingStore.get("objectId"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the requiredResourceAccesses property value. The collection of resource accesses (permissions) required by the application. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRequiredResourceAccesses() { + return this.backingStore.get("requiredResourceAccesses"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("appId", this.getAppId()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeStringValue("objectId", this.getObjectId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("requiredResourceAccesses", this.getRequiredResourceAccesses()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the appId property value. The appId (client ID) of the multi-tenant application. + * @param value Value to set for the appId property. + */ + public void setAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appId", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The display name of the application. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the objectId property value. The object ID of the service principal in the governing tenant. + * @param value Value to set for the objectId property. + */ + public void setObjectId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("objectId", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the requiredResourceAccesses property value. The collection of resource accesses (permissions) required by the application. + * @param value Value to set for the requiredResourceAccesses property. + */ + public void setRequiredResourceAccesses(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("requiredResourceAccesses", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/PermissionType.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/PermissionType.java new file mode 100644 index 00000000000..224e1cb8922 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/PermissionType.java @@ -0,0 +1,30 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum PermissionType implements ValuedEnum { + /** Represents a type of permission that is for an app only scenario. No user is involved. */ + Role("role"), + /** Represents a type of permission that is for an app and user scenario. */ + Scope("scope"), + /** This will help in making this enum evolable and adding more values in the future- */ + UnknownFutureValue("unknownFutureValue"); + public final String value; + PermissionType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static PermissionType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "role": return Role; + case "scope": return Scope; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenant.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenant.java new file mode 100644 index 00000000000..6b888fc048a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenant.java @@ -0,0 +1,148 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RelatedTenant extends Entity implements Parsable { + /** + * Instantiates a new {@link RelatedTenant} and sets the default values. + */ + public RelatedTenant() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RelatedTenant} + */ + @jakarta.annotation.Nonnull + public static RelatedTenant createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RelatedTenant(); + } + /** + * Gets the appB2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. + * @return a {@link B2BSignInActivityMetrics} + */ + @jakarta.annotation.Nullable + public B2BSignInActivityMetrics getAppB2BSignInActivityMetrics() { + return this.backingStore.get("appB2BSignInActivityMetrics"); + } + /** + * Gets the b2BRegistrationMetrics property value. B2B registration metrics for this related tenant. Expanded by default. + * @return a {@link B2bRegistrationMetrics} + */ + @jakarta.annotation.Nullable + public B2bRegistrationMetrics getB2BRegistrationMetrics() { + return this.backingStore.get("b2BRegistrationMetrics"); + } + /** + * Gets the b2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. + * @return a {@link B2BSignInActivityMetrics} + */ + @jakarta.annotation.Nullable + public B2BSignInActivityMetrics getB2BSignInActivityMetrics() { + return this.backingStore.get("b2BSignInActivityMetrics"); + } + /** + * Gets the billingMetrics property value. Billing metrics for this related tenant. Expanded by default. + * @return a {@link BillingMetrics} + */ + @jakarta.annotation.Nullable + public BillingMetrics getBillingMetrics() { + return this.backingStore.get("billingMetrics"); + } + /** + * Gets the createdDateTime property value. The date and time when the related tenant was discovered. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("appB2BSignInActivityMetrics", (n) -> { this.setAppB2BSignInActivityMetrics(n.getObjectValue(B2BSignInActivityMetrics::createFromDiscriminatorValue)); }); + deserializerMap.put("b2BRegistrationMetrics", (n) -> { this.setB2BRegistrationMetrics(n.getObjectValue(B2bRegistrationMetrics::createFromDiscriminatorValue)); }); + deserializerMap.put("b2BSignInActivityMetrics", (n) -> { this.setB2BSignInActivityMetrics(n.getObjectValue(B2BSignInActivityMetrics::createFromDiscriminatorValue)); }); + deserializerMap.put("billingMetrics", (n) -> { this.setBillingMetrics(n.getObjectValue(BillingMetrics::createFromDiscriminatorValue)); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("multiTenantApplicationMetrics", (n) -> { this.setMultiTenantApplicationMetrics(n.getObjectValue(MultiTenantApplicationMetrics::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the multiTenantApplicationMetrics property value. Multi-tenant application usage metrics for this related tenant. Expanded by default. + * @return a {@link MultiTenantApplicationMetrics} + */ + @jakarta.annotation.Nullable + public MultiTenantApplicationMetrics getMultiTenantApplicationMetrics() { + return this.backingStore.get("multiTenantApplicationMetrics"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("appB2BSignInActivityMetrics", this.getAppB2BSignInActivityMetrics()); + writer.writeObjectValue("b2BRegistrationMetrics", this.getB2BRegistrationMetrics()); + writer.writeObjectValue("b2BSignInActivityMetrics", this.getB2BSignInActivityMetrics()); + writer.writeObjectValue("billingMetrics", this.getBillingMetrics()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeObjectValue("multiTenantApplicationMetrics", this.getMultiTenantApplicationMetrics()); + } + /** + * Sets the appB2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. + * @param value Value to set for the appB2BSignInActivityMetrics property. + */ + public void setAppB2BSignInActivityMetrics(@jakarta.annotation.Nullable final B2BSignInActivityMetrics value) { + this.backingStore.set("appB2BSignInActivityMetrics", value); + } + /** + * Sets the b2BRegistrationMetrics property value. B2B registration metrics for this related tenant. Expanded by default. + * @param value Value to set for the b2BRegistrationMetrics property. + */ + public void setB2BRegistrationMetrics(@jakarta.annotation.Nullable final B2bRegistrationMetrics value) { + this.backingStore.set("b2BRegistrationMetrics", value); + } + /** + * Sets the b2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. + * @param value Value to set for the b2BSignInActivityMetrics property. + */ + public void setB2BSignInActivityMetrics(@jakarta.annotation.Nullable final B2BSignInActivityMetrics value) { + this.backingStore.set("b2BSignInActivityMetrics", value); + } + /** + * Sets the billingMetrics property value. Billing metrics for this related tenant. Expanded by default. + * @param value Value to set for the billingMetrics property. + */ + public void setBillingMetrics(@jakarta.annotation.Nullable final BillingMetrics value) { + this.backingStore.set("billingMetrics", value); + } + /** + * Sets the createdDateTime property value. The date and time when the related tenant was discovered. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the multiTenantApplicationMetrics property value. Multi-tenant application usage metrics for this related tenant. Expanded by default. + * @param value Value to set for the multiTenantApplicationMetrics property. + */ + public void setMultiTenantApplicationMetrics(@jakarta.annotation.Nullable final MultiTenantApplicationMetrics value) { + this.backingStore.set("multiTenantApplicationMetrics", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantCollectionResponse.java new file mode 100644 index 00000000000..34c86ddf353 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RelatedTenantCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RelatedTenantCollectionResponse} and sets the default values. + */ + public RelatedTenantCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RelatedTenantCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static RelatedTenantCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RelatedTenantCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RelatedTenant::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshRequest.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshRequest.java new file mode 100644 index 00000000000..c78fef47104 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshRequest.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RelatedTenantsRefreshRequest extends Entity implements Parsable { + /** + * Instantiates a new {@link RelatedTenantsRefreshRequest} and sets the default values. + */ + public RelatedTenantsRefreshRequest() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RelatedTenantsRefreshRequest} + */ + @jakarta.annotation.Nonnull + public static RelatedTenantsRefreshRequest createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RelatedTenantsRefreshRequest(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("location", (n) -> { this.setLocation(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the location property value. The location URL where the status of the refresh request can be retrieved. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLocation() { + return this.backingStore.get("location"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("location", this.getLocation()); + } + /** + * Sets the location property value. The location URL where the status of the refresh request can be retrieved. + * @param value Value to set for the location property. + */ + public void setLocation(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("location", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshStatus.java new file mode 100644 index 00000000000..8a2a7d6c9fa --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshStatus.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RelatedTenantsRefreshStatus implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RelatedTenantsRefreshStatus} and sets the default values. + */ + public RelatedTenantsRefreshStatus() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RelatedTenantsRefreshStatus} + */ + @jakarta.annotation.Nonnull + public static RelatedTenantsRefreshStatus createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RelatedTenantsRefreshStatus(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("isFirstRefresh", (n) -> { this.setIsFirstRefresh(n.getBooleanValue()); }); + deserializerMap.put("mostRecentRefreshRequestStatus", (n) -> { this.setMostRecentRefreshRequestStatus(n.getStringValue()); }); + deserializerMap.put("mostRecentRefreshTime", (n) -> { this.setMostRecentRefreshTime(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the isFirstRefresh property value. Describes whether the related tenants refresh was the initial aggregation done by our service or not. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsFirstRefresh() { + return this.backingStore.get("isFirstRefresh"); + } + /** + * Gets the mostRecentRefreshRequestStatus property value. The status of the refresh operation + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMostRecentRefreshRequestStatus() { + return this.backingStore.get("mostRecentRefreshRequestStatus"); + } + /** + * Gets the mostRecentRefreshTime property value. Timestamp of the respective refresh request. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMostRecentRefreshTime() { + return this.backingStore.get("mostRecentRefreshTime"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeBooleanValue("isFirstRefresh", this.getIsFirstRefresh()); + writer.writeStringValue("mostRecentRefreshRequestStatus", this.getMostRecentRefreshRequestStatus()); + writer.writeStringValue("mostRecentRefreshTime", this.getMostRecentRefreshTime()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the isFirstRefresh property value. Describes whether the related tenants refresh was the initial aggregation done by our service or not. + * @param value Value to set for the isFirstRefresh property. + */ + public void setIsFirstRefresh(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isFirstRefresh", value); + } + /** + * Sets the mostRecentRefreshRequestStatus property value. The status of the refresh operation + * @param value Value to set for the mostRecentRefreshRequestStatus property. + */ + public void setMostRecentRefreshRequestStatus(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("mostRecentRefreshRequestStatus", value); + } + /** + * Sets the mostRecentRefreshTime property value. Timestamp of the respective refresh request. + * @param value Value to set for the mostRecentRefreshTime property. + */ + public void setMostRecentRefreshTime(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("mostRecentRefreshTime", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipCreationType.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipCreationType.java new file mode 100644 index 00000000000..6fe8e404050 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipCreationType.java @@ -0,0 +1,30 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum RelationshipCreationType implements ValuedEnum { + /** Represents a relationship between two tenants that was created by an explicit approval from the governed tenant admin. */ + ApprovedByAdmin("approvedByAdmin"), + /** Represents a relationship between the add-on tenant and the tenant from which it was created. */ + AddOnTenant("addOnTenant"), + /** This will help in making this enum evolvable and adding more values in the future- */ + UnknownFutureValue("unknownFutureValue"); + public final String value; + RelationshipCreationType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static RelationshipCreationType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "approvedByAdmin": return ApprovedByAdmin; + case "addOnTenant": return AddOnTenant; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipPolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipPolicy.java new file mode 100644 index 00000000000..084913f2f7c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipPolicy.java @@ -0,0 +1,191 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RelationshipPolicy implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RelationshipPolicy} and sets the default values. + */ + public RelationshipPolicy() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RelationshipPolicy} + */ + @jakarta.annotation.Nonnull + public static RelationshipPolicy createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RelationshipPolicy(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the delegatedAdministrationRoleAssignments property value. A snapshot of the delegated administration role assignments configured in this policy. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getDelegatedAdministrationRoleAssignments() { + return this.backingStore.get("delegatedAdministrationRoleAssignments"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(6); + deserializerMap.put("delegatedAdministrationRoleAssignments", (n) -> { this.setDelegatedAdministrationRoleAssignments(n.getCollectionOfObjectValues(DelegatedAdministrationRoleAssignmentSnapshot::createFromDiscriminatorValue)); }); + deserializerMap.put("governedTenantCanTerminate", (n) -> { this.setGovernedTenantCanTerminate(n.getBooleanValue()); }); + deserializerMap.put("multiTenantApplicationsToProvision", (n) -> { this.setMultiTenantApplicationsToProvision(n.getCollectionOfObjectValues(MultiTenantApplicationsToProvisionSnapshot::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("policyId", (n) -> { this.setPolicyId(n.getStringValue()); }); + deserializerMap.put("version", (n) -> { this.setVersion(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the governedTenantCanTerminate property value. Indicates whether the governed tenant can terminate the relationship. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getGovernedTenantCanTerminate() { + return this.backingStore.get("governedTenantCanTerminate"); + } + /** + * Gets the multiTenantApplicationsToProvision property value. A snapshot of the multi-tenant applications to be provisioned in the governed tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMultiTenantApplicationsToProvision() { + return this.backingStore.get("multiTenantApplicationsToProvision"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the policyId property value. The identifier of the source policy template from which this snapshot was created. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPolicyId() { + return this.backingStore.get("policyId"); + } + /** + * Gets the version property value. The version property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getVersion() { + return this.backingStore.get("version"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("delegatedAdministrationRoleAssignments", this.getDelegatedAdministrationRoleAssignments()); + writer.writeBooleanValue("governedTenantCanTerminate", this.getGovernedTenantCanTerminate()); + writer.writeCollectionOfObjectValues("multiTenantApplicationsToProvision", this.getMultiTenantApplicationsToProvision()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("policyId", this.getPolicyId()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the delegatedAdministrationRoleAssignments property value. A snapshot of the delegated administration role assignments configured in this policy. + * @param value Value to set for the delegatedAdministrationRoleAssignments property. + */ + public void setDelegatedAdministrationRoleAssignments(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("delegatedAdministrationRoleAssignments", value); + } + /** + * Sets the governedTenantCanTerminate property value. Indicates whether the governed tenant can terminate the relationship. + * @param value Value to set for the governedTenantCanTerminate property. + */ + public void setGovernedTenantCanTerminate(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("governedTenantCanTerminate", value); + } + /** + * Sets the multiTenantApplicationsToProvision property value. A snapshot of the multi-tenant applications to be provisioned in the governed tenant. + * @param value Value to set for the multiTenantApplicationsToProvision property. + */ + public void setMultiTenantApplicationsToProvision(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("multiTenantApplicationsToProvision", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the policyId property value. The identifier of the source policy template from which this snapshot was created. + * @param value Value to set for the policyId property. + */ + public void setPolicyId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("policyId", value); + } + /** + * Sets the version property value. The version property + * @param value Value to set for the version property. + */ + public void setVersion(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("version", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipStatus.java new file mode 100644 index 00000000000..bec571f368b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipStatus.java @@ -0,0 +1,33 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum RelationshipStatus implements ValuedEnum { + /** Represents a relationship that is currently active. */ + Active("active"), + /** Represents a relationship that has been terminated. */ + Terminated("terminated"), + /** Represents a relationship that has been requested to be terminated by governing tenant. */ + TerminationRequestedByGoverningTenant("terminationRequestedByGoverningTenant"), + /** This will help in making this enum evolable and adding more values in the future- */ + UnknownFutureValue("unknownFutureValue"); + public final String value; + RelationshipStatus(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static RelationshipStatus forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "active": return Active; + case "terminated": return Terminated; + case "terminationRequestedByGoverningTenant": return TerminationRequestedByGoverningTenant; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequestStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequestStatus.java new file mode 100644 index 00000000000..0ef6692cfc9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequestStatus.java @@ -0,0 +1,33 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum RequestStatus implements ValuedEnum { + /** Represents a governance request that is pending */ + Pending("pending"), + /** Represents a governance request that was accepted */ + Accepted("accepted"), + /** Represents a governance request that was rejected */ + Rejected("rejected"), + /** This will help in making this enum evolable and adding more values in the future- */ + UnknownFutureValue("unknownFutureValue"); + public final String value; + RequestStatus(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static RequestStatus forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "pending": return Pending; + case "accepted": return Accepted; + case "rejected": return Rejected; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequiredResourceAccess.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequiredResourceAccess.java new file mode 100644 index 00000000000..48d8d55271a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequiredResourceAccess.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RequiredResourceAccess implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RequiredResourceAccess} and sets the default values. + */ + public RequiredResourceAccess() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RequiredResourceAccess} + */ + @jakarta.annotation.Nonnull + public static RequiredResourceAccess createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RequiredResourceAccess(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("permissions", (n) -> { this.setPermissions(n.getCollectionOfObjectValues(ResourcePermission::createFromDiscriminatorValue)); }); + deserializerMap.put("resourceAppId", (n) -> { this.setResourceAppId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the permissions property value. The collection of resource permissions required by the application. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getPermissions() { + return this.backingStore.get("permissions"); + } + /** + * Gets the resourceAppId property value. The appId (client ID) of the resource that the application needs to access. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getResourceAppId() { + return this.backingStore.get("resourceAppId"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("permissions", this.getPermissions()); + writer.writeStringValue("resourceAppId", this.getResourceAppId()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the permissions property value. The collection of resource permissions required by the application. + * @param value Value to set for the permissions property. + */ + public void setPermissions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("permissions", value); + } + /** + * Sets the resourceAppId property value. The appId (client ID) of the resource that the application needs to access. + * @param value Value to set for the resourceAppId property. + */ + public void setResourceAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("resourceAppId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ResourcePermission.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ResourcePermission.java new file mode 100644 index 00000000000..4c6040f7cd9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ResourcePermission.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ResourcePermission implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ResourcePermission} and sets the default values. + */ + public ResourcePermission() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ResourcePermission} + */ + @jakarta.annotation.Nonnull + public static ResourcePermission createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ResourcePermission(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(PermissionType::forValue)); }); + return deserializerMap; + } + /** + * Gets the id property value. The unique identifier of the permission. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getId() { + return this.backingStore.get("id"); + } + /** + * Gets the name property value. The name of the permission. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the type property value. The type property + * @return a {@link PermissionType} + */ + @jakarta.annotation.Nullable + public PermissionType getType() { + return this.backingStore.get("type"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("id", this.getId()); + writer.writeStringValue("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumValue("type", this.getType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the id property value. The unique identifier of the permission. + * @param value Value to set for the id property. + */ + public void setId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("id", value); + } + /** + * Sets the name property value. The name of the permission. + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the type property value. The type property + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final PermissionType value) { + this.backingStore.set("type", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RoleTemplate.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RoleTemplate.java new file mode 100644 index 00000000000..22c696a11e4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RoleTemplate.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RoleTemplate implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RoleTemplate} and sets the default values. + */ + public RoleTemplate() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RoleTemplate} + */ + @jakarta.annotation.Nonnull + public static RoleTemplate createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RoleTemplate(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the id property value. The template ID of the Microsoft Entra role (e.g., 62e90394-69f5-4237-9190-012177145e10 for Global Administrator). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getId() { + return this.backingStore.get("id"); + } + /** + * Gets the name property value. The display name of the role (e.g., 'Global Administrator', 'Helpdesk Administrator'). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("id", this.getId()); + writer.writeStringValue("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the id property value. The template ID of the Microsoft Entra role (e.g., 62e90394-69f5-4237-9190-012177145e10 for Global Administrator). + * @param value Value to set for the id property. + */ + public void setId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("id", value); + } + /** + * Sets the name property value. The display name of the role (e.g., 'Global Administrator', 'Helpdesk Administrator'). + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernance.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernance.java new file mode 100644 index 00000000000..b7f43b49836 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernance.java @@ -0,0 +1,147 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TenantGovernance extends Entity implements Parsable { + /** + * Instantiates a new {@link TenantGovernance} and sets the default values. + */ + public TenantGovernance() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link TenantGovernance} + */ + @jakarta.annotation.Nonnull + public static TenantGovernance createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new TenantGovernance(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("governanceInvitations", (n) -> { this.setGovernanceInvitations(n.getCollectionOfObjectValues(GovernanceInvitation::createFromDiscriminatorValue)); }); + deserializerMap.put("governancePolicyTemplates", (n) -> { this.setGovernancePolicyTemplates(n.getCollectionOfObjectValues(GovernancePolicyTemplate::createFromDiscriminatorValue)); }); + deserializerMap.put("governanceRelationships", (n) -> { this.setGovernanceRelationships(n.getCollectionOfObjectValues(GovernanceRelationship::createFromDiscriminatorValue)); }); + deserializerMap.put("governanceRequests", (n) -> { this.setGovernanceRequests(n.getCollectionOfObjectValues(GovernanceRequest::createFromDiscriminatorValue)); }); + deserializerMap.put("relatedTenants", (n) -> { this.setRelatedTenants(n.getCollectionOfObjectValues(RelatedTenant::createFromDiscriminatorValue)); }); + deserializerMap.put("settings", (n) -> { this.setSettings(n.getObjectValue(TenantGovernanceSetting::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the governanceInvitations property value. Collection of governance invitations associated with the tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getGovernanceInvitations() { + return this.backingStore.get("governanceInvitations"); + } + /** + * Gets the governancePolicyTemplates property value. Collection of governance policy templates associated with the tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getGovernancePolicyTemplates() { + return this.backingStore.get("governancePolicyTemplates"); + } + /** + * Gets the governanceRelationships property value. Collection of governance relationships associated with the tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getGovernanceRelationships() { + return this.backingStore.get("governanceRelationships"); + } + /** + * Gets the governanceRequests property value. Collection of governance requests associated with the tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getGovernanceRequests() { + return this.backingStore.get("governanceRequests"); + } + /** + * Gets the relatedTenants property value. Collection of related tenants associated with the tenant. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRelatedTenants() { + return this.backingStore.get("relatedTenants"); + } + /** + * Gets the settings property value. Settings for the tenant governance container. + * @return a {@link TenantGovernanceSetting} + */ + @jakarta.annotation.Nullable + public TenantGovernanceSetting getSettings() { + return this.backingStore.get("settings"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("governanceInvitations", this.getGovernanceInvitations()); + writer.writeCollectionOfObjectValues("governancePolicyTemplates", this.getGovernancePolicyTemplates()); + writer.writeCollectionOfObjectValues("governanceRelationships", this.getGovernanceRelationships()); + writer.writeCollectionOfObjectValues("governanceRequests", this.getGovernanceRequests()); + writer.writeCollectionOfObjectValues("relatedTenants", this.getRelatedTenants()); + writer.writeObjectValue("settings", this.getSettings()); + } + /** + * Sets the governanceInvitations property value. Collection of governance invitations associated with the tenant. + * @param value Value to set for the governanceInvitations property. + */ + public void setGovernanceInvitations(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("governanceInvitations", value); + } + /** + * Sets the governancePolicyTemplates property value. Collection of governance policy templates associated with the tenant. + * @param value Value to set for the governancePolicyTemplates property. + */ + public void setGovernancePolicyTemplates(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("governancePolicyTemplates", value); + } + /** + * Sets the governanceRelationships property value. Collection of governance relationships associated with the tenant. + * @param value Value to set for the governanceRelationships property. + */ + public void setGovernanceRelationships(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("governanceRelationships", value); + } + /** + * Sets the governanceRequests property value. Collection of governance requests associated with the tenant. + * @param value Value to set for the governanceRequests property. + */ + public void setGovernanceRequests(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("governanceRequests", value); + } + /** + * Sets the relatedTenants property value. Collection of related tenants associated with the tenant. + * @param value Value to set for the relatedTenants property. + */ + public void setRelatedTenants(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("relatedTenants", value); + } + /** + * Sets the settings property value. Settings for the tenant governance container. + * @param value Value to set for the settings property. + */ + public void setSettings(@jakarta.annotation.Nullable final TenantGovernanceSetting value) { + this.backingStore.set("settings", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernanceSetting.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernanceSetting.java new file mode 100644 index 00000000000..2c5e83316d5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernanceSetting.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.beta.models.tenantgovernanceservices; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TenantGovernanceSetting extends Entity implements Parsable { + /** + * Instantiates a new {@link TenantGovernanceSetting} and sets the default values. + */ + public TenantGovernanceSetting() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link TenantGovernanceSetting} + */ + @jakarta.annotation.Nonnull + public static TenantGovernanceSetting createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new TenantGovernanceSetting(); + } + /** + * Gets the canReceiveInvitations property value. Indicates whether the tenant can receive governance invitations. When set to false, the tenant cannot receive new governance invitations. When set to true, other tenants can send your tenant invitations by providing your tenant id or domain name. Default value is false. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getCanReceiveInvitations() { + return this.backingStore.get("canReceiveInvitations"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("canReceiveInvitations", (n) -> { this.setCanReceiveInvitations(n.getBooleanValue()); }); + deserializerMap.put("isRelatedTenantsEnabled", (n) -> { this.setIsRelatedTenantsEnabled(n.getBooleanValue()); }); + return deserializerMap; + } + /** + * Gets the isRelatedTenantsEnabled property value. Indicates whether the related tenants feature is enabled for tenant discovery. When set to false, related tenant APIs don't work. This property can be enabled by calling the enableRelatedTenants action. Default value is false. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsRelatedTenantsEnabled() { + return this.backingStore.get("isRelatedTenantsEnabled"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeBooleanValue("canReceiveInvitations", this.getCanReceiveInvitations()); + writer.writeBooleanValue("isRelatedTenantsEnabled", this.getIsRelatedTenantsEnabled()); + } + /** + * Sets the canReceiveInvitations property value. Indicates whether the tenant can receive governance invitations. When set to false, the tenant cannot receive new governance invitations. When set to true, other tenants can send your tenant invitations by providing your tenant id or domain name. Default value is false. + * @param value Value to set for the canReceiveInvitations property. + */ + public void setCanReceiveInvitations(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("canReceiveInvitations", value); + } + /** + * Sets the isRelatedTenantsEnabled property value. Indicates whether the related tenants feature is enabled for tenant discovery. When set to false, related tenant APIs don't work. This property can be enabled by calling the enableRelatedTenants action. Default value is false. + * @param value Value to set for the isRelatedTenantsEnabled property. + */ + public void setIsRelatedTenantsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isRelatedTenantsEnabled", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/LogsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/LogsRequestBuilder.java index 100d5f11cb9..5ca5b593e40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/LogsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/LogsRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.models.networkaccess.Logs; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.networkaccess.logs.connections.ConnectionsRequestBuilder; +import com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.GenerativeAIInsightsRequestBuilder; import com.microsoft.graph.beta.networkaccess.logs.remotenetworks.RemoteNetworksRequestBuilder; import com.microsoft.graph.beta.networkaccess.logs.traffic.TrafficRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; @@ -31,6 +32,14 @@ public class LogsRequestBuilder extends BaseRequestBuilder { public ConnectionsRequestBuilder connections() { return new ConnectionsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the generativeAIInsights property of the microsoft.graph.networkaccess.logs entity. + * @return a {@link GenerativeAIInsightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GenerativeAIInsightsRequestBuilder generativeAIInsights() { + return new GenerativeAIInsightsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the remoteNetworks property of the microsoft.graph.networkaccess.logs entity. * @return a {@link RemoteNetworksRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/GenerativeAIInsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/GenerativeAIInsightsRequestBuilder.java new file mode 100644 index 00000000000..55df5a8a267 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/GenerativeAIInsightsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights; + +import com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight; +import com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsightCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count.CountRequestBuilder; +import com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item.GenerativeAIInsightTransactionItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the generativeAIInsights property of the microsoft.graph.networkaccess.logs entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GenerativeAIInsightsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the generativeAIInsights property of the microsoft.graph.networkaccess.logs entity. + * @param generativeAIInsightTransactionId The unique identifier of generativeAIInsight + * @return a {@link GenerativeAIInsightTransactionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GenerativeAIInsightTransactionItemRequestBuilder byGenerativeAIInsightTransactionId(@jakarta.annotation.Nonnull final String generativeAIInsightTransactionId) { + Objects.requireNonNull(generativeAIInsightTransactionId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("generativeAIInsight%2DtransactionId", generativeAIInsightTransactionId); + return new GenerativeAIInsightTransactionItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link GenerativeAIInsightsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GenerativeAIInsightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/networkAccess/logs/generativeAIInsights{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link GenerativeAIInsightsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GenerativeAIInsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/networkAccess/logs/generativeAIInsights{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get generativeAIInsights from networkAccess + * @return a {@link GenerativeAIInsightCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GenerativeAIInsightCollectionResponse get() { + return get(null); + } + /** + * Get generativeAIInsights from networkAccess + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GenerativeAIInsightCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GenerativeAIInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GenerativeAIInsightCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to generativeAIInsights for networkAccess + * @param body The request body + * @return a {@link GenerativeAIInsight} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GenerativeAIInsight post(@jakarta.annotation.Nonnull final GenerativeAIInsight body) { + return post(body, null); + } + /** + * Create new navigation property to generativeAIInsights for networkAccess + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GenerativeAIInsight} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GenerativeAIInsight post(@jakarta.annotation.Nonnull final GenerativeAIInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GenerativeAIInsight::createFromDiscriminatorValue); + } + /** + * Get generativeAIInsights from networkAccess + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get generativeAIInsights from networkAccess + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to generativeAIInsights for networkAccess + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GenerativeAIInsight body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to generativeAIInsights for networkAccess + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GenerativeAIInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GenerativeAIInsightsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GenerativeAIInsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GenerativeAIInsightsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get generativeAIInsights from networkAccess + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/count/CountRequestBuilder.java new file mode 100644 index 00000000000..5937db6f99f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/networkAccess/logs/generativeAIInsights/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/networkAccess/logs/generativeAIInsights/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/item/GenerativeAIInsightTransactionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/item/GenerativeAIInsightTransactionItemRequestBuilder.java new file mode 100644 index 00000000000..79235bfbae9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/logs/generativeaiinsights/item/GenerativeAIInsightTransactionItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.networkaccess.logs.generativeaiinsights.item; + +import com.microsoft.graph.beta.models.networkaccess.GenerativeAIInsight; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the generativeAIInsights property of the microsoft.graph.networkaccess.logs entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GenerativeAIInsightTransactionItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GenerativeAIInsightTransactionItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GenerativeAIInsightTransactionItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/networkAccess/logs/generativeAIInsights/{generativeAIInsight%2DtransactionId}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link GenerativeAIInsightTransactionItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GenerativeAIInsightTransactionItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/networkAccess/logs/generativeAIInsights/{generativeAIInsight%2DtransactionId}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property generativeAIInsights for networkAccess + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property generativeAIInsights for networkAccess + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get generativeAIInsights from networkAccess + * @return a {@link GenerativeAIInsight} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GenerativeAIInsight get() { + return get(null); + } + /** + * Get generativeAIInsights from networkAccess + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GenerativeAIInsight} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GenerativeAIInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GenerativeAIInsight::createFromDiscriminatorValue); + } + /** + * Update the navigation property generativeAIInsights in networkAccess + * @param body The request body + * @return a {@link GenerativeAIInsight} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GenerativeAIInsight patch(@jakarta.annotation.Nonnull final GenerativeAIInsight body) { + return patch(body, null); + } + /** + * Update the navigation property generativeAIInsights in networkAccess + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GenerativeAIInsight} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GenerativeAIInsight patch(@jakarta.annotation.Nonnull final GenerativeAIInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GenerativeAIInsight::createFromDiscriminatorValue); + } + /** + * Delete navigation property generativeAIInsights for networkAccess + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property generativeAIInsights for networkAccess + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get generativeAIInsights from networkAccess + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get generativeAIInsights from networkAccess + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property generativeAIInsights in networkAccess + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GenerativeAIInsight body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property generativeAIInsights in networkAccess + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GenerativeAIInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GenerativeAIInsightTransactionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GenerativeAIInsightTransactionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GenerativeAIInsightTransactionItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get generativeAIInsights from networkAccess + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetconnectionsummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetconnectionsummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java index 841eaab9467..d3254f6b1dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetconnectionsummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetconnectionsummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -41,7 +41,7 @@ public MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEnd super(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.getConnectionSummaries(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl); } /** - * An API part of Global Secure Access (GSA) product, reports of connections count per traffic type: Private/Internet/Microsoft. + * Returns connections count per traffic type: Private/Internet/Microsoft. * @return a {@link GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -51,7 +51,7 @@ public GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse get() { return get(null); } /** - * An API part of Global Secure Access (GSA) product, reports of connections count per traffic type: Private/Internet/Microsoft. + * Returns connections count per traffic type: Private/Internet/Microsoft. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -65,7 +65,7 @@ public GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse get(@ja return this.requestAdapter.send(requestInfo, errorMapping, GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse::createFromDiscriminatorValue); } /** - * An API part of Global Secure Access (GSA) product, reports of connections count per traffic type: Private/Internet/Microsoft. + * Returns connections count per traffic type: Private/Internet/Microsoft. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -73,7 +73,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * An API part of Global Secure Access (GSA) product, reports of connections count per traffic type: Private/Internet/Microsoft. + * Returns connections count per traffic type: Private/Internet/Microsoft. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -95,7 +95,7 @@ public MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEnd return new MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); } /** - * An API part of Global Secure Access (GSA) product, reports of connections count per traffic type: Private/Internet/Microsoft. + * Returns connections count per traffic type: Private/Internet/Microsoft. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetdestinationsummarieswithstartdatetimewithenddatetimewithaggregatedby/MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetdestinationsummarieswithstartdatetimewithenddatetimewithaggregatedby/MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder.java index 52d4c4b8249..6550382c55c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetdestinationsummarieswithstartdatetimewithenddatetimewithaggregatedby/MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetdestinationsummarieswithstartdatetimewithenddatetimewithaggregatedby/MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder.java @@ -43,7 +43,7 @@ public MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEn super(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.getDestinationSummaries(startDateTime={startDateTime},endDateTime={endDateTime},aggregatedBy='{aggregatedBy}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl); } /** - * Get counts of the visits to the top destination aggregations as logged in Global Secure Access + * Get counts of the visits to the top destination aggregations as logged in Global Secure Access. * @return a {@link GetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -52,7 +52,7 @@ public GetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByGe return get(null); } /** - * Get counts of the visits to the top destination aggregations as logged in Global Secure Access + * Get counts of the visits to the top destination aggregations as logged in Global Secure Access. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -65,7 +65,7 @@ public GetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByGe return this.requestAdapter.send(requestInfo, errorMapping, GetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByGetResponse::createFromDiscriminatorValue); } /** - * Get counts of the visits to the top destination aggregations as logged in Global Secure Access + * Get counts of the visits to the top destination aggregations as logged in Global Secure Access. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -73,7 +73,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get counts of the visits to the top destination aggregations as logged in Global Secure Access + * Get counts of the visits to the top destination aggregations as logged in Global Secure Access. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -95,7 +95,7 @@ public MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEn return new MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder(rawUrl, requestAdapter); } /** - * Get counts of the visits to the top destination aggregations as logged in Global Secure Access + * Get counts of the visits to the top destination aggregations as logged in Global Secure Access. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetdiscoveredapplicationsegmentreportwithstartdatetimewithenddatetimeuseriduserid/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetdiscoveredapplicationsegmentreportwithstartdatetimewithenddatetimeuseriduserid/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.java index 1c993697dae..a3e982e9fb9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetdiscoveredapplicationsegmentreportwithstartdatetimewithenddatetimeuseriduserid/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccessgetdiscoveredapplicationsegmentreportwithstartdatetimewithenddatetimeuseriduserid/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.java @@ -41,7 +41,7 @@ public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStart super(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.getDiscoveredApplicationSegmentReport(startDateTime={startDateTime},endDateTime={endDateTime},userId='@userId'){?%24count,%24filter,%24search,%24skip,%24top,userId*}", rawUrl); } /** - * Returns a collection of discoveredApplicationSegmentReport based on aggregated traffic logs for a given period. + * Returns a collection of discovered application segments based on aggregated traffic logs for a given period. * @return a {@link GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -51,7 +51,7 @@ public GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuser return get(null); } /** - * Returns a collection of discoveredApplicationSegmentReport based on aggregated traffic logs for a given period. + * Returns a collection of discovered application segments based on aggregated traffic logs for a given period. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -65,7 +65,7 @@ public GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuser return this.requestAdapter.send(requestInfo, errorMapping, GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse::createFromDiscriminatorValue); } /** - * Returns a collection of discoveredApplicationSegmentReport based on aggregated traffic logs for a given period. + * Returns a collection of discovered application segments based on aggregated traffic logs for a given period. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -73,7 +73,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Returns a collection of discoveredApplicationSegmentReport based on aggregated traffic logs for a given period. + * Returns a collection of discovered application segments based on aggregated traffic logs for a given period. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -95,7 +95,7 @@ public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStart return new MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder(rawUrl, requestAdapter); } /** - * Returns a collection of discoveredApplicationSegmentReport based on aggregated traffic logs for a given period. + * Returns a collection of discovered application segments based on aggregated traffic logs for a given period. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccesstransactionsummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccesstransactionsummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java index ec5fb5d6fdc..198bd64825c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccesstransactionsummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/reports/microsoftgraphnetworkaccesstransactionsummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -41,7 +41,7 @@ public MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDa super(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.transactionSummaries(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl); } /** - * Get the total number of transactions and the number of blocked transactions in Global Secure Access, grouped by traffic type. + * Get the total number of transactions , including blocked transactions in Global Secure Access, grouped by traffic type. * @return a {@link TransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -51,7 +51,7 @@ public TransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse get() { return get(null); } /** - * Get the total number of transactions and the number of blocked transactions in Global Secure Access, grouped by traffic type. + * Get the total number of transactions , including blocked transactions in Global Secure Access, grouped by traffic type. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -65,7 +65,7 @@ public TransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse get(@jaka return this.requestAdapter.send(requestInfo, errorMapping, TransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse::createFromDiscriminatorValue); } /** - * Get the total number of transactions and the number of blocked transactions in Global Secure Access, grouped by traffic type. + * Get the total number of transactions , including blocked transactions in Global Secure Access, grouped by traffic type. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -73,7 +73,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the total number of transactions and the number of blocked transactions in Global Secure Access, grouped by traffic type. + * Get the total number of transactions , including blocked transactions in Global Secure Access, grouped by traffic type. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -95,7 +95,7 @@ public MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDa return new MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); } /** - * Get the total number of transactions and the number of blocked transactions in Global Secure Access, grouped by traffic type. + * Get the total number of transactions , including blocked transactions in Global Secure Access, grouped by traffic type. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/places/graphroomlist/GraphRoomListRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/places/graphroomlist/GraphRoomListRequestBuilder.java index fce0c7e12e5..56ecd935889 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/places/graphroomlist/GraphRoomListRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/places/graphroomlist/GraphRoomListRequestBuilder.java @@ -46,19 +46,21 @@ public GraphRoomListRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/places/graph.roomList{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. * @return a {@link RoomListCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RoomListCollectionResponse get() { return get(null); } /** - * Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RoomListCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RoomListCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -68,7 +70,7 @@ public RoomListCollectionResponse get(@jakarta.annotation.Nullable final java.ut return this.requestAdapter.send(requestInfo, errorMapping, RoomListCollectionResponse::createFromDiscriminatorValue); } /** - * Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -76,7 +78,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -98,7 +100,7 @@ public GraphRoomListRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new GraphRoomListRequestBuilder(rawUrl, requestAdapter); } /** - * Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/places/item/graphroomlist/GraphRoomListRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/places/item/graphroomlist/GraphRoomListRequestBuilder.java index 7fb5c7d85e6..25fdedf87a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/places/item/graphroomlist/GraphRoomListRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/places/item/graphroomlist/GraphRoomListRequestBuilder.java @@ -73,19 +73,21 @@ public GraphRoomListRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList{?%24expand,%24select}", rawUrl); } /** - * Get the item of type microsoft.graph.place as microsoft.graph.roomList + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. * @return a {@link RoomList} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RoomList get() { return get(null); } /** - * Get the item of type microsoft.graph.place as microsoft.graph.roomList + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RoomList} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RoomList get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -95,7 +97,7 @@ public RoomList get(@jakarta.annotation.Nullable final java.util.function.Consum return this.requestAdapter.send(requestInfo, errorMapping, RoomList::createFromDiscriminatorValue); } /** - * Get the item of type microsoft.graph.place as microsoft.graph.roomList + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -103,7 +105,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the item of type microsoft.graph.place as microsoft.graph.roomList + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -125,7 +127,7 @@ public GraphRoomListRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new GraphRoomListRequestBuilder(rawUrl, requestAdapter); } /** - * Get the item of type microsoft.graph.place as microsoft.graph.roomList + * Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/PartnersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/PartnersRequestBuilder.java index 1a20f4cf152..2b374a51865 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/PartnersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/PartnersRequestBuilder.java @@ -60,7 +60,7 @@ public PartnersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/policies/crossTenantAccessPolicy/partners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. + * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user and group synchronization policy for all partner configurations. * @return a {@link CrossTenantAccessPolicyConfigurationPartnerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public CrossTenantAccessPolicyConfigurationPartnerCollectionResponse get() { return get(null); } /** - * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. + * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user and group synchronization policy for all partner configurations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CrossTenantAccessPolicyConfigurationPartnerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -111,7 +111,7 @@ public CrossTenantAccessPolicyConfigurationPartner post(@jakarta.annotation.Nonn return this.requestAdapter.send(requestInfo, errorMapping, CrossTenantAccessPolicyConfigurationPartner::createFromDiscriminatorValue); } /** - * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. + * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user and group synchronization policy for all partner configurations. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. + * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user and group synchronization policy for all partner configurations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -165,7 +165,7 @@ public PartnersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r return new PartnersRequestBuilder(rawUrl, requestAdapter); } /** - * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. + * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user and group synchronization policy for all partner configurations. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java index 820297bc947..cc9c5074302 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java @@ -46,7 +46,7 @@ public IdentitySynchronizationRequestBuilder(@jakarta.annotation.Nonnull final S super(requestAdapter, "{+baseurl}/policies/crossTenantAccessPolicy/partners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/identitySynchronization{?%24expand,%24select}", rawUrl); } /** - * Delete the user synchronization policy for a partner-specific configuration. + * Delete the user and group synchronization policy for a partner-specific configuration. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -54,7 +54,7 @@ public void delete() { delete(null); } /** - * Delete the user synchronization policy for a partner-specific configuration. + * Delete the user and group synchronization policy for a partner-specific configuration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -66,7 +66,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get the user synchronization policy of a partner-specific configuration. + * Get the user and group synchronization policy of a partner-specific configuration. * @return a {@link CrossTenantIdentitySyncPolicyPartner} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -76,7 +76,7 @@ public CrossTenantIdentitySyncPolicyPartner get() { return get(null); } /** - * Get the user synchronization policy of a partner-specific configuration. + * Get the user and group synchronization policy of a partner-specific configuration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CrossTenantIdentitySyncPolicyPartner} * @throws ODataError When receiving a 4XX or 5XX status code @@ -90,7 +90,7 @@ public CrossTenantIdentitySyncPolicyPartner get(@jakarta.annotation.Nullable fin return this.requestAdapter.send(requestInfo, errorMapping, CrossTenantIdentitySyncPolicyPartner::createFromDiscriminatorValue); } /** - * Create a cross-tenant user synchronization policy for a partner-specific configuration. + * Create a cross-tenant user and optionally group synchronization policy for a partner-specific configuration. * @param body The request body * @return a {@link CrossTenantIdentitySyncPolicyPartner} * @throws ODataError When receiving a 4XX or 5XX status code @@ -101,7 +101,7 @@ public CrossTenantIdentitySyncPolicyPartner put(@jakarta.annotation.Nonnull fina return put(body, null); } /** - * Create a cross-tenant user synchronization policy for a partner-specific configuration. + * Create a cross-tenant user and optionally group synchronization policy for a partner-specific configuration. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CrossTenantIdentitySyncPolicyPartner} @@ -117,7 +117,7 @@ public CrossTenantIdentitySyncPolicyPartner put(@jakarta.annotation.Nonnull fina return this.requestAdapter.send(requestInfo, errorMapping, CrossTenantIdentitySyncPolicyPartner::createFromDiscriminatorValue); } /** - * Delete the user synchronization policy for a partner-specific configuration. + * Delete the user and group synchronization policy for a partner-specific configuration. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete the user synchronization policy for a partner-specific configuration. + * Delete the user and group synchronization policy for a partner-specific configuration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -137,7 +137,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get the user synchronization policy of a partner-specific configuration. + * Get the user and group synchronization policy of a partner-specific configuration. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the user synchronization policy of a partner-specific configuration. + * Get the user and group synchronization policy of a partner-specific configuration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a cross-tenant user synchronization policy for a partner-specific configuration. + * Create a cross-tenant user and optionally group synchronization policy for a partner-specific configuration. * @param body The request body * @return a {@link RequestInformation} */ @@ -166,7 +166,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi return toPutRequestInformation(body, null); } /** - * Create a cross-tenant user synchronization policy for a partner-specific configuration. + * Create a cross-tenant user and optionally group synchronization policy for a partner-specific configuration. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -197,7 +197,7 @@ public IdentitySynchronizationRequestBuilder withUrl(@jakarta.annotation.Nonnull public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get the user synchronization policy of a partner-specific configuration. + * Get the user and group synchronization policy of a partner-specific configuration. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/ownerlessgrouppolicy/OwnerlessGroupPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/ownerlessgrouppolicy/OwnerlessGroupPolicyRequestBuilder.java index a3134e4d34f..97092d201c9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/ownerlessgrouppolicy/OwnerlessGroupPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/ownerlessgrouppolicy/OwnerlessGroupPolicyRequestBuilder.java @@ -37,19 +37,21 @@ public OwnerlessGroupPolicyRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%24expand,%24select}", rawUrl); } /** - * Get ownerlessGroupPolicy from policies + * Read the properties of an ownerlessGroupPolicy object. * @return a {@link OwnerlessGroupPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public OwnerlessGroupPolicy get() { return get(null); } /** - * Get ownerlessGroupPolicy from policies + * Read the properties of an ownerlessGroupPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OwnerlessGroupPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public OwnerlessGroupPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -59,21 +61,23 @@ public OwnerlessGroupPolicy get(@jakarta.annotation.Nullable final java.util.fun return this.requestAdapter.send(requestInfo, errorMapping, OwnerlessGroupPolicy::createFromDiscriminatorValue); } /** - * Update the navigation property ownerlessGroupPolicy in policies + * Create or update the ownerlessGroupPolicy for the tenant. If the policy doesn't exist, it creates a new one; if the policy exists, it updates the existing policy. To disable the policy, set isEnabled to false. Setting isEnabled to false clears the values of all other policy parameters. * @param body The request body * @return a {@link OwnerlessGroupPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public OwnerlessGroupPolicy patch(@jakarta.annotation.Nonnull final OwnerlessGroupPolicy body) { return patch(body, null); } /** - * Update the navigation property ownerlessGroupPolicy in policies + * Create or update the ownerlessGroupPolicy for the tenant. If the policy doesn't exist, it creates a new one; if the policy exists, it updates the existing policy. To disable the policy, set isEnabled to false. Setting isEnabled to false clears the values of all other policy parameters. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OwnerlessGroupPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public OwnerlessGroupPolicy patch(@jakarta.annotation.Nonnull final OwnerlessGroupPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -84,7 +88,7 @@ public OwnerlessGroupPolicy patch(@jakarta.annotation.Nonnull final OwnerlessGro return this.requestAdapter.send(requestInfo, errorMapping, OwnerlessGroupPolicy::createFromDiscriminatorValue); } /** - * Get ownerlessGroupPolicy from policies + * Read the properties of an ownerlessGroupPolicy object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -92,7 +96,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get ownerlessGroupPolicy from policies + * Read the properties of an ownerlessGroupPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -104,7 +108,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property ownerlessGroupPolicy in policies + * Create or update the ownerlessGroupPolicy for the tenant. If the policy doesn't exist, it creates a new one; if the policy exists, it updates the existing policy. To disable the policy, set isEnabled to false. Setting isEnabled to false clears the values of all other policy parameters. * @param body The request body * @return a {@link RequestInformation} */ @@ -113,7 +117,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property ownerlessGroupPolicy in policies + * Create or update the ownerlessGroupPolicy for the tenant. If the policy doesn't exist, it creates a new one; if the policy exists, it updates the existing policy. To disable the policy, set isEnabled to false. Setting isEnabled to false clears the values of all other policy parameters. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -138,7 +142,7 @@ public OwnerlessGroupPolicyRequestBuilder withUrl(@jakarta.annotation.Nonnull fi return new OwnerlessGroupPolicyRequestBuilder(rawUrl, requestAdapter); } /** - * Get ownerlessGroupPolicy from policies + * Read the properties of an ownerlessGroupPolicy object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containertypes/item/permissions/PermissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containertypes/item/permissions/PermissionsRequestBuilder.java index 161912e46a7..51c969a2312 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containertypes/item/permissions/PermissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containertypes/item/permissions/PermissionsRequestBuilder.java @@ -60,19 +60,21 @@ public PermissionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl super(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get permissions from storage + * Get the list of permission objects associated with a fileStorageContainerType. Each permission represents a user with management rights to the container type. The calling user must be listed in the permissions collection for the container type with the owner role, or be a SharePoint Embedded Administrator or Global Administrator. * @return a {@link PermissionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public PermissionCollectionResponse get() { return get(null); } /** - * Get permissions from storage + * Get the list of permission objects associated with a fileStorageContainerType. Each permission represents a user with management rights to the container type. The calling user must be listed in the permissions collection for the container type with the owner role, or be a SharePoint Embedded Administrator or Global Administrator. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public PermissionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -82,21 +84,23 @@ public PermissionCollectionResponse get(@jakarta.annotation.Nullable final java. return this.requestAdapter.send(requestInfo, errorMapping, PermissionCollectionResponse::createFromDiscriminatorValue); } /** - * Create new navigation property to permissions for storage + * Create a user permission object, which adds this permission to a fileStorageContainerType. Only existing owners (users with the owner role in the permissions collection of the container type), SharePoint Embedded Administrators, or Global Administrators can add permissions. The following constraints apply:- A maximum of 3 permissions per container type is allowed. Adding a fourth permission returns a 400 Bad Request error.- Duplicate permissions are treated as idempotent. If the specified user already has a permission on the container type, the service makes no changes and returns the existing permission resource in the response body with a 201 Created status, even though no new permission is created.- Currently only the owner role is supported. * @param body The request body * @return a {@link Permission} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public Permission post(@jakarta.annotation.Nonnull final Permission body) { return post(body, null); } /** - * Create new navigation property to permissions for storage + * Create a user permission object, which adds this permission to a fileStorageContainerType. Only existing owners (users with the owner role in the permissions collection of the container type), SharePoint Embedded Administrators, or Global Administrators can add permissions. The following constraints apply:- A maximum of 3 permissions per container type is allowed. Adding a fourth permission returns a 400 Bad Request error.- Duplicate permissions are treated as idempotent. If the specified user already has a permission on the container type, the service makes no changes and returns the existing permission resource in the response body with a 201 Created status, even though no new permission is created.- Currently only the owner role is supported. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Permission} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public Permission post(@jakarta.annotation.Nonnull final Permission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +111,7 @@ public Permission post(@jakarta.annotation.Nonnull final Permission body, @jakar return this.requestAdapter.send(requestInfo, errorMapping, Permission::createFromDiscriminatorValue); } /** - * Get permissions from storage + * Get the list of permission objects associated with a fileStorageContainerType. Each permission represents a user with management rights to the container type. The calling user must be listed in the permissions collection for the container type with the owner role, or be a SharePoint Embedded Administrator or Global Administrator. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get permissions from storage + * Get the list of permission objects associated with a fileStorageContainerType. Each permission represents a user with management rights to the container type. The calling user must be listed in the permissions collection for the container type with the owner role, or be a SharePoint Embedded Administrator or Global Administrator. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create new navigation property to permissions for storage + * Create a user permission object, which adds this permission to a fileStorageContainerType. Only existing owners (users with the owner role in the permissions collection of the container type), SharePoint Embedded Administrators, or Global Administrators can add permissions. The following constraints apply:- A maximum of 3 permissions per container type is allowed. Adding a fourth permission returns a 400 Bad Request error.- Duplicate permissions are treated as idempotent. If the specified user already has a permission on the container type, the service makes no changes and returns the existing permission resource in the response body with a 201 Created status, even though no new permission is created.- Currently only the owner role is supported. * @param body The request body * @return a {@link RequestInformation} */ @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create new navigation property to permissions for storage + * Create a user permission object, which adds this permission to a fileStorageContainerType. Only existing owners (users with the owner role in the permissions collection of the container type), SharePoint Embedded Administrators, or Global Administrators can add permissions. The following constraints apply:- A maximum of 3 permissions per container type is allowed. Adding a fourth permission returns a 400 Bad Request error.- Duplicate permissions are treated as idempotent. If the specified user already has a permission on the container type, the service makes no changes and returns the existing permission resource in the response body with a 201 Created status, even though no new permission is created.- Currently only the owner role is supported. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -161,7 +165,7 @@ public PermissionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin return new PermissionsRequestBuilder(rawUrl, requestAdapter); } /** - * Get permissions from storage + * Get the list of permission objects associated with a fileStorageContainerType. Each permission represents a user with management rights to the container type. The calling user must be listed in the permissions collection for the container type with the owner role, or be a SharePoint Embedded Administrator or Global Administrator. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containertypes/item/permissions/item/PermissionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containertypes/item/permissions/item/PermissionItemRequestBuilder.java index 4dab1427d20..98d69447229 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containertypes/item/permissions/item/PermissionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containertypes/item/permissions/item/PermissionItemRequestBuilder.java @@ -73,7 +73,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get permissions from storage + * The set of permissions for users in the container type. The permissions collection defines who has access to manage the container type. Use the owner role to grant management access. * @return a {@link Permission} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -82,7 +82,7 @@ public Permission get() { return get(null); } /** - * Get permissions from storage + * The set of permissions for users in the container type. The permissions collection defines who has access to manage the container type. Use the owner role to grant management access. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Permission} * @throws ODataError When receiving a 4XX or 5XX status code @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get permissions from storage + * The set of permissions for users in the container type. The permissions collection defines who has access to manage the container type. Use the owner role to grant management access. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get permissions from storage + * The set of permissions for users in the container type. The permissions collection defines who has access to manage the container type. Use the owner role to grant management access. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -200,7 +200,7 @@ public PermissionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final St public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get permissions from storage + * The set of permissions for users in the container type. The permissions collection defines who has access to manage the container type. Use the owner role to grant management access. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters {