From d84017b12ffb7512c71896ddd248b26aa395aa10 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Mon, 16 Feb 2026 17:43:41 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 210015 --- .../generated/admin/AdminRequestBuilder.java | 9 + .../exchange/ExchangeRequestBuilder.java | 237 +++++++++ .../tracing/TracingRequestBuilder.java | 237 +++++++++ .../MessageTracesRequestBuilder.java | 245 ++++++++++ .../count/CountRequestBuilder.java | 128 +++++ ...xchangeMessageTraceItemRequestBuilder.java | 239 +++++++++ ...ipientWithRecipientAddressGetResponse.java | 63 +++ ...entWithRecipientAddressRequestBuilder.java | 166 +++++++ .../IncidentReportRequestBuilder.java | 2 + .../item/memberof/MemberOfRequestBuilder.java | 10 +- .../graphgroup/GraphGroupRequestBuilder.java | 10 +- .../graphgroup/GraphGroupRequestBuilder.java | 10 +- .../item/WorkflowItemRequestBuilder.java | 9 + ...inistrationScopeTargetsRequestBuilder.java | 187 +++++++ .../count/CountRequestBuilder.java | 128 +++++ .../DirectoryObjectItemRequestBuilder.java | 129 +++++ ...ersionVersionNumberItemRequestBuilder.java | 9 + ...inistrationScopeTargetsRequestBuilder.java | 187 +++++++ .../count/CountRequestBuilder.java | 128 +++++ .../DirectoryObjectItemRequestBuilder.java | 129 +++++ .../item/WorkflowItemRequestBuilder.java | 9 + ...inistrationScopeTargetsRequestBuilder.java | 187 +++++++ .../count/CountRequestBuilder.java | 128 +++++ .../DirectoryObjectItemRequestBuilder.java | 129 +++++ ...ersionVersionNumberItemRequestBuilder.java | 9 + ...inistrationScopeTargetsRequestBuilder.java | 187 +++++++ .../count/CountRequestBuilder.java | 128 +++++ .../DirectoryObjectItemRequestBuilder.java | 129 +++++ .../graph/generated/kiota-dom-export.txt | 459 ++++++++++++++++++ .../microsoft/graph/generated/kiota-lock.json | 4 +- .../graph/generated/models/Admin.java | 19 +- .../graph/generated/models/AiAgentInfo.java | 4 +- .../generated/models/AiInteractionEntity.java | 12 +- .../AuthenticationMethodConfiguration.java | 1 + .../graph/generated/models/Entity.java | 25 +- .../graph/generated/models/ExchangeAdmin.java | 61 +++ .../models/ExchangeMessageTrace.java | 198 ++++++++ ...xchangeMessageTraceCollectionResponse.java | 61 +++ .../models/ExchangeMessageTraceDetail.java | 147 ++++++ .../models/ExchangeMessageTraceStatus.java | 37 ++ ...rnalAuthenticationMethodConfiguration.java | 113 +++++ .../graph/generated/models/Group.java | 34 ++ .../generated/models/MessageTracingRoot.java | 61 +++ .../models/OpenIdConnectSetting.java | 141 ++++++ .../models/ProcessConversationMetadata.java | 12 +- .../models/ResourceAccessDetail.java | 24 +- .../identitygovernance/WorkflowBase.java | 20 +- 47 files changed, 4546 insertions(+), 55 deletions(-) create mode 100644 src/main/java/com/microsoft/graph/generated/admin/exchange/ExchangeRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/TracingRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/MessageTracesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/ExchangeMessageTraceItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/getdetailsbyrecipientwithrecipientaddress/GetDetailsByRecipientWithRecipientAddressGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/getdetailsbyrecipientwithrecipientaddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ExchangeAdmin.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTrace.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceDetail.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceStatus.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethodConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/MessageTracingRoot.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/OpenIdConnectSetting.java diff --git a/src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java index e8fc7c53315..cd19c0449e8 100644 --- a/src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.admin; import com.microsoft.graph.admin.edge.EdgeRequestBuilder; +import com.microsoft.graph.admin.exchange.ExchangeRequestBuilder; import com.microsoft.graph.admin.microsoft365apps.Microsoft365AppsRequestBuilder; import com.microsoft.graph.admin.people.PeopleRequestBuilder; import com.microsoft.graph.admin.reportsettings.ReportSettingsRequestBuilder; @@ -35,6 +36,14 @@ public class AdminRequestBuilder extends BaseRequestBuilder { public EdgeRequestBuilder edge() { return new EdgeRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the exchange property of the microsoft.graph.admin entity. + * @return a {@link ExchangeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExchangeRequestBuilder exchange() { + return new ExchangeRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity. * @return a {@link Microsoft365AppsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/ExchangeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/ExchangeRequestBuilder.java new file mode 100644 index 00000000000..84b2a8a9bcb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/ExchangeRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.admin.exchange; + +import com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder; +import com.microsoft.graph.models.ExchangeAdmin; +import com.microsoft.graph.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 exchange property of the microsoft.graph.admin entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExchangeRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity. + * @return a {@link TracingRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TracingRequestBuilder tracing() { + return new TracingRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link ExchangeRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExchangeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ExchangeRequestBuilder} 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 ExchangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property exchange for admin + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property exchange for admin + * @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); + } + /** + * A container for the Exchange admin functionality. Read-only. + * @return a {@link ExchangeAdmin} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeAdmin get() { + return get(null); + } + /** + * A container for the Exchange admin functionality. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExchangeAdmin} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeAdmin 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, ExchangeAdmin::createFromDiscriminatorValue); + } + /** + * Update the navigation property exchange in admin + * @param body The request body + * @return a {@link ExchangeAdmin} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeAdmin patch(@jakarta.annotation.Nonnull final ExchangeAdmin body) { + return patch(body, null); + } + /** + * Update the navigation property exchange in admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExchangeAdmin} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeAdmin patch(@jakarta.annotation.Nonnull final ExchangeAdmin 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, ExchangeAdmin::createFromDiscriminatorValue); + } + /** + * Delete navigation property exchange for admin + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property exchange for admin + * @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; + } + /** + * A container for the Exchange admin functionality. Read-only. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * A container for the Exchange admin functionality. Read-only. + * @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 exchange in admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExchangeAdmin body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property exchange in admin + * @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 ExchangeAdmin 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 ExchangeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExchangeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExchangeRequestBuilder(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 { + } + /** + * A container for the Exchange admin functionality. Read-only. + */ + @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/generated/admin/exchange/tracing/TracingRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/TracingRequestBuilder.java new file mode 100644 index 00000000000..8e95fd85e5c --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/TracingRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.admin.exchange.tracing; + +import com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder; +import com.microsoft.graph.models.MessageTracingRoot; +import com.microsoft.graph.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 tracing property of the microsoft.graph.exchangeAdmin entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TracingRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. + * @return a {@link MessageTracesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MessageTracesRequestBuilder messageTraces() { + return new MessageTracesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link TracingRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TracingRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange/tracing{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link TracingRequestBuilder} 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 TracingRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange/tracing{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property tracing for admin + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property tracing for admin + * @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 a container for administrative resources to trace messages. + * @return a {@link MessageTracingRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MessageTracingRoot get() { + return get(null); + } + /** + * Represents a container for administrative resources to trace messages. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link MessageTracingRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MessageTracingRoot 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, MessageTracingRoot::createFromDiscriminatorValue); + } + /** + * Update the navigation property tracing in admin + * @param body The request body + * @return a {@link MessageTracingRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MessageTracingRoot patch(@jakarta.annotation.Nonnull final MessageTracingRoot body) { + return patch(body, null); + } + /** + * Update the navigation property tracing in admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link MessageTracingRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public MessageTracingRoot patch(@jakarta.annotation.Nonnull final MessageTracingRoot 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, MessageTracingRoot::createFromDiscriminatorValue); + } + /** + * Delete navigation property tracing for admin + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property tracing for admin + * @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 a container for administrative resources to trace messages. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents a container for administrative resources to trace messages. + * @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 tracing in admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MessageTracingRoot body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property tracing in admin + * @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 MessageTracingRoot 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 TracingRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TracingRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TracingRequestBuilder(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 a container for administrative resources to trace messages. + */ + @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/generated/admin/exchange/tracing/messagetraces/MessageTracesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/MessageTracesRequestBuilder.java new file mode 100644 index 00000000000..2b6b30125bb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/MessageTracesRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.admin.exchange.tracing.messagetraces; + +import com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder; +import com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder; +import com.microsoft.graph.models.ExchangeMessageTrace; +import com.microsoft.graph.models.ExchangeMessageTraceCollectionResponse; +import com.microsoft.graph.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 messageTraces property of the microsoft.graph.messageTracingRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MessageTracesRequestBuilder 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 messageTraces property of the microsoft.graph.messageTracingRoot entity. + * @param exchangeMessageTraceId The unique identifier of exchangeMessageTrace + * @return a {@link ExchangeMessageTraceItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExchangeMessageTraceItemRequestBuilder byExchangeMessageTraceId(@jakarta.annotation.Nonnull final String exchangeMessageTraceId) { + Objects.requireNonNull(exchangeMessageTraceId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("exchangeMessageTrace%2Did", exchangeMessageTraceId); + return new ExchangeMessageTraceItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link MessageTracesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MessageTracesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link MessageTracesRequestBuilder} 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 MessageTracesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of exchangeMessageTrace objects. + * @return a {@link ExchangeMessageTraceCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ExchangeMessageTraceCollectionResponse get() { + return get(null); + } + /** + * Get a list of exchangeMessageTrace objects. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExchangeMessageTraceCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ExchangeMessageTraceCollectionResponse 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, ExchangeMessageTraceCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to messageTraces for admin + * @param body The request body + * @return a {@link ExchangeMessageTrace} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeMessageTrace post(@jakarta.annotation.Nonnull final ExchangeMessageTrace body) { + return post(body, null); + } + /** + * Create new navigation property to messageTraces for admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExchangeMessageTrace} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeMessageTrace post(@jakarta.annotation.Nonnull final ExchangeMessageTrace 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, ExchangeMessageTrace::createFromDiscriminatorValue); + } + /** + * Get a list of exchangeMessageTrace objects. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of exchangeMessageTrace objects. + * @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 messageTraces for admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExchangeMessageTrace body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to messageTraces for admin + * @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 ExchangeMessageTrace 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 MessageTracesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MessageTracesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MessageTracesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of exchangeMessageTrace objects. + */ + @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/generated/admin/exchange/tracing/messagetraces/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/count/CountRequestBuilder.java new file mode 100644 index 00000000000..fbf4938e963 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.admin.exchange.tracing.messagetraces.count; + +import com.microsoft.graph.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}/admin/exchange/tracing/messageTraces/$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}/admin/exchange/tracing/messageTraces/$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/generated/admin/exchange/tracing/messagetraces/item/ExchangeMessageTraceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/ExchangeMessageTraceItemRequestBuilder.java new file mode 100644 index 00000000000..4311cc965d1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/ExchangeMessageTraceItemRequestBuilder.java @@ -0,0 +1,239 @@ +package com.microsoft.graph.admin.exchange.tracing.messagetraces.item; + +import com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder; +import com.microsoft.graph.models.ExchangeMessageTrace; +import com.microsoft.graph.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 messageTraces property of the microsoft.graph.messageTracingRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExchangeMessageTraceItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ExchangeMessageTraceItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExchangeMessageTraceItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ExchangeMessageTraceItemRequestBuilder} 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 ExchangeMessageTraceItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property messageTraces for admin + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property messageTraces for admin + * @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 trace information of messages that pass through Exchange Online organizations. + * @return a {@link ExchangeMessageTrace} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeMessageTrace get() { + return get(null); + } + /** + * Represents the trace information of messages that pass through Exchange Online organizations. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExchangeMessageTrace} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeMessageTrace 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, ExchangeMessageTrace::createFromDiscriminatorValue); + } + /** + * Provides operations to call the getDetailsByRecipient method. + * @param recipientAddress Usage: recipientAddress='{recipientAddress}' + * @return a {@link GetDetailsByRecipientWithRecipientAddressRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetDetailsByRecipientWithRecipientAddressRequestBuilder getDetailsByRecipientWithRecipientAddress(@jakarta.annotation.Nonnull final String recipientAddress) { + Objects.requireNonNull(recipientAddress); + return new GetDetailsByRecipientWithRecipientAddressRequestBuilder(pathParameters, requestAdapter, recipientAddress); + } + /** + * Update the navigation property messageTraces in admin + * @param body The request body + * @return a {@link ExchangeMessageTrace} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeMessageTrace patch(@jakarta.annotation.Nonnull final ExchangeMessageTrace body) { + return patch(body, null); + } + /** + * Update the navigation property messageTraces in admin + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExchangeMessageTrace} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExchangeMessageTrace patch(@jakarta.annotation.Nonnull final ExchangeMessageTrace 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, ExchangeMessageTrace::createFromDiscriminatorValue); + } + /** + * Delete navigation property messageTraces for admin + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property messageTraces for admin + * @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 trace information of messages that pass through Exchange Online organizations. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents the trace information of messages that pass through Exchange Online organizations. + * @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 messageTraces in admin + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExchangeMessageTrace body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property messageTraces in admin + * @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 ExchangeMessageTrace 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 ExchangeMessageTraceItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExchangeMessageTraceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExchangeMessageTraceItemRequestBuilder(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 trace information of messages that pass through Exchange Online organizations. + */ + @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/generated/admin/exchange/tracing/messagetraces/item/getdetailsbyrecipientwithrecipientaddress/GetDetailsByRecipientWithRecipientAddressGetResponse.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/getdetailsbyrecipientwithrecipientaddress/GetDetailsByRecipientWithRecipientAddressGetResponse.java new file mode 100644 index 00000000000..e202ffe1012 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/getdetailsbyrecipientwithrecipientaddress/GetDetailsByRecipientWithRecipientAddressGetResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress; + +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.models.ExchangeMessageTraceDetail; +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 GetDetailsByRecipientWithRecipientAddressGetResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link GetDetailsByRecipientWithRecipientAddressGetResponse} and sets the default values. + */ + public GetDetailsByRecipientWithRecipientAddressGetResponse() { + 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 GetDetailsByRecipientWithRecipientAddressGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetDetailsByRecipientWithRecipientAddressGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetDetailsByRecipientWithRecipientAddressGetResponse(); + } + /** + * 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(ExchangeMessageTraceDetail::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/generated/admin/exchange/tracing/messagetraces/item/getdetailsbyrecipientwithrecipientaddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/getdetailsbyrecipientwithrecipientaddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.java new file mode 100644 index 00000000000..bd0204481d4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/tracing/messagetraces/item/getdetailsbyrecipientwithrecipientaddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.java @@ -0,0 +1,166 @@ +package com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress; + +import com.microsoft.graph.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 call the getDetailsByRecipient method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetDetailsByRecipientWithRecipientAddressRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetDetailsByRecipientWithRecipientAddressRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param recipientAddress Usage: recipientAddress='{recipientAddress}' + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetDetailsByRecipientWithRecipientAddressRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String recipientAddress) { + super(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}/getDetailsByRecipient(recipientAddress='{recipientAddress}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + this.pathParameters.put("recipientAddress", recipientAddress); + } + /** + * Instantiates a new {@link GetDetailsByRecipientWithRecipientAddressRequestBuilder} 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 GetDetailsByRecipientWithRecipientAddressRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}/getDetailsByRecipient(recipientAddress='{recipientAddress}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of exchangeMessageTraceDetail objects filtered on the recipient. + * @return a {@link GetDetailsByRecipientWithRecipientAddressGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GetDetailsByRecipientWithRecipientAddressGetResponse get() { + return get(null); + } + /** + * Get a list of exchangeMessageTraceDetail objects filtered on the recipient. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetDetailsByRecipientWithRecipientAddressGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GetDetailsByRecipientWithRecipientAddressGetResponse 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, GetDetailsByRecipientWithRecipientAddressGetResponse::createFromDiscriminatorValue); + } + /** + * Get a list of exchangeMessageTraceDetail objects filtered on the recipient. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of exchangeMessageTraceDetail objects filtered on the recipient. + * @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 GetDetailsByRecipientWithRecipientAddressRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetDetailsByRecipientWithRecipientAddressRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetDetailsByRecipientWithRecipientAddressRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of exchangeMessageTraceDetail objects filtered on the recipient. + */ + @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/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java index c44096de2be..325ac6d9977 100644 --- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java @@ -39,6 +39,7 @@ public IncidentReportRequestBuilder(@jakarta.annotation.Nonnull final String raw * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public InputStream get() { @@ -49,6 +50,7 @@ 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 + * @see Find more info here */ @jakarta.annotation.Nullable public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/memberof/MemberOfRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/memberof/MemberOfRequestBuilder.java index 627b5a2e9a4..a34cd0574f5 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/memberof/MemberOfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/memberof/MemberOfRequestBuilder.java @@ -77,7 +77,7 @@ public MemberOfRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/memberOf{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -87,7 +87,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @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 @@ -101,7 +101,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -109,7 +109,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -131,7 +131,7 @@ public MemberOfRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r return new MemberOfRequestBuilder(rawUrl, requestAdapter); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/memberof/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/memberof/graphgroup/GraphGroupRequestBuilder.java index 3d20ca7c6e5..a8ecec58c30 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/memberof/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/memberof/graphgroup/GraphGroupRequestBuilder.java @@ -46,7 +46,7 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/groups/{group%2Did}/memberOf/graph.group{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -56,7 +56,7 @@ public GroupCollectionResponse get() { return get(null); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -70,7 +70,7 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, GroupCollectionResponse::createFromDiscriminatorValue); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -78,7 +78,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -100,7 +100,7 @@ public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new GraphGroupRequestBuilder(rawUrl, requestAdapter); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/memberof/item/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/memberof/item/graphgroup/GraphGroupRequestBuilder.java index 7655f63e095..0a89b4aa960 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/memberof/item/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/memberof/item/graphgroup/GraphGroupRequestBuilder.java @@ -37,7 +37,7 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/groups/{group%2Did}/memberOf/{directoryObject%2Did}/graph.group{?%24expand,%24select}", rawUrl); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -47,7 +47,7 @@ public Group get() { return get(null); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code @@ -61,7 +61,7 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -69,7 +69,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -91,7 +91,7 @@ public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new GraphGroupRequestBuilder(rawUrl, requestAdapter); } /** - * Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + * Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java index 5c4042ec6b5..f1f2a109fe3 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.createdby.CreatedByRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.executionscope.ExecutionScopeRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.lastmodifiedby.LastModifiedByRequestBuilder; @@ -32,6 +33,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class WorkflowItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + * @return a {@link AdministrationScopeTargetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { + return new AdministrationScopeTargetsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link CreatedByRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java new file mode 100644 index 00000000000..94cb675d3f4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder; +import com.microsoft.graph.models.DirectoryObjectCollectionResponse; +import com.microsoft.graph.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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AdministrationScopeTargetsRequestBuilder 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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + * @param directoryObjectId The unique identifier of directoryObject + * @return a {@link DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { + Objects.requireNonNull(directoryObjectId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("directoryObject%2Did", directoryObjectId); + return new DirectoryObjectItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AdministrationScopeTargetsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AdministrationScopeTargetsRequestBuilder} 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 AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link DirectoryObjectCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse get() { + return get(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse 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, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 AdministrationScopeTargetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get administrationScopeTargets from identityGovernance + */ + @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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/count/CountRequestBuilder.java new file mode 100644 index 00000000000..f576bcb7511 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/administrationScopeTargets/$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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/administrationScopeTargets/$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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java new file mode 100644 index 00000000000..5f62f06a426 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item; + +import com.microsoft.graph.models.DirectoryObject; +import com.microsoft.graph.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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} 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 DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObject get() { + return get(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObject 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, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get administrationScopeTargets from identityGovernance + */ + @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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java index 907e84525e2..c4e01c828ea 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.createdby.CreatedByRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.tasks.TasksRequestBuilder; @@ -23,6 +24,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class WorkflowVersionVersionNumberItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + * @return a {@link AdministrationScopeTargetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { + return new AdministrationScopeTargetsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link CreatedByRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java new file mode 100644 index 00000000000..5752ed0f59e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder; +import com.microsoft.graph.models.DirectoryObjectCollectionResponse; +import com.microsoft.graph.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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AdministrationScopeTargetsRequestBuilder 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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + * @param directoryObjectId The unique identifier of directoryObject + * @return a {@link DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { + Objects.requireNonNull(directoryObjectId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("directoryObject%2Did", directoryObjectId); + return new DirectoryObjectItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AdministrationScopeTargetsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AdministrationScopeTargetsRequestBuilder} 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 AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link DirectoryObjectCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse get() { + return get(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse 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, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 AdministrationScopeTargetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get administrationScopeTargets from identityGovernance + */ + @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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java new file mode 100644 index 00000000000..8a574f19f44 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/$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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/$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/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java new file mode 100644 index 00000000000..bcc0c18809f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item; + +import com.microsoft.graph.models.DirectoryObject; +import com.microsoft.graph.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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} 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 DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObject get() { + return get(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObject 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, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get administrationScopeTargets from identityGovernance + */ + @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/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java index a74f7a7e209..5d5d0ec65ac 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.createdby.CreatedByRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.executionscope.ExecutionScopeRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.lastmodifiedby.LastModifiedByRequestBuilder; @@ -32,6 +33,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class WorkflowItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + * @return a {@link AdministrationScopeTargetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { + return new AdministrationScopeTargetsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link CreatedByRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java new file mode 100644 index 00000000000..52c6e36fb21 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder; +import com.microsoft.graph.models.DirectoryObjectCollectionResponse; +import com.microsoft.graph.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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AdministrationScopeTargetsRequestBuilder 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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + * @param directoryObjectId The unique identifier of directoryObject + * @return a {@link DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { + Objects.requireNonNull(directoryObjectId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("directoryObject%2Did", directoryObjectId); + return new DirectoryObjectItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AdministrationScopeTargetsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AdministrationScopeTargetsRequestBuilder} 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 AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link DirectoryObjectCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse get() { + return get(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse 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, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 AdministrationScopeTargetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get administrationScopeTargets from identityGovernance + */ + @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/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/count/CountRequestBuilder.java new file mode 100644 index 00000000000..ddf9a8c7a34 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/administrationScopeTargets/$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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/administrationScopeTargets/$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/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java new file mode 100644 index 00000000000..94df6b4f9e4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item; + +import com.microsoft.graph.models.DirectoryObject; +import com.microsoft.graph.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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} 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 DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObject get() { + return get(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObject 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, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get administrationScopeTargets from identityGovernance + */ + @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/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java index 437b7eb03af..4d290c27bca 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.createdby.CreatedByRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder; import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.tasks.TasksRequestBuilder; @@ -23,6 +24,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class WorkflowVersionVersionNumberItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + * @return a {@link AdministrationScopeTargetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { + return new AdministrationScopeTargetsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link CreatedByRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java new file mode 100644 index 00000000000..896fdc0a5de --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets; + +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder; +import com.microsoft.graph.models.DirectoryObjectCollectionResponse; +import com.microsoft.graph.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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AdministrationScopeTargetsRequestBuilder 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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + * @param directoryObjectId The unique identifier of directoryObject + * @return a {@link DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { + Objects.requireNonNull(directoryObjectId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("directoryObject%2Did", directoryObjectId); + return new DirectoryObjectItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AdministrationScopeTargetsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AdministrationScopeTargetsRequestBuilder} 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 AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link DirectoryObjectCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse get() { + return get(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObjectCollectionResponse 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, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 AdministrationScopeTargetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get administrationScopeTargets from identityGovernance + */ + @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/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java new file mode 100644 index 00000000000..1ff3a329e4a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count; + +import com.microsoft.graph.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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/$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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/$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/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java new file mode 100644 index 00000000000..e551e0b1a3b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item; + +import com.microsoft.graph.models.DirectoryObject; +import com.microsoft.graph.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 administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DirectoryObjectItemRequestBuilder} 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 DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/administrationScopeTargets/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DirectoryObject get() { + return get(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 + */ + @jakarta.annotation.Nullable + public DirectoryObject 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, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get administrationScopeTargets from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get administrationScopeTargets from identityGovernance + * @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 DirectoryObjectItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get administrationScopeTargets from identityGovernance + */ + @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/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt index fdcf88405e9..521fa9149de 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt @@ -9,6 +9,7 @@ com.microsoft.graph.admin.AdminRequestBuilder.PatchRequestConfiguration-->BaseRe com.microsoft.graph.admin.AdminRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.admin.AdminRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.admin.AdminRequestBuilder::|public|edge:EdgeRequestBuilder +com.microsoft.graph.admin.AdminRequestBuilder::|public|exchange:ExchangeRequestBuilder com.microsoft.graph.admin.AdminRequestBuilder::|public|get():Admin com.microsoft.graph.admin.AdminRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Admin com.microsoft.graph.admin.AdminRequestBuilder::|public|microsoft365Apps:Microsoft365AppsRequestBuilder @@ -297,6 +298,149 @@ com.microsoft.graph.admin.edge.internetexplorermode.sitelists.SiteListsRequestBu com.microsoft.graph.admin.edge.internetexplorermode.sitelists.SiteListsRequestBuilder::|public|toPostRequestInformation(body:BrowserSiteList):RequestInformation com.microsoft.graph.admin.edge.internetexplorermode.sitelists.SiteListsRequestBuilder::|public|toPostRequestInformation(body:BrowserSiteList; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.admin.edge.internetexplorermode.sitelists.SiteListsRequestBuilder::|public|withUrl(rawUrl:String):SiteListsRequestBuilder +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|delete():Void +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|get():ExchangeAdmin +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExchangeAdmin +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|patch(body:ExchangeAdmin):ExchangeAdmin +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|patch(body:ExchangeAdmin; requestConfiguration?:java.util.function.Consumer):ExchangeAdmin +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|toPatchRequestInformation(body:ExchangeAdmin):RequestInformation +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|toPatchRequestInformation(body:ExchangeAdmin; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|tracing:TracingRequestBuilder +com.microsoft.graph.admin.exchange.ExchangeRequestBuilder::|public|withUrl(rawUrl:String):ExchangeRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|delete():Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|get():ExchangeMessageTrace +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExchangeMessageTrace +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|getDetailsByRecipientWithRecipientAddress(recipientAddress:String):GetDetailsByRecipientWithRecipientAddressRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|patch(body:ExchangeMessageTrace):ExchangeMessageTrace +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|patch(body:ExchangeMessageTrace; requestConfiguration?:java.util.function.Consumer):ExchangeMessageTrace +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|toPatchRequestInformation(body:ExchangeMessageTrace):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|toPatchRequestInformation(body:ExchangeMessageTrace; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.ExchangeMessageTraceItemRequestBuilder::|public|withUrl(rawUrl:String):ExchangeMessageTraceItemRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressGetResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressGetResponse::|public|constructor():void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressGetResponse::|public|getValue():java.util.List +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressGetResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetDetailsByRecipientWithRecipientAddressGetResponse +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; recipientAddress?:String):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|get():GetDetailsByRecipientWithRecipientAddressGetResponse +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetDetailsByRecipientWithRecipientAddressGetResponse +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.item.getdetailsbyrecipientwithrecipientaddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|withUrl(rawUrl:String):GetDetailsByRecipientWithRecipientAddressRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|byExchangeMessageTraceId(exchangeMessageTraceId:String):ExchangeMessageTraceItemRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|get():ExchangeMessageTraceCollectionResponse +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExchangeMessageTraceCollectionResponse +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|post(body:ExchangeMessageTrace):ExchangeMessageTrace +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|post(body:ExchangeMessageTrace; requestConfiguration?:java.util.function.Consumer):ExchangeMessageTrace +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|toPostRequestInformation(body:ExchangeMessageTrace):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|toPostRequestInformation(body:ExchangeMessageTrace; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.messagetraces.MessageTracesRequestBuilder::|public|withUrl(rawUrl:String):MessageTracesRequestBuilder +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|delete():Void +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|get():MessageTracingRoot +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):MessageTracingRoot +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|messageTraces:MessageTracesRequestBuilder +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|patch(body:MessageTracingRoot):MessageTracingRoot +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|patch(body:MessageTracingRoot; requestConfiguration?:java.util.function.Consumer):MessageTracingRoot +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|toPatchRequestInformation(body:MessageTracingRoot):RequestInformation +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|toPatchRequestInformation(body:MessageTracingRoot; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.admin.exchange.tracing.TracingRequestBuilder::|public|withUrl(rawUrl:String):TracingRequestBuilder com.microsoft.graph.admin.microsoft365apps.installationoptions.InstallationOptionsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.admin.microsoft365apps.installationoptions.InstallationOptionsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.admin.microsoft365apps.installationoptions.InstallationOptionsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -103358,6 +103502,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|byDirectoryObjectId(directoryObjectId:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|get():DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|withUrl(rawUrl:String):AdministrationScopeTargetsRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|withUrl(rawUrl:String):DirectoryObjectItemRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.createdby.CreatedByRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|select:String[] @@ -105080,6 +105274,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|byDirectoryObjectId(directoryObjectId:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|get():DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|withUrl(rawUrl:String):AdministrationScopeTargetsRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|withUrl(rawUrl:String):DirectoryObjectItemRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.createdby.CreatedByRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|select:String[] @@ -105455,6 +105699,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder::|public|administrationScopeTargets:AdministrationScopeTargetsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder::|public|createdBy:CreatedByRequestBuilder @@ -105495,6 +105740,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|administrationScopeTargets:AdministrationScopeTargetsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.WorkflowItemRequestBuilder::|public|createdBy:CreatedByRequestBuilder @@ -105748,6 +105994,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.count.CountR com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|byDirectoryObjectId(directoryObjectId:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|get():DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|withUrl(rawUrl:String):AdministrationScopeTargetsRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|withUrl(rawUrl:String):DirectoryObjectItemRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.createdby.CreatedByRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|select:String[] @@ -107470,6 +107766,56 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.version com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|byDirectoryObjectId(directoryObjectId:String):DirectoryObjectItemRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|get():DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObjectCollectionResponse +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.AdministrationScopeTargetsRequestBuilder::|public|withUrl(rawUrl:String):AdministrationScopeTargetsRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.administrationscopetargets.item.DirectoryObjectItemRequestBuilder::|public|withUrl(rawUrl:String):DirectoryObjectItemRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.createdby.CreatedByRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|select:String[] @@ -107845,6 +108191,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.version com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder::|public|administrationScopeTargets:AdministrationScopeTargetsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.versions.item.WorkflowVersionVersionNumberItemRequestBuilder::|public|createdBy:CreatedByRequestBuilder @@ -107886,6 +108233,7 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.Workflo com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|administrationScopeTargets:AdministrationScopeTargetsRequestBuilder com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder::|public|createdBy:CreatedByRequestBuilder @@ -112476,6 +112824,7 @@ com.microsoft.graph.models.Admin::|public|constructor():void com.microsoft.graph.models.Admin::|public|getAdditionalData():Map com.microsoft.graph.models.Admin::|public|getBackingStore():BackingStore com.microsoft.graph.models.Admin::|public|getEdge():Edge +com.microsoft.graph.models.Admin::|public|getExchange():ExchangeAdmin com.microsoft.graph.models.Admin::|public|getFieldDeserializers():Map> com.microsoft.graph.models.Admin::|public|getMicrosoft365Apps():AdminMicrosoft365Apps com.microsoft.graph.models.Admin::|public|getOdataType():String @@ -112488,6 +112837,7 @@ com.microsoft.graph.models.Admin::|public|serialize(writer:SerializationWriter): com.microsoft.graph.models.Admin::|public|setAdditionalData(value?:Map):void com.microsoft.graph.models.Admin::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.models.Admin::|public|setEdge(value?:Edge):void +com.microsoft.graph.models.Admin::|public|setExchange(value?:ExchangeAdmin):void com.microsoft.graph.models.Admin::|public|setMicrosoft365Apps(value?:AdminMicrosoft365Apps):void com.microsoft.graph.models.Admin::|public|setOdataType(value?:String):void com.microsoft.graph.models.Admin::|public|setPeople(value?:PeopleAdminSettings):void @@ -127518,11 +127868,76 @@ com.microsoft.graph.models.EventType::0000-SingleInstance com.microsoft.graph.models.EventType::0001-Occurrence com.microsoft.graph.models.EventType::0002-Exception com.microsoft.graph.models.EventType::0003-SeriesMaster +com.microsoft.graph.models.ExchangeAdmin-->Entity +com.microsoft.graph.models.ExchangeAdmin::|public|constructor():void +com.microsoft.graph.models.ExchangeAdmin::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ExchangeAdmin::|public|getTracing():MessageTracingRoot +com.microsoft.graph.models.ExchangeAdmin::|public|OdataType:String +com.microsoft.graph.models.ExchangeAdmin::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ExchangeAdmin::|public|setTracing(value?:MessageTracingRoot):void +com.microsoft.graph.models.ExchangeAdmin::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExchangeAdmin com.microsoft.graph.models.ExchangeIdFormat::0000-EntryId com.microsoft.graph.models.ExchangeIdFormat::0001-EwsId com.microsoft.graph.models.ExchangeIdFormat::0002-ImmutableEntryId com.microsoft.graph.models.ExchangeIdFormat::0003-RestId com.microsoft.graph.models.ExchangeIdFormat::0004-RestImmutableEntryId +com.microsoft.graph.models.ExchangeMessageTrace-->Entity +com.microsoft.graph.models.ExchangeMessageTrace::|public|constructor():void +com.microsoft.graph.models.ExchangeMessageTrace::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ExchangeMessageTrace::|public|getFromIP():String +com.microsoft.graph.models.ExchangeMessageTrace::|public|getMessageId():String +com.microsoft.graph.models.ExchangeMessageTrace::|public|getReceivedDateTime():OffsetDateTime +com.microsoft.graph.models.ExchangeMessageTrace::|public|getRecipientAddress():String +com.microsoft.graph.models.ExchangeMessageTrace::|public|getSenderAddress():String +com.microsoft.graph.models.ExchangeMessageTrace::|public|getSize():Integer +com.microsoft.graph.models.ExchangeMessageTrace::|public|getStatus():ExchangeMessageTraceStatus +com.microsoft.graph.models.ExchangeMessageTrace::|public|getSubject():String +com.microsoft.graph.models.ExchangeMessageTrace::|public|getToIP():String +com.microsoft.graph.models.ExchangeMessageTrace::|public|OdataType:String +com.microsoft.graph.models.ExchangeMessageTrace::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setFromIP(value?:String):void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setMessageId(value?:String):void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setReceivedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setRecipientAddress(value?:String):void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setSenderAddress(value?:String):void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setSize(value?:Integer):void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setStatus(value?:ExchangeMessageTraceStatus):void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setSubject(value?:String):void +com.microsoft.graph.models.ExchangeMessageTrace::|public|setToIP(value?:String):void +com.microsoft.graph.models.ExchangeMessageTrace::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExchangeMessageTrace +com.microsoft.graph.models.ExchangeMessageTraceCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.ExchangeMessageTraceCollectionResponse::|public|constructor():void +com.microsoft.graph.models.ExchangeMessageTraceCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ExchangeMessageTraceCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.ExchangeMessageTraceCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ExchangeMessageTraceCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.ExchangeMessageTraceCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExchangeMessageTraceCollectionResponse +com.microsoft.graph.models.ExchangeMessageTraceDetail-->Entity +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|constructor():void +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|getAction():String +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|getData():String +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|getDateTime():OffsetDateTime +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|getDescription():String +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|getEvent():String +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|getMessageId():String +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|OdataType:String +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|setAction(value?:String):void +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|setData(value?:String):void +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|setDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|setDescription(value?:String):void +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|setEvent(value?:String):void +com.microsoft.graph.models.ExchangeMessageTraceDetail::|public|setMessageId(value?:String):void +com.microsoft.graph.models.ExchangeMessageTraceDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExchangeMessageTraceDetail +com.microsoft.graph.models.ExchangeMessageTraceStatus::0000-GettingStatus +com.microsoft.graph.models.ExchangeMessageTraceStatus::0001-Pending +com.microsoft.graph.models.ExchangeMessageTraceStatus::0002-Failed +com.microsoft.graph.models.ExchangeMessageTraceStatus::0003-Delivered +com.microsoft.graph.models.ExchangeMessageTraceStatus::0004-Expanded +com.microsoft.graph.models.ExchangeMessageTraceStatus::0005-Quarantined +com.microsoft.graph.models.ExchangeMessageTraceStatus::0006-FilteredAsSpam +com.microsoft.graph.models.ExchangeMessageTraceStatus::0007-UnknownFutureValue com.microsoft.graph.models.ExchangeProtectionPolicy-->ProtectionPolicyBase com.microsoft.graph.models.ExchangeProtectionPolicy::|public|constructor():void com.microsoft.graph.models.ExchangeProtectionPolicy::|public|getFieldDeserializers():Map> @@ -127698,6 +128113,20 @@ com.microsoft.graph.models.ExternalAuthenticationMethodCollectionResponse::|publ com.microsoft.graph.models.ExternalAuthenticationMethodCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.ExternalAuthenticationMethodCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.ExternalAuthenticationMethodCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExternalAuthenticationMethodCollectionResponse +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|constructor():void +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|getAppId():String +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|getDisplayName():String +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|getIncludeTargets():java.util.List +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|getOpenIdConnectSetting():OpenIdConnectSetting +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|OdataType:String +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|setAppId(value?:String):void +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|setIncludeTargets(value?:java.util.List):void +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|public|setOpenIdConnectSetting(value?:OpenIdConnectSetting):void +com.microsoft.graph.models.ExternalAuthenticationMethodConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExternalAuthenticationMethodConfiguration com.microsoft.graph.models.externalconnectors.AccessType::0000-Grant com.microsoft.graph.models.externalconnectors.AccessType::0001-Deny com.microsoft.graph.models.externalconnectors.AccessType::0002-UnknownFutureValue @@ -129139,6 +129568,8 @@ com.microsoft.graph.models.Group::|public|getPreferredLanguage():String com.microsoft.graph.models.Group::|public|getProxyAddresses():java.util.List com.microsoft.graph.models.Group::|public|getRejectedSenders():java.util.List com.microsoft.graph.models.Group::|public|getRenewedDateTime():OffsetDateTime +com.microsoft.graph.models.Group::|public|getResourceBehaviorOptions():java.util.List +com.microsoft.graph.models.Group::|public|getResourceProvisioningOptions():java.util.List com.microsoft.graph.models.Group::|public|getSecurityEnabled():Boolean com.microsoft.graph.models.Group::|public|getSecurityIdentifier():String com.microsoft.graph.models.Group::|public|getServiceProvisioningErrors():java.util.List @@ -129210,6 +129641,8 @@ com.microsoft.graph.models.Group::|public|setPreferredLanguage(value?:String):vo com.microsoft.graph.models.Group::|public|setProxyAddresses(value?:java.util.List):void com.microsoft.graph.models.Group::|public|setRejectedSenders(value?:java.util.List):void com.microsoft.graph.models.Group::|public|setRenewedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.Group::|public|setResourceBehaviorOptions(value?:java.util.List):void +com.microsoft.graph.models.Group::|public|setResourceProvisioningOptions(value?:java.util.List):void com.microsoft.graph.models.Group::|public|setSecurityEnabled(value?:Boolean):void com.microsoft.graph.models.Group::|public|setSecurityIdentifier(value?:String):void com.microsoft.graph.models.Group::|public|setServiceProvisioningErrors(value?:java.util.List):void @@ -130168,6 +130601,7 @@ com.microsoft.graph.models.identitygovernance.Workflow::|static|public|createFro com.microsoft.graph.models.identitygovernance.WorkflowBase::|protected|backingStore:BackingStore com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|constructor():void com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|getAdditionalData():Map +com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|getAdministrationScopeTargets():java.util.List com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|getBackingStore():BackingStore com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|getCategory():LifecycleWorkflowCategory com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|getCreatedBy():User @@ -130184,6 +130618,7 @@ com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|getOdataType com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|getTasks():java.util.List com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|setAdministrationScopeTargets(value?:java.util.List):void com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|setCategory(value?:LifecycleWorkflowCategory):void com.microsoft.graph.models.identitygovernance.WorkflowBase::|public|setCreatedBy(value?:User):void @@ -135098,6 +135533,14 @@ com.microsoft.graph.models.MessageSecurityState::|public|setNetworkMessageId(val com.microsoft.graph.models.MessageSecurityState::|public|setOdataType(value?:String):void com.microsoft.graph.models.MessageSecurityState::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MessageSecurityState com.microsoft.graph.models.MessageSecurityState~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.MessageTracingRoot-->Entity +com.microsoft.graph.models.MessageTracingRoot::|public|constructor():void +com.microsoft.graph.models.MessageTracingRoot::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.MessageTracingRoot::|public|getMessageTraces():java.util.List +com.microsoft.graph.models.MessageTracingRoot::|public|OdataType:String +com.microsoft.graph.models.MessageTracingRoot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.MessageTracingRoot::|public|setMessageTraces(value?:java.util.List):void +com.microsoft.graph.models.MessageTracingRoot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MessageTracingRoot com.microsoft.graph.models.MessageUnpinnedEventMessageDetail-->EventMessageDetail com.microsoft.graph.models.MessageUnpinnedEventMessageDetail::|public|constructor():void com.microsoft.graph.models.MessageUnpinnedEventMessageDetail::|public|getEventDateTime():OffsetDateTime @@ -137417,6 +137860,22 @@ com.microsoft.graph.models.OnUserCreateStartListener::|public|OdataType:String com.microsoft.graph.models.OnUserCreateStartListener::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.OnUserCreateStartListener::|public|setHandler(value?:OnUserCreateStartHandler):void com.microsoft.graph.models.OnUserCreateStartListener::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnUserCreateStartListener +com.microsoft.graph.models.OpenIdConnectSetting::|protected|backingStore:BackingStore +com.microsoft.graph.models.OpenIdConnectSetting::|public|constructor():void +com.microsoft.graph.models.OpenIdConnectSetting::|public|getAdditionalData():Map +com.microsoft.graph.models.OpenIdConnectSetting::|public|getBackingStore():BackingStore +com.microsoft.graph.models.OpenIdConnectSetting::|public|getClientId():String +com.microsoft.graph.models.OpenIdConnectSetting::|public|getDiscoveryUrl():String +com.microsoft.graph.models.OpenIdConnectSetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OpenIdConnectSetting::|public|getOdataType():String +com.microsoft.graph.models.OpenIdConnectSetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OpenIdConnectSetting::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.OpenIdConnectSetting::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.OpenIdConnectSetting::|public|setClientId(value?:String):void +com.microsoft.graph.models.OpenIdConnectSetting::|public|setDiscoveryUrl(value?:String):void +com.microsoft.graph.models.OpenIdConnectSetting::|public|setOdataType(value?:String):void +com.microsoft.graph.models.OpenIdConnectSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OpenIdConnectSetting +com.microsoft.graph.models.OpenIdConnectSetting~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.OpenShift-->ChangeTrackedEntity com.microsoft.graph.models.OpenShift::|public|constructor():void com.microsoft.graph.models.OpenShift::|public|getDraftOpenShift():OpenShiftItem diff --git a/src/main/java/com/microsoft/graph/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/generated/kiota-lock.json index e1983600d05..5669e344525 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "EE655C46667963A6B56284D80428908D898ADF7596E1B9840E2353EEE838BF5BDD1519D02373734226B3D8607AA86D05BD7FA51B4D709F95127054A6D86E6D4D", + "descriptionHash": "4F06022D5B45031BAB5C100A8706A34FA46122344724E8FCA8C63860D90BF29AC24BE841A1ED2D972C817F599F3CB3D773FDC21B97C78F4BD30527C351DF0259", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.31.0", + "kiotaVersion": "1.30.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "com.Microsoft.Graph", diff --git a/src/main/java/com/microsoft/graph/generated/models/Admin.java b/src/main/java/com/microsoft/graph/generated/models/Admin.java index e829822abac..2f2a06fbcb3 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Admin.java +++ b/src/main/java/com/microsoft/graph/generated/models/Admin.java @@ -64,14 +64,23 @@ public BackingStore getBackingStore() { public Edge getEdge() { return this.backingStore.get("edge"); } + /** + * Gets the exchange property value. A container for the Exchange admin functionality. Read-only. + * @return a {@link ExchangeAdmin} + */ + @jakarta.annotation.Nullable + public ExchangeAdmin getExchange() { + return this.backingStore.get("exchange"); + } /** * The deserialization information for the current model * @return a {@link Map>} */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(8); + final HashMap> deserializerMap = new HashMap>(9); deserializerMap.put("edge", (n) -> { this.setEdge(n.getObjectValue(Edge::createFromDiscriminatorValue)); }); + deserializerMap.put("exchange", (n) -> { this.setExchange(n.getObjectValue(ExchangeAdmin::createFromDiscriminatorValue)); }); deserializerMap.put("microsoft365Apps", (n) -> { this.setMicrosoft365Apps(n.getObjectValue(AdminMicrosoft365Apps::createFromDiscriminatorValue)); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); deserializerMap.put("people", (n) -> { this.setPeople(n.getObjectValue(PeopleAdminSettings::createFromDiscriminatorValue)); }); @@ -144,6 +153,7 @@ public TeamsAdminRoot getTeams() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); writer.writeObjectValue("edge", this.getEdge()); + writer.writeObjectValue("exchange", this.getExchange()); writer.writeObjectValue("microsoft365Apps", this.getMicrosoft365Apps()); writer.writeStringValue("@odata.type", this.getOdataType()); writer.writeObjectValue("people", this.getPeople()); @@ -175,6 +185,13 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value public void setEdge(@jakarta.annotation.Nullable final Edge value) { this.backingStore.set("edge", value); } + /** + * Sets the exchange property value. A container for the Exchange admin functionality. Read-only. + * @param value Value to set for the exchange property. + */ + public void setExchange(@jakarta.annotation.Nullable final ExchangeAdmin value) { + this.backingStore.set("exchange", value); + } /** * Sets the microsoft365Apps property value. A container for the Microsoft 365 apps admin functionality. * @param value Value to set for the microsoft365Apps property. diff --git a/src/main/java/com/microsoft/graph/generated/models/AiAgentInfo.java b/src/main/java/com/microsoft/graph/generated/models/AiAgentInfo.java index fd7ac75b0a3..01da9113a3e 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AiAgentInfo.java +++ b/src/main/java/com/microsoft/graph/generated/models/AiAgentInfo.java @@ -25,7 +25,7 @@ public static AiAgentInfo createFromDiscriminatorValue(@jakarta.annotation.Nonnu return new AiAgentInfo(); } /** - * Gets the blueprintId property value. The blueprintId property + * Gets the blueprintId property value. The unique identifier of the parent agent blueprint that defines the identity and configuration of this agent instance. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -52,7 +52,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("blueprintId", this.getBlueprintId()); } /** - * Sets the blueprintId property value. The blueprintId property + * Sets the blueprintId property value. The unique identifier of the parent agent blueprint that defines the identity and configuration of this agent instance. * @param value Value to set for the blueprintId property. */ public void setBlueprintId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AiInteractionEntity.java b/src/main/java/com/microsoft/graph/generated/models/AiInteractionEntity.java index ac96dc976b7..e18a9346749 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AiInteractionEntity.java +++ b/src/main/java/com/microsoft/graph/generated/models/AiInteractionEntity.java @@ -77,7 +77,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the identifier property value. The identifier property + * Gets the identifier property value. The unique identifier of the AI entity. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -85,7 +85,7 @@ public String getIdentifier() { return this.backingStore.get("identifier"); } /** - * Gets the name property value. The name property + * Gets the name property value. The display name of the AI entity. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -101,7 +101,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the version property value. The version property + * Gets the version property value. The version of the AI entity used. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -136,14 +136,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the identifier property value. The identifier property + * Sets the identifier property value. The unique identifier of the AI entity. * @param value Value to set for the identifier property. */ public void setIdentifier(@jakarta.annotation.Nullable final String value) { this.backingStore.set("identifier", value); } /** - * Sets the name property value. The name property + * Sets the name property value. The display name of the AI entity. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { @@ -157,7 +157,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the version property value. The version property + * Sets the version property value. The version of the AI entity used. * @param value Value to set for the version property. */ public void setVersion(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodConfiguration.java index 0171d420c9a..a387937e62a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodConfiguration.java +++ b/src/main/java/com/microsoft/graph/generated/models/AuthenticationMethodConfiguration.java @@ -27,6 +27,7 @@ public static AuthenticationMethodConfiguration createFromDiscriminatorValue(@ja final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { case "#microsoft.graph.emailAuthenticationMethodConfiguration": return new EmailAuthenticationMethodConfiguration(); + case "#microsoft.graph.externalAuthenticationMethodConfiguration": return new ExternalAuthenticationMethodConfiguration(); case "#microsoft.graph.fido2AuthenticationMethodConfiguration": return new Fido2AuthenticationMethodConfiguration(); case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration": return new MicrosoftAuthenticatorAuthenticationMethodConfiguration(); case "#microsoft.graph.smsAuthenticationMethodConfiguration": return new SmsAuthenticationMethodConfiguration(); diff --git a/src/main/java/com/microsoft/graph/generated/models/Entity.java b/src/main/java/com/microsoft/graph/generated/models/Entity.java index 3fb8060c16a..796b6156c3f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Entity.java +++ b/src/main/java/com/microsoft/graph/generated/models/Entity.java @@ -517,11 +517,15 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.eventMessage": return new EventMessage(); case "#microsoft.graph.eventMessageRequest": return new EventMessageRequest(); case "#microsoft.graph.eventMessageResponse": return new EventMessageResponse(); + case "#microsoft.graph.exchangeAdmin": return new ExchangeAdmin(); + case "#microsoft.graph.exchangeMessageTrace": return new ExchangeMessageTrace(); + case "#microsoft.graph.exchangeMessageTraceDetail": return new ExchangeMessageTraceDetail(); case "#microsoft.graph.exchangeProtectionPolicy": return new ExchangeProtectionPolicy(); case "#microsoft.graph.exchangeRestoreSession": return new ExchangeRestoreSession(); case "#microsoft.graph.extension": return new Extension(); case "#microsoft.graph.extensionProperty": return new ExtensionProperty(); case "#microsoft.graph.externalAuthenticationMethod": return new ExternalAuthenticationMethod(); + case "#microsoft.graph.externalAuthenticationMethodConfiguration": return new ExternalAuthenticationMethodConfiguration(); case "#microsoft.graph.externalConnectors.connectionOperation": return new ConnectionOperation(); case "#microsoft.graph.externalConnectors.externalActivity": return new ExternalActivity(); case "#microsoft.graph.externalConnectors.externalActivityResult": return new ExternalActivityResult(); @@ -679,16 +683,12 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.membershipOutlierInsight": return new MembershipOutlierInsight(); case "#microsoft.graph.message": return new Message(); case "#microsoft.graph.messageRule": return new MessageRule(); + case "#microsoft.graph.messageTracingRoot": return new MessageTracingRoot(); case "#microsoft.graph.microsoftAccountUserConversationMember": return new MicrosoftAccountUserConversationMember(); case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod": return new MicrosoftAuthenticatorAuthenticationMethod(); case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration": return new MicrosoftAuthenticatorAuthenticationMethodConfiguration(); case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodTarget": return new MicrosoftAuthenticatorAuthenticationMethodTarget(); case "#microsoft.graph.microsoftStoreForBusinessApp": return new MicrosoftStoreForBusinessApp(); - case "#microsoft.graph.mobileApp": return new MobileApp(); - case "#microsoft.graph.mobileAppAssignment": return new MobileAppAssignment(); - case "#microsoft.graph.mobileAppCategory": return new MobileAppCategory(); - case "#microsoft.graph.mobileAppContent": return new MobileAppContent(); - case "#microsoft.graph.mobileAppContentFile": return new MobileAppContentFile(); } return null; } @@ -700,6 +700,11 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.mobileApp": return new MobileApp(); + case "#microsoft.graph.mobileAppAssignment": return new MobileAppAssignment(); + case "#microsoft.graph.mobileAppCategory": return new MobileAppCategory(); + case "#microsoft.graph.mobileAppContent": return new MobileAppContent(); + case "#microsoft.graph.mobileAppContentFile": return new MobileAppContentFile(); case "#microsoft.graph.mobileAppRelationship": return new MobileAppRelationship(); case "#microsoft.graph.mobileAppTroubleshootingEvent": return new MobileAppTroubleshootingEvent(); case "#microsoft.graph.mobileContainedApp": return new MobileContainedApp(); @@ -1195,11 +1200,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.windows81GeneralConfiguration": return new Windows81GeneralConfiguration(); case "#microsoft.graph.windowsAppX": return new WindowsAppX(); case "#microsoft.graph.windowsAutopilotDeploymentProfile": return new WindowsAutopilotDeploymentProfile(); - case "#microsoft.graph.windowsAutopilotDeploymentProfileAssignment": return new WindowsAutopilotDeploymentProfileAssignment(); - case "#microsoft.graph.windowsAutopilotDeviceIdentity": return new WindowsAutopilotDeviceIdentity(); - case "#microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration": return new WindowsDefenderAdvancedThreatProtectionConfiguration(); - case "#microsoft.graph.windowsDeviceMalwareState": return new WindowsDeviceMalwareState(); - case "#microsoft.graph.windowsHelloForBusinessAuthenticationMethod": return new WindowsHelloForBusinessAuthenticationMethod(); } return null; } @@ -1211,6 +1211,11 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.windowsAutopilotDeploymentProfileAssignment": return new WindowsAutopilotDeploymentProfileAssignment(); + case "#microsoft.graph.windowsAutopilotDeviceIdentity": return new WindowsAutopilotDeviceIdentity(); + case "#microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration": return new WindowsDefenderAdvancedThreatProtectionConfiguration(); + case "#microsoft.graph.windowsDeviceMalwareState": return new WindowsDeviceMalwareState(); + case "#microsoft.graph.windowsHelloForBusinessAuthenticationMethod": return new WindowsHelloForBusinessAuthenticationMethod(); case "#microsoft.graph.windowsInformationProtection": return new WindowsInformationProtection(); case "#microsoft.graph.windowsInformationProtectionAppLearningSummary": return new WindowsInformationProtectionAppLearningSummary(); case "#microsoft.graph.windowsInformationProtectionAppLockerFile": return new WindowsInformationProtectionAppLockerFile(); diff --git a/src/main/java/com/microsoft/graph/generated/models/ExchangeAdmin.java b/src/main/java/com/microsoft/graph/generated/models/ExchangeAdmin.java new file mode 100644 index 00000000000..d12a17f07a0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ExchangeAdmin.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.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 ExchangeAdmin extends Entity implements Parsable { + /** + * Instantiates a new {@link ExchangeAdmin} and sets the default values. + */ + public ExchangeAdmin() { + 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 ExchangeAdmin} + */ + @jakarta.annotation.Nonnull + public static ExchangeAdmin createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ExchangeAdmin(); + } + /** + * 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("tracing", (n) -> { this.setTracing(n.getObjectValue(MessageTracingRoot::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the tracing property value. Represents a container for administrative resources to trace messages. + * @return a {@link MessageTracingRoot} + */ + @jakarta.annotation.Nullable + public MessageTracingRoot getTracing() { + return this.backingStore.get("tracing"); + } + /** + * 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("tracing", this.getTracing()); + } + /** + * Sets the tracing property value. Represents a container for administrative resources to trace messages. + * @param value Value to set for the tracing property. + */ + public void setTracing(@jakarta.annotation.Nullable final MessageTracingRoot value) { + this.backingStore.set("tracing", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTrace.java b/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTrace.java new file mode 100644 index 00000000000..4dda5e0004b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTrace.java @@ -0,0 +1,198 @@ +package com.microsoft.graph.models; + +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 ExchangeMessageTrace extends Entity implements Parsable { + /** + * Instantiates a new {@link ExchangeMessageTrace} and sets the default values. + */ + public ExchangeMessageTrace() { + 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 ExchangeMessageTrace} + */ + @jakarta.annotation.Nonnull + public static ExchangeMessageTrace createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ExchangeMessageTrace(); + } + /** + * 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("fromIP", (n) -> { this.setFromIP(n.getStringValue()); }); + deserializerMap.put("messageId", (n) -> { this.setMessageId(n.getStringValue()); }); + deserializerMap.put("receivedDateTime", (n) -> { this.setReceivedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("recipientAddress", (n) -> { this.setRecipientAddress(n.getStringValue()); }); + deserializerMap.put("senderAddress", (n) -> { this.setSenderAddress(n.getStringValue()); }); + deserializerMap.put("size", (n) -> { this.setSize(n.getIntegerValue()); }); + deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(ExchangeMessageTraceStatus::forValue)); }); + deserializerMap.put("subject", (n) -> { this.setSubject(n.getStringValue()); }); + deserializerMap.put("toIP", (n) -> { this.setToIP(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. Supports $filter (eq). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFromIP() { + return this.backingStore.get("fromIP"); + } + /** + * Gets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. Supports $filter (eq). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMessageId() { + return this.backingStore.get("messageId"); + } + /** + * Gets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. Supports $filter (ge, le). + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getReceivedDateTime() { + return this.backingStore.get("receivedDateTime"); + } + /** + * Gets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. Supports $filter (eq). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRecipientAddress() { + return this.backingStore.get("recipientAddress"); + } + /** + * Gets the senderAddress property value. The SMTP email address of the user the message was purportedly from. Supports $filter (eq). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSenderAddress() { + return this.backingStore.get("senderAddress"); + } + /** + * Gets the size property value. The size of the message in bytes. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getSize() { + return this.backingStore.get("size"); + } + /** + * Gets the status property value. The status property + * @return a {@link ExchangeMessageTraceStatus} + */ + @jakarta.annotation.Nullable + public ExchangeMessageTraceStatus getStatus() { + return this.backingStore.get("status"); + } + /** + * Gets the subject property value. The subject line of the message. Supports $filter (contains, startsWith, endsWith). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSubject() { + return this.backingStore.get("subject"); + } + /** + * Gets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. Supports $filter (eq). + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getToIP() { + return this.backingStore.get("toIP"); + } + /** + * 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("fromIP", this.getFromIP()); + writer.writeStringValue("messageId", this.getMessageId()); + writer.writeOffsetDateTimeValue("receivedDateTime", this.getReceivedDateTime()); + writer.writeStringValue("recipientAddress", this.getRecipientAddress()); + writer.writeStringValue("senderAddress", this.getSenderAddress()); + writer.writeIntegerValue("size", this.getSize()); + writer.writeEnumValue("status", this.getStatus()); + writer.writeStringValue("subject", this.getSubject()); + writer.writeStringValue("toIP", this.getToIP()); + } + /** + * Sets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. Supports $filter (eq). + * @param value Value to set for the fromIP property. + */ + public void setFromIP(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("fromIP", value); + } + /** + * Sets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. Supports $filter (eq). + * @param value Value to set for the messageId property. + */ + public void setMessageId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("messageId", value); + } + /** + * Sets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. Supports $filter (ge, le). + * @param value Value to set for the receivedDateTime property. + */ + public void setReceivedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("receivedDateTime", value); + } + /** + * Sets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. Supports $filter (eq). + * @param value Value to set for the recipientAddress property. + */ + public void setRecipientAddress(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("recipientAddress", value); + } + /** + * Sets the senderAddress property value. The SMTP email address of the user the message was purportedly from. Supports $filter (eq). + * @param value Value to set for the senderAddress property. + */ + public void setSenderAddress(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("senderAddress", value); + } + /** + * Sets the size property value. The size of the message in bytes. + * @param value Value to set for the size property. + */ + public void setSize(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("size", 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 ExchangeMessageTraceStatus value) { + this.backingStore.set("status", value); + } + /** + * Sets the subject property value. The subject line of the message. Supports $filter (contains, startsWith, endsWith). + * @param value Value to set for the subject property. + */ + public void setSubject(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("subject", value); + } + /** + * Sets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. Supports $filter (eq). + * @param value Value to set for the toIP property. + */ + public void setToIP(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("toIP", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceCollectionResponse.java new file mode 100644 index 00000000000..45e41e47e24 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.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 ExchangeMessageTraceCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link ExchangeMessageTraceCollectionResponse} and sets the default values. + */ + public ExchangeMessageTraceCollectionResponse() { + 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 ExchangeMessageTraceCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static ExchangeMessageTraceCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ExchangeMessageTraceCollectionResponse(); + } + /** + * 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(ExchangeMessageTrace::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/generated/models/ExchangeMessageTraceDetail.java b/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceDetail.java new file mode 100644 index 00000000000..9513083ac47 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceDetail.java @@ -0,0 +1,147 @@ +package com.microsoft.graph.models; + +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 ExchangeMessageTraceDetail extends Entity implements Parsable { + /** + * Instantiates a new {@link ExchangeMessageTraceDetail} and sets the default values. + */ + public ExchangeMessageTraceDetail() { + 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 ExchangeMessageTraceDetail} + */ + @jakarta.annotation.Nonnull + public static ExchangeMessageTraceDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ExchangeMessageTraceDetail(); + } + /** + * Gets the action property value. The action taken on the message during the event. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAction() { + return this.backingStore.get("action"); + } + /** + * Gets the data property value. Additional data associated with the event, containing supplementary information specific to the event. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getData() { + return this.backingStore.get("data"); + } + /** + * Gets the dateTime property value. The date and time when the event occurred. The timestamp is in UTC format. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getDateTime() { + return this.backingStore.get("dateTime"); + } + /** + * Gets the description property value. A detailed description that provides context about what happened during message processing. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * Gets the event property value. The event that occurred during message processing. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEvent() { + return this.backingStore.get("event"); + } + /** + * 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("action", (n) -> { this.setAction(n.getStringValue()); }); + deserializerMap.put("data", (n) -> { this.setData(n.getStringValue()); }); + deserializerMap.put("dateTime", (n) -> { this.setDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("event", (n) -> { this.setEvent(n.getStringValue()); }); + deserializerMap.put("messageId", (n) -> { this.setMessageId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the messageId property value. The Message-ID header field of the message. The format depends on the messaging server that sent the message. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMessageId() { + return this.backingStore.get("messageId"); + } + /** + * 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("action", this.getAction()); + writer.writeStringValue("data", this.getData()); + writer.writeOffsetDateTimeValue("dateTime", this.getDateTime()); + writer.writeStringValue("description", this.getDescription()); + writer.writeStringValue("event", this.getEvent()); + writer.writeStringValue("messageId", this.getMessageId()); + } + /** + * Sets the action property value. The action taken on the message during the event. + * @param value Value to set for the action property. + */ + public void setAction(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("action", value); + } + /** + * Sets the data property value. Additional data associated with the event, containing supplementary information specific to the event. + * @param value Value to set for the data property. + */ + public void setData(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("data", value); + } + /** + * Sets the dateTime property value. The date and time when the event occurred. The timestamp is in UTC format. + * @param value Value to set for the dateTime property. + */ + public void setDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("dateTime", value); + } + /** + * Sets the description property value. A detailed description that provides context about what happened during message processing. + * @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 event property value. The event that occurred during message processing. + * @param value Value to set for the event property. + */ + public void setEvent(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("event", value); + } + /** + * Sets the messageId property value. The Message-ID header field of the message. The format depends on the messaging server that sent the message. + * @param value Value to set for the messageId property. + */ + public void setMessageId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("messageId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceStatus.java b/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceStatus.java new file mode 100644 index 00000000000..a060a795572 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ExchangeMessageTraceStatus.java @@ -0,0 +1,37 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ExchangeMessageTraceStatus implements ValuedEnum { + GettingStatus("gettingStatus"), + Pending("pending"), + Failed("failed"), + Delivered("delivered"), + Expanded("expanded"), + Quarantined("quarantined"), + FilteredAsSpam("filteredAsSpam"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ExchangeMessageTraceStatus(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ExchangeMessageTraceStatus forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "gettingStatus": return GettingStatus; + case "pending": return Pending; + case "failed": return Failed; + case "delivered": return Delivered; + case "expanded": return Expanded; + case "quarantined": return Quarantined; + case "filteredAsSpam": return FilteredAsSpam; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethodConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethodConfiguration.java new file mode 100644 index 00000000000..ba5078de57f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ExternalAuthenticationMethodConfiguration.java @@ -0,0 +1,113 @@ +package com.microsoft.graph.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 ExternalAuthenticationMethodConfiguration extends AuthenticationMethodConfiguration implements Parsable { + /** + * Instantiates a new {@link ExternalAuthenticationMethodConfiguration} and sets the default values. + */ + public ExternalAuthenticationMethodConfiguration() { + super(); + this.setOdataType("#microsoft.graph.externalAuthenticationMethodConfiguration"); + } + /** + * 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 ExternalAuthenticationMethodConfiguration} + */ + @jakarta.annotation.Nonnull + public static ExternalAuthenticationMethodConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ExternalAuthenticationMethodConfiguration(); + } + /** + * Gets the appId property value. appId for the app registration in Microsoft Entra ID representing the integration with the external provider. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppId() { + return this.backingStore.get("appId"); + } + /** + * Gets the displayName property value. Display name for the external authentication method. This name is shown to users during sign-in. + * @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("appId", (n) -> { this.setAppId(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("includeTargets", (n) -> { this.setIncludeTargets(n.getCollectionOfObjectValues(AuthenticationMethodTarget::createFromDiscriminatorValue)); }); + deserializerMap.put("openIdConnectSetting", (n) -> { this.setOpenIdConnectSetting(n.getObjectValue(OpenIdConnectSetting::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the includeTargets property value. A collection of groups that are enabled to use an authentication method as part of an authentication method policy in Microsoft Entra ID. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getIncludeTargets() { + return this.backingStore.get("includeTargets"); + } + /** + * Gets the openIdConnectSetting property value. The openIdConnectSetting property + * @return a {@link OpenIdConnectSetting} + */ + @jakarta.annotation.Nullable + public OpenIdConnectSetting getOpenIdConnectSetting() { + return this.backingStore.get("openIdConnectSetting"); + } + /** + * 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("appId", this.getAppId()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeCollectionOfObjectValues("includeTargets", this.getIncludeTargets()); + writer.writeObjectValue("openIdConnectSetting", this.getOpenIdConnectSetting()); + } + /** + * Sets the appId property value. appId for the app registration in Microsoft Entra ID representing the integration with the external provider. + * @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 displayName property value. Display name for the external authentication method. This name is shown to users during sign-in. + * @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 includeTargets property value. A collection of groups that are enabled to use an authentication method as part of an authentication method policy in Microsoft Entra ID. + * @param value Value to set for the includeTargets property. + */ + public void setIncludeTargets(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("includeTargets", value); + } + /** + * Sets the openIdConnectSetting property value. The openIdConnectSetting property + * @param value Value to set for the openIdConnectSetting property. + */ + public void setOpenIdConnectSetting(@jakarta.annotation.Nullable final OpenIdConnectSetting value) { + this.backingStore.set("openIdConnectSetting", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/Group.java b/src/main/java/com/microsoft/graph/generated/models/Group.java index 8b26edb859a..4ed0ea6226a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Group.java +++ b/src/main/java/com/microsoft/graph/generated/models/Group.java @@ -244,6 +244,8 @@ public Map> getFieldDeserializers deserializerMap.put("proxyAddresses", (n) -> { this.setProxyAddresses(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("rejectedSenders", (n) -> { this.setRejectedSenders(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); deserializerMap.put("renewedDateTime", (n) -> { this.setRenewedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("resourceBehaviorOptions", (n) -> { this.setResourceBehaviorOptions(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("resourceProvisioningOptions", (n) -> { this.setResourceProvisioningOptions(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("securityEnabled", (n) -> { this.setSecurityEnabled(n.getBooleanValue()); }); deserializerMap.put("securityIdentifier", (n) -> { this.setSecurityIdentifier(n.getStringValue()); }); deserializerMap.put("serviceProvisioningErrors", (n) -> { this.setServiceProvisioningErrors(n.getCollectionOfObjectValues(ServiceProvisioningError::createFromDiscriminatorValue)); }); @@ -555,6 +557,22 @@ public java.util.List getRejectedSenders() { public OffsetDateTime getRenewedDateTime() { return this.backingStore.get("renewedDateTime"); } + /** + * Gets the resourceBehaviorOptions property value. Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This property can be set only as part of creation (POST). For the list of possible values, see Microsoft 365 group behaviors and provisioning options. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getResourceBehaviorOptions() { + return this.backingStore.get("resourceBehaviorOptions"); + } + /** + * Gets the resourceProvisioningOptions property value. Specifies the group resources that are associated with the Microsoft 365 group. The possible value is Team. For more information, see Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith). + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getResourceProvisioningOptions() { + return this.backingStore.get("resourceProvisioningOptions"); + } /** * Gets the securityEnabled property value. Specifies whether the group is a security group. Required. Returned by default. Supports $filter (eq, ne, not, in). * @return a {@link Boolean} @@ -722,6 +740,8 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfPrimitiveValues("proxyAddresses", this.getProxyAddresses()); writer.writeCollectionOfObjectValues("rejectedSenders", this.getRejectedSenders()); writer.writeOffsetDateTimeValue("renewedDateTime", this.getRenewedDateTime()); + writer.writeCollectionOfPrimitiveValues("resourceBehaviorOptions", this.getResourceBehaviorOptions()); + writer.writeCollectionOfPrimitiveValues("resourceProvisioningOptions", this.getResourceProvisioningOptions()); writer.writeBooleanValue("securityEnabled", this.getSecurityEnabled()); writer.writeStringValue("securityIdentifier", this.getSecurityIdentifier()); writer.writeCollectionOfObjectValues("serviceProvisioningErrors", this.getServiceProvisioningErrors()); @@ -1128,6 +1148,20 @@ public void setRejectedSenders(@jakarta.annotation.Nullable final java.util.List public void setRenewedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("renewedDateTime", value); } + /** + * Sets the resourceBehaviorOptions property value. Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This property can be set only as part of creation (POST). For the list of possible values, see Microsoft 365 group behaviors and provisioning options. + * @param value Value to set for the resourceBehaviorOptions property. + */ + public void setResourceBehaviorOptions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("resourceBehaviorOptions", value); + } + /** + * Sets the resourceProvisioningOptions property value. Specifies the group resources that are associated with the Microsoft 365 group. The possible value is Team. For more information, see Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith). + * @param value Value to set for the resourceProvisioningOptions property. + */ + public void setResourceProvisioningOptions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("resourceProvisioningOptions", value); + } /** * Sets the securityEnabled property value. Specifies whether the group is a security group. Required. Returned by default. Supports $filter (eq, ne, not, in). * @param value Value to set for the securityEnabled property. diff --git a/src/main/java/com/microsoft/graph/generated/models/MessageTracingRoot.java b/src/main/java/com/microsoft/graph/generated/models/MessageTracingRoot.java new file mode 100644 index 00000000000..4e3f4d9af3f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/MessageTracingRoot.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.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 MessageTracingRoot extends Entity implements Parsable { + /** + * Instantiates a new {@link MessageTracingRoot} and sets the default values. + */ + public MessageTracingRoot() { + 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 MessageTracingRoot} + */ + @jakarta.annotation.Nonnull + public static MessageTracingRoot createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new MessageTracingRoot(); + } + /** + * 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("messageTraces", (n) -> { this.setMessageTraces(n.getCollectionOfObjectValues(ExchangeMessageTrace::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the messageTraces property value. Represents the trace information of messages that pass through Exchange Online organizations. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMessageTraces() { + return this.backingStore.get("messageTraces"); + } + /** + * 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("messageTraces", this.getMessageTraces()); + } + /** + * Sets the messageTraces property value. Represents the trace information of messages that pass through Exchange Online organizations. + * @param value Value to set for the messageTraces property. + */ + public void setMessageTraces(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("messageTraces", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OpenIdConnectSetting.java b/src/main/java/com/microsoft/graph/generated/models/OpenIdConnectSetting.java new file mode 100644 index 00000000000..f3bea699e49 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OpenIdConnectSetting.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.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 OpenIdConnectSetting implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link OpenIdConnectSetting} and sets the default values. + */ + public OpenIdConnectSetting() { + 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 OpenIdConnectSetting} + */ + @jakarta.annotation.Nonnull + public static OpenIdConnectSetting createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OpenIdConnectSetting(); + } + /** + * 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 clientId property value. The Microsoft Entra ID's client ID as generated by the provider or admin to identify Microsoft Entra ID. In OIDC parlance, this is the client_id that external identity provider assigns to Microsoft Entra ID, which is also a recipient of a token from the external identity provider. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getClientId() { + return this.backingStore.get("clientId"); + } + /** + * Gets the discoveryUrl property value. The host URL of the external identity provider's OIDC discovery endpoint. This endpoint must support the OIDC discovery process. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDiscoveryUrl() { + return this.backingStore.get("discoveryUrl"); + } + /** + * 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("clientId", (n) -> { this.setClientId(n.getStringValue()); }); + deserializerMap.put("discoveryUrl", (n) -> { this.setDiscoveryUrl(n.getStringValue()); }); + 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("clientId", this.getClientId()); + writer.writeStringValue("discoveryUrl", this.getDiscoveryUrl()); + 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 clientId property value. The Microsoft Entra ID's client ID as generated by the provider or admin to identify Microsoft Entra ID. In OIDC parlance, this is the client_id that external identity provider assigns to Microsoft Entra ID, which is also a recipient of a token from the external identity provider. + * @param value Value to set for the clientId property. + */ + public void setClientId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("clientId", value); + } + /** + * Sets the discoveryUrl property value. The host URL of the external identity provider's OIDC discovery endpoint. This endpoint must support the OIDC discovery process. + * @param value Value to set for the discoveryUrl property. + */ + public void setDiscoveryUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("discoveryUrl", 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/generated/models/ProcessConversationMetadata.java b/src/main/java/com/microsoft/graph/generated/models/ProcessConversationMetadata.java index 8d1eac539b8..6858bee2deb 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ProcessConversationMetadata.java +++ b/src/main/java/com/microsoft/graph/generated/models/ProcessConversationMetadata.java @@ -26,7 +26,7 @@ public static ProcessConversationMetadata createFromDiscriminatorValue(@jakarta. return new ProcessConversationMetadata(); } /** - * Gets the accessedResources property value. List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). + * Gets the accessedResources property value. List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). The accessedResources property is deprecated and stopped returning data on August 20, 2025. Going forward, use the accessedResources_v2 property. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public java.util.List getAccessedResources() { return this.backingStore.get("accessedResources"); } /** - * Gets the accessedResources_v2 property value. The accessedResources_v2 property + * Gets the accessedResources_v2 property value. Lists details about the resources accessed by AI agents, such as identifiers, access type, and status. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -42,7 +42,7 @@ public java.util.List getAccessedResourcesV2() { return this.backingStore.get("accessedResourcesV2"); } /** - * Gets the agents property value. The agents property + * Gets the agents property value. Indicates the information about an AI agent that participated in the preparation of the message. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -93,21 +93,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("plugins", this.getPlugins()); } /** - * Sets the accessedResources property value. List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). + * Sets the accessedResources property value. List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). The accessedResources property is deprecated and stopped returning data on August 20, 2025. Going forward, use the accessedResources_v2 property. * @param value Value to set for the accessedResources property. */ public void setAccessedResources(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("accessedResources", value); } /** - * Sets the accessedResources_v2 property value. The accessedResources_v2 property + * Sets the accessedResources_v2 property value. Lists details about the resources accessed by AI agents, such as identifiers, access type, and status. * @param value Value to set for the accessedResources_v2 property. */ public void setAccessedResourcesV2(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("accessedResourcesV2", value); } /** - * Sets the agents property value. The agents property + * Sets the agents property value. Indicates the information about an AI agent that participated in the preparation of the message. * @param value Value to set for the agents property. */ public void setAgents(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ResourceAccessDetail.java b/src/main/java/com/microsoft/graph/generated/models/ResourceAccessDetail.java index dc20daf96e9..e2298e6001c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ResourceAccessDetail.java +++ b/src/main/java/com/microsoft/graph/generated/models/ResourceAccessDetail.java @@ -83,7 +83,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the identifier property value. The identifier property + * Gets the identifier property value. Unique identifier of the resource accessed. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -91,7 +91,7 @@ public String getIdentifier() { return this.backingStore.get("identifier"); } /** - * Gets the isCrossPromptInjectionDetected property value. The isCrossPromptInjectionDetected property + * Gets the isCrossPromptInjectionDetected property value. Indicates whether cross-prompt injection was detected during the access attempt. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -99,7 +99,7 @@ public Boolean getIsCrossPromptInjectionDetected() { return this.backingStore.get("isCrossPromptInjectionDetected"); } /** - * Gets the labelId property value. The labelId property + * Gets the labelId property value. Identifier for the sensitivity label applied to the resource, if any. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -107,7 +107,7 @@ public String getLabelId() { return this.backingStore.get("labelId"); } /** - * Gets the name property value. The name property + * Gets the name property value. Name of the resource accessed. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -131,7 +131,7 @@ public ResourceAccessStatus getStatus() { return this.backingStore.get("status"); } /** - * Gets the storageId property value. The storageId property + * Gets the storageId property value. Identifier for the resource in its native storage format. For SharePoint resources, this is the unique identifier of the list item. For other resources, this is the name of the location, such as Box, Dropbox, Exchange, or Google Drive. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -139,7 +139,7 @@ public String getStorageId() { return this.backingStore.get("storageId"); } /** - * Gets the url property value. The url property + * Gets the url property value. URL of the resource accessed. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -186,28 +186,28 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the identifier property value. The identifier property + * Sets the identifier property value. Unique identifier of the resource accessed. * @param value Value to set for the identifier property. */ public void setIdentifier(@jakarta.annotation.Nullable final String value) { this.backingStore.set("identifier", value); } /** - * Sets the isCrossPromptInjectionDetected property value. The isCrossPromptInjectionDetected property + * Sets the isCrossPromptInjectionDetected property value. Indicates whether cross-prompt injection was detected during the access attempt. * @param value Value to set for the isCrossPromptInjectionDetected property. */ public void setIsCrossPromptInjectionDetected(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isCrossPromptInjectionDetected", value); } /** - * Sets the labelId property value. The labelId property + * Sets the labelId property value. Identifier for the sensitivity label applied to the resource, if any. * @param value Value to set for the labelId property. */ public void setLabelId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("labelId", value); } /** - * Sets the name property value. The name property + * Sets the name property value. Name of the resource accessed. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { @@ -228,14 +228,14 @@ public void setStatus(@jakarta.annotation.Nullable final ResourceAccessStatus va this.backingStore.set("status", value); } /** - * Sets the storageId property value. The storageId property + * Sets the storageId property value. Identifier for the resource in its native storage format. For SharePoint resources, this is the unique identifier of the list item. For other resources, this is the name of the location, such as Box, Dropbox, Exchange, or Google Drive. * @param value Value to set for the storageId property. */ public void setStorageId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("storageId", value); } /** - * Sets the url property value. The url property + * Sets the url property value. URL of the resource accessed. * @param value Value to set for the url property. */ public void setUrl(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowBase.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowBase.java index 69a5619b1c5..5ccb2a6d16a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowBase.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/WorkflowBase.java @@ -1,5 +1,6 @@ package com.microsoft.graph.models.identitygovernance; +import com.microsoft.graph.models.DirectoryObject; import com.microsoft.graph.models.User; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -57,6 +58,14 @@ public Map getAdditionalData() { } return value; } + /** + * Gets the administrationScopeTargets property value. The administrationScopeTargets property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAdministrationScopeTargets() { + return this.backingStore.get("administrationScopeTargets"); + } /** * Gets the backingStore property value. Stores model information. * @return a {@link BackingStore} @@ -119,7 +128,8 @@ public WorkflowExecutionConditions getExecutionConditions() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(12); + final HashMap> deserializerMap = new HashMap>(13); + deserializerMap.put("administrationScopeTargets", (n) -> { this.setAdministrationScopeTargets(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); deserializerMap.put("category", (n) -> { this.setCategory(n.getEnumValue(LifecycleWorkflowCategory::forValue)); }); deserializerMap.put("createdBy", (n) -> { this.setCreatedBy(n.getObjectValue(User::createFromDiscriminatorValue)); }); deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); @@ -188,6 +198,7 @@ public java.util.List getTasks() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("administrationScopeTargets", this.getAdministrationScopeTargets()); writer.writeEnumValue("category", this.getCategory()); writer.writeObjectValue("createdBy", this.getCreatedBy()); writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); @@ -209,6 +220,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { this.backingStore.set("additionalData", value); } + /** + * Sets the administrationScopeTargets property value. The administrationScopeTargets property + * @param value Value to set for the administrationScopeTargets property. + */ + public void setAdministrationScopeTargets(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("administrationScopeTargets", value); + } /** * Sets the backingStore property value. Stores model information. * @param value Value to set for the backingStore property.