diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java index ce70dbe34a8..117dc05b6bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.admin.people.iteminsights.ItemInsightsRequestBuilder; import com.microsoft.graph.beta.admin.people.namepronunciation.NamePronunciationRequestBuilder; +import com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder; import com.microsoft.graph.beta.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder; import com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder; import com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder; @@ -43,6 +44,14 @@ public ItemInsightsRequestBuilder itemInsights() { public NamePronunciationRequestBuilder namePronunciation() { return new NamePronunciationRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the photoUpdateSettings property of the microsoft.graph.peopleAdminSettings entity. + * @return a {@link PhotoUpdateSettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public PhotoUpdateSettingsRequestBuilder photoUpdateSettings() { + return new PhotoUpdateSettingsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity. * @return a {@link ProfileCardPropertiesRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/photoupdatesettings/PhotoUpdateSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/photoupdatesettings/PhotoUpdateSettingsRequestBuilder.java new file mode 100644 index 00000000000..d7abde92ac7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/photoupdatesettings/PhotoUpdateSettingsRequestBuilder.java @@ -0,0 +1,234 @@ +package com.microsoft.graph.beta.admin.people.photoupdatesettings; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.PhotoUpdateSettings; +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 photoUpdateSettings property of the microsoft.graph.peopleAdminSettings entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class PhotoUpdateSettingsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link PhotoUpdateSettingsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public PhotoUpdateSettingsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/photoUpdateSettings{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link PhotoUpdateSettingsRequestBuilder} 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 PhotoUpdateSettingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/admin/people/photoUpdateSettings{?%24expand,%24select}", rawUrl); + } + /** + * Delete a photoUpdateSettings object. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a photoUpdateSettings object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties and relationships of a photoUpdateSettings object. + * @return a {@link PhotoUpdateSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public PhotoUpdateSettings get() { + return get(null); + } + /** + * Read the properties and relationships of a photoUpdateSettings object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link PhotoUpdateSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public PhotoUpdateSettings 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, PhotoUpdateSettings::createFromDiscriminatorValue); + } + /** + * Update the properties of a photoUpdateSettings object. + * @param body The request body + * @return a {@link PhotoUpdateSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public PhotoUpdateSettings patch(@jakarta.annotation.Nonnull final PhotoUpdateSettings body) { + return patch(body, null); + } + /** + * Update the properties of a photoUpdateSettings object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link PhotoUpdateSettings} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public PhotoUpdateSettings patch(@jakarta.annotation.Nonnull final PhotoUpdateSettings 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, PhotoUpdateSettings::createFromDiscriminatorValue); + } + /** + * Delete a photoUpdateSettings object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a photoUpdateSettings object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties and relationships of a photoUpdateSettings object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of a photoUpdateSettings object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the properties of a photoUpdateSettings object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PhotoUpdateSettings body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of a photoUpdateSettings object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PhotoUpdateSettings 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 PhotoUpdateSettingsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public PhotoUpdateSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new PhotoUpdateSettingsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties and relationships of a photoUpdateSettings object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java index a3419ed19e1..0159ff148ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java @@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of an operationalInsightsConnection object. + * Read the properties and relationships of a resourceConnection object. * @return a {@link ResourceConnection} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ResourceConnection get() { return get(null); } /** - * Read the properties and relationships of an operationalInsightsConnection object. + * Read the properties and relationships of a resourceConnection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ResourceConnection} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ResourceConnection get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of an operationalInsightsConnection object. + * Read the properties and relationships of a resourceConnection object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -134,7 +134,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of an operationalInsightsConnection object. + * Read the properties and relationships of a resourceConnection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -186,7 +186,7 @@ public ResourceConnectionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of an operationalInsightsConnection object. + * Read the properties and relationships of a resourceConnection object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java index e1508b91171..fc1464b8a93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java @@ -73,18 +73,18 @@ public UpdatableAssetItemRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -142,7 +142,7 @@ public UpdatableAsset patch(@jakarta.annotation.Nonnull final UpdatableAsset bod return this.requestAdapter.send(requestInfo, errorMapping, UpdatableAsset::createFromDiscriminatorValue); } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -150,7 +150,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java index 966ec8ffabe..d9064253cfa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java @@ -46,18 +46,18 @@ public ComplianceChangeItemRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges/{complianceChange%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a contentApproval object. + * Delete a complianceChange object. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete a contentApproval object. + * Delete a complianceChange object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of a contentApproval object. + * Read the properties and relationships of a complianceChange object. * @return a {@link ComplianceChange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ComplianceChange get() { return get(null); } /** - * Read the properties and relationships of a contentApproval object. + * Read the properties and relationships of a complianceChange object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ComplianceChange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ComplianceChange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -117,7 +117,7 @@ public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue); } /** - * Delete a contentApproval object. + * Delete a complianceChange object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a contentApproval object. + * Delete a complianceChange object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -137,7 +137,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of a contentApproval object. + * Read the properties and relationships of a complianceChange object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a contentApproval object. + * Read the properties and relationships of a complianceChange object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -197,7 +197,7 @@ public ComplianceChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a contentApproval object. + * Read the properties and relationships of a complianceChange object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java index 8d7efdf93c5..5790c90106f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java @@ -111,23 +111,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -158,7 +158,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. * @param body The request body * @return a {@link RequestInformation} */ @@ -167,7 +167,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java index 1839e20b236..dd7a7e224f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java @@ -60,7 +60,7 @@ public AssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl super(requestAdapter, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. * @return a {@link IosLobAppProvisioningConfigurationAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public IosLobAppProvisioningConfigurationAssignmentCollectionResponse get() { return get(null); } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IosLobAppProvisioningConfigurationAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public IosLobAppProvisioningConfigurationAssignment post(@jakarta.annotation.Non return this.requestAdapter.send(requestInfo, errorMapping, IosLobAppProvisioningConfigurationAssignment::createFromDiscriminatorValue); } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public AssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin return new AssignmentsRequestBuilder(rawUrl, requestAdapter); } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java index 1b7ff14e809..8c1b1d177df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. * @return a {@link IosLobAppProvisioningConfigurationAssignment} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public IosLobAppProvisioningConfigurationAssignment get() { return get(null); } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IosLobAppProvisioningConfigurationAssignment} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder withUrl(@j public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * The associated group assignments for IosLobAppProvisioningConfiguration. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java index cbc87d619ba..4987ffe8821 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java @@ -79,23 +79,23 @@ public ItemRetentionLabel get(@jakarta.annotation.Nullable final java.util.funct return this.requestAdapter.send(requestInfo, errorMapping, ItemRetentionLabel::createFromDiscriminatorValue); } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param body The request body * @return a {@link ItemRetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body) { return patch(body, null); } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ItemRetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -146,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param body The request body * @return a {@link RequestInformation} */ @@ -155,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java index f37460db4a4..105b99bfd73 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.beta.drives.item.items.item.subscriptions; import com.microsoft.graph.beta.drives.item.items.item.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.beta.drives.item.items.item.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.Subscription; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..e280b913fd8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..b72233c277e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java index 313097eb87d..b6bb94905bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.beta.drives.item.list.subscriptions; import com.microsoft.graph.beta.drives.item.list.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.beta.drives.item.list.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.Subscription; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..dff1c65d637 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..ba41c0c9357 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java index 60f21aabe57..4ddbb1e9ffb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java @@ -99,23 +99,23 @@ public ExternalItem get(@jakarta.annotation.Nullable final java.util.function.Co return this.requestAdapter.send(requestInfo, errorMapping, ExternalItem::createFromDiscriminatorValue); } /** - * Update the properties of an externalitem. + * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. * @param body The request body * @return a {@link ExternalItem} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ExternalItem put(@jakarta.annotation.Nonnull final ExternalItem body) { return put(body, null); } /** - * Update the properties of an externalitem. + * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalItem} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ExternalItem put(@jakarta.annotation.Nonnull final ExternalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -166,7 +166,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of an externalitem. + * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. * @param body The request body * @return a {@link RequestInformation} */ @@ -175,7 +175,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi return toPutRequestInformation(body, null); } /** - * Update the properties of an externalitem. + * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java index 0aee76cfb16..05701d147cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java @@ -61,23 +61,23 @@ public Schema get(@jakarta.annotation.Nullable final java.util.function.Consumer return this.requestAdapter.send(requestInfo, errorMapping, Schema::createFromDiscriminatorValue); } /** - * Create a new or update an existing schema for a Microsoft Search connection. + * Update the properties of a schema for an externalConnection. * @param body The request body * @return a {@link Schema} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Schema patch(@jakarta.annotation.Nonnull final Schema body) { return patch(body, null); } /** - * Create a new or update an existing schema for a Microsoft Search connection. + * Update the properties of a schema for an externalConnection. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Schema} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Schema patch(@jakarta.annotation.Nonnull final Schema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -108,7 +108,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new or update an existing schema for a Microsoft Search connection. + * Update the properties of a schema for an externalConnection. * @param body The request body * @return a {@link RequestInformation} */ @@ -117,7 +117,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new or update an existing schema for a Microsoft Search connection. + * Update the properties of a schema for an externalConnection. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java index ee0c87ba44e..968f017efcc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java @@ -84,23 +84,23 @@ public IndustryDataConnectorCollectionResponse get(@jakarta.annotation.Nullable return this.requestAdapter.send(requestInfo, errorMapping, IndustryDataConnectorCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param body The request body * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector post(@jakarta.annotation.Nonnull final IndustryDataConnector body) { return post(body, null); } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector post(@jakarta.annotation.Nonnull final IndustryDataConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java index 606a423bdd1..941b9b38778 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java @@ -55,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public LongRunningOperation get() { return get(null); } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public LongRunningOperation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -124,7 +124,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -184,7 +184,7 @@ public LongRunningOperationItemRequestBuilder withUrl(@jakarta.annotation.Nonnul public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java index f79110d4316..153134885b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. * @return a {@link Conversation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Conversation get() { return get(null); } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Conversation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Conversation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -110,7 +110,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public ConversationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/SiteItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/SiteItemRequestBuilder.java index 732aa3324de..9f114f3ef5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/SiteItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/SiteItemRequestBuilder.java @@ -9,6 +9,7 @@ import com.microsoft.graph.beta.groups.item.sites.item.documentprocessingjobs.DocumentProcessingJobsRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.drive.DriveRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.drives.DrivesRequestBuilder; +import com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.externalcolumns.ExternalColumnsRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.getactivitiesbyintervalwithstartdatetimewithenddatetimewithinterval.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.getapplicablecontenttypesforlistwithlistid.GetApplicableContentTypesForListWithListIdRequestBuilder; @@ -118,6 +119,14 @@ public DriveRequestBuilder drive() { public DrivesRequestBuilder drives() { return new DrivesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + * @return a {@link ExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionsRequestBuilder extensions() { + return new ExtensionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the externalColumns property of the microsoft.graph.site entity. * @return a {@link ExternalColumnsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/ExtensionsRequestBuilder.java new file mode 100644 index 00000000000..addfba9dbc0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/ExtensionsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.groups.item.sites.item.extensions; + +import com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder; +import com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder; +import com.microsoft.graph.beta.models.Extension; +import com.microsoft.graph.beta.models.ExtensionCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExtensionsRequestBuilder 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 extensions property of the microsoft.graph.site entity. + * @param extensionId The unique identifier of extension + * @return a {@link ExtensionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionItemRequestBuilder byExtensionId(@jakarta.annotation.Nonnull final String extensionId) { + Objects.requireNonNull(extensionId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("extension%2Did", extensionId); + return new ExtensionItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ExtensionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExtensionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ExtensionsRequestBuilder} 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 ExtensionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link ExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExtensionCollectionResponse get() { + return get(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExtensionCollectionResponse 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, ExtensionCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to extensions for groups + * @param body The request body + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension post(@jakarta.annotation.Nonnull final Extension body) { + return post(body, null); + } + /** + * Create new navigation property to extensions for groups + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension post(@jakarta.annotation.Nonnull final Extension 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, Extension::createFromDiscriminatorValue); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @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 extensions for groups + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Extension body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to extensions for groups + * @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 Extension 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 ExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExtensionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The collection of open extensions defined for this site. Nullable. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/count/CountRequestBuilder.java new file mode 100644 index 00000000000..1d38e7e67b4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.groups.item.sites.item.extensions.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/extensions/$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}/groups/{group%2Did}/sites/{site%2Did}/extensions/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/item/ExtensionItemRequestBuilder.java new file mode 100644 index 00000000000..356efc8e3ad --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/extensions/item/ExtensionItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.groups.item.sites.item.extensions.item; + +import com.microsoft.graph.beta.models.Extension; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExtensionItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ExtensionItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExtensionItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ExtensionItemRequestBuilder} 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 ExtensionItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property extensions for groups + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property extensions for groups + * @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); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension get() { + return get(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension 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, Extension::createFromDiscriminatorValue); + } + /** + * Update the navigation property extensions in groups + * @param body The request body + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension patch(@jakarta.annotation.Nonnull final Extension body) { + return patch(body, null); + } + /** + * Update the navigation property extensions in groups + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension patch(@jakarta.annotation.Nonnull final Extension 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, Extension::createFromDiscriminatorValue); + } + /** + * Delete navigation property extensions for groups + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property extensions for groups + * @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; + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @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 extensions in groups + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Extension body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property extensions in groups + * @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 Extension 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 ExtensionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExtensionItemRequestBuilder(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 { + } + /** + * The collection of open extensions defined for this site. Nullable. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/GetByPathWithPathRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/GetByPathWithPathRequestBuilder.java index 07f75fe1b45..fc3c496ce99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/GetByPathWithPathRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/GetByPathWithPathRequestBuilder.java @@ -9,6 +9,7 @@ import com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.documentprocessingjobs.DocumentProcessingJobsRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.drive.DriveRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.drives.DrivesRequestBuilder; +import com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.externalcolumns.ExternalColumnsRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.getactivitiesbyintervalwithstartdatetimewithenddatetimewithinterval.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.getapplicablecontenttypesforlistwithlistid.GetApplicableContentTypesForListWithListIdRequestBuilder; @@ -116,6 +117,14 @@ public DriveRequestBuilder drive() { public DrivesRequestBuilder drives() { return new DrivesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + * @return a {@link ExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionsRequestBuilder extensions() { + return new ExtensionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the externalColumns property of the microsoft.graph.site entity. * @return a {@link ExternalColumnsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/extensions/ExtensionsRequestBuilder.java new file mode 100644 index 00000000000..f9390521db4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/extensions/ExtensionsRequestBuilder.java @@ -0,0 +1,221 @@ +package com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions; + +import com.microsoft.graph.beta.models.Extension; +import com.microsoft.graph.beta.models.ExtensionCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExtensionsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ExtensionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExtensionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ExtensionsRequestBuilder} 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 ExtensionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link ExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExtensionCollectionResponse get() { + return get(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExtensionCollectionResponse 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, ExtensionCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to extensions for groups + * @param body The request body + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension post(@jakarta.annotation.Nonnull final Extension body) { + return post(body, null); + } + /** + * Create new navigation property to extensions for groups + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension post(@jakarta.annotation.Nonnull final Extension 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, Extension::createFromDiscriminatorValue); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @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 extensions for groups + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Extension body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to extensions for groups + * @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 Extension 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 ExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExtensionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The collection of open extensions defined for this site. Nullable. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java index 60c0e8a4a69..ea4db6004c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions; import com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.Subscription; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..47dcce9f1d1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..184136a910d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/TeamRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/TeamRequestBuilder.java index 828ffb89f64..1782aa1d736 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/TeamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/TeamRequestBuilder.java @@ -268,7 +268,7 @@ public OwnersWithUserPrincipalNameRequestBuilder ownersWithUserPrincipalName(@ja return new OwnersWithUserPrincipalNameRequestBuilder(pathParameters, requestAdapter, userPrincipalName); } /** - * Create a new team from a group. In order to create a team, the group must have a least one owner. If the creation of the team call is delayed, you can retry the call up to three times before you have to wait for 15 minutes due to a propagation delay. If the group was created less than 15 minutes ago, the call might fail with a 404 error code due to replication delays. If the group was created less than 15 minutes ago, it's possible for a call to create a team to fail with a 404 error code, due to ongoing replication delays.The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. + * Create a new team from a group. In order to create a team, the group must have at least one owner. If the group was created less than 15 minutes ago, calls to create a team might fail with a 404 Not Found error because the group information didn't fully replicate. * @param body The request body * @return a {@link Team} * @throws ODataError When receiving a 4XX or 5XX status code @@ -279,7 +279,7 @@ public Team put(@jakarta.annotation.Nonnull final Team body) { return put(body, null); } /** - * Create a new team from a group. In order to create a team, the group must have a least one owner. If the creation of the team call is delayed, you can retry the call up to three times before you have to wait for 15 minutes due to a propagation delay. If the group was created less than 15 minutes ago, the call might fail with a 404 error code due to replication delays. If the group was created less than 15 minutes ago, it's possible for a call to create a team to fail with a 404 error code, due to ongoing replication delays.The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. + * Create a new team from a group. In order to create a team, the group must have at least one owner. If the group was created less than 15 minutes ago, calls to create a team might fail with a 404 Not Found error because the group information didn't fully replicate. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Team} @@ -335,7 +335,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new team from a group. In order to create a team, the group must have a least one owner. If the creation of the team call is delayed, you can retry the call up to three times before you have to wait for 15 minutes due to a propagation delay. If the group was created less than 15 minutes ago, the call might fail with a 404 error code due to replication delays. If the group was created less than 15 minutes ago, it's possible for a call to create a team to fail with a 404 error code, due to ongoing replication delays.The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. + * Create a new team from a group. In order to create a team, the group must have at least one owner. If the group was created less than 15 minutes ago, calls to create a team might fail with a 404 Not Found error because the group information didn't fully replicate. * @param body The request body * @return a {@link RequestInformation} */ @@ -344,7 +344,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi return toPutRequestInformation(body, null); } /** - * Create a new team from a group. In order to create a team, the group must have a least one owner. If the creation of the team call is delayed, you can retry the call up to three times before you have to wait for 15 minutes due to a propagation delay. If the group was created less than 15 minutes ago, the call might fail with a 404 error code due to replication delays. If the group was created less than 15 minutes ago, it's possible for a call to create a team to fail with a 404 error code, due to ongoing replication delays.The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. + * Create a new team from a group. In order to create a team, the group must have at least one owner. If the group was created less than 15 minutes ago, calls to create a team might fail with a 404 Not Found error because the group information didn't fully replicate. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java index b2d52882801..f11854d9893 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java @@ -55,18 +55,18 @@ public ConversationThreadItemRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a thread object. + * Delete conversationThread. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete a thread object. + * Delete conversationThread. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -75,21 +75,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @return a {@link ConversationThread} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationThread get() { return get(null); } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConversationThread} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationThread get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public ConversationThread patch(@jakarta.annotation.Nonnull final ConversationTh return this.requestAdapter.send(requestInfo, errorMapping, ConversationThread::createFromDiscriminatorValue); } /** - * Delete a thread object. + * Delete conversationThread. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -134,7 +134,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a thread object. + * Delete conversationThread. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -154,7 +154,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -206,7 +206,7 @@ public ConversationThreadItemRequestBuilder withUrl(@jakarta.annotation.Nonnull public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java index 9270eb04b1f..0def3a92cf7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java @@ -46,7 +46,7 @@ public UserFlowLanguagePageItemRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. + * Delete the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -54,7 +54,7 @@ public void delete() { delete(null); } /** - * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. + * Delete the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -115,7 +115,7 @@ public UserFlowLanguagePage patch(@jakarta.annotation.Nonnull final UserFlowLang return this.requestAdapter.send(requestInfo, errorMapping, UserFlowLanguagePage::createFromDiscriminatorValue); } /** - * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. + * Delete the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -123,7 +123,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. + * Delete the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/value/ContentRequestBuilder.java index fc8d8402b1a..d10b699ff02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/value/ContentRequestBuilder.java @@ -36,7 +36,7 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%2Did}/$value", rawUrl); } /** - * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. + * Delete the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -44,7 +44,7 @@ public void delete() { delete(null); } /** - * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. + * Delete the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -107,7 +107,7 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class); } /** - * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. + * Delete the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. + * Delete the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 87a177389b6..ce75d73154b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,7 +41,7 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public FilterByCurrentUserWithOnGetResponse get() { @@ -52,7 +52,7 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java index 1c44f8dccd9..63b2a53c3f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java @@ -91,13 +91,13 @@ public CustomCalloutExtension get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, CustomCalloutExtension::createFromDiscriminatorValue); } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @return a {@link CustomCalloutExtension} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -105,14 +105,14 @@ public CustomCalloutExtension patch(@jakarta.annotation.Nonnull final CustomCall return patch(body, null); } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomCalloutExtension} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -176,7 +176,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @return a {@link RequestInformation} * @deprecated @@ -188,7 +188,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java index 4672adf62c3..63867dc235b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java @@ -140,21 +140,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get() { return get(null); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -211,7 +211,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -219,7 +219,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -271,7 +271,7 @@ public AccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java index 1a3d7b05ebd..21da29f7a0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java @@ -77,21 +77,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get() { return get(null); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -148,7 +148,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -156,7 +156,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -208,7 +208,7 @@ public AccessPackagesWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.No public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java index 0b9698d6fab..306bf0cb964 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java @@ -84,21 +84,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Agreement get() { return get(null); } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Agreement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -155,7 +155,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -163,7 +163,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -215,7 +215,7 @@ public AgreementItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/item/RiskDetectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/item/RiskDetectionItemRequestBuilder.java index 68dc31ca98a..8b665bac99f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/item/RiskDetectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/item/RiskDetectionItemRequestBuilder.java @@ -55,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. * @return a {@link RiskDetection} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RiskDetection get() { return get(null); } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RiskDetection} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RiskDetection get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -124,7 +124,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -184,7 +184,7 @@ public RiskDetectionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt index ff8696bc344..e812fdea78a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt @@ -2366,6 +2366,7 @@ com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|itemInsights com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|namePronunciation:NamePronunciationRequestBuilder com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|patch(body:PeopleAdminSettings):PeopleAdminSettings com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|patch(body:PeopleAdminSettings; requestConfiguration?:java.util.function.Consumer):PeopleAdminSettings +com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|photoUpdateSettings:PhotoUpdateSettingsRequestBuilder com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profileCardProperties:ProfileCardPropertiesRequestBuilder com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profilePropertySettings:ProfilePropertySettingsRequestBuilder com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profileSources:ProfileSourcesRequestBuilder @@ -2378,6 +2379,30 @@ com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|toGetRequest com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|toPatchRequestInformation(body:PeopleAdminSettings):RequestInformation com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|toPatchRequestInformation(body:PeopleAdminSettings; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|withUrl(rawUrl:String):PeopleRequestBuilder +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|get():PhotoUpdateSettings +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):PhotoUpdateSettings +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|patch(body:PhotoUpdateSettings):PhotoUpdateSettings +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|patch(body:PhotoUpdateSettings; requestConfiguration?:java.util.function.Consumer):PhotoUpdateSettings +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|toPatchRequestInformation(body:PhotoUpdateSettings):RequestInformation +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|toPatchRequestInformation(body:PhotoUpdateSettings; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.admin.people.photoupdatesettings.PhotoUpdateSettingsRequestBuilder::|public|withUrl(rawUrl:String):PhotoUpdateSettingsRequestBuilder com.microsoft.graph.beta.admin.people.profilecardproperties.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.people.profilecardproperties.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.admin.people.profilecardproperties.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -79768,6 +79793,27 @@ com.microsoft.graph.beta.drives.item.items.item.subscriptions.count.CountRequest com.microsoft.graph.beta.drives.item.items.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.drives.item.items.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.drives.item.items.item.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.drives.item.items.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.drives.item.items.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.drives.item.items.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -79822,6 +79868,7 @@ com.microsoft.graph.beta.drives.item.items.item.subscriptions.SubscriptionsReque com.microsoft.graph.beta.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.beta.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.beta.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.beta.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.beta.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -107653,6 +107700,27 @@ com.microsoft.graph.beta.drives.item.list.subscriptions.count.CountRequestBuilde com.microsoft.graph.beta.drives.item.list.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.drives.item.list.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.drives.item.list.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.drives.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.drives.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.drives.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -107707,6 +107775,7 @@ com.microsoft.graph.beta.drives.item.list.subscriptions.SubscriptionsRequestBuil com.microsoft.graph.beta.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.beta.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.beta.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.beta.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.beta.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -132472,6 +132541,71 @@ com.microsoft.graph.beta.groups.item.sites.item.drives.item.DriveItemRequestBuil com.microsoft.graph.beta.groups.item.sites.item.drives.item.DriveItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.groups.item.sites.item.drives.item.DriveItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.drives.item.DriveItemRequestBuilder::|public|withUrl(rawUrl:String):DriveItemRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|byExtensionId(extensionId:String):ExtensionItemRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|get():ExtensionCollectionResponse +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExtensionCollectionResponse +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|post(body:Extension):Extension +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|post(body:Extension; requestConfiguration?:java.util.function.Consumer):Extension +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|toPostRequestInformation(body:Extension):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|toPostRequestInformation(body:Extension; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.ExtensionsRequestBuilder::|public|withUrl(rawUrl:String):ExtensionsRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|get():Extension +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Extension +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|patch(body:Extension):Extension +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|patch(body:Extension; requestConfiguration?:java.util.function.Consumer):Extension +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toPatchRequestInformation(body:Extension):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toPatchRequestInformation(body:Extension; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|withUrl(rawUrl:String):ExtensionItemRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.externalcolumns.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.externalcolumns.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.groups.item.sites.item.externalcolumns.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -132757,6 +132891,31 @@ com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.drives.DrivesR com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.drives.DrivesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.drives.DrivesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.drives.DrivesRequestBuilder::|public|withUrl(rawUrl:String):DrivesRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|get():ExtensionCollectionResponse +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExtensionCollectionResponse +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|post(body:Extension):Extension +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|post(body:Extension; requestConfiguration?:java.util.function.Consumer):Extension +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|toPostRequestInformation(body:Extension):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|toPostRequestInformation(body:Extension; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|withUrl(rawUrl:String):ExtensionsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.externalcolumns.ExternalColumnsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.externalcolumns.ExternalColumnsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.externalcolumns.ExternalColumnsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -132844,6 +133003,7 @@ com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.GetByPathWithP com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|documentProcessingJobs:DocumentProcessingJobsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|drive:DriveRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|drives:DrivesRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|extensions:ExtensionsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|externalColumns:ExternalColumnsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|get():Site com.microsoft.graph.beta.groups.item.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Site @@ -136063,6 +136223,27 @@ com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.count.C com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -136117,6 +136298,7 @@ com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.Subscri com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.beta.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -140322,6 +140504,7 @@ com.microsoft.graph.beta.groups.item.sites.item.SiteItemRequestBuilder::|public| com.microsoft.graph.beta.groups.item.sites.item.SiteItemRequestBuilder::|public|documentProcessingJobs:DocumentProcessingJobsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.SiteItemRequestBuilder::|public|drive:DriveRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.SiteItemRequestBuilder::|public|drives:DrivesRequestBuilder +com.microsoft.graph.beta.groups.item.sites.item.SiteItemRequestBuilder::|public|extensions:ExtensionsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.SiteItemRequestBuilder::|public|externalColumns:ExternalColumnsRequestBuilder com.microsoft.graph.beta.groups.item.sites.item.SiteItemRequestBuilder::|public|get():Site com.microsoft.graph.beta.groups.item.sites.item.SiteItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Site @@ -185520,9 +185703,15 @@ com.microsoft.graph.beta.models.AuthenticationMethodsRegistrationCampaign~~>Addi com.microsoft.graph.beta.models.AuthenticationMethodsRoot-->Entity com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|constructor():void com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|getUserEventsSummary():java.util.List +com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|getUserMfaSignInSummary():java.util.List +com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|getUserPasswordResetsAndChangesSummary():java.util.List com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|getUserRegistrationDetails():java.util.List com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|OdataType:String com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|setUserEventsSummary(value?:java.util.List):void +com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|setUserMfaSignInSummary(value?:java.util.List):void +com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|setUserPasswordResetsAndChangesSummary(value?:java.util.List):void com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|public|setUserRegistrationDetails(value?:java.util.List):void com.microsoft.graph.beta.models.AuthenticationMethodsRoot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AuthenticationMethodsRoot com.microsoft.graph.beta.models.AuthenticationMethodState::0000-Enabled @@ -228922,26 +229111,44 @@ com.microsoft.graph.beta.models.networkaccess.Alert-->Entity com.microsoft.graph.beta.models.networkaccess.Alert::|public|constructor():void com.microsoft.graph.beta.models.networkaccess.Alert::|public|getActions():java.util.List com.microsoft.graph.beta.models.networkaccess.Alert::|public|getAlertType():AlertType +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getCategories():java.util.List +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getComponentName():String com.microsoft.graph.beta.models.networkaccess.Alert::|public|getCreationDateTime():OffsetDateTime com.microsoft.graph.beta.models.networkaccess.Alert::|public|getDescription():String com.microsoft.graph.beta.models.networkaccess.Alert::|public|getDetectionTechnology():String com.microsoft.graph.beta.models.networkaccess.Alert::|public|getDisplayName():String +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getExtendedProperties():ExtendedProperties com.microsoft.graph.beta.models.networkaccess.Alert::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getFirstActivityDateTime():OffsetDateTime +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getIsPreview():Boolean +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getLastActivityDateTime():OffsetDateTime com.microsoft.graph.beta.models.networkaccess.Alert::|public|getPolicy():FilteringPolicy +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getProductName():String com.microsoft.graph.beta.models.networkaccess.Alert::|public|getRelatedResources():java.util.List com.microsoft.graph.beta.models.networkaccess.Alert::|public|getSeverity():AlertSeverity +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getSubTechniques():java.util.List +com.microsoft.graph.beta.models.networkaccess.Alert::|public|getTechniques():java.util.List com.microsoft.graph.beta.models.networkaccess.Alert::|public|getVendorName():String com.microsoft.graph.beta.models.networkaccess.Alert::|public|OdataType:String com.microsoft.graph.beta.models.networkaccess.Alert::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setActions(value?:java.util.List):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setAlertType(value?:AlertType):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setCategories(value?:java.util.List):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setComponentName(value?:String):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setCreationDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setDescription(value?:String):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setDetectionTechnology(value?:String):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setExtendedProperties(value?:ExtendedProperties):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setFirstActivityDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setIsPreview(value?:Boolean):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setLastActivityDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setPolicy(value?:FilteringPolicy):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setProductName(value?:String):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setRelatedResources(value?:java.util.List):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setSeverity(value?:AlertSeverity):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setSubTechniques(value?:java.util.List):void +com.microsoft.graph.beta.models.networkaccess.Alert::|public|setTechniques(value?:java.util.List):void com.microsoft.graph.beta.models.networkaccess.Alert::|public|setVendorName(value?:String):void com.microsoft.graph.beta.models.networkaccess.Alert::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Alert com.microsoft.graph.beta.models.networkaccess.AlertAction::|protected|backingStore:BackingStore @@ -229581,6 +229788,12 @@ com.microsoft.graph.beta.models.networkaccess.EntitiesSummary::|public|setUserCo com.microsoft.graph.beta.models.networkaccess.EntitiesSummary::|public|setWorkloadCount(value?:Long):void com.microsoft.graph.beta.models.networkaccess.EntitiesSummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EntitiesSummary com.microsoft.graph.beta.models.networkaccess.EntitiesSummary~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.networkaccess.ExtendedProperties-->Dictionary +com.microsoft.graph.beta.models.networkaccess.ExtendedProperties::|public|constructor():void +com.microsoft.graph.beta.models.networkaccess.ExtendedProperties::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.networkaccess.ExtendedProperties::|public|OdataType:String +com.microsoft.graph.beta.models.networkaccess.ExtendedProperties::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.networkaccess.ExtendedProperties::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExtendedProperties com.microsoft.graph.beta.models.networkaccess.ExternalCertificateAuthorityCertificate-->Entity com.microsoft.graph.beta.models.networkaccess.ExternalCertificateAuthorityCertificate::|public|constructor():void com.microsoft.graph.beta.models.networkaccess.ExternalCertificateAuthorityCertificate::|public|getCertificate():String @@ -229801,6 +230014,24 @@ com.microsoft.graph.beta.models.networkaccess.IkeIntegrity::0001-Sha384 com.microsoft.graph.beta.models.networkaccess.IkeIntegrity::0002-GcmAes128 com.microsoft.graph.beta.models.networkaccess.IkeIntegrity::0003-GcmAes256 com.microsoft.graph.beta.models.networkaccess.IkeIntegrity::0004-UnknownFutureValue +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0000-InitialAccess +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0001-Persistence +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0002-PrivilegeEscalation +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0003-DefenseEvasion +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0004-CredentialAccess +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0005-Discovery +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0006-LateralMovement +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0007-Execution +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0008-Collection +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0009-Exfiltration +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0010-CommandAndControl +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0011-Impact +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0012-ImpairProcessControl +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0013-InhibitResponseFunction +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0014-Reconnaissance +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0015-ResourceDevelopment +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0016-Evasion +com.microsoft.graph.beta.models.networkaccess.IntentCategory::0017-UnknownFutureValue com.microsoft.graph.beta.models.networkaccess.InternetAccessForwardingRule-->ForwardingRule com.microsoft.graph.beta.models.networkaccess.InternetAccessForwardingRule::|public|constructor():void com.microsoft.graph.beta.models.networkaccess.InternetAccessForwardingRule::|public|getFieldDeserializers():Map> @@ -235640,6 +235871,7 @@ com.microsoft.graph.beta.models.PeopleAdminSettings::|public|constructor():void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getItemInsights():InsightsSettings com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getNamePronunciation():NamePronunciationSettings +com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getPhotoUpdateSettings():PhotoUpdateSettings com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getProfileCardProperties():java.util.List com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getProfilePropertySettings():java.util.List com.microsoft.graph.beta.models.PeopleAdminSettings::|public|getProfileSources():java.util.List @@ -235648,6 +235880,7 @@ com.microsoft.graph.beta.models.PeopleAdminSettings::|public|OdataType:String com.microsoft.graph.beta.models.PeopleAdminSettings::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setItemInsights(value?:InsightsSettings):void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setNamePronunciation(value?:NamePronunciationSettings):void +com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setPhotoUpdateSettings(value?:PhotoUpdateSettings):void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setProfileCardProperties(value?:java.util.List):void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setProfilePropertySettings(value?:java.util.List):void com.microsoft.graph.beta.models.PeopleAdminSettings::|public|setProfileSources(value?:java.util.List):void @@ -236476,6 +236709,14 @@ com.microsoft.graph.beta.models.Photo::|public|setOdataType(value?:String):void com.microsoft.graph.beta.models.Photo::|public|setOrientation(value?:Integer):void com.microsoft.graph.beta.models.Photo::|public|setTakenDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.Photo::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Photo +com.microsoft.graph.beta.models.PhotoUpdateSettings-->Entity +com.microsoft.graph.beta.models.PhotoUpdateSettings::|public|constructor():void +com.microsoft.graph.beta.models.PhotoUpdateSettings::|public|getAllowedRoles():java.util.List +com.microsoft.graph.beta.models.PhotoUpdateSettings::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.PhotoUpdateSettings::|public|OdataType:String +com.microsoft.graph.beta.models.PhotoUpdateSettings::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.PhotoUpdateSettings::|public|setAllowedRoles(value?:java.util.List):void +com.microsoft.graph.beta.models.PhotoUpdateSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PhotoUpdateSettings com.microsoft.graph.beta.models.Photo~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.PhysicalAddress::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.PhysicalAddress::|public|constructor():void @@ -255794,6 +256035,7 @@ com.microsoft.graph.beta.models.SensitiveType::|public|constructor():void com.microsoft.graph.beta.models.SensitiveType::|public|getClassificationMethod():ClassificationMethod com.microsoft.graph.beta.models.SensitiveType::|public|getDescription():String com.microsoft.graph.beta.models.SensitiveType::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.SensitiveType::|public|getLastModifiedDateTime():OffsetDateTime com.microsoft.graph.beta.models.SensitiveType::|public|getName():String com.microsoft.graph.beta.models.SensitiveType::|public|getPublisherName():String com.microsoft.graph.beta.models.SensitiveType::|public|getRulePackageId():String @@ -255805,6 +256047,7 @@ com.microsoft.graph.beta.models.SensitiveType::|public|OdataType:String com.microsoft.graph.beta.models.SensitiveType::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.SensitiveType::|public|setClassificationMethod(value?:ClassificationMethod):void com.microsoft.graph.beta.models.SensitiveType::|public|setDescription(value?:String):void +com.microsoft.graph.beta.models.SensitiveType::|public|setLastModifiedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.SensitiveType::|public|setName(value?:String):void com.microsoft.graph.beta.models.SensitiveType::|public|setPublisherName(value?:String):void com.microsoft.graph.beta.models.SensitiveType::|public|setRulePackageId(value?:String):void @@ -258535,6 +258778,7 @@ com.microsoft.graph.beta.models.Site::|public|getDisplayName():String com.microsoft.graph.beta.models.Site::|public|getDocumentProcessingJobs():java.util.List com.microsoft.graph.beta.models.Site::|public|getDrive():Drive com.microsoft.graph.beta.models.Site::|public|getDrives():java.util.List +com.microsoft.graph.beta.models.Site::|public|getExtensions():java.util.List com.microsoft.graph.beta.models.Site::|public|getExternalColumns():java.util.List com.microsoft.graph.beta.models.Site::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.Site::|public|getInformationProtection():InformationProtection @@ -258564,6 +258808,7 @@ com.microsoft.graph.beta.models.Site::|public|setDisplayName(value?:String):void com.microsoft.graph.beta.models.Site::|public|setDocumentProcessingJobs(value?:java.util.List):void com.microsoft.graph.beta.models.Site::|public|setDrive(value?:Drive):void com.microsoft.graph.beta.models.Site::|public|setDrives(value?:java.util.List):void +com.microsoft.graph.beta.models.Site::|public|setExtensions(value?:java.util.List):void com.microsoft.graph.beta.models.Site::|public|setExternalColumns(value?:java.util.List):void com.microsoft.graph.beta.models.Site::|public|setInformationProtection(value?:InformationProtection):void com.microsoft.graph.beta.models.Site::|public|setIsPersonalSite(value?:Boolean):void @@ -266203,6 +266448,33 @@ com.microsoft.graph.beta.models.UserDefaultAuthenticationMethodType::0005-Sms com.microsoft.graph.beta.models.UserDefaultAuthenticationMethodType::0006-UnknownFutureValue com.microsoft.graph.beta.models.UserEmailSource::0000-UserPrincipalName com.microsoft.graph.beta.models.UserEmailSource::0001-PrimarySmtpAddress +com.microsoft.graph.beta.models.UserEventsSummary-->Entity +com.microsoft.graph.beta.models.UserEventsSummary::|public|constructor():void +com.microsoft.graph.beta.models.UserEventsSummary::|public|getAuthMethod():UsageAuthMethod +com.microsoft.graph.beta.models.UserEventsSummary::|public|getEventDateTime():OffsetDateTime +com.microsoft.graph.beta.models.UserEventsSummary::|public|getFailureReason():String +com.microsoft.graph.beta.models.UserEventsSummary::|public|getFeature():FeatureType +com.microsoft.graph.beta.models.UserEventsSummary::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UserEventsSummary::|public|getIsSuccess():Boolean +com.microsoft.graph.beta.models.UserEventsSummary::|public|getUserDisplayName():String +com.microsoft.graph.beta.models.UserEventsSummary::|public|getUserPrincipalName():String +com.microsoft.graph.beta.models.UserEventsSummary::|public|OdataType:String +com.microsoft.graph.beta.models.UserEventsSummary::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UserEventsSummary::|public|setAuthMethod(value?:UsageAuthMethod):void +com.microsoft.graph.beta.models.UserEventsSummary::|public|setEventDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.UserEventsSummary::|public|setFailureReason(value?:String):void +com.microsoft.graph.beta.models.UserEventsSummary::|public|setFeature(value?:FeatureType):void +com.microsoft.graph.beta.models.UserEventsSummary::|public|setIsSuccess(value?:Boolean):void +com.microsoft.graph.beta.models.UserEventsSummary::|public|setUserDisplayName(value?:String):void +com.microsoft.graph.beta.models.UserEventsSummary::|public|setUserPrincipalName(value?:String):void +com.microsoft.graph.beta.models.UserEventsSummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserEventsSummary +com.microsoft.graph.beta.models.UserEventsSummaryCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.UserEventsSummaryCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.UserEventsSummaryCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UserEventsSummaryCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.UserEventsSummaryCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UserEventsSummaryCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.UserEventsSummaryCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserEventsSummaryCollectionResponse com.microsoft.graph.beta.models.UserExperienceAnalyticsAnomaly-->Entity com.microsoft.graph.beta.models.UserExperienceAnalyticsAnomaly::|public|constructor():void com.microsoft.graph.beta.models.UserExperienceAnalyticsAnomaly::|public|getAnomalyFirstOccurrenceDateTime():OffsetDateTime @@ -267898,6 +268170,27 @@ com.microsoft.graph.beta.models.UserLastSignInRecommendationInsightSetting::|pub com.microsoft.graph.beta.models.UserLastSignInRecommendationInsightSetting::|public|setRecommendationLookBackDuration(value?:PeriodAndDuration):void com.microsoft.graph.beta.models.UserLastSignInRecommendationInsightSetting::|public|setSignInScope(value?:UserSignInRecommendationScope):void com.microsoft.graph.beta.models.UserLastSignInRecommendationInsightSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserLastSignInRecommendationInsightSetting +com.microsoft.graph.beta.models.UserMfaSignInSummary-->Entity +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|constructor():void +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|getMultiFactorSignIns():Long +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|getSingleFactorSignIns():Long +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|getTotalSignIns():Long +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|OdataType:String +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|setMultiFactorSignIns(value?:Long):void +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|setSingleFactorSignIns(value?:Long):void +com.microsoft.graph.beta.models.UserMfaSignInSummary::|public|setTotalSignIns(value?:Long):void +com.microsoft.graph.beta.models.UserMfaSignInSummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserMfaSignInSummary +com.microsoft.graph.beta.models.UserMfaSignInSummaryCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.UserMfaSignInSummaryCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.UserMfaSignInSummaryCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UserMfaSignInSummaryCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.UserMfaSignInSummaryCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UserMfaSignInSummaryCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.UserMfaSignInSummaryCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserMfaSignInSummaryCollectionResponse com.microsoft.graph.beta.models.UsernameSource::0000-UserPrincipalName com.microsoft.graph.beta.models.UsernameSource::0001-PrimarySmtpAddress com.microsoft.graph.beta.models.UsernameSource::0002-SamAccountName @@ -267905,6 +268198,27 @@ com.microsoft.graph.beta.models.UserNewMessageRestriction::0000-Everyone com.microsoft.graph.beta.models.UserNewMessageRestriction::0001-EveryoneExceptGuests com.microsoft.graph.beta.models.UserNewMessageRestriction::0002-Moderators com.microsoft.graph.beta.models.UserNewMessageRestriction::0003-UnknownFutureValue +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary-->Entity +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|constructor():void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|getAggregatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|getChangePasswordSelfServiceCount():Long +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|getPasswordResetsByAdminCount():Long +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|getPasswordResetsSelfServiceCount():Long +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|OdataType:String +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|setAggregatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|setChangePasswordSelfServiceCount(value?:Long):void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|setPasswordResetsByAdminCount(value?:Long):void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|public|setPasswordResetsSelfServiceCount(value?:Long):void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserPasswordResetsAndChangesSummary +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummaryCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummaryCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummaryCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummaryCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummaryCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummaryCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummaryCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserPasswordResetsAndChangesSummaryCollectionResponse com.microsoft.graph.beta.models.UserPFXCertificate-->Entity com.microsoft.graph.beta.models.UserPFXCertificate::|public|constructor():void com.microsoft.graph.beta.models.UserPFXCertificate::|public|getCreatedDateTime():OffsetDateTime @@ -267981,6 +268295,20 @@ com.microsoft.graph.beta.models.UserPurpose::0004-Room com.microsoft.graph.beta.models.UserPurpose::0005-Equipment com.microsoft.graph.beta.models.UserPurpose::0006-Others com.microsoft.graph.beta.models.UserPurpose::0007-UnknownFutureValue +com.microsoft.graph.beta.models.UserRegistrationActivitySummary-->Entity +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|constructor():void +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|getAuthMethod():UsageAuthMethod +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|getFailureActivityCount():Long +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|getFeature():FeatureType +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|getSuccessfulActivityCount():Long +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|OdataType:String +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|setAuthMethod(value?:UsageAuthMethod):void +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|setFailureActivityCount(value?:Long):void +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|setFeature(value?:FeatureType):void +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|public|setSuccessfulActivityCount(value?:Long):void +com.microsoft.graph.beta.models.UserRegistrationActivitySummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserRegistrationActivitySummary com.microsoft.graph.beta.models.UserRegistrationCount::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.UserRegistrationCount::|public|constructor():void com.microsoft.graph.beta.models.UserRegistrationCount::|public|getAdditionalData():Map @@ -268284,6 +268612,22 @@ com.microsoft.graph.beta.models.UserSignInInsight::|static|public|createFromDisc com.microsoft.graph.beta.models.UserSignInRecommendationScope::0000-Tenant com.microsoft.graph.beta.models.UserSignInRecommendationScope::0001-Application com.microsoft.graph.beta.models.UserSignInRecommendationScope::0002-UnknownFutureValue +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|constructor():void +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|getAuthenticationMethod():String +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|getOdataType():String +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|getSuccessActivityCount():Long +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|setAuthenticationMethod(value?:String):void +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|public|setSuccessActivityCount(value?:Long):void +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserSignInUsageByAuthMethodActivity +com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.UserSignUpMetric-->Entity com.microsoft.graph.beta.models.UserSignUpMetric::|public|constructor():void com.microsoft.graph.beta.models.UserSignUpMetric::|public|getAppId():String @@ -294539,12 +294883,239 @@ com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequ com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|toPatchRequestInformation(body:AuthenticationMethodsRoot):RequestInformation com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|toPatchRequestInformation(body:AuthenticationMethodsRoot; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|userEventsSummary:UserEventsSummaryRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|userMfaSignInSummary:UserMfaSignInSummaryRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|userPasswordResetsAndChangesSummary:UserPasswordResetsAndChangesSummaryRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|userRegistrationActivityWithPeriod(period:String):UserRegistrationActivityWithPeriodRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|userRegistrationDetails:UserRegistrationDetailsRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|userSignInsByAuthMethodSummaryWithPeriod(period:String):UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|usersRegisteredByFeature:UsersRegisteredByFeatureRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|usersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles(includedUserRoles:String; includedUserTypes:String):UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|usersRegisteredByMethod:UsersRegisteredByMethodRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|usersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles(includedUserRoles:String; includedUserTypes:String):UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.AuthenticationMethodsRequestBuilder::|public|withUrl(rawUrl:String):AuthenticationMethodsRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|get():UserEventsSummary +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserEventsSummary +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|patch(body:UserEventsSummary):UserEventsSummary +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|patch(body:UserEventsSummary; requestConfiguration?:java.util.function.Consumer):UserEventsSummary +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|toPatchRequestInformation(body:UserEventsSummary):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|toPatchRequestInformation(body:UserEventsSummary; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder::|public|withUrl(rawUrl:String):UserEventsSummaryItemRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|byUserEventsSummaryId(userEventsSummaryId:String):UserEventsSummaryItemRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|get():UserEventsSummaryCollectionResponse +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserEventsSummaryCollectionResponse +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|post(body:UserEventsSummary):UserEventsSummary +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|post(body:UserEventsSummary; requestConfiguration?:java.util.function.Consumer):UserEventsSummary +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|toPostRequestInformation(body:UserEventsSummary):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|toPostRequestInformation(body:UserEventsSummary; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder::|public|withUrl(rawUrl:String):UserEventsSummaryRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|get():UserMfaSignInSummary +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserMfaSignInSummary +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|patch(body:UserMfaSignInSummary):UserMfaSignInSummary +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|patch(body:UserMfaSignInSummary; requestConfiguration?:java.util.function.Consumer):UserMfaSignInSummary +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|toPatchRequestInformation(body:UserMfaSignInSummary):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|toPatchRequestInformation(body:UserMfaSignInSummary; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder::|public|withUrl(rawUrl:String):UserMfaSignInSummaryItemRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|byUserMfaSignInSummaryId(userMfaSignInSummaryId:String):UserMfaSignInSummaryItemRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|get():UserMfaSignInSummaryCollectionResponse +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserMfaSignInSummaryCollectionResponse +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|post(body:UserMfaSignInSummary):UserMfaSignInSummary +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|post(body:UserMfaSignInSummary; requestConfiguration?:java.util.function.Consumer):UserMfaSignInSummary +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|toPostRequestInformation(body:UserMfaSignInSummary):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|toPostRequestInformation(body:UserMfaSignInSummary; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder::|public|withUrl(rawUrl:String):UserMfaSignInSummaryRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|get():UserPasswordResetsAndChangesSummary +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserPasswordResetsAndChangesSummary +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|patch(body:UserPasswordResetsAndChangesSummary):UserPasswordResetsAndChangesSummary +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|patch(body:UserPasswordResetsAndChangesSummary; requestConfiguration?:java.util.function.Consumer):UserPasswordResetsAndChangesSummary +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|toPatchRequestInformation(body:UserPasswordResetsAndChangesSummary):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|toPatchRequestInformation(body:UserPasswordResetsAndChangesSummary; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder::|public|withUrl(rawUrl:String):UserPasswordResetsAndChangesSummaryItemRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|byUserPasswordResetsAndChangesSummaryId(userPasswordResetsAndChangesSummaryId:String):UserPasswordResetsAndChangesSummaryItemRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|get():UserPasswordResetsAndChangesSummaryCollectionResponse +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserPasswordResetsAndChangesSummaryCollectionResponse +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|post(body:UserPasswordResetsAndChangesSummary):UserPasswordResetsAndChangesSummary +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|post(body:UserPasswordResetsAndChangesSummary; requestConfiguration?:java.util.function.Consumer):UserPasswordResetsAndChangesSummary +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|toPostRequestInformation(body:UserPasswordResetsAndChangesSummary):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|toPostRequestInformation(body:UserPasswordResetsAndChangesSummary; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder::|public|withUrl(rawUrl:String):UserPasswordResetsAndChangesSummaryRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodGetResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodGetResponse::|public|constructor():void +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodGetResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodGetResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserRegistrationActivityWithPeriodGetResponse +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; period?:String):Void +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder::|public|get():UserRegistrationActivityWithPeriodGetResponse +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserRegistrationActivityWithPeriodGetResponse +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder::|public|withUrl(rawUrl:String):UserRegistrationActivityWithPeriodRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.userregistrationdetails.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.userregistrationdetails.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.reports.authenticationmethods.userregistrationdetails.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -294610,6 +295181,33 @@ com.microsoft.graph.beta.reports.authenticationmethods.userregistrationdetails.U com.microsoft.graph.beta.reports.authenticationmethods.userregistrationdetails.UserRegistrationDetailsRequestBuilder::|public|toPostRequestInformation(body:UserRegistrationDetails):RequestInformation com.microsoft.graph.beta.reports.authenticationmethods.userregistrationdetails.UserRegistrationDetailsRequestBuilder::|public|toPostRequestInformation(body:UserRegistrationDetails; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.reports.authenticationmethods.userregistrationdetails.UserRegistrationDetailsRequestBuilder::|public|withUrl(rawUrl:String):UserRegistrationDetailsRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodGetResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodGetResponse::|public|constructor():void +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodGetResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodGetResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UserSignInsByAuthMethodSummaryWithPeriodGetResponse +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; period?:String):Void +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder::|public|get():UserSignInsByAuthMethodSummaryWithPeriodGetResponse +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UserSignInsByAuthMethodSummaryWithPeriodGetResponse +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder::|public|withUrl(rawUrl:String):UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.usersregisteredbyfeature.UsersRegisteredByFeatureRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.reports.authenticationmethods.usersregisteredbyfeature.UsersRegisteredByFeatureRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.reports.authenticationmethods.usersregisteredbyfeature.UsersRegisteredByFeatureRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -324604,6 +325202,27 @@ com.microsoft.graph.beta.shares.item.list.subscriptions.count.CountRequestBuilde com.microsoft.graph.beta.shares.item.list.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.shares.item.list.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.shares.item.list.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.shares.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.shares.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.shares.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -324658,6 +325277,7 @@ com.microsoft.graph.beta.shares.item.list.subscriptions.SubscriptionsRequestBuil com.microsoft.graph.beta.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.beta.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.beta.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.beta.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.beta.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -326211,6 +326831,71 @@ com.microsoft.graph.beta.sites.item.drives.item.DriveItemRequestBuilder::|public com.microsoft.graph.beta.sites.item.drives.item.DriveItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.sites.item.drives.item.DriveItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.drives.item.DriveItemRequestBuilder::|public|withUrl(rawUrl:String):DriveItemRequestBuilder +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|byExtensionId(extensionId:String):ExtensionItemRequestBuilder +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|get():ExtensionCollectionResponse +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExtensionCollectionResponse +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|post(body:Extension):Extension +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|post(body:Extension; requestConfiguration?:java.util.function.Consumer):Extension +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|toPostRequestInformation(body:Extension):RequestInformation +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|toPostRequestInformation(body:Extension; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder::|public|withUrl(rawUrl:String):ExtensionsRequestBuilder +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|get():Extension +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Extension +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|patch(body:Extension):Extension +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|patch(body:Extension; requestConfiguration?:java.util.function.Consumer):Extension +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toPatchRequestInformation(body:Extension):RequestInformation +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|toPatchRequestInformation(body:Extension; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder::|public|withUrl(rawUrl:String):ExtensionItemRequestBuilder com.microsoft.graph.beta.sites.item.externalcolumns.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.externalcolumns.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.sites.item.externalcolumns.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -326496,6 +327181,31 @@ com.microsoft.graph.beta.sites.item.getbypathwithpath.drives.DrivesRequestBuilde com.microsoft.graph.beta.sites.item.getbypathwithpath.drives.DrivesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.sites.item.getbypathwithpath.drives.DrivesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.getbypathwithpath.drives.DrivesRequestBuilder::|public|withUrl(rawUrl:String):DrivesRequestBuilder +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|get():ExtensionCollectionResponse +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExtensionCollectionResponse +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|post(body:Extension):Extension +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|post(body:Extension; requestConfiguration?:java.util.function.Consumer):Extension +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|toPostRequestInformation(body:Extension):RequestInformation +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|toPostRequestInformation(body:Extension; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder::|public|withUrl(rawUrl:String):ExtensionsRequestBuilder com.microsoft.graph.beta.sites.item.getbypathwithpath.externalcolumns.ExternalColumnsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.getbypathwithpath.externalcolumns.ExternalColumnsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.sites.item.getbypathwithpath.externalcolumns.ExternalColumnsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -326583,6 +327293,7 @@ com.microsoft.graph.beta.sites.item.getbypathwithpath.GetByPathWithPathRequestBu com.microsoft.graph.beta.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|documentProcessingJobs:DocumentProcessingJobsRequestBuilder com.microsoft.graph.beta.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|drive:DriveRequestBuilder com.microsoft.graph.beta.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|drives:DrivesRequestBuilder +com.microsoft.graph.beta.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|extensions:ExtensionsRequestBuilder com.microsoft.graph.beta.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|externalColumns:ExternalColumnsRequestBuilder com.microsoft.graph.beta.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|get():Site com.microsoft.graph.beta.sites.item.getbypathwithpath.GetByPathWithPathRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Site @@ -329782,6 +330493,27 @@ com.microsoft.graph.beta.sites.item.lists.item.subscriptions.count.CountRequestB com.microsoft.graph.beta.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -329836,6 +330568,7 @@ com.microsoft.graph.beta.sites.item.lists.item.subscriptions.SubscriptionsReques com.microsoft.graph.beta.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.beta.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.beta.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.beta.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.beta.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -334011,6 +334744,7 @@ com.microsoft.graph.beta.sites.item.SiteItemRequestBuilder::|public|createdByUse com.microsoft.graph.beta.sites.item.SiteItemRequestBuilder::|public|documentProcessingJobs:DocumentProcessingJobsRequestBuilder com.microsoft.graph.beta.sites.item.SiteItemRequestBuilder::|public|drive:DriveRequestBuilder com.microsoft.graph.beta.sites.item.SiteItemRequestBuilder::|public|drives:DrivesRequestBuilder +com.microsoft.graph.beta.sites.item.SiteItemRequestBuilder::|public|extensions:ExtensionsRequestBuilder com.microsoft.graph.beta.sites.item.SiteItemRequestBuilder::|public|externalColumns:ExternalColumnsRequestBuilder com.microsoft.graph.beta.sites.item.SiteItemRequestBuilder::|public|get():Site com.microsoft.graph.beta.sites.item.SiteItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Site @@ -345774,6 +346508,27 @@ com.microsoft.graph.beta.subscribedskus.SubscribedSkusRequestBuilder::|public|to com.microsoft.graph.beta.subscribedskus.SubscribedSkusRequestBuilder::|public|toPostRequestInformation(body:SubscribedSku):RequestInformation com.microsoft.graph.beta.subscribedskus.SubscribedSkusRequestBuilder::|public|toPostRequestInformation(body:SubscribedSku; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.subscribedskus.SubscribedSkusRequestBuilder::|public|withUrl(rawUrl:String):SubscribedSkusRequestBuilder +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -345826,6 +346581,7 @@ com.microsoft.graph.beta.subscriptions.SubscriptionsRequestBuilder::|public|cons com.microsoft.graph.beta.subscriptions.SubscriptionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.beta.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.beta.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.beta.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.beta.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.beta.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json index d433302f6a6..2efe77b1cdc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "DC604705AED7AE012B7833432431BF7D683EB88F31FB16E2A5E46F9A0B52E67303A17F69DD17E92CBD47D77819B6A567DAE0E4B602C22683BB1B6FEC316ABB39", + "descriptionHash": "6A17EBA4FD251AD6FC9E6928DC96039C18477BA1BA4E946A13FC9996F3C6828D895147E6C085BD9A127ECDACB53CA31E3AD10DD70517A32F3B12B6FA171AEAFD", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.29.0", diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignment.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignment.java index f5ed9baa10b..77e952a39d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignment.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignment.java @@ -82,7 +82,7 @@ public String getAssignmentState() { return this.backingStore.get("assignmentState"); } /** - * Gets the assignmentStatus property value. More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. + * Gets the assignmentStatus property value. More information about the assignment lifecycle. Possible values include Delivering, Delivered, AutoAssignmentInGracePeriod, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -242,7 +242,7 @@ public void setAssignmentState(@jakarta.annotation.Nullable final String value) this.backingStore.set("assignmentState", value); } /** - * Sets the assignmentStatus property value. More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. + * Sets the assignmentStatus property value. More information about the assignment lifecycle. Possible values include Delivering, Delivered, AutoAssignmentInGracePeriod, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. * @param value Value to set for the assignmentStatus property. */ public void setAssignmentStatus(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Authentication.java b/src/main/java/com/microsoft/graph/beta/generated/models/Authentication.java index 926a4deecab..ed5eea2ee5c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Authentication.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Authentication.java @@ -33,7 +33,7 @@ public java.util.List getEmailMethods() { return this.backingStore.get("emailMethods"); } /** - * Gets the externalAuthenticationMethods property value. The externalAuthenticationMethods property + * Gets the externalAuthenticationMethods property value. Represents the external methods registered to a user for authentication. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -219,7 +219,7 @@ public void setEmailMethods(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationMethodsRoot.java b/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationMethodsRoot.java index faedcbce470..3c25d2a5c64 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationMethodsRoot.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationMethodsRoot.java @@ -31,9 +31,36 @@ public static AuthenticationMethodsRoot createFromDiscriminatorValue(@jakarta.an @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("userEventsSummary", (n) -> { this.setUserEventsSummary(n.getCollectionOfObjectValues(UserEventsSummary::createFromDiscriminatorValue)); }); + deserializerMap.put("userMfaSignInSummary", (n) -> { this.setUserMfaSignInSummary(n.getCollectionOfObjectValues(UserMfaSignInSummary::createFromDiscriminatorValue)); }); + deserializerMap.put("userPasswordResetsAndChangesSummary", (n) -> { this.setUserPasswordResetsAndChangesSummary(n.getCollectionOfObjectValues(UserPasswordResetsAndChangesSummary::createFromDiscriminatorValue)); }); deserializerMap.put("userRegistrationDetails", (n) -> { this.setUserRegistrationDetails(n.getCollectionOfObjectValues(UserRegistrationDetails::createFromDiscriminatorValue)); }); return deserializerMap; } + /** + * Gets the userEventsSummary property value. Represents a specific user MFA/SSPR registration or reset event, including whether the event was successful, which authentication method was targeted, and failure reason if any. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getUserEventsSummary() { + return this.backingStore.get("userEventsSummary"); + } + /** + * Gets the userMfaSignInSummary property value. Represents the total count of MFA vs non-MFA sign-in counts for a specified period. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getUserMfaSignInSummary() { + return this.backingStore.get("userMfaSignInSummary"); + } + /** + * Gets the userPasswordResetsAndChangesSummary property value. Represents the summary of password resets and changes for a specific day. This includes the number of password resets that were self-service and those triggered by an administrator. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getUserPasswordResetsAndChangesSummary() { + return this.backingStore.get("userPasswordResetsAndChangesSummary"); + } /** * Gets the userRegistrationDetails property value. Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). * @return a {@link java.util.List} @@ -49,8 +76,32 @@ public java.util.List getUserRegistrationDetails() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeCollectionOfObjectValues("userEventsSummary", this.getUserEventsSummary()); + writer.writeCollectionOfObjectValues("userMfaSignInSummary", this.getUserMfaSignInSummary()); + writer.writeCollectionOfObjectValues("userPasswordResetsAndChangesSummary", this.getUserPasswordResetsAndChangesSummary()); writer.writeCollectionOfObjectValues("userRegistrationDetails", this.getUserRegistrationDetails()); } + /** + * Sets the userEventsSummary property value. Represents a specific user MFA/SSPR registration or reset event, including whether the event was successful, which authentication method was targeted, and failure reason if any. + * @param value Value to set for the userEventsSummary property. + */ + public void setUserEventsSummary(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("userEventsSummary", value); + } + /** + * Sets the userMfaSignInSummary property value. Represents the total count of MFA vs non-MFA sign-in counts for a specified period. + * @param value Value to set for the userMfaSignInSummary property. + */ + public void setUserMfaSignInSummary(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("userMfaSignInSummary", value); + } + /** + * Sets the userPasswordResetsAndChangesSummary property value. Represents the summary of password resets and changes for a specific day. This includes the number of password resets that were self-service and those triggered by an administrator. + * @param value Value to set for the userPasswordResetsAndChangesSummary property. + */ + public void setUserPasswordResetsAndChangesSummary(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("userPasswordResetsAndChangesSummary", value); + } /** * Sets the userRegistrationDetails property value. Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). * @param value Value to set for the userRegistrationDetails property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Conversation.java b/src/main/java/com/microsoft/graph/beta/generated/models/Conversation.java index 679595b7e30..e309acb6e57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Conversation.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Conversation.java @@ -73,7 +73,7 @@ public java.util.List getThreads() { return this.backingStore.get("threads"); } /** - * Gets the topic property value. The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + * Gets the topic property value. The topic of the conversation. This property can be set when the conversation is created, but it can't be updated. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -131,7 +131,7 @@ public void setThreads(@jakarta.annotation.Nullable final java.util.List> getFieldDeserializers return deserializerMap; } /** - * Gets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 + * Gets the maximumCount property value. Maximum number of choices in the collection * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -44,7 +44,7 @@ public Integer getMaximumCount() { return this.backingStore.get("maximumCount"); } /** - * Gets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 + * Gets the minimumCount property value. Minimum number of choices in the collection * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -62,14 +62,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("minimumCount", this.getMinimumCount()); } /** - * Sets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 + * Sets the maximumCount property value. Maximum number of choices in the collection * @param value Value to set for the maximumCount property. */ public void setMaximumCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("maximumCount", value); } /** - * Sets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 + * Sets the minimumCount property value. Minimum number of choices in the collection * @param value Value to set for the minimumCount property. */ public void setMinimumCount(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingDefinition.java index 6310d89e8d6..9f022cdb6dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationChoiceSettingDefinition.java @@ -32,7 +32,7 @@ public static DeviceManagementConfigurationChoiceSettingDefinition createFromDis return new DeviceManagementConfigurationChoiceSettingDefinition(); } /** - * Gets the defaultOptionId property value. Default option for choice setting + * Gets the defaultOptionId property value. Default option for the choice setting. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -51,7 +51,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the options property value. Options for the setting that can be selected + * Gets the options property value. Options for the setting that can be selected. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -69,14 +69,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("options", this.getOptions()); } /** - * Sets the defaultOptionId property value. Default option for choice setting + * Sets the defaultOptionId property value. Default option for the choice setting. * @param value Value to set for the defaultOptionId property. */ public void setDefaultOptionId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("defaultOptionId", value); } /** - * Sets the options property value. Options for the setting that can be selected + * Sets the options property value. Options for the setting that can be selected. * @param value Value to set for the options property. */ public void setOptions(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationReferredSettingInformation.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationReferredSettingInformation.java index 1e8ca805d9e..b3ec96f2168 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationReferredSettingInformation.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationReferredSettingInformation.java @@ -78,7 +78,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. + * Gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting * @return a {@link String} */ @jakarta.annotation.Nullable @@ -118,7 +118,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. + * Sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting * @param value Value to set for the settingDefinitionId property. */ public void setSettingDefinitionId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingDefinition.java index 42252f201f3..9d962f08cdd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingDefinition.java @@ -47,7 +47,7 @@ public EnumSet getAccessTypes() return this.backingStore.get("accessTypes"); } /** - * Gets the applicability property value. Details which device setting is applicable on + * Gets the applicability property value. Details which device setting is applicable on. Supports: $filters. * @return a {@link DeviceManagementConfigurationSettingApplicability} */ @jakarta.annotation.Nullable @@ -63,7 +63,7 @@ public String getBaseUri() { return this.backingStore.get("baseUri"); } /** - * Gets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + * Gets the categoryId property value. Specify category in which the setting is under. Support $filters. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -71,7 +71,7 @@ public String getCategoryId() { return this.backingStore.get("categoryId"); } /** - * Gets the description property value. Description of the item + * Gets the description property value. Description of the setting. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -79,7 +79,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. Display name of the item + * Gets the displayName property value. Name of the setting. For example: Allow Toast. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -115,7 +115,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the helpText property value. Help text of the item + * Gets the helpText property value. Help text of the setting. Give more details of the setting. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -123,7 +123,7 @@ public String getHelpText() { return this.backingStore.get("helpText"); } /** - * Gets the infoUrls property value. List of links more info for the setting can be found at + * Gets the infoUrls property value. List of links more info for the setting can be found at. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -179,7 +179,7 @@ public EnumSet getRiskLevel() { return this.backingStore.get("riskLevel"); } /** - * Gets the rootDefinitionId property value. Root setting definition if the setting is a child setting. + * Gets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -253,7 +253,7 @@ public void setAccessTypes(@jakarta.annotation.Nullable final EnumSet value) { @@ -344,7 +344,7 @@ public void setRiskLevel(@jakarta.annotation.Nullable final EnumSet> getFieldDeserializers return deserializerMap; } /** - * Gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 + * Gets the maximumCount property value. Maximum number of setting group count in the collection * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -44,7 +44,7 @@ public Integer getMaximumCount() { return this.backingStore.get("maximumCount"); } /** - * Gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 + * Gets the minimumCount property value. Minimum number of setting group count in the collection * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -62,14 +62,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("minimumCount", this.getMinimumCount()); } /** - * Sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 + * Sets the maximumCount property value. Maximum number of setting group count in the collection * @param value Value to set for the maximumCount property. */ public void setMaximumCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("maximumCount", value); } /** - * Sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 + * Sets the minimumCount property value. Minimum number of setting group count in the collection * @param value Value to set for the minimumCount property. */ public void setMinimumCount(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingGroupDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingGroupDefinition.java index 5a76fa8aeb5..629aa1a1f46 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingGroupDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingGroupDefinition.java @@ -32,7 +32,7 @@ public static DeviceManagementConfigurationSettingGroupDefinition createFromDisc return new DeviceManagementConfigurationSettingGroupDefinition(); } /** - * Gets the childIds property value. Dependent child settings to this group of settings. + * Gets the childIds property value. Dependent child settings to this group of settings * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -79,7 +79,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("dependentOn", this.getDependentOn()); } /** - * Sets the childIds property value. Dependent child settings to this group of settings. + * Sets the childIds property value. Dependent child settings to this group of settings * @param value Value to set for the childIds property. */ public void setChildIds(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.java index 3db7d730eaf..6799f204485 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the maximumCount property value. Maximum number of simple settings in the collection + * Gets the maximumCount property value. Maximum number of simple settings in the collection. Valid values 1 to 100 * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -44,7 +44,7 @@ public Integer getMaximumCount() { return this.backingStore.get("maximumCount"); } /** - * Gets the minimumCount property value. Minimum number of simple settings in the collection + * Gets the minimumCount property value. Minimum number of simple settings in the collection. Valid values 1 to 100 * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -62,14 +62,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("minimumCount", this.getMinimumCount()); } /** - * Sets the maximumCount property value. Maximum number of simple settings in the collection + * Sets the maximumCount property value. Maximum number of simple settings in the collection. Valid values 1 to 100 * @param value Value to set for the maximumCount property. */ public void setMaximumCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("maximumCount", value); } /** - * Sets the minimumCount property value. Minimum number of simple settings in the collection + * Sets the minimumCount property value. Minimum number of simple settings in the collection. Valid values 1 to 100 * @param value Value to set for the minimumCount property. */ public void setMinimumCount(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingDefinition.java index fbebe1570f2..c19c8a011a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSimpleSettingDefinition.java @@ -32,7 +32,7 @@ public static DeviceManagementConfigurationSimpleSettingDefinition createFromDis return new DeviceManagementConfigurationSimpleSettingDefinition(); } /** - * Gets the defaultValue property value. Default setting value for this setting. + * Gets the defaultValue property value. Default setting value for this setting * @return a {@link DeviceManagementConfigurationSettingValue} */ @jakarta.annotation.Nullable @@ -40,7 +40,7 @@ public DeviceManagementConfigurationSettingValue getDefaultValue() { return this.backingStore.get("defaultValue"); } /** - * Gets the dependedOnBy property value. list of child settings that depend on this setting. + * Gets the dependedOnBy property value. list of child settings that depend on this setting * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -48,7 +48,7 @@ public java.util.List getDepen return this.backingStore.get("dependedOnBy"); } /** - * Gets the dependentOn property value. list of parent settings this setting is dependent on. + * Gets the dependentOn property value. list of parent settings this setting is dependent on * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the valueDefinition property value. Definition of the value for this setting. + * Gets the valueDefinition property value. Definition of the value for this setting * @return a {@link DeviceManagementConfigurationSettingValueDefinition} */ @jakarta.annotation.Nullable @@ -89,28 +89,28 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("valueDefinition", this.getValueDefinition()); } /** - * Sets the defaultValue property value. Default setting value for this setting. + * Sets the defaultValue property value. Default setting value for this setting * @param value Value to set for the defaultValue property. */ public void setDefaultValue(@jakarta.annotation.Nullable final DeviceManagementConfigurationSettingValue value) { this.backingStore.set("defaultValue", value); } /** - * Sets the dependedOnBy property value. list of child settings that depend on this setting. + * Sets the dependedOnBy property value. list of child settings that depend on this setting * @param value Value to set for the dependedOnBy property. */ public void setDependedOnBy(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("dependedOnBy", value); } /** - * Sets the dependentOn property value. list of parent settings this setting is dependent on. + * Sets the dependentOn property value. list of parent settings this setting is dependent on * @param value Value to set for the dependentOn property. */ public void setDependentOn(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("dependentOn", value); } /** - * Sets the valueDefinition property value. Definition of the value for this setting. + * Sets the valueDefinition property value. Definition of the value for this setting * @param value Value to set for the valueDefinition property. */ public void setValueDefinition(@jakarta.annotation.Nullable final DeviceManagementConfigurationSettingValueDefinition value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationStringSettingValueDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationStringSettingValueDefinition.java index 6d677e428e3..d7c609e56e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationStringSettingValueDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationStringSettingValueDefinition.java @@ -52,7 +52,7 @@ public java.util.List getFileTypes() { return this.backingStore.get("fileTypes"); } /** - * Gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + * Gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. * @return a {@link DeviceManagementConfigurationStringFormat} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public Boolean getIsSecret() { return this.backingStore.get("isSecret"); } /** - * Gets the maximumLength property value. Maximum length of string + * Gets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public Long getMaximumLength() { return this.backingStore.get("maximumLength"); } /** - * Gets the minimumLength property value. Minimum length of string + * Gets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -113,7 +113,7 @@ public void setFileTypes(@jakarta.annotation.Nullable final java.util.List} */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public String getDisplayName() { return this.backingStore.get("displayName"); } /** - * Gets the expirationDateTime property value. Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. + * Gets the expirationDateTime property value. Optional profile expiration date and time. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -176,7 +176,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("version", this.getVersion()); } /** - * Sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + * Sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. * @param value Value to set for the assignments property. */ public void setAssignments(@jakarta.annotation.Nullable final java.util.List value) { @@ -211,7 +211,7 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the expirationDateTime property value. Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. + * Sets the expirationDateTime property value. Optional profile expiration date and time. * @param value Value to set for the expirationDateTime property. */ public void setExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/IosManagedAppProtection.java b/src/main/java/com/microsoft/graph/beta/generated/models/IosManagedAppProtection.java index e531061389b..979cd5cddce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/IosManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/IosManagedAppProtection.java @@ -77,7 +77,7 @@ public java.util.List getApps() { return this.backingStore.get("apps"); } /** - * Gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. + * Gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -338,7 +338,7 @@ public void setApps(@jakarta.annotation.Nullable final java.util.List> getFieldDeserializers final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("itemInsights", (n) -> { this.setItemInsights(n.getObjectValue(InsightsSettings::createFromDiscriminatorValue)); }); deserializerMap.put("namePronunciation", (n) -> { this.setNamePronunciation(n.getObjectValue(NamePronunciationSettings::createFromDiscriminatorValue)); }); + deserializerMap.put("photoUpdateSettings", (n) -> { this.setPhotoUpdateSettings(n.getObjectValue(PhotoUpdateSettings::createFromDiscriminatorValue)); }); deserializerMap.put("profileCardProperties", (n) -> { this.setProfileCardProperties(n.getCollectionOfObjectValues(ProfileCardProperty::createFromDiscriminatorValue)); }); deserializerMap.put("profilePropertySettings", (n) -> { this.setProfilePropertySettings(n.getCollectionOfObjectValues(ProfilePropertySetting::createFromDiscriminatorValue)); }); deserializerMap.put("profileSources", (n) -> { this.setProfileSources(n.getCollectionOfObjectValues(ProfileSource::createFromDiscriminatorValue)); }); @@ -55,6 +56,14 @@ public InsightsSettings getItemInsights() { public NamePronunciationSettings getNamePronunciation() { return this.backingStore.get("namePronunciation"); } + /** + * Gets the photoUpdateSettings property value. Administrator settings that manage the support for item photo updates in an organization. + * @return a {@link PhotoUpdateSettings} + */ + @jakarta.annotation.Nullable + public PhotoUpdateSettings getPhotoUpdateSettings() { + return this.backingStore.get("photoUpdateSettings"); + } /** * Gets the profileCardProperties property value. A collection of the properties an administrator defined as visible on the Microsoft 365 profile card. * @return a {@link java.util.List} @@ -96,6 +105,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeObjectValue("itemInsights", this.getItemInsights()); writer.writeObjectValue("namePronunciation", this.getNamePronunciation()); + writer.writeObjectValue("photoUpdateSettings", this.getPhotoUpdateSettings()); writer.writeCollectionOfObjectValues("profileCardProperties", this.getProfileCardProperties()); writer.writeCollectionOfObjectValues("profilePropertySettings", this.getProfilePropertySettings()); writer.writeCollectionOfObjectValues("profileSources", this.getProfileSources()); @@ -115,6 +125,13 @@ public void setItemInsights(@jakarta.annotation.Nullable final InsightsSettings public void setNamePronunciation(@jakarta.annotation.Nullable final NamePronunciationSettings value) { this.backingStore.set("namePronunciation", value); } + /** + * Sets the photoUpdateSettings property value. Administrator settings that manage the support for item photo updates in an organization. + * @param value Value to set for the photoUpdateSettings property. + */ + public void setPhotoUpdateSettings(@jakarta.annotation.Nullable final PhotoUpdateSettings value) { + this.backingStore.set("photoUpdateSettings", value); + } /** * Sets the profileCardProperties property value. A collection of the properties an administrator defined as visible on the Microsoft 365 profile card. * @param value Value to set for the profileCardProperties property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/PhotoUpdateSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/PhotoUpdateSettings.java new file mode 100644 index 00000000000..6b7c47061ca --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/PhotoUpdateSettings.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class PhotoUpdateSettings extends Entity implements Parsable { + /** + * Instantiates a new {@link PhotoUpdateSettings} and sets the default values. + */ + public PhotoUpdateSettings() { + 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 PhotoUpdateSettings} + */ + @jakarta.annotation.Nonnull + public static PhotoUpdateSettings createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PhotoUpdateSettings(); + } + /** + * Gets the allowedRoles property value. Contains a list of roles to perform edit operations in the cloud. Optional. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAllowedRoles() { + return this.backingStore.get("allowedRoles"); + } + /** + * 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("allowedRoles", (n) -> { this.setAllowedRoles(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfPrimitiveValues("allowedRoles", this.getAllowedRoles()); + } + /** + * Sets the allowedRoles property value. Contains a list of roles to perform edit operations in the cloud. Optional. + * @param value Value to set for the allowedRoles property. + */ + public void setAllowedRoles(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("allowedRoles", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/PlannerApprovalRequirement.java b/src/main/java/com/microsoft/graph/beta/generated/models/PlannerApprovalRequirement.java index 47234c2bd86..a9f84eb4a58 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/PlannerApprovalRequirement.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/PlannerApprovalRequirement.java @@ -67,7 +67,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isApprovalRequired property value. Specifies whether approval is required to complete the plannerTask. When this property is set to true, the task can only be marked complete if an approval is created for the task and approved. + * Gets the isApprovalRequired property value. Specifies whether approval is required to complete the plannerTask. If set to true, the task can only be marked as complete if an approval is created for the task and approved. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -108,7 +108,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the isApprovalRequired property value. Specifies whether approval is required to complete the plannerTask. When this property is set to true, the task can only be marked complete if an approval is created for the task and approved. + * Sets the isApprovalRequired property value. Specifies whether approval is required to complete the plannerTask. If set to true, the task can only be marked as complete if an approval is created for the task and approved. * @param value Value to set for the isApprovalRequired property. */ public void setIsApprovalRequired(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Report.java b/src/main/java/com/microsoft/graph/beta/generated/models/Report.java index d563e1b88a4..d99a393990c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Report.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Report.java @@ -59,7 +59,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the content property value. The http content that has the data + * Gets the content property value. Report content; details vary by report type. * @return a {@link byte[]} */ @jakarta.annotation.Nullable @@ -111,7 +111,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the content property value. The http content that has the data + * Sets the content property value. Report content; details vary by report type. * @param value Value to set for the content property. */ public void setContent(@jakarta.annotation.Nullable final byte[] value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/SensitiveType.java b/src/main/java/com/microsoft/graph/beta/generated/models/SensitiveType.java index b10a6564d34..ed9411e0429 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/SensitiveType.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/SensitiveType.java @@ -3,6 +3,7 @@ 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.EnumSet; import java.util.HashMap; import java.util.Map; @@ -50,6 +51,7 @@ public Map> getFieldDeserializers final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("classificationMethod", (n) -> { this.setClassificationMethod(n.getEnumValue(ClassificationMethod::forValue)); }); deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); deserializerMap.put("publisherName", (n) -> { this.setPublisherName(n.getStringValue()); }); deserializerMap.put("rulePackageId", (n) -> { this.setRulePackageId(n.getStringValue()); }); @@ -59,6 +61,14 @@ public Map> getFieldDeserializers deserializerMap.put("state", (n) -> { this.setState(n.getStringValue()); }); return deserializerMap; } + /** + * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastModifiedDateTime() { + return this.backingStore.get("lastModifiedDateTime"); + } /** * Gets the name property value. The name property * @return a {@link String} @@ -124,6 +134,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeEnumValue("classificationMethod", this.getClassificationMethod()); writer.writeStringValue("description", this.getDescription()); + writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); writer.writeStringValue("name", this.getName()); writer.writeStringValue("publisherName", this.getPublisherName()); writer.writeStringValue("rulePackageId", this.getRulePackageId()); @@ -146,6 +157,13 @@ public void setClassificationMethod(@jakarta.annotation.Nullable final Classific public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } + /** + * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @param value Value to set for the lastModifiedDateTime property. + */ + public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastModifiedDateTime", value); + } /** * Sets the name property value. The name property * @param value Value to set for the name property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Site.java b/src/main/java/com/microsoft/graph/beta/generated/models/Site.java index adbc186b7cf..adad842d34a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Site.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Site.java @@ -98,6 +98,14 @@ public Drive getDrive() { public java.util.List getDrives() { return this.backingStore.get("drives"); } + /** + * Gets the extensions property value. The collection of open extensions defined for this site. Nullable. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getExtensions() { + return this.backingStore.get("extensions"); + } /** * Gets the externalColumns property value. The collection of column definitions available in the site that is referenced from the sites in the parent hierarchy of the current site. * @return a {@link java.util.List} @@ -122,6 +130,7 @@ public Map> getFieldDeserializers deserializerMap.put("documentProcessingJobs", (n) -> { this.setDocumentProcessingJobs(n.getCollectionOfObjectValues(DocumentProcessingJob::createFromDiscriminatorValue)); }); deserializerMap.put("drive", (n) -> { this.setDrive(n.getObjectValue(Drive::createFromDiscriminatorValue)); }); deserializerMap.put("drives", (n) -> { this.setDrives(n.getCollectionOfObjectValues(Drive::createFromDiscriminatorValue)); }); + deserializerMap.put("extensions", (n) -> { this.setExtensions(n.getCollectionOfObjectValues(Extension::createFromDiscriminatorValue)); }); deserializerMap.put("externalColumns", (n) -> { this.setExternalColumns(n.getCollectionOfObjectValues(ColumnDefinition::createFromDiscriminatorValue)); }); deserializerMap.put("informationProtection", (n) -> { this.setInformationProtection(n.getObjectValue(InformationProtection::createFromDiscriminatorValue)); }); deserializerMap.put("isPersonalSite", (n) -> { this.setIsPersonalSite(n.getBooleanValue()); }); @@ -285,6 +294,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("documentProcessingJobs", this.getDocumentProcessingJobs()); writer.writeObjectValue("drive", this.getDrive()); writer.writeCollectionOfObjectValues("drives", this.getDrives()); + writer.writeCollectionOfObjectValues("extensions", this.getExtensions()); writer.writeCollectionOfObjectValues("externalColumns", this.getExternalColumns()); writer.writeObjectValue("informationProtection", this.getInformationProtection()); writer.writeBooleanValue("isPersonalSite", this.getIsPersonalSite()); @@ -366,6 +376,13 @@ public void setDrive(@jakarta.annotation.Nullable final Drive value) { public void setDrives(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("drives", value); } + /** + * Sets the extensions property value. The collection of open extensions defined for this site. Nullable. + * @param value Value to set for the extensions property. + */ + public void setExtensions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("extensions", value); + } /** * Sets the externalColumns property value. The collection of column definitions available in the site that is referenced from the sites in the parent hierarchy of the current site. * @param value Value to set for the externalColumns property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserEventsSummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserEventsSummary.java new file mode 100644 index 00000000000..e4976f9e826 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserEventsSummary.java @@ -0,0 +1,164 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserEventsSummary extends Entity implements Parsable { + /** + * Instantiates a new {@link UserEventsSummary} and sets the default values. + */ + public UserEventsSummary() { + 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 UserEventsSummary} + */ + @jakarta.annotation.Nonnull + public static UserEventsSummary createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserEventsSummary(); + } + /** + * Gets the authMethod property value. The authMethod property + * @return a {@link UsageAuthMethod} + */ + @jakarta.annotation.Nullable + public UsageAuthMethod getAuthMethod() { + return this.backingStore.get("authMethod"); + } + /** + * Gets the eventDateTime property value. The date and time (UTC) when the event occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getEventDateTime() { + return this.backingStore.get("eventDateTime"); + } + /** + * Gets the failureReason property value. The specific reason why the event failed (if it was not successful.) + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFailureReason() { + return this.backingStore.get("failureReason"); + } + /** + * Gets the feature property value. The feature property + * @return a {@link FeatureType} + */ + @jakarta.annotation.Nullable + public FeatureType getFeature() { + return this.backingStore.get("feature"); + } + /** + * 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("authMethod", (n) -> { this.setAuthMethod(n.getEnumValue(UsageAuthMethod::forValue)); }); + deserializerMap.put("eventDateTime", (n) -> { this.setEventDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("failureReason", (n) -> { this.setFailureReason(n.getStringValue()); }); + deserializerMap.put("feature", (n) -> { this.setFeature(n.getEnumValue(FeatureType::forValue)); }); + deserializerMap.put("isSuccess", (n) -> { this.setIsSuccess(n.getBooleanValue()); }); + deserializerMap.put("userDisplayName", (n) -> { this.setUserDisplayName(n.getStringValue()); }); + deserializerMap.put("userPrincipalName", (n) -> { this.setUserPrincipalName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the isSuccess property value. Indicates whether the event was successful or not. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsSuccess() { + return this.backingStore.get("isSuccess"); + } + /** + * Gets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getUserDisplayName() { + return this.backingStore.get("userDisplayName"); + } + /** + * Gets the userPrincipalName property value. The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderby. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getUserPrincipalName() { + return this.backingStore.get("userPrincipalName"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeEnumValue("authMethod", this.getAuthMethod()); + writer.writeOffsetDateTimeValue("eventDateTime", this.getEventDateTime()); + writer.writeStringValue("failureReason", this.getFailureReason()); + writer.writeEnumValue("feature", this.getFeature()); + writer.writeBooleanValue("isSuccess", this.getIsSuccess()); + writer.writeStringValue("userDisplayName", this.getUserDisplayName()); + writer.writeStringValue("userPrincipalName", this.getUserPrincipalName()); + } + /** + * Sets the authMethod property value. The authMethod property + * @param value Value to set for the authMethod property. + */ + public void setAuthMethod(@jakarta.annotation.Nullable final UsageAuthMethod value) { + this.backingStore.set("authMethod", value); + } + /** + * Sets the eventDateTime property value. The date and time (UTC) when the event occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param value Value to set for the eventDateTime property. + */ + public void setEventDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("eventDateTime", value); + } + /** + * Sets the failureReason property value. The specific reason why the event failed (if it was not successful.) + * @param value Value to set for the failureReason property. + */ + public void setFailureReason(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("failureReason", value); + } + /** + * Sets the feature property value. The feature property + * @param value Value to set for the feature property. + */ + public void setFeature(@jakarta.annotation.Nullable final FeatureType value) { + this.backingStore.set("feature", value); + } + /** + * Sets the isSuccess property value. Indicates whether the event was successful or not. + * @param value Value to set for the isSuccess property. + */ + public void setIsSuccess(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isSuccess", value); + } + /** + * Sets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby. + * @param value Value to set for the userDisplayName property. + */ + public void setUserDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("userDisplayName", value); + } + /** + * Sets the userPrincipalName property value. The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderby. + * @param value Value to set for the userPrincipalName property. + */ + public void setUserPrincipalName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("userPrincipalName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserEventsSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserEventsSummaryCollectionResponse.java new file mode 100644 index 00000000000..2c529eb82d9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserEventsSummaryCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserEventsSummaryCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link UserEventsSummaryCollectionResponse} and sets the default values. + */ + public UserEventsSummaryCollectionResponse() { + 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 UserEventsSummaryCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static UserEventsSummaryCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserEventsSummaryCollectionResponse(); + } + /** + * 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(UserEventsSummary::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserMfaSignInSummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserMfaSignInSummary.java new file mode 100644 index 00000000000..2f2c5045bf1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserMfaSignInSummary.java @@ -0,0 +1,113 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserMfaSignInSummary extends Entity implements Parsable { + /** + * Instantiates a new {@link UserMfaSignInSummary} and sets the default values. + */ + public UserMfaSignInSummary() { + 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 UserMfaSignInSummary} + */ + @jakarta.annotation.Nonnull + public static UserMfaSignInSummary createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserMfaSignInSummary(); + } + /** + * Gets the createdDateTime property value. The date and time (UTC) for when the summary was aggregated for. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("multiFactorSignIns", (n) -> { this.setMultiFactorSignIns(n.getLongValue()); }); + deserializerMap.put("singleFactorSignIns", (n) -> { this.setSingleFactorSignIns(n.getLongValue()); }); + deserializerMap.put("totalSignIns", (n) -> { this.setTotalSignIns(n.getLongValue()); }); + return deserializerMap; + } + /** + * Gets the multiFactorSignIns property value. The total number of MFA sign-ins for the given day. + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getMultiFactorSignIns() { + return this.backingStore.get("multiFactorSignIns"); + } + /** + * Gets the singleFactorSignIns property value. The total number of non-MFA sign ins for the given day. + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getSingleFactorSignIns() { + return this.backingStore.get("singleFactorSignIns"); + } + /** + * Gets the totalSignIns property value. The total number of sign-ins for the given day. + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getTotalSignIns() { + return this.backingStore.get("totalSignIns"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeLongValue("multiFactorSignIns", this.getMultiFactorSignIns()); + writer.writeLongValue("singleFactorSignIns", this.getSingleFactorSignIns()); + writer.writeLongValue("totalSignIns", this.getTotalSignIns()); + } + /** + * Sets the createdDateTime property value. The date and time (UTC) for when the summary was aggregated for. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the multiFactorSignIns property value. The total number of MFA sign-ins for the given day. + * @param value Value to set for the multiFactorSignIns property. + */ + public void setMultiFactorSignIns(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("multiFactorSignIns", value); + } + /** + * Sets the singleFactorSignIns property value. The total number of non-MFA sign ins for the given day. + * @param value Value to set for the singleFactorSignIns property. + */ + public void setSingleFactorSignIns(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("singleFactorSignIns", value); + } + /** + * Sets the totalSignIns property value. The total number of sign-ins for the given day. + * @param value Value to set for the totalSignIns property. + */ + public void setTotalSignIns(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("totalSignIns", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserMfaSignInSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserMfaSignInSummaryCollectionResponse.java new file mode 100644 index 00000000000..96cfc6ad164 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserMfaSignInSummaryCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserMfaSignInSummaryCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link UserMfaSignInSummaryCollectionResponse} and sets the default values. + */ + public UserMfaSignInSummaryCollectionResponse() { + 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 UserMfaSignInSummaryCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static UserMfaSignInSummaryCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserMfaSignInSummaryCollectionResponse(); + } + /** + * 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(UserMfaSignInSummary::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserPasswordResetsAndChangesSummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserPasswordResetsAndChangesSummary.java new file mode 100644 index 00000000000..116c51fe2b9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserPasswordResetsAndChangesSummary.java @@ -0,0 +1,113 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserPasswordResetsAndChangesSummary extends Entity implements Parsable { + /** + * Instantiates a new {@link UserPasswordResetsAndChangesSummary} and sets the default values. + */ + public UserPasswordResetsAndChangesSummary() { + 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 UserPasswordResetsAndChangesSummary} + */ + @jakarta.annotation.Nonnull + public static UserPasswordResetsAndChangesSummary createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserPasswordResetsAndChangesSummary(); + } + /** + * Gets the aggregatedDateTime property value. The aggregated day for which the summary applies to. This property will always represent the entire day. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getAggregatedDateTime() { + return this.backingStore.get("aggregatedDateTime"); + } + /** + * Gets the changePasswordSelfServiceCount property value. The number of self-service password changes that occurred during this window. + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getChangePasswordSelfServiceCount() { + return this.backingStore.get("changePasswordSelfServiceCount"); + } + /** + * 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("aggregatedDateTime", (n) -> { this.setAggregatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("changePasswordSelfServiceCount", (n) -> { this.setChangePasswordSelfServiceCount(n.getLongValue()); }); + deserializerMap.put("passwordResetsByAdminCount", (n) -> { this.setPasswordResetsByAdminCount(n.getLongValue()); }); + deserializerMap.put("passwordResetsSelfServiceCount", (n) -> { this.setPasswordResetsSelfServiceCount(n.getLongValue()); }); + return deserializerMap; + } + /** + * Gets the passwordResetsByAdminCount property value. The number of admin-triggered password resets that occurred during this window. + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getPasswordResetsByAdminCount() { + return this.backingStore.get("passwordResetsByAdminCount"); + } + /** + * Gets the passwordResetsSelfServiceCount property value. The number of self-service password resets that occurred during this window. + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getPasswordResetsSelfServiceCount() { + return this.backingStore.get("passwordResetsSelfServiceCount"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeOffsetDateTimeValue("aggregatedDateTime", this.getAggregatedDateTime()); + writer.writeLongValue("changePasswordSelfServiceCount", this.getChangePasswordSelfServiceCount()); + writer.writeLongValue("passwordResetsByAdminCount", this.getPasswordResetsByAdminCount()); + writer.writeLongValue("passwordResetsSelfServiceCount", this.getPasswordResetsSelfServiceCount()); + } + /** + * Sets the aggregatedDateTime property value. The aggregated day for which the summary applies to. This property will always represent the entire day. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param value Value to set for the aggregatedDateTime property. + */ + public void setAggregatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("aggregatedDateTime", value); + } + /** + * Sets the changePasswordSelfServiceCount property value. The number of self-service password changes that occurred during this window. + * @param value Value to set for the changePasswordSelfServiceCount property. + */ + public void setChangePasswordSelfServiceCount(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("changePasswordSelfServiceCount", value); + } + /** + * Sets the passwordResetsByAdminCount property value. The number of admin-triggered password resets that occurred during this window. + * @param value Value to set for the passwordResetsByAdminCount property. + */ + public void setPasswordResetsByAdminCount(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("passwordResetsByAdminCount", value); + } + /** + * Sets the passwordResetsSelfServiceCount property value. The number of self-service password resets that occurred during this window. + * @param value Value to set for the passwordResetsSelfServiceCount property. + */ + public void setPasswordResetsSelfServiceCount(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("passwordResetsSelfServiceCount", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserPasswordResetsAndChangesSummaryCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserPasswordResetsAndChangesSummaryCollectionResponse.java new file mode 100644 index 00000000000..112b13ea5bf --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserPasswordResetsAndChangesSummaryCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserPasswordResetsAndChangesSummaryCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link UserPasswordResetsAndChangesSummaryCollectionResponse} and sets the default values. + */ + public UserPasswordResetsAndChangesSummaryCollectionResponse() { + 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 UserPasswordResetsAndChangesSummaryCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static UserPasswordResetsAndChangesSummaryCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserPasswordResetsAndChangesSummaryCollectionResponse(); + } + /** + * 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(UserPasswordResetsAndChangesSummary::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserRegistrationActivitySummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserRegistrationActivitySummary.java new file mode 100644 index 00000000000..39295e26efd --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserRegistrationActivitySummary.java @@ -0,0 +1,112 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserRegistrationActivitySummary extends Entity implements Parsable { + /** + * Instantiates a new {@link UserRegistrationActivitySummary} and sets the default values. + */ + public UserRegistrationActivitySummary() { + 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 UserRegistrationActivitySummary} + */ + @jakarta.annotation.Nonnull + public static UserRegistrationActivitySummary createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserRegistrationActivitySummary(); + } + /** + * Gets the authMethod property value. The authMethod property + * @return a {@link UsageAuthMethod} + */ + @jakarta.annotation.Nullable + public UsageAuthMethod getAuthMethod() { + return this.backingStore.get("authMethod"); + } + /** + * Gets the failureActivityCount property value. The total number of failed activities for the corresponding authMethod and feature. Supports $filter (eq). + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getFailureActivityCount() { + return this.backingStore.get("failureActivityCount"); + } + /** + * Gets the feature property value. The feature property + * @return a {@link FeatureType} + */ + @jakarta.annotation.Nullable + public FeatureType getFeature() { + return this.backingStore.get("feature"); + } + /** + * 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("authMethod", (n) -> { this.setAuthMethod(n.getEnumValue(UsageAuthMethod::forValue)); }); + deserializerMap.put("failureActivityCount", (n) -> { this.setFailureActivityCount(n.getLongValue()); }); + deserializerMap.put("feature", (n) -> { this.setFeature(n.getEnumValue(FeatureType::forValue)); }); + deserializerMap.put("successfulActivityCount", (n) -> { this.setSuccessfulActivityCount(n.getLongValue()); }); + return deserializerMap; + } + /** + * Gets the successfulActivityCount property value. The total number of successful activities for the corresponding authMethod and feature. Supports $filter (gt, lt). + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getSuccessfulActivityCount() { + return this.backingStore.get("successfulActivityCount"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeEnumValue("authMethod", this.getAuthMethod()); + writer.writeLongValue("failureActivityCount", this.getFailureActivityCount()); + writer.writeEnumValue("feature", this.getFeature()); + writer.writeLongValue("successfulActivityCount", this.getSuccessfulActivityCount()); + } + /** + * Sets the authMethod property value. The authMethod property + * @param value Value to set for the authMethod property. + */ + public void setAuthMethod(@jakarta.annotation.Nullable final UsageAuthMethod value) { + this.backingStore.set("authMethod", value); + } + /** + * Sets the failureActivityCount property value. The total number of failed activities for the corresponding authMethod and feature. Supports $filter (eq). + * @param value Value to set for the failureActivityCount property. + */ + public void setFailureActivityCount(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("failureActivityCount", value); + } + /** + * Sets the feature property value. The feature property + * @param value Value to set for the feature property. + */ + public void setFeature(@jakarta.annotation.Nullable final FeatureType value) { + this.backingStore.set("feature", value); + } + /** + * Sets the successfulActivityCount property value. The total number of successful activities for the corresponding authMethod and feature. Supports $filter (gt, lt). + * @param value Value to set for the successfulActivityCount property. + */ + public void setSuccessfulActivityCount(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("successfulActivityCount", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserSignInUsageByAuthMethodActivity.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserSignInUsageByAuthMethodActivity.java new file mode 100644 index 00000000000..b66472effba --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserSignInUsageByAuthMethodActivity.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserSignInUsageByAuthMethodActivity implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link UserSignInUsageByAuthMethodActivity} and sets the default values. + */ + public UserSignInUsageByAuthMethodActivity() { + 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 UserSignInUsageByAuthMethodActivity} + */ + @jakarta.annotation.Nonnull + public static UserSignInUsageByAuthMethodActivity createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserSignInUsageByAuthMethodActivity(); + } + /** + * 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 authenticationMethod property value. The authentication method for the given summary. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAuthenticationMethod() { + return this.backingStore.get("authenticationMethod"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("authenticationMethod", (n) -> { this.setAuthenticationMethod(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("successActivityCount", (n) -> { this.setSuccessActivityCount(n.getLongValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the successActivityCount property value. The total number of successful sign in events for the given authentication method. + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getSuccessActivityCount() { + return this.backingStore.get("successActivityCount"); + } + /** + * 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("authenticationMethod", this.getAuthenticationMethod()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeLongValue("successActivityCount", this.getSuccessActivityCount()); + 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 authenticationMethod property value. The authentication method for the given summary. + * @param value Value to set for the authenticationMethod property. + */ + public void setAuthenticationMethod(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("authenticationMethod", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the successActivityCount property value. The total number of successful sign in events for the given authentication method. + * @param value Value to set for the successActivityCount property. + */ + public void setSuccessActivityCount(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("successActivityCount", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java index d258eae6c09..5559029a4ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java @@ -67,7 +67,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -117,7 +117,7 @@ public void setComputerNameSuffixRandomCharCount(@jakarta.annotation.Nullable fi this.backingStore.set("computerNameSuffixRandomCharCount", value); } /** - * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity * @param value Value to set for the networkAccessConfigurations property. */ public void setNetworkAccessConfigurations(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/Alert.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/Alert.java index 785aebcdcad..b33dade796e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/Alert.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/Alert.java @@ -27,7 +27,7 @@ public static Alert createFromDiscriminatorValue(@jakarta.annotation.Nonnull fin return new Alert(); } /** - * Gets the actions property value. The actions property + * Gets the actions property value. List of possible action items to take based on the alert (if applicable). * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -43,7 +43,23 @@ public AlertType getAlertType() { return this.backingStore.get("alertType"); } /** - * Gets the creationDateTime property value. The creationDateTime property + * Gets the categories property value. Categories associated with the alert. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCategories() { + return this.backingStore.get("categories"); + } + /** + * Gets the componentName property value. Component name related to the alert. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getComponentName() { + return this.backingStore.get("componentName"); + } + /** + * Gets the creationDateTime property value. The time the alert was created in the system. Required. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -51,7 +67,7 @@ public OffsetDateTime getCreationDateTime() { return this.backingStore.get("creationDateTime"); } /** - * Gets the description property value. The description property + * Gets the description property value. Text description explaining the alert. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -59,7 +75,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the detectionTechnology property value. The detectionTechnology property + * Gets the detectionTechnology property value. Alert detection technology. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -67,13 +83,21 @@ public String getDetectionTechnology() { return this.backingStore.get("detectionTechnology"); } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the alert. Required. * @return a {@link String} */ @jakarta.annotation.Nullable public String getDisplayName() { return this.backingStore.get("displayName"); } + /** + * Gets the extendedProperties property value. Extended properties for the alert. + * @return a {@link ExtendedProperties} + */ + @jakarta.annotation.Nullable + public ExtendedProperties getExtendedProperties() { + return this.backingStore.get("extendedProperties"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -83,18 +107,51 @@ public Map> getFieldDeserializers final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("actions", (n) -> { this.setActions(n.getCollectionOfObjectValues(AlertAction::createFromDiscriminatorValue)); }); deserializerMap.put("alertType", (n) -> { this.setAlertType(n.getEnumValue(AlertType::forValue)); }); + deserializerMap.put("categories", (n) -> { this.setCategories(n.getCollectionOfEnumValues(IntentCategory::forValue)); }); + deserializerMap.put("componentName", (n) -> { this.setComponentName(n.getStringValue()); }); deserializerMap.put("creationDateTime", (n) -> { this.setCreationDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); deserializerMap.put("detectionTechnology", (n) -> { this.setDetectionTechnology(n.getStringValue()); }); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("extendedProperties", (n) -> { this.setExtendedProperties(n.getObjectValue(ExtendedProperties::createFromDiscriminatorValue)); }); + deserializerMap.put("firstActivityDateTime", (n) -> { this.setFirstActivityDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("isPreview", (n) -> { this.setIsPreview(n.getBooleanValue()); }); + deserializerMap.put("lastActivityDateTime", (n) -> { this.setLastActivityDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("policy", (n) -> { this.setPolicy(n.getObjectValue(FilteringPolicy::createFromDiscriminatorValue)); }); + deserializerMap.put("productName", (n) -> { this.setProductName(n.getStringValue()); }); deserializerMap.put("relatedResources", (n) -> { this.setRelatedResources(n.getCollectionOfObjectValues(RelatedResource::createFromDiscriminatorValue)); }); deserializerMap.put("severity", (n) -> { this.setSeverity(n.getEnumValue(AlertSeverity::forValue)); }); + deserializerMap.put("subTechniques", (n) -> { this.setSubTechniques(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("techniques", (n) -> { this.setTechniques(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("vendorName", (n) -> { this.setVendorName(n.getStringValue()); }); return deserializerMap; } /** - * Gets the policy property value. The policy property + * Gets the firstActivityDateTime property value. The time of the first activity related to the alert. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getFirstActivityDateTime() { + return this.backingStore.get("firstActivityDateTime"); + } + /** + * Gets the isPreview property value. Indicates if the alert is a preview. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsPreview() { + return this.backingStore.get("isPreview"); + } + /** + * Gets the lastActivityDateTime property value. The time of the last activity related to the alert. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastActivityDateTime() { + return this.backingStore.get("lastActivityDateTime"); + } + /** + * Gets the policy property value. The filtering policy associated with the alert. This relationship allows you to retrieve or manage the filtering policy that triggered or is related to the alert instance. * @return a {@link FilteringPolicy} */ @jakarta.annotation.Nullable @@ -102,7 +159,15 @@ public FilteringPolicy getPolicy() { return this.backingStore.get("policy"); } /** - * Gets the relatedResources property value. The relatedResources property + * Gets the productName property value. The name of the product that raised the alert. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getProductName() { + return this.backingStore.get("productName"); + } + /** + * Gets the relatedResources property value. List of related resources to the alert (if applicable). * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -118,7 +183,23 @@ public AlertSeverity getSeverity() { return this.backingStore.get("severity"); } /** - * Gets the vendorName property value. The vendorName property + * Gets the subTechniques property value. Sub-techniques associated with the alert. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSubTechniques() { + return this.backingStore.get("subTechniques"); + } + /** + * Gets the techniques property value. Techniques associated with the alert. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getTechniques() { + return this.backingStore.get("techniques"); + } + /** + * Gets the vendorName property value. The name of the vendor that raised the alert. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -134,17 +215,26 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeCollectionOfObjectValues("actions", this.getActions()); writer.writeEnumValue("alertType", this.getAlertType()); + writer.writeCollectionOfEnumValues("categories", this.getCategories()); + writer.writeStringValue("componentName", this.getComponentName()); writer.writeOffsetDateTimeValue("creationDateTime", this.getCreationDateTime()); writer.writeStringValue("description", this.getDescription()); writer.writeStringValue("detectionTechnology", this.getDetectionTechnology()); writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeObjectValue("extendedProperties", this.getExtendedProperties()); + writer.writeOffsetDateTimeValue("firstActivityDateTime", this.getFirstActivityDateTime()); + writer.writeBooleanValue("isPreview", this.getIsPreview()); + writer.writeOffsetDateTimeValue("lastActivityDateTime", this.getLastActivityDateTime()); writer.writeObjectValue("policy", this.getPolicy()); + writer.writeStringValue("productName", this.getProductName()); writer.writeCollectionOfObjectValues("relatedResources", this.getRelatedResources()); writer.writeEnumValue("severity", this.getSeverity()); + writer.writeCollectionOfPrimitiveValues("subTechniques", this.getSubTechniques()); + writer.writeCollectionOfPrimitiveValues("techniques", this.getTechniques()); writer.writeStringValue("vendorName", this.getVendorName()); } /** - * Sets the actions property value. The actions property + * Sets the actions property value. List of possible action items to take based on the alert (if applicable). * @param value Value to set for the actions property. */ public void setActions(@jakarta.annotation.Nullable final java.util.List value) { @@ -158,42 +248,91 @@ public void setAlertType(@jakarta.annotation.Nullable final AlertType value) { this.backingStore.set("alertType", value); } /** - * Sets the creationDateTime property value. The creationDateTime property + * Sets the categories property value. Categories associated with the alert. + * @param value Value to set for the categories property. + */ + public void setCategories(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("categories", value); + } + /** + * Sets the componentName property value. Component name related to the alert. + * @param value Value to set for the componentName property. + */ + public void setComponentName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("componentName", value); + } + /** + * Sets the creationDateTime property value. The time the alert was created in the system. Required. * @param value Value to set for the creationDateTime property. */ public void setCreationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("creationDateTime", value); } /** - * Sets the description property value. The description property + * Sets the description property value. Text description explaining the alert. * @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 detectionTechnology property value. The detectionTechnology property + * Sets the detectionTechnology property value. Alert detection technology. * @param value Value to set for the detectionTechnology property. */ public void setDetectionTechnology(@jakarta.annotation.Nullable final String value) { this.backingStore.set("detectionTechnology", value); } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. The display name of the alert. Required. * @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 policy property value. The policy property + * Sets the extendedProperties property value. Extended properties for the alert. + * @param value Value to set for the extendedProperties property. + */ + public void setExtendedProperties(@jakarta.annotation.Nullable final ExtendedProperties value) { + this.backingStore.set("extendedProperties", value); + } + /** + * Sets the firstActivityDateTime property value. The time of the first activity related to the alert. + * @param value Value to set for the firstActivityDateTime property. + */ + public void setFirstActivityDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("firstActivityDateTime", value); + } + /** + * Sets the isPreview property value. Indicates if the alert is a preview. + * @param value Value to set for the isPreview property. + */ + public void setIsPreview(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isPreview", value); + } + /** + * Sets the lastActivityDateTime property value. The time of the last activity related to the alert. + * @param value Value to set for the lastActivityDateTime property. + */ + public void setLastActivityDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastActivityDateTime", value); + } + /** + * Sets the policy property value. The filtering policy associated with the alert. This relationship allows you to retrieve or manage the filtering policy that triggered or is related to the alert instance. * @param value Value to set for the policy property. */ public void setPolicy(@jakarta.annotation.Nullable final FilteringPolicy value) { this.backingStore.set("policy", value); } /** - * Sets the relatedResources property value. The relatedResources property + * Sets the productName property value. The name of the product that raised the alert. + * @param value Value to set for the productName property. + */ + public void setProductName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("productName", value); + } + /** + * Sets the relatedResources property value. List of related resources to the alert (if applicable). * @param value Value to set for the relatedResources property. */ public void setRelatedResources(@jakarta.annotation.Nullable final java.util.List value) { @@ -207,7 +346,21 @@ public void setSeverity(@jakarta.annotation.Nullable final AlertSeverity value) this.backingStore.set("severity", value); } /** - * Sets the vendorName property value. The vendorName property + * Sets the subTechniques property value. Sub-techniques associated with the alert. + * @param value Value to set for the subTechniques property. + */ + public void setSubTechniques(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("subTechniques", value); + } + /** + * Sets the techniques property value. Techniques associated with the alert. + * @param value Value to set for the techniques property. + */ + public void setTechniques(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("techniques", value); + } + /** + * Sets the vendorName property value. The name of the vendor that raised the alert. * @param value Value to set for the vendorName property. */ public void setVendorName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertAction.java index fd5607257e5..b15b5876e67 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertAction.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertAction.java @@ -35,7 +35,7 @@ public static AlertAction createFromDiscriminatorValue(@jakarta.annotation.Nonnu return new AlertAction(); } /** - * Gets the actionLink property value. The actionLink property + * Gets the actionLink property value. A link to more information or to perform the action (if applicable). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -43,7 +43,7 @@ public String getActionLink() { return this.backingStore.get("actionLink"); } /** - * Gets the actionText property value. The actionText property + * Gets the actionText property value. Text describing the action. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -103,14 +103,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeAdditionalData(this.getAdditionalData()); } /** - * Sets the actionLink property value. The actionLink property + * Sets the actionLink property value. A link to more information or to perform the action (if applicable). * @param value Value to set for the actionLink property. */ public void setActionLink(@jakarta.annotation.Nullable final String value) { this.backingStore.set("actionLink", value); } /** - * Sets the actionText property value. The actionText property + * Sets the actionText property value. Text describing the action. Required. * @param value Value to set for the actionText property. */ public void setActionText(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertFrequencyPoint.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertFrequencyPoint.java index 299204b58e5..fb49cfb2083 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertFrequencyPoint.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertFrequencyPoint.java @@ -72,7 +72,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the highSeverityCount property value. The highSeverityCount property + * Gets the highSeverityCount property value. Total number of high alert severity. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -80,7 +80,7 @@ public Long getHighSeverityCount() { return this.backingStore.get("highSeverityCount"); } /** - * Gets the informationalSeverityCount property value. The informationalSeverityCount property + * Gets the informationalSeverityCount property value. Total number of informational alert severity. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -88,7 +88,7 @@ public Long getInformationalSeverityCount() { return this.backingStore.get("informationalSeverityCount"); } /** - * Gets the lowSeverityCount property value. The lowSeverityCount property + * Gets the lowSeverityCount property value. Total number of low alert severity. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -96,7 +96,7 @@ public Long getLowSeverityCount() { return this.backingStore.get("lowSeverityCount"); } /** - * Gets the mediumSeverityCount property value. The mediumSeverityCount property + * Gets the mediumSeverityCount property value. Total number of medium alert severity. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -112,7 +112,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the timeStampDateTime property value. The timeStampDateTime property + * Gets the timeStampDateTime property value. The time bucket for counting the alert severities. Required. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -149,28 +149,28 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the highSeverityCount property value. The highSeverityCount property + * Sets the highSeverityCount property value. Total number of high alert severity. Required. * @param value Value to set for the highSeverityCount property. */ public void setHighSeverityCount(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("highSeverityCount", value); } /** - * Sets the informationalSeverityCount property value. The informationalSeverityCount property + * Sets the informationalSeverityCount property value. Total number of informational alert severity. Required. * @param value Value to set for the informationalSeverityCount property. */ public void setInformationalSeverityCount(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("informationalSeverityCount", value); } /** - * Sets the lowSeverityCount property value. The lowSeverityCount property + * Sets the lowSeverityCount property value. Total number of low alert severity. Required. * @param value Value to set for the lowSeverityCount property. */ public void setLowSeverityCount(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("lowSeverityCount", value); } /** - * Sets the mediumSeverityCount property value. The mediumSeverityCount property + * Sets the mediumSeverityCount property value. Total number of medium alert severity. Required. * @param value Value to set for the mediumSeverityCount property. */ public void setMediumSeverityCount(@jakarta.annotation.Nullable final Long value) { @@ -184,7 +184,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the timeStampDateTime property value. The timeStampDateTime property + * Sets the timeStampDateTime property value. The time bucket for counting the alert severities. Required. * @param value Value to set for the timeStampDateTime property. */ public void setTimeStampDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertSeveritySummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertSeveritySummary.java index aa101d6a3a4..6e2c2996707 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertSeveritySummary.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertSeveritySummary.java @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the count property value. The count property + * Gets the count property value. Total number of alerts with this specific severity. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -118,7 +118,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the count property value. The count property + * Sets the count property value. Total number of alerts with this specific severity. Required. * @param value Value to set for the count property. */ public void setCount(@jakarta.annotation.Nullable final Long value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertSummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertSummary.java index 7aa4899ed2d..015dce3c48c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertSummary.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/AlertSummary.java @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the count property value. The count property + * Gets the count property value. Total number of alerts with this specific severity and type. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -135,7 +135,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the count property value. The count property + * Sets the count property value. Total number of alerts with this specific severity and type. Required. * @param value Value to set for the count property. */ public void setCount(@jakarta.annotation.Nullable final Long value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/EntitiesSummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/EntitiesSummary.java index 0c2e674cb3a..b5ea720fea4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/EntitiesSummary.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/EntitiesSummary.java @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the deviceCount property value. The number of unique devices that were seen. + * Gets the deviceCount property value. The number of devices in the summary. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -94,7 +94,7 @@ public TrafficType getTrafficType() { return this.backingStore.get("trafficType"); } /** - * Gets the userCount property value. The number of unique Microsoft Entra ID users that were seen. + * Gets the userCount property value. The number of users in the summary. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -102,7 +102,7 @@ public Long getUserCount() { return this.backingStore.get("userCount"); } /** - * Gets the workloadCount property value. The number of unique target workloads/hosts that were seen. + * Gets the workloadCount property value. The number of workloads in the summary. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -138,7 +138,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the deviceCount property value. The number of unique devices that were seen. + * Sets the deviceCount property value. The number of devices in the summary. Required. * @param value Value to set for the deviceCount property. */ public void setDeviceCount(@jakarta.annotation.Nullable final Long value) { @@ -159,14 +159,14 @@ public void setTrafficType(@jakarta.annotation.Nullable final TrafficType value) this.backingStore.set("trafficType", value); } /** - * Sets the userCount property value. The number of unique Microsoft Entra ID users that were seen. + * Sets the userCount property value. The number of users in the summary. Required. * @param value Value to set for the userCount property. */ public void setUserCount(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("userCount", value); } /** - * Sets the workloadCount property value. The number of unique target workloads/hosts that were seen. + * Sets the workloadCount property value. The number of workloads in the summary. Required. * @param value Value to set for the workloadCount property. */ public void setWorkloadCount(@jakarta.annotation.Nullable final Long value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/ExtendedProperties.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/ExtendedProperties.java new file mode 100644 index 00000000000..1d4714bc674 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/ExtendedProperties.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models.networkaccess; + +import com.microsoft.graph.beta.models.Dictionary; +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 ExtendedProperties extends Dictionary implements Parsable { + /** + * Instantiates a new {@link ExtendedProperties} and sets the default values. + */ + public ExtendedProperties() { + 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 ExtendedProperties} + */ + @jakarta.annotation.Nonnull + public static ExtendedProperties createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ExtendedProperties(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/IntentCategory.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/IntentCategory.java new file mode 100644 index 00000000000..be90d2e2c5c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/IntentCategory.java @@ -0,0 +1,57 @@ +package com.microsoft.graph.beta.models.networkaccess; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum IntentCategory implements ValuedEnum { + InitialAccess("initialAccess"), + Persistence("persistence"), + PrivilegeEscalation("privilegeEscalation"), + DefenseEvasion("defenseEvasion"), + CredentialAccess("credentialAccess"), + Discovery("discovery"), + LateralMovement("lateralMovement"), + Execution("execution"), + Collection("collection"), + Exfiltration("exfiltration"), + CommandAndControl("commandAndControl"), + Impact("impact"), + ImpairProcessControl("impairProcessControl"), + InhibitResponseFunction("inhibitResponseFunction"), + Reconnaissance("reconnaissance"), + ResourceDevelopment("resourceDevelopment"), + Evasion("evasion"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + IntentCategory(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static IntentCategory forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "initialAccess": return InitialAccess; + case "persistence": return Persistence; + case "privilegeEscalation": return PrivilegeEscalation; + case "defenseEvasion": return DefenseEvasion; + case "credentialAccess": return CredentialAccess; + case "discovery": return Discovery; + case "lateralMovement": return LateralMovement; + case "execution": return Execution; + case "collection": return Collection; + case "exfiltration": return Exfiltration; + case "commandAndControl": return CommandAndControl; + case "impact": return Impact; + case "impairProcessControl": return ImpairProcessControl; + case "inhibitResponseFunction": return InhibitResponseFunction; + case "reconnaissance": return Reconnaissance; + case "resourceDevelopment": return ResourceDevelopment; + case "evasion": return Evasion; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedDestination.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedDestination.java index ab648c2e0e3..c967eed3354 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedDestination.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedDestination.java @@ -39,7 +39,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the fqdn property value. The fqdn property + * Gets the fqdn property value. Fully qualified domain name of the destination. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -47,7 +47,7 @@ public String getFqdn() { return this.backingStore.get("fqdn"); } /** - * Gets the ip property value. The ip property + * Gets the ip property value. IP address of the destination. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -63,7 +63,7 @@ public NetworkingProtocol getNetworkingProtocol() { return this.backingStore.get("networkingProtocol"); } /** - * Gets the port property value. The port property + * Gets the port property value. Port number used to access the destination. Required. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -83,14 +83,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("port", this.getPort()); } /** - * Sets the fqdn property value. The fqdn property + * Sets the fqdn property value. Fully qualified domain name of the destination. Required. * @param value Value to set for the fqdn property. */ public void setFqdn(@jakarta.annotation.Nullable final String value) { this.backingStore.set("fqdn", value); } /** - * Sets the ip property value. The ip property + * Sets the ip property value. IP address of the destination. Required. * @param value Value to set for the ip property. */ public void setIp(@jakarta.annotation.Nullable final String value) { @@ -104,7 +104,7 @@ public void setNetworkingProtocol(@jakarta.annotation.Nullable final NetworkingP this.backingStore.set("networkingProtocol", value); } /** - * Sets the port property value. The port property + * Sets the port property value. Port number used to access the destination. Required. * @param value Value to set for the port property. */ public void setPort(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedDevice.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedDevice.java index 682a146546b..f625acee548 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedDevice.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedDevice.java @@ -26,7 +26,7 @@ public static RelatedDevice createFromDiscriminatorValue(@jakarta.annotation.Non return new RelatedDevice(); } /** - * Gets the deviceId property value. The deviceId property + * Gets the deviceId property value. Unique identifier of the device involved in the alert. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("deviceId", this.getDeviceId()); } /** - * Sets the deviceId property value. The deviceId property + * Sets the deviceId property value. Unique identifier of the device involved in the alert. Required. * @param value Value to set for the deviceId property. */ public void setDeviceId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedFile.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedFile.java index 2729579e678..0591c95555b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedFile.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedFile.java @@ -26,7 +26,7 @@ public static RelatedFile createFromDiscriminatorValue(@jakarta.annotation.Nonnu return new RelatedFile(); } /** - * Gets the directory property value. The directory property + * Gets the directory property value. Directory path of the file. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -46,7 +46,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the name property value. The name property + * Gets the name property value. Name of the file. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public String getName() { return this.backingStore.get("name"); } /** - * Gets the sizeInBytes property value. The sizeInBytes property + * Gets the sizeInBytes property value. Size of the file in bytes. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -73,21 +73,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeLongValue("sizeInBytes", this.getSizeInBytes()); } /** - * Sets the directory property value. The directory property + * Sets the directory property value. Directory path of the file. Required. * @param value Value to set for the directory property. */ public void setDirectory(@jakarta.annotation.Nullable final String value) { this.backingStore.set("directory", value); } /** - * Sets the name property value. The name property + * Sets the name property value. Name of the file. Required. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("name", value); } /** - * Sets the sizeInBytes property value. The sizeInBytes property + * Sets the sizeInBytes property value. Size of the file in bytes. Required. * @param value Value to set for the sizeInBytes property. */ public void setSizeInBytes(@jakarta.annotation.Nullable final Long value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedFileHash.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedFileHash.java index 28ba6a8402a..69b20e86b83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedFileHash.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedFileHash.java @@ -45,7 +45,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the value property value. The value property + * Gets the value property value. The hash value. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -70,7 +70,7 @@ public void setAlgorithm(@jakarta.annotation.Nullable final Algorithm value) { this.backingStore.set("algorithm", value); } /** - * Sets the value property value. The value property + * Sets the value property value. The hash value. Required. * @param value Value to set for the value property. */ public void setValue(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedMalware.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedMalware.java index 5a98ead3f33..f861c8a6631 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedMalware.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedMalware.java @@ -26,7 +26,7 @@ public static RelatedMalware createFromDiscriminatorValue(@jakarta.annotation.No return new RelatedMalware(); } /** - * Gets the category property value. The category property + * Gets the category property value. Category of the malware. Required. The possible values are: adware, backdoor, behavior, bot, browserModifier, constructor, cryptojacking, ddos, dropper, dropperMalware, exploit, filelessMalware, hackTool, hybridMalware, joke, keylogger, misleading, monitoringTool, polymorphicMalware, passwordStealer, program, ransomware, remoteAccess, rogue, rootkit, settingsModifier, softwareBundler, spammer, spoofer, spyware, tool, trojan, trojanClicker, trojanDownloader, trojanNotifier, trojanProxy, trojanSpy, virus, wiperMalware, worm, unknownFutureValue, potentiallyUnwantedApplication, infostealer, unknown, phishing, obfuscatedMalware, coinMiner, dialer, grayware. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: potentiallyUnwantedApplication , infostealer , unknown , phishing , obfuscatedMalware , coinMiner , dialer , grayware. * @return a {@link MalwareCategory} */ @jakarta.annotation.Nullable @@ -46,7 +46,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the name property value. The name property + * Gets the name property value. Name of the malware. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public String getName() { return this.backingStore.get("name"); } /** - * Gets the severity property value. The severity property + * Gets the severity property value. Severity of the malware. Required. The possible values are: low, medium, high, critical, unknownFutureValue. * @return a {@link ThreatSeverity} */ @jakarta.annotation.Nullable @@ -73,21 +73,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("severity", this.getSeverity()); } /** - * Sets the category property value. The category property + * Sets the category property value. Category of the malware. Required. The possible values are: adware, backdoor, behavior, bot, browserModifier, constructor, cryptojacking, ddos, dropper, dropperMalware, exploit, filelessMalware, hackTool, hybridMalware, joke, keylogger, misleading, monitoringTool, polymorphicMalware, passwordStealer, program, ransomware, remoteAccess, rogue, rootkit, settingsModifier, softwareBundler, spammer, spoofer, spyware, tool, trojan, trojanClicker, trojanDownloader, trojanNotifier, trojanProxy, trojanSpy, virus, wiperMalware, worm, unknownFutureValue, potentiallyUnwantedApplication, infostealer, unknown, phishing, obfuscatedMalware, coinMiner, dialer, grayware. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: potentiallyUnwantedApplication , infostealer , unknown , phishing , obfuscatedMalware , coinMiner , dialer , grayware. * @param value Value to set for the category property. */ public void setCategory(@jakarta.annotation.Nullable final MalwareCategory value) { this.backingStore.set("category", value); } /** - * Sets the name property value. The name property + * Sets the name property value. Name of the malware. Required. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("name", value); } /** - * Sets the severity property value. The severity property + * Sets the severity property value. Severity of the malware. Required. The possible values are: low, medium, high, critical, unknownFutureValue. * @param value Value to set for the severity property. */ public void setSeverity(@jakarta.annotation.Nullable final ThreatSeverity value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedRemoteNetwork.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedRemoteNetwork.java index 567c8858e6f..69cb1041afc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedRemoteNetwork.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedRemoteNetwork.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the remoteNetworkId property value. The remoteNetworkId property + * Gets the remoteNetworkId property value. Unique identifier of the remote network. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("remoteNetworkId", this.getRemoteNetworkId()); } /** - * Sets the remoteNetworkId property value. The remoteNetworkId property + * Sets the remoteNetworkId property value. Unique identifier of the remote network. Required. * @param value Value to set for the remoteNetworkId property. */ public void setRemoteNetworkId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedTenant.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedTenant.java index 125c88e5768..839f57d8a5b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedTenant.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedTenant.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the tenantId property value. The tenantId property + * Gets the tenantId property value. Unique identifier of the tenant. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("tenantId", this.getTenantId()); } /** - * Sets the tenantId property value. The tenantId property + * Sets the tenantId property value. Unique identifier of the tenant. Required. * @param value Value to set for the tenantId property. */ public void setTenantId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedThreatIntelligence.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedThreatIntelligence.java index d3e08b52ad3..e64f6174a59 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedThreatIntelligence.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedThreatIntelligence.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the threatCount property value. The threatCount property + * Gets the threatCount property value. Number of threats detected by threat intelligence. Required. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeLongValue("threatCount", this.getThreatCount()); } /** - * Sets the threatCount property value. The threatCount property + * Sets the threatCount property value. Number of threats detected by threat intelligence. Required. * @param value Value to set for the threatCount property. */ public void setThreatCount(@jakarta.annotation.Nullable final Long value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedToken.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedToken.java index 395ee9f7df3..097a76a390c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedToken.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedToken.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the uniqueTokenIdentifier property value. The uniqueTokenIdentifier property + * Gets the uniqueTokenIdentifier property value. Unique identifier of the token. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("uniqueTokenIdentifier", this.getUniqueTokenIdentifier()); } /** - * Sets the uniqueTokenIdentifier property value. The uniqueTokenIdentifier property + * Sets the uniqueTokenIdentifier property value. Unique identifier of the token. Required. * @param value Value to set for the uniqueTokenIdentifier property. */ public void setUniqueTokenIdentifier(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedTransaction.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedTransaction.java index 049930acc79..e653a8000bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedTransaction.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedTransaction.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the transactionId property value. The transactionId property + * Gets the transactionId property value. Unique identifier of the transaction. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("transactionId", this.getTransactionId()); } /** - * Sets the transactionId property value. The transactionId property + * Sets the transactionId property value. Unique identifier of the transaction. Required. * @param value Value to set for the transactionId property. */ public void setTransactionId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedUrl.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedUrl.java index b171f640b08..631027bf059 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedUrl.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedUrl.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the url property value. The url property + * Gets the url property value. The destination URL. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("url", this.getUrl()); } /** - * Sets the url property value. The url property + * Sets the url property value. The destination URL. Required. * @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/beta/generated/models/networkaccess/RelatedUser.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedUser.java index 12f58b0d371..53416640e12 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedUser.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedUser.java @@ -37,7 +37,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the userId property value. The userId property + * Gets the userId property value. Unique identifier of the user. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -45,7 +45,7 @@ public String getUserId() { return this.backingStore.get("userId"); } /** - * Gets the userPrincipalName property value. The userPrincipalName property + * Gets the userPrincipalName property value. Principal name of the user. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -63,14 +63,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("userPrincipalName", this.getUserPrincipalName()); } /** - * Sets the userId property value. The userId property + * Sets the userId property value. Unique identifier of the user. Required. * @param value Value to set for the userId property. */ public void setUserId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("userId", value); } /** - * Sets the userPrincipalName property value. The userPrincipalName property + * Sets the userPrincipalName property value. Principal name of the user. Required. * @param value Value to set for the userPrincipalName property. */ public void setUserPrincipalName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedWebCategory.java b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedWebCategory.java index 4d00a47ef7b..ceb1874b137 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedWebCategory.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/networkaccess/RelatedWebCategory.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the webCategoryName property value. The webCategoryName property + * Gets the webCategoryName property value. Name of the web category. Required. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("webCategoryName", this.getWebCategoryName()); } /** - * Sets the webCategoryName property value. The webCategoryName property + * Sets the webCategoryName property value. Name of the web category. Required. * @param value Value to set for the webCategoryName property. */ public void setWebCategoryName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/AlertsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/AlertsRequestBuilder.java index d7145e96f2a..a90256d8ac5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/AlertsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/AlertsRequestBuilder.java @@ -64,19 +64,21 @@ public AlertsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/networkAccess/alerts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get alerts from networkAccess + * Get a list of alert objects and their properties for various alerts generated by Global Secure Access (GSA). * @return a {@link AlertCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public AlertCollectionResponse get() { return get(null); } /** - * Get alerts from networkAccess + * Get a list of alert objects and their properties for various alerts generated by Global Secure Access (GSA). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AlertCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public AlertCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -90,11 +92,8 @@ public AlertCollectionResponse get(@jakarta.annotation.Nullable final java.util. * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder} - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nonnull - @Deprecated public MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -105,11 +104,8 @@ public MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDat * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder} - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nonnull - @Deprecated public MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -153,7 +149,7 @@ public Alert post(@jakarta.annotation.Nonnull final Alert body, @jakarta.annotat return this.requestAdapter.send(requestInfo, errorMapping, Alert::createFromDiscriminatorValue); } /** - * Get alerts from networkAccess + * Get a list of alert objects and their properties for various alerts generated by Global Secure Access (GSA). * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -161,7 +157,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get alerts from networkAccess + * Get a list of alert objects and their properties for various alerts generated by Global Secure Access (GSA). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -207,7 +203,7 @@ public AlertsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String raw return new AlertsRequestBuilder(rawUrl, requestAdapter); } /** - * Get alerts from networkAccess + * Get a list of alert objects and their properties for various alerts generated by Global Secure Access (GSA). */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/item/policy/PolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/item/policy/PolicyRequestBuilder.java index c787473f428..048b1dfe861 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/item/policy/PolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/item/policy/PolicyRequestBuilder.java @@ -37,7 +37,7 @@ public PolicyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/networkAccess/alerts/{alert%2Did}/policy{?%24expand,%24select}", rawUrl); } /** - * Get policy from networkAccess + * The filtering policy associated with the alert. This relationship allows you to retrieve or manage the filtering policy that triggered or is related to the alert instance. * @return a {@link FilteringPolicy} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public FilteringPolicy get() { return get(null); } /** - * Get policy from networkAccess + * The filtering policy associated with the alert. This relationship allows you to retrieve or manage the filtering policy that triggered or is related to the alert instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilteringPolicy} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public FilteringPolicy get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, FilteringPolicy::createFromDiscriminatorValue); } /** - * Get policy from networkAccess + * The filtering policy associated with the alert. This relationship allows you to retrieve or manage the filtering policy that triggered or is related to the alert instance. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get policy from networkAccess + * The filtering policy associated with the alert. This relationship allows you to retrieve or manage the filtering policy that triggered or is related to the alert instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public PolicyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String raw return new PolicyRequestBuilder(rawUrl, requestAdapter); } /** - * Get policy from networkAccess + * The filtering policy associated with the alert. This relationship allows you to retrieve or manage the filtering policy that triggered or is related to the alert instance. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/microsoftgraphnetworkaccessgetalertfrequencieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/microsoftgraphnetworkaccessgetalertfrequencieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder.java index d027779cb8b..5d2e951c5ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/microsoftgraphnetworkaccessgetalertfrequencieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/microsoftgraphnetworkaccessgetalertfrequencieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,11 +44,8 @@ public MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDat * Invoke function getAlertFrequencies * @return a {@link GetAlertFrequenciesWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nullable - @Deprecated public GetAlertFrequenciesWithStartDateTimeWithEndDateTimeGetResponse get() { return get(null); } @@ -57,11 +54,8 @@ public GetAlertFrequenciesWithStartDateTimeWithEndDateTimeGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetAlertFrequenciesWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nullable - @Deprecated public GetAlertFrequenciesWithStartDateTimeWithEndDateTimeGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -71,11 +65,8 @@ public GetAlertFrequenciesWithStartDateTimeWithEndDateTimeGetResponse get(@jakar /** * Invoke function getAlertFrequencies * @return a {@link RequestInformation} - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -83,11 +74,8 @@ public RequestInformation toGetRequestInformation() { * Invoke function getAlertFrequencies * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -98,11 +86,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder} - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nonnull - @Deprecated public MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/microsoftgraphnetworkaccessgetalertseveritysummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/microsoftgraphnetworkaccessgetalertseveritysummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java index 4f971872b6a..9b1729fba08 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/microsoftgraphnetworkaccessgetalertseveritysummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/alerts/microsoftgraphnetworkaccessgetalertseveritysummarieswithstartdatetimewithenddatetime/MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,11 +44,8 @@ public MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWith * Invoke function getAlertSeveritySummaries * @return a {@link GetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nullable - @Deprecated public GetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeGetResponse get() { return get(null); } @@ -57,11 +54,8 @@ public GetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeGetResponse get( * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nullable - @Deprecated public GetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -71,11 +65,8 @@ public GetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeGetResponse get( /** * Invoke function getAlertSeveritySummaries * @return a {@link RequestInformation} - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -83,11 +74,8 @@ public RequestInformation toGetRequestInformation() { * Invoke function getAlertSeveritySummaries * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nonnull - @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -98,11 +86,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder} - * @deprecated - * as of 2022-06/PrivatePreview:NetworkAccess on 2024-09-09 and will be removed 2024-11-01 */ @jakarta.annotation.Nonnull - @Deprecated public MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/filteringprofiles/item/policies/item/PolicyLinkItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/filteringprofiles/item/policies/item/PolicyLinkItemRequestBuilder.java index 0420b233c46..52d8dd47c10 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/filteringprofiles/item/policies/item/PolicyLinkItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/filteringprofiles/item/policies/item/PolicyLinkItemRequestBuilder.java @@ -46,18 +46,18 @@ public PolicyLinkItemRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/networkAccess/filteringProfiles/{filteringProfile%2Did}/policies/{policyLink%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a tlsInspectionPolicyLink object. Used to unlink a tlsInspectionPolicy from a filtering profile. + * Delete a threatIntelligencePolicyLink object. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete a tlsInspectionPolicyLink object. Used to unlink a tlsInspectionPolicy from a filtering profile. + * Delete a threatIntelligencePolicyLink object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -117,7 +117,7 @@ public PolicyLink patch(@jakarta.annotation.Nonnull final PolicyLink body, @jaka return this.requestAdapter.send(requestInfo, errorMapping, PolicyLink::createFromDiscriminatorValue); } /** - * Delete a tlsInspectionPolicyLink object. Used to unlink a tlsInspectionPolicy from a filtering profile. + * Delete a threatIntelligencePolicyLink object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a tlsInspectionPolicyLink object. Used to unlink a tlsInspectionPolicy from a filtering profile. + * Delete a threatIntelligencePolicyLink object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/permissiongrantpolicies/item/excludes/item/PermissionGrantConditionSetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/permissiongrantpolicies/item/excludes/item/PermissionGrantConditionSetItemRequestBuilder.java index 6b96e94f990..0eb9960d175 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/permissiongrantpolicies/item/excludes/item/PermissionGrantConditionSetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/permissiongrantpolicies/item/excludes/item/PermissionGrantConditionSetItemRequestBuilder.java @@ -37,7 +37,7 @@ public PermissionGrantConditionSetItemRequestBuilder(@jakarta.annotation.Nonnull super(requestAdapter, "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}/excludes/{permissionGrantConditionSet%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. + * Delete a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -45,7 +45,7 @@ public void delete() { delete(null); } /** - * Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. + * Delete a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -104,7 +104,7 @@ public PermissionGrantConditionSet patch(@jakarta.annotation.Nonnull final Permi return this.requestAdapter.send(requestInfo, errorMapping, PermissionGrantConditionSet::createFromDiscriminatorValue); } /** - * Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. + * Delete a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -112,7 +112,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. + * Delete a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/AuthenticationMethodsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/AuthenticationMethodsRequestBuilder.java index e07ee75c864..7997f270301 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/AuthenticationMethodsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/AuthenticationMethodsRequestBuilder.java @@ -2,7 +2,12 @@ import com.microsoft.graph.beta.models.AuthenticationMethodsRoot; import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.UserEventsSummaryRequestBuilder; +import com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.UserMfaSignInSummaryRequestBuilder; +import com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.UserPasswordResetsAndChangesSummaryRequestBuilder; +import com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod.UserRegistrationActivityWithPeriodRequestBuilder; import com.microsoft.graph.beta.reports.authenticationmethods.userregistrationdetails.UserRegistrationDetailsRequestBuilder; +import com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod.UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder; import com.microsoft.graph.beta.reports.authenticationmethods.usersregisteredbyfeature.UsersRegisteredByFeatureRequestBuilder; import com.microsoft.graph.beta.reports.authenticationmethods.usersregisteredbyfeaturewithincludedusertypeswithincludeduserroles.UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder; import com.microsoft.graph.beta.reports.authenticationmethods.usersregisteredbymethod.UsersRegisteredByMethodRequestBuilder; @@ -25,6 +30,30 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class AuthenticationMethodsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the userEventsSummary property of the microsoft.graph.authenticationMethodsRoot entity. + * @return a {@link UserEventsSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserEventsSummaryRequestBuilder userEventsSummary() { + return new UserEventsSummaryRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the userMfaSignInSummary property of the microsoft.graph.authenticationMethodsRoot entity. + * @return a {@link UserMfaSignInSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserMfaSignInSummaryRequestBuilder userMfaSignInSummary() { + return new UserMfaSignInSummaryRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the userPasswordResetsAndChangesSummary property of the microsoft.graph.authenticationMethodsRoot entity. + * @return a {@link UserPasswordResetsAndChangesSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserPasswordResetsAndChangesSummaryRequestBuilder userPasswordResetsAndChangesSummary() { + return new UserPasswordResetsAndChangesSummaryRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the userRegistrationDetails property of the microsoft.graph.authenticationMethodsRoot entity. * @return a {@link UserRegistrationDetailsRequestBuilder} @@ -194,6 +223,26 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull requestInfo.setContentFromParsable(requestAdapter, "application/json", body); return requestInfo; } + /** + * Provides operations to call the userRegistrationActivity method. + * @param period Usage: period='{period}' + * @return a {@link UserRegistrationActivityWithPeriodRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserRegistrationActivityWithPeriodRequestBuilder userRegistrationActivityWithPeriod(@jakarta.annotation.Nonnull final String period) { + Objects.requireNonNull(period); + return new UserRegistrationActivityWithPeriodRequestBuilder(pathParameters, requestAdapter, period); + } + /** + * Provides operations to call the userSignInsByAuthMethodSummary method. + * @param period Usage: period='{period}' + * @return a {@link UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder userSignInsByAuthMethodSummaryWithPeriod(@jakarta.annotation.Nonnull final String period) { + Objects.requireNonNull(period); + return new UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder(pathParameters, requestAdapter, period); + } /** * Provides operations to call the usersRegisteredByFeature method. * @param includedUserRoles Usage: includedUserRoles='{includedUserRoles}' diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/UserEventsSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/UserEventsSummaryRequestBuilder.java new file mode 100644 index 00000000000..36c5a4d30d2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/UserEventsSummaryRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UserEventsSummary; +import com.microsoft.graph.beta.models.UserEventsSummaryCollectionResponse; +import com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count.CountRequestBuilder; +import com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item.UserEventsSummaryItemRequestBuilder; +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 userEventsSummary property of the microsoft.graph.authenticationMethodsRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserEventsSummaryRequestBuilder 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 userEventsSummary property of the microsoft.graph.authenticationMethodsRoot entity. + * @param userEventsSummaryId The unique identifier of userEventsSummary + * @return a {@link UserEventsSummaryItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserEventsSummaryItemRequestBuilder byUserEventsSummaryId(@jakarta.annotation.Nonnull final String userEventsSummaryId) { + Objects.requireNonNull(userEventsSummaryId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("userEventsSummary%2Did", userEventsSummaryId); + return new UserEventsSummaryItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link UserEventsSummaryRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserEventsSummaryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userEventsSummary{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link UserEventsSummaryRequestBuilder} 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 UserEventsSummaryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userEventsSummary{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the user SSPR and MFA registration and reset events as defined in the usereventssummary object. + * @return a {@link UserEventsSummaryCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserEventsSummaryCollectionResponse get() { + return get(null); + } + /** + * Get a list of the user SSPR and MFA registration and reset events as defined in the usereventssummary object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserEventsSummaryCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserEventsSummaryCollectionResponse 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, UserEventsSummaryCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to userEventsSummary for reports + * @param body The request body + * @return a {@link UserEventsSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserEventsSummary post(@jakarta.annotation.Nonnull final UserEventsSummary body) { + return post(body, null); + } + /** + * Create new navigation property to userEventsSummary for reports + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserEventsSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserEventsSummary post(@jakarta.annotation.Nonnull final UserEventsSummary 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, UserEventsSummary::createFromDiscriminatorValue); + } + /** + * Get a list of the user SSPR and MFA registration and reset events as defined in the usereventssummary object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the user SSPR and MFA registration and reset events as defined in the usereventssummary object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to userEventsSummary for reports + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserEventsSummary body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to userEventsSummary for reports + * @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 UserEventsSummary 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 UserEventsSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserEventsSummaryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserEventsSummaryRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the user SSPR and MFA registration and reset events as defined in the usereventssummary object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/count/CountRequestBuilder.java new file mode 100644 index 00000000000..80a2cf51e3d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userEventsSummary/$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}/reports/authenticationMethods/userEventsSummary/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/item/UserEventsSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/item/UserEventsSummaryItemRequestBuilder.java new file mode 100644 index 00000000000..29e3b68cf61 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usereventssummary/item/UserEventsSummaryItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.usereventssummary.item; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UserEventsSummary; +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 userEventsSummary property of the microsoft.graph.authenticationMethodsRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserEventsSummaryItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link UserEventsSummaryItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserEventsSummaryItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userEventsSummary/{userEventsSummary%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link UserEventsSummaryItemRequestBuilder} 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 UserEventsSummaryItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userEventsSummary/{userEventsSummary%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property userEventsSummary for reports + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property userEventsSummary for reports + * @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 specific user MFA/SSPR registration or reset event, including whether the event was successful, which authentication method was targeted, and failure reason if any. + * @return a {@link UserEventsSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserEventsSummary get() { + return get(null); + } + /** + * Represents a specific user MFA/SSPR registration or reset event, including whether the event was successful, which authentication method was targeted, and failure reason if any. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserEventsSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserEventsSummary 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, UserEventsSummary::createFromDiscriminatorValue); + } + /** + * Update the navigation property userEventsSummary in reports + * @param body The request body + * @return a {@link UserEventsSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserEventsSummary patch(@jakarta.annotation.Nonnull final UserEventsSummary body) { + return patch(body, null); + } + /** + * Update the navigation property userEventsSummary in reports + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserEventsSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserEventsSummary patch(@jakarta.annotation.Nonnull final UserEventsSummary 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, UserEventsSummary::createFromDiscriminatorValue); + } + /** + * Delete navigation property userEventsSummary for reports + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property userEventsSummary for reports + * @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 specific user MFA/SSPR registration or reset event, including whether the event was successful, which authentication method was targeted, and failure reason if any. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents a specific user MFA/SSPR registration or reset event, including whether the event was successful, which authentication method was targeted, and failure reason if any. + * @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 userEventsSummary in reports + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserEventsSummary body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property userEventsSummary in reports + * @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 UserEventsSummary 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 UserEventsSummaryItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserEventsSummaryItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserEventsSummaryItemRequestBuilder(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 specific user MFA/SSPR registration or reset event, including whether the event was successful, which authentication method was targeted, and failure reason if any. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/UserMfaSignInSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/UserMfaSignInSummaryRequestBuilder.java new file mode 100644 index 00000000000..12ea71ddf4b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/UserMfaSignInSummaryRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UserMfaSignInSummary; +import com.microsoft.graph.beta.models.UserMfaSignInSummaryCollectionResponse; +import com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count.CountRequestBuilder; +import com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item.UserMfaSignInSummaryItemRequestBuilder; +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 userMfaSignInSummary property of the microsoft.graph.authenticationMethodsRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserMfaSignInSummaryRequestBuilder 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 userMfaSignInSummary property of the microsoft.graph.authenticationMethodsRoot entity. + * @param userMfaSignInSummaryId The unique identifier of userMfaSignInSummary + * @return a {@link UserMfaSignInSummaryItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserMfaSignInSummaryItemRequestBuilder byUserMfaSignInSummaryId(@jakarta.annotation.Nonnull final String userMfaSignInSummaryId) { + Objects.requireNonNull(userMfaSignInSummaryId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("userMfaSignInSummary%2Did", userMfaSignInSummaryId); + return new UserMfaSignInSummaryItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link UserMfaSignInSummaryRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserMfaSignInSummaryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userMfaSignInSummary{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link UserMfaSignInSummaryRequestBuilder} 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 UserMfaSignInSummaryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userMfaSignInSummary{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get the summary of MFA vs non-MFA sign-in events for a specified time window, as defined in the userMfaSignInSummary object. + * @return a {@link UserMfaSignInSummaryCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserMfaSignInSummaryCollectionResponse get() { + return get(null); + } + /** + * Get the summary of MFA vs non-MFA sign-in events for a specified time window, as defined in the userMfaSignInSummary object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserMfaSignInSummaryCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserMfaSignInSummaryCollectionResponse 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, UserMfaSignInSummaryCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to userMfaSignInSummary for reports + * @param body The request body + * @return a {@link UserMfaSignInSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserMfaSignInSummary post(@jakarta.annotation.Nonnull final UserMfaSignInSummary body) { + return post(body, null); + } + /** + * Create new navigation property to userMfaSignInSummary for reports + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserMfaSignInSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserMfaSignInSummary post(@jakarta.annotation.Nonnull final UserMfaSignInSummary 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, UserMfaSignInSummary::createFromDiscriminatorValue); + } + /** + * Get the summary of MFA vs non-MFA sign-in events for a specified time window, as defined in the userMfaSignInSummary object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the summary of MFA vs non-MFA sign-in events for a specified time window, as defined in the userMfaSignInSummary object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to userMfaSignInSummary for reports + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserMfaSignInSummary body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to userMfaSignInSummary for reports + * @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 UserMfaSignInSummary 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 UserMfaSignInSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserMfaSignInSummaryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserMfaSignInSummaryRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the summary of MFA vs non-MFA sign-in events for a specified time window, as defined in the userMfaSignInSummary object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/count/CountRequestBuilder.java new file mode 100644 index 00000000000..7be48311efe --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userMfaSignInSummary/$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}/reports/authenticationMethods/userMfaSignInSummary/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/item/UserMfaSignInSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/item/UserMfaSignInSummaryItemRequestBuilder.java new file mode 100644 index 00000000000..ff6b8863de1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usermfasigninsummary/item/UserMfaSignInSummaryItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.usermfasigninsummary.item; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UserMfaSignInSummary; +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 userMfaSignInSummary property of the microsoft.graph.authenticationMethodsRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserMfaSignInSummaryItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link UserMfaSignInSummaryItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserMfaSignInSummaryItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userMfaSignInSummary/{userMfaSignInSummary%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link UserMfaSignInSummaryItemRequestBuilder} 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 UserMfaSignInSummaryItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userMfaSignInSummary/{userMfaSignInSummary%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property userMfaSignInSummary for reports + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property userMfaSignInSummary for reports + * @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 total count of MFA vs non-MFA sign-in counts for a specified period. + * @return a {@link UserMfaSignInSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserMfaSignInSummary get() { + return get(null); + } + /** + * Represents the total count of MFA vs non-MFA sign-in counts for a specified period. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserMfaSignInSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserMfaSignInSummary 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, UserMfaSignInSummary::createFromDiscriminatorValue); + } + /** + * Update the navigation property userMfaSignInSummary in reports + * @param body The request body + * @return a {@link UserMfaSignInSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserMfaSignInSummary patch(@jakarta.annotation.Nonnull final UserMfaSignInSummary body) { + return patch(body, null); + } + /** + * Update the navigation property userMfaSignInSummary in reports + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserMfaSignInSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserMfaSignInSummary patch(@jakarta.annotation.Nonnull final UserMfaSignInSummary 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, UserMfaSignInSummary::createFromDiscriminatorValue); + } + /** + * Delete navigation property userMfaSignInSummary for reports + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property userMfaSignInSummary for reports + * @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 total count of MFA vs non-MFA sign-in counts for a specified period. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents the total count of MFA vs non-MFA sign-in counts for a specified period. + * @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 userMfaSignInSummary in reports + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserMfaSignInSummary body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property userMfaSignInSummary in reports + * @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 UserMfaSignInSummary 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 UserMfaSignInSummaryItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserMfaSignInSummaryItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserMfaSignInSummaryItemRequestBuilder(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 total count of MFA vs non-MFA sign-in counts for a specified period. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/UserPasswordResetsAndChangesSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/UserPasswordResetsAndChangesSummaryRequestBuilder.java new file mode 100644 index 00000000000..b27f09f0343 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/UserPasswordResetsAndChangesSummaryRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary; +import com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummaryCollectionResponse; +import com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count.CountRequestBuilder; +import com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item.UserPasswordResetsAndChangesSummaryItemRequestBuilder; +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 userPasswordResetsAndChangesSummary property of the microsoft.graph.authenticationMethodsRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserPasswordResetsAndChangesSummaryRequestBuilder 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 userPasswordResetsAndChangesSummary property of the microsoft.graph.authenticationMethodsRoot entity. + * @param userPasswordResetsAndChangesSummaryId The unique identifier of userPasswordResetsAndChangesSummary + * @return a {@link UserPasswordResetsAndChangesSummaryItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserPasswordResetsAndChangesSummaryItemRequestBuilder byUserPasswordResetsAndChangesSummaryId(@jakarta.annotation.Nonnull final String userPasswordResetsAndChangesSummaryId) { + Objects.requireNonNull(userPasswordResetsAndChangesSummaryId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("userPasswordResetsAndChangesSummary%2Did", userPasswordResetsAndChangesSummaryId); + return new UserPasswordResetsAndChangesSummaryItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link UserPasswordResetsAndChangesSummaryRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserPasswordResetsAndChangesSummaryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userPasswordResetsAndChangesSummary{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link UserPasswordResetsAndChangesSummaryRequestBuilder} 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 UserPasswordResetsAndChangesSummaryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userPasswordResetsAndChangesSummary{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Gets a list of password resets and changes that occurred in a given aggregation window as defined in the userPasswordResetsAndChangesSummary object. + * @return a {@link UserPasswordResetsAndChangesSummaryCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserPasswordResetsAndChangesSummaryCollectionResponse get() { + return get(null); + } + /** + * Gets a list of password resets and changes that occurred in a given aggregation window as defined in the userPasswordResetsAndChangesSummary object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserPasswordResetsAndChangesSummaryCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserPasswordResetsAndChangesSummaryCollectionResponse 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, UserPasswordResetsAndChangesSummaryCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to userPasswordResetsAndChangesSummary for reports + * @param body The request body + * @return a {@link UserPasswordResetsAndChangesSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserPasswordResetsAndChangesSummary post(@jakarta.annotation.Nonnull final UserPasswordResetsAndChangesSummary body) { + return post(body, null); + } + /** + * Create new navigation property to userPasswordResetsAndChangesSummary for reports + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserPasswordResetsAndChangesSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserPasswordResetsAndChangesSummary post(@jakarta.annotation.Nonnull final UserPasswordResetsAndChangesSummary 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, UserPasswordResetsAndChangesSummary::createFromDiscriminatorValue); + } + /** + * Gets a list of password resets and changes that occurred in a given aggregation window as defined in the userPasswordResetsAndChangesSummary object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Gets a list of password resets and changes that occurred in a given aggregation window as defined in the userPasswordResetsAndChangesSummary object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to userPasswordResetsAndChangesSummary for reports + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserPasswordResetsAndChangesSummary body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to userPasswordResetsAndChangesSummary for reports + * @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 UserPasswordResetsAndChangesSummary 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 UserPasswordResetsAndChangesSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserPasswordResetsAndChangesSummaryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserPasswordResetsAndChangesSummaryRequestBuilder(rawUrl, requestAdapter); + } + /** + * Gets a list of password resets and changes that occurred in a given aggregation window as defined in the userPasswordResetsAndChangesSummary object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/count/CountRequestBuilder.java new file mode 100644 index 00000000000..81416f0bf26 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userPasswordResetsAndChangesSummary/$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}/reports/authenticationMethods/userPasswordResetsAndChangesSummary/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/item/UserPasswordResetsAndChangesSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/item/UserPasswordResetsAndChangesSummaryItemRequestBuilder.java new file mode 100644 index 00000000000..5e194c20215 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userpasswordresetsandchangessummary/item/UserPasswordResetsAndChangesSummaryItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.userpasswordresetsandchangessummary.item; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.UserPasswordResetsAndChangesSummary; +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 userPasswordResetsAndChangesSummary property of the microsoft.graph.authenticationMethodsRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserPasswordResetsAndChangesSummaryItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link UserPasswordResetsAndChangesSummaryItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserPasswordResetsAndChangesSummaryItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userPasswordResetsAndChangesSummary/{userPasswordResetsAndChangesSummary%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link UserPasswordResetsAndChangesSummaryItemRequestBuilder} 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 UserPasswordResetsAndChangesSummaryItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userPasswordResetsAndChangesSummary/{userPasswordResetsAndChangesSummary%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property userPasswordResetsAndChangesSummary for reports + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property userPasswordResetsAndChangesSummary for reports + * @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 summary of password resets and changes for a specific day. This includes the number of password resets that were self-service and those triggered by an administrator. + * @return a {@link UserPasswordResetsAndChangesSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserPasswordResetsAndChangesSummary get() { + return get(null); + } + /** + * Represents the summary of password resets and changes for a specific day. This includes the number of password resets that were self-service and those triggered by an administrator. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserPasswordResetsAndChangesSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserPasswordResetsAndChangesSummary 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, UserPasswordResetsAndChangesSummary::createFromDiscriminatorValue); + } + /** + * Update the navigation property userPasswordResetsAndChangesSummary in reports + * @param body The request body + * @return a {@link UserPasswordResetsAndChangesSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserPasswordResetsAndChangesSummary patch(@jakarta.annotation.Nonnull final UserPasswordResetsAndChangesSummary body) { + return patch(body, null); + } + /** + * Update the navigation property userPasswordResetsAndChangesSummary in reports + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserPasswordResetsAndChangesSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UserPasswordResetsAndChangesSummary patch(@jakarta.annotation.Nonnull final UserPasswordResetsAndChangesSummary 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, UserPasswordResetsAndChangesSummary::createFromDiscriminatorValue); + } + /** + * Delete navigation property userPasswordResetsAndChangesSummary for reports + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property userPasswordResetsAndChangesSummary for reports + * @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 summary of password resets and changes for a specific day. This includes the number of password resets that were self-service and those triggered by an administrator. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents the summary of password resets and changes for a specific day. This includes the number of password resets that were self-service and those triggered by an administrator. + * @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 userPasswordResetsAndChangesSummary in reports + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserPasswordResetsAndChangesSummary body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property userPasswordResetsAndChangesSummary in reports + * @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 UserPasswordResetsAndChangesSummary 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 UserPasswordResetsAndChangesSummaryItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserPasswordResetsAndChangesSummaryItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserPasswordResetsAndChangesSummaryItemRequestBuilder(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 summary of password resets and changes for a specific day. This includes the number of password resets that were self-service and those triggered by an administrator. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userregistrationactivitywithperiod/UserRegistrationActivityWithPeriodGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userregistrationactivitywithperiod/UserRegistrationActivityWithPeriodGetResponse.java new file mode 100644 index 00000000000..a190a1fdb0d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userregistrationactivitywithperiod/UserRegistrationActivityWithPeriodGetResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.UserRegistrationActivitySummary; +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 UserRegistrationActivityWithPeriodGetResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link UserRegistrationActivityWithPeriodGetResponse} and sets the default values. + */ + public UserRegistrationActivityWithPeriodGetResponse() { + 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 UserRegistrationActivityWithPeriodGetResponse} + */ + @jakarta.annotation.Nonnull + public static UserRegistrationActivityWithPeriodGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserRegistrationActivityWithPeriodGetResponse(); + } + /** + * 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(UserRegistrationActivitySummary::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userregistrationactivitywithperiod/UserRegistrationActivityWithPeriodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userregistrationactivitywithperiod/UserRegistrationActivityWithPeriodRequestBuilder.java new file mode 100644 index 00000000000..cc472602e87 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/userregistrationactivitywithperiod/UserRegistrationActivityWithPeriodRequestBuilder.java @@ -0,0 +1,168 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.userregistrationactivitywithperiod; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the userRegistrationActivity method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserRegistrationActivityWithPeriodRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link UserRegistrationActivityWithPeriodRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param period Usage: period='{period}' + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserRegistrationActivityWithPeriodRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String period) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userRegistrationActivity(period='{period}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + this.pathParameters.put("period", period); + } + /** + * Instantiates a new {@link UserRegistrationActivityWithPeriodRequestBuilder} 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 UserRegistrationActivityWithPeriodRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userRegistrationActivity(period='{period}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the authentication methods and their corresponding number of successful and unsuccessful registration and reset activities as defined in the userRegistrationActivity object. + * @return a {@link UserRegistrationActivityWithPeriodGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserRegistrationActivityWithPeriodGetResponse get() { + return get(null); + } + /** + * Get a list of the authentication methods and their corresponding number of successful and unsuccessful registration and reset activities as defined in the userRegistrationActivity object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserRegistrationActivityWithPeriodGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserRegistrationActivityWithPeriodGetResponse 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, UserRegistrationActivityWithPeriodGetResponse::createFromDiscriminatorValue); + } + /** + * Get a list of the authentication methods and their corresponding number of successful and unsuccessful registration and reset activities as defined in the userRegistrationActivity object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the authentication methods and their corresponding number of successful and unsuccessful registration and reset activities as defined in the userRegistrationActivity object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * 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 UserRegistrationActivityWithPeriodRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserRegistrationActivityWithPeriodRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserRegistrationActivityWithPeriodRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the authentication methods and their corresponding number of successful and unsuccessful registration and reset activities as defined in the userRegistrationActivity object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usersigninsbyauthmethodsummarywithperiod/UserSignInsByAuthMethodSummaryWithPeriodGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usersigninsbyauthmethodsummarywithperiod/UserSignInsByAuthMethodSummaryWithPeriodGetResponse.java new file mode 100644 index 00000000000..e8cb793265a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usersigninsbyauthmethodsummarywithperiod/UserSignInsByAuthMethodSummaryWithPeriodGetResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.UserSignInUsageByAuthMethodActivity; +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 UserSignInsByAuthMethodSummaryWithPeriodGetResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link UserSignInsByAuthMethodSummaryWithPeriodGetResponse} and sets the default values. + */ + public UserSignInsByAuthMethodSummaryWithPeriodGetResponse() { + 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 UserSignInsByAuthMethodSummaryWithPeriodGetResponse} + */ + @jakarta.annotation.Nonnull + public static UserSignInsByAuthMethodSummaryWithPeriodGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UserSignInsByAuthMethodSummaryWithPeriodGetResponse(); + } + /** + * 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(UserSignInUsageByAuthMethodActivity::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usersigninsbyauthmethodsummarywithperiod/UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usersigninsbyauthmethodsummarywithperiod/UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.java new file mode 100644 index 00000000000..c45e37b4914 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/authenticationmethods/usersigninsbyauthmethodsummarywithperiod/UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder.java @@ -0,0 +1,168 @@ +package com.microsoft.graph.beta.reports.authenticationmethods.usersigninsbyauthmethodsummarywithperiod; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the userSignInsByAuthMethodSummary method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param period Usage: period='{period}' + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String period) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userSignInsByAuthMethodSummary(period='{period}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + this.pathParameters.put("period", period); + } + /** + * Instantiates a new {@link UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder} 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 UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/reports/authenticationMethods/userSignInsByAuthMethodSummary(period='{period}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Gets a list of the number of successful sign ins for each authentication method that is available. + * @return a {@link UserSignInsByAuthMethodSummaryWithPeriodGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserSignInsByAuthMethodSummaryWithPeriodGetResponse get() { + return get(null); + } + /** + * Gets a list of the number of successful sign ins for each authentication method that is available. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UserSignInsByAuthMethodSummaryWithPeriodGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public UserSignInsByAuthMethodSummaryWithPeriodGetResponse 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, UserSignInsByAuthMethodSummaryWithPeriodGetResponse::createFromDiscriminatorValue); + } + /** + * Gets a list of the number of successful sign ins for each authentication method that is available. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Gets a list of the number of successful sign ins for each authentication method that is available. + * @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 UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserSignInsByAuthMethodSummaryWithPeriodRequestBuilder(rawUrl, requestAdapter); + } + /** + * Gets a list of the number of successful sign ins for each authentication method that is available. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/UserCredentialUsageDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/UserCredentialUsageDetailsRequestBuilder.java index 1862f4f3174..adf1b19b63d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/UserCredentialUsageDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/UserCredentialUsageDetailsRequestBuilder.java @@ -26,7 +26,10 @@ public class UserCredentialUsageDetailsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the userCredentialUsageDetails property of the microsoft.graph.reportRoot entity. * @param userCredentialUsageDetailsId The unique identifier of userCredentialUsageDetails * @return a {@link UserCredentialUsageDetailsItemRequestBuilder} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public UserCredentialUsageDetailsItemRequestBuilder byUserCredentialUsageDetailsId(@jakarta.annotation.Nonnull final String userCredentialUsageDetailsId) { Objects.requireNonNull(userCredentialUsageDetailsId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public UserCredentialUsageDetailsRequestBuilder(@jakarta.annotation.Nonnull fina * Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. * @return a {@link UserCredentialUsageDetailsCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserCredentialUsageDetailsCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public UserCredentialUsageDetailsCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserCredentialUsageDetailsCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserCredentialUsageDetailsCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public UserCredentialUsageDetailsCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link UserCredentialUsageDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nullable + @Deprecated public UserCredentialUsageDetails post(@jakarta.annotation.Nonnull final UserCredentialUsageDetails body) { return post(body, null); } @@ -99,8 +114,11 @@ public UserCredentialUsageDetails post(@jakarta.annotation.Nonnull final UserCre * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserCredentialUsageDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nullable + @Deprecated public UserCredentialUsageDetails post(@jakarta.annotation.Nonnull final UserCredentialUsageDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public UserCredentialUsageDetails post(@jakarta.annotation.Nonnull final UserCre /** * Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to userCredentialUsageDetails for reports * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserCredentialUsageDetails body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserCredentialUsageDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserCredentialUsageDetailsRequestBuilder} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public UserCredentialUsageDetailsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserCredentialUsageDetailsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/count/CountRequestBuilder.java index 42a3ca6addf..3242819cc8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/item/UserCredentialUsageDetailsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/item/UserCredentialUsageDetailsItemRequestBuilder.java index 2ac884f1066..1c4328625b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/item/UserCredentialUsageDetailsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/reports/usercredentialusagedetails/item/UserCredentialUsageDetailsItemRequestBuilder.java @@ -39,7 +39,10 @@ public UserCredentialUsageDetailsItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property userCredentialUsageDetails for reports * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property userCredentialUsageDetails for reports * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the self-service password reset (SSPR) usage for a given tenant. * @return a {@link UserCredentialUsageDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nullable + @Deprecated public UserCredentialUsageDetails get() { return get(null); } @@ -68,8 +77,11 @@ public UserCredentialUsageDetails get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserCredentialUsageDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nullable + @Deprecated public UserCredentialUsageDetails get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public UserCredentialUsageDetails get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link UserCredentialUsageDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nullable + @Deprecated public UserCredentialUsageDetails patch(@jakarta.annotation.Nonnull final UserCredentialUsageDetails body) { return patch(body, null); } @@ -92,8 +107,11 @@ public UserCredentialUsageDetails patch(@jakarta.annotation.Nonnull final UserCr * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserCredentialUsageDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nullable + @Deprecated public UserCredentialUsageDetails patch(@jakarta.annotation.Nonnull final UserCredentialUsageDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public UserCredentialUsageDetails patch(@jakarta.annotation.Nonnull final UserCr /** * Delete navigation property userCredentialUsageDetails for reports * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property userCredentialUsageDetails for reports * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the self-service password reset (SSPR) usage for a given tenant. * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Represents the self-service password reset (SSPR) usage for a given tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property userCredentialUsageDetails in reports * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserCredentialUsageDetails body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserCredentialUsageDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserCredentialUsageDetailsItemRequestBuilder} + * @deprecated + * The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 */ @jakarta.annotation.Nonnull + @Deprecated public UserCredentialUsageDetailsItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserCredentialUsageDetailsItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/riskdetections/RiskDetectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/riskdetections/RiskDetectionsRequestBuilder.java index d756edcf8c8..796fcc9564e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/riskdetections/RiskDetectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/riskdetections/RiskDetectionsRequestBuilder.java @@ -51,21 +51,21 @@ public RiskDetectionsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/riskDetections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. * @return a {@link RiskDetectionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RiskDetectionCollectionResponse get() { return get(null); } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RiskDetectionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RiskDetectionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -100,7 +100,7 @@ public RiskDetection post(@jakarta.annotation.Nonnull final RiskDetection body, return this.requestAdapter.send(requestInfo, errorMapping, RiskDetection::createFromDiscriminatorValue); } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -108,7 +108,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -154,7 +154,7 @@ public RiskDetectionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new RiskDetectionsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the properties of a collection of riskDetection objects. + * Retrieve the properties of a riskDetection object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/SubscriptionsRequestBuilder.java index 2fbacf2ad4e..09994e3e27e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/SubscriptionsRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.beta.models.Subscription; import com.microsoft.graph.beta.models.SubscriptionCollectionResponse; import com.microsoft.graph.beta.shares.item.list.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.beta.shares.item.list.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..89cdb790fba --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..5ee1c2ecf84 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.shares.item.list.subscriptions.getvapidpublickey; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/SiteItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/SiteItemRequestBuilder.java index d3fd277075f..e72109b323a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/SiteItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/SiteItemRequestBuilder.java @@ -11,6 +11,7 @@ import com.microsoft.graph.beta.sites.item.documentprocessingjobs.DocumentProcessingJobsRequestBuilder; import com.microsoft.graph.beta.sites.item.drive.DriveRequestBuilder; import com.microsoft.graph.beta.sites.item.drives.DrivesRequestBuilder; +import com.microsoft.graph.beta.sites.item.extensions.ExtensionsRequestBuilder; import com.microsoft.graph.beta.sites.item.externalcolumns.ExternalColumnsRequestBuilder; import com.microsoft.graph.beta.sites.item.getactivitiesbyintervalwithstartdatetimewithenddatetimewithinterval.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder; import com.microsoft.graph.beta.sites.item.getapplicablecontenttypesforlistwithlistid.GetApplicableContentTypesForListWithListIdRequestBuilder; @@ -118,6 +119,14 @@ public DriveRequestBuilder drive() { public DrivesRequestBuilder drives() { return new DrivesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + * @return a {@link ExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionsRequestBuilder extensions() { + return new ExtensionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the externalColumns property of the microsoft.graph.site entity. * @return a {@link ExternalColumnsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/ExtensionsRequestBuilder.java new file mode 100644 index 00000000000..9fe1883d09c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/ExtensionsRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.beta.sites.item.extensions; + +import com.microsoft.graph.beta.models.Extension; +import com.microsoft.graph.beta.models.ExtensionCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.sites.item.extensions.count.CountRequestBuilder; +import com.microsoft.graph.beta.sites.item.extensions.item.ExtensionItemRequestBuilder; +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 extensions property of the microsoft.graph.site entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExtensionsRequestBuilder 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 extensions property of the microsoft.graph.site entity. + * @param extensionId The unique identifier of extension + * @return a {@link ExtensionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionItemRequestBuilder byExtensionId(@jakarta.annotation.Nonnull final String extensionId) { + Objects.requireNonNull(extensionId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("extension%2Did", extensionId); + return new ExtensionItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ExtensionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExtensionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ExtensionsRequestBuilder} 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 ExtensionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link ExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExtensionCollectionResponse get() { + return get(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExtensionCollectionResponse 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, ExtensionCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * @param body The request body + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public Extension post(@jakarta.annotation.Nonnull final Extension body) { + return post(body, null); + } + /** + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public Extension post(@jakarta.annotation.Nonnull final Extension 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, Extension::createFromDiscriminatorValue); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @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 an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Extension body) { + return toPostRequestInformation(body, null); + } + /** + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * @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 Extension 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 ExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExtensionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The collection of open extensions defined for this site. Nullable. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/count/CountRequestBuilder.java new file mode 100644 index 00000000000..51403c38e9c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.sites.item.extensions.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/extensions/$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}/sites/{site%2Did}/extensions/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/item/ExtensionItemRequestBuilder.java new file mode 100644 index 00000000000..e8e24c40bbc --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/extensions/item/ExtensionItemRequestBuilder.java @@ -0,0 +1,232 @@ +package com.microsoft.graph.beta.sites.item.extensions.item; + +import com.microsoft.graph.beta.models.Extension; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExtensionItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ExtensionItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExtensionItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ExtensionItemRequestBuilder} 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 ExtensionItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/extensions/{extension%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension get() { + return get(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension 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, Extension::createFromDiscriminatorValue); + } + /** + * Update an open extension (openTypeExtension object) on a supported resource type.- If a property in the request body matches the name of an existing property in the extension, the data in the extension is updated.- Otherwise, that property and its data are added to the extension. The data in an extension can be primitive types or arrays of primitive types. The operation behaves differently for resources that are directory objects vs other resources. For the list of resources that support open extensions, see the table in the Permissions section. + * @param body The request body + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public Extension patch(@jakarta.annotation.Nonnull final Extension body) { + return patch(body, null); + } + /** + * Update an open extension (openTypeExtension object) on a supported resource type.- If a property in the request body matches the name of an existing property in the extension, the data in the extension is updated.- Otherwise, that property and its data are added to the extension. The data in an extension can be primitive types or arrays of primitive types. The operation behaves differently for resources that are directory objects vs other resources. For the list of resources that support open extensions, see the table in the Permissions section. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public Extension patch(@jakarta.annotation.Nonnull final Extension 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, Extension::createFromDiscriminatorValue); + } + /** + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. + * @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; + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @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 an open extension (openTypeExtension object) on a supported resource type.- If a property in the request body matches the name of an existing property in the extension, the data in the extension is updated.- Otherwise, that property and its data are added to the extension. The data in an extension can be primitive types or arrays of primitive types. The operation behaves differently for resources that are directory objects vs other resources. For the list of resources that support open extensions, see the table in the Permissions section. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Extension body) { + return toPatchRequestInformation(body, null); + } + /** + * Update an open extension (openTypeExtension object) on a supported resource type.- If a property in the request body matches the name of an existing property in the extension, the data in the extension is updated.- Otherwise, that property and its data are added to the extension. The data in an extension can be primitive types or arrays of primitive types. The operation behaves differently for resources that are directory objects vs other resources. For the list of resources that support open extensions, see the table in the Permissions section. + * @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 Extension 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 ExtensionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExtensionItemRequestBuilder(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 { + } + /** + * The collection of open extensions defined for this site. Nullable. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/getbypathwithpath/GetByPathWithPathRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/getbypathwithpath/GetByPathWithPathRequestBuilder.java index 13133781f3c..a3c0ef9d98b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/getbypathwithpath/GetByPathWithPathRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/getbypathwithpath/GetByPathWithPathRequestBuilder.java @@ -11,6 +11,7 @@ import com.microsoft.graph.beta.sites.item.getbypathwithpath.documentprocessingjobs.DocumentProcessingJobsRequestBuilder; import com.microsoft.graph.beta.sites.item.getbypathwithpath.drive.DriveRequestBuilder; import com.microsoft.graph.beta.sites.item.getbypathwithpath.drives.DrivesRequestBuilder; +import com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions.ExtensionsRequestBuilder; import com.microsoft.graph.beta.sites.item.getbypathwithpath.externalcolumns.ExternalColumnsRequestBuilder; import com.microsoft.graph.beta.sites.item.getbypathwithpath.getactivitiesbyintervalwithstartdatetimewithenddatetimewithinterval.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder; import com.microsoft.graph.beta.sites.item.getbypathwithpath.getapplicablecontenttypesforlistwithlistid.GetApplicableContentTypesForListWithListIdRequestBuilder; @@ -116,6 +117,14 @@ public DriveRequestBuilder drive() { public DrivesRequestBuilder drives() { return new DrivesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + * @return a {@link ExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionsRequestBuilder extensions() { + return new ExtensionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the externalColumns property of the microsoft.graph.site entity. * @return a {@link ExternalColumnsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/getbypathwithpath/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/getbypathwithpath/extensions/ExtensionsRequestBuilder.java new file mode 100644 index 00000000000..11bc9eb24fb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/getbypathwithpath/extensions/ExtensionsRequestBuilder.java @@ -0,0 +1,221 @@ +package com.microsoft.graph.beta.sites.item.getbypathwithpath.extensions; + +import com.microsoft.graph.beta.models.Extension; +import com.microsoft.graph.beta.models.ExtensionCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the extensions property of the microsoft.graph.site entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExtensionsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ExtensionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExtensionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/getByPath(path='{path}')/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ExtensionsRequestBuilder} 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 ExtensionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/getByPath(path='{path}')/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link ExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExtensionCollectionResponse get() { + return get(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExtensionCollectionResponse 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, ExtensionCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to extensions for sites + * @param body The request body + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension post(@jakarta.annotation.Nonnull final Extension body) { + return post(body, null); + } + /** + * Create new navigation property to extensions for sites + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Extension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Extension post(@jakarta.annotation.Nonnull final Extension 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, Extension::createFromDiscriminatorValue); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The collection of open extensions defined for this site. Nullable. + * @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 extensions for sites + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Extension body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to extensions for sites + * @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 Extension 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 ExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExtensionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExtensionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The collection of open extensions defined for this site. Nullable. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/ListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/ListItemRequestBuilder.java index 420074a7904..56e9d207d6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/ListItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/ListItemRequestBuilder.java @@ -145,21 +145,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. * @return a {@link List} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public List get() { return get(null); } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link List} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public List get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -214,7 +214,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -222,7 +222,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -274,7 +274,7 @@ public ListItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java index e07b3fd4c77..f445264e1e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.beta.models.Subscription; import com.microsoft.graph.beta.models.SubscriptionCollectionResponse; import com.microsoft.graph.beta.sites.item.lists.item.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.beta.sites.item.lists.item.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..69ef9c17467 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..0adb4a20402 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.sites.item.lists.item.subscriptions.getvapidpublickey; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/sites/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/sites/item/pages/PagesRequestBuilder.java index e096abdd61c..9539528430f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/sites/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/sites/item/pages/PagesRequestBuilder.java @@ -93,23 +93,23 @@ public BaseSitePageCollectionResponse get(@jakarta.annotation.Nullable final jav return this.requestAdapter.send(requestInfo, errorMapping, BaseSitePageCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new sitePage in the site pages list in a site. + * Create a new newsLinkPage in the site pages list of a site. * @param body The request body * @return a {@link BaseSitePage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public BaseSitePage post(@jakarta.annotation.Nonnull final BaseSitePage body) { return post(body, null); } /** - * Create a new sitePage in the site pages list in a site. + * Create a new newsLinkPage in the site pages list of a site. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BaseSitePage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public BaseSitePage post(@jakarta.annotation.Nonnull final BaseSitePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new sitePage in the site pages list in a site. + * Create a new newsLinkPage in the site pages list of a site. * @param body The request body * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new sitePage in the site pages list in a site. + * Create a new newsLinkPage in the site pages list of a site. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/subscriptions/SubscriptionsRequestBuilder.java index 39aed349fb6..2f11e04c042 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/subscriptions/SubscriptionsRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.Subscription; import com.microsoft.graph.beta.models.SubscriptionCollectionResponse; +import com.microsoft.graph.beta.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.beta.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SubscriptionsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the collection of subscription entities. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/beta/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..4610bc50e73 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..297d962e32c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.beta.subscriptions.getvapidpublickey; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/allmembers/AllMembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/allmembers/AllMembersRequestBuilder.java index 01324d85030..a82f449720e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/allmembers/AllMembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/allmembers/AllMembersRequestBuilder.java @@ -78,7 +78,7 @@ public AllMembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + * Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes: * @return a {@link ConversationMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -88,7 +88,7 @@ public ConversationMemberCollectionResponse get() { return get(null); } /** - * Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + * Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConversationMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -127,7 +127,7 @@ public ConversationMember post(@jakarta.annotation.Nonnull final ConversationMem return this.requestAdapter.send(requestInfo, errorMapping, ConversationMember::createFromDiscriminatorValue); } /** - * Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + * Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes: * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -135,7 +135,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + * Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -181,7 +181,7 @@ public AllMembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new AllMembersRequestBuilder(rawUrl, requestAdapter); } /** - * Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + * Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes: */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/MembersRequestBuilder.java index 713f27b3408..cfcdae17adb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/MembersRequestBuilder.java @@ -78,7 +78,7 @@ public MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + * Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @return a {@link ConversationMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -88,7 +88,7 @@ public ConversationMemberCollectionResponse get() { return get(null); } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + * Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConversationMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -129,7 +129,7 @@ public ConversationMember post(@jakarta.annotation.Nonnull final ConversationMem return this.requestAdapter.send(requestInfo, errorMapping, ConversationMember::createFromDiscriminatorValue); } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + * Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -137,7 +137,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + * Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -183,7 +183,7 @@ public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra return new MembersRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + * Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java index b8f3bf4694a..53c480cbd8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java @@ -81,23 +81,23 @@ public ConversationMember get(@jakarta.annotation.Nullable final java.util.funct return this.requestAdapter.send(requestInfo, errorMapping, ConversationMember::createFromDiscriminatorValue); } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team.or channel. * @param body The request body * @return a {@link ConversationMember} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember body) { return patch(body, null); } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team.or channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConversationMember} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team.or channel. * @param body The request body * @return a {@link RequestInformation} */ @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team.or channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java index b5634bc682b..d50ec09f896 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java @@ -111,23 +111,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -158,7 +158,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link RequestInformation} */ @@ -167,7 +167,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/teamwork/teamtemplates/TeamTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/teamwork/teamtemplates/TeamTemplatesRequestBuilder.java index 9e9ae4eb28f..2b75d7f4a00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/teamwork/teamtemplates/TeamTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/teamwork/teamtemplates/TeamTemplatesRequestBuilder.java @@ -60,21 +60,21 @@ public TeamTemplatesRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/teamwork/teamTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List the teamTemplateDefinition objects associated with a teamTemplate. + * Get the list of teamTemplate objects that are available for a tenant. * @return a {@link TeamTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public TeamTemplateCollectionResponse get() { return get(null); } /** - * List the teamTemplateDefinition objects associated with a teamTemplate. + * Get the list of teamTemplate objects that are available for a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TeamTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public TeamTemplateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -109,7 +109,7 @@ public TeamTemplate post(@jakarta.annotation.Nonnull final TeamTemplate body, @j return this.requestAdapter.send(requestInfo, errorMapping, TeamTemplate::createFromDiscriminatorValue); } /** - * List the teamTemplateDefinition objects associated with a teamTemplate. + * Get the list of teamTemplate objects that are available for a tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List the teamTemplateDefinition objects associated with a teamTemplate. + * Get the list of teamTemplate objects that are available for a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -163,7 +163,7 @@ public TeamTemplatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new TeamTemplatesRequestBuilder(rawUrl, requestAdapter); } /** - * List the teamTemplateDefinition objects associated with a teamTemplate. + * Get the list of teamTemplate objects that are available for a tenant. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java index 2bfd9cbbefa..87467d94fbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java @@ -79,23 +79,23 @@ public MultiTenantOrganization get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, MultiTenantOrganization::createFromDiscriminatorValue); } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param body The request body * @return a {@link MultiTenantOrganization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MultiTenantOrganization patch(@jakarta.annotation.Nonnull final MultiTenantOrganization body) { return patch(body, null); } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MultiTenantOrganization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MultiTenantOrganization patch(@jakarta.annotation.Nonnull final MultiTenantOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param body The request body * @return a {@link RequestInformation} */ @@ -135,7 +135,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/trustframework/policies/item/TrustFrameworkPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/trustframework/policies/item/TrustFrameworkPolicyItemRequestBuilder.java index bd965e0d631..33127bdae1c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/trustframework/policies/item/TrustFrameworkPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/trustframework/policies/item/TrustFrameworkPolicyItemRequestBuilder.java @@ -46,7 +46,7 @@ public TrustFrameworkPolicyItemRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/trustFramework/policies/{trustFrameworkPolicy%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete an existing trustFrameworkPolicy. + * Delete an existing trustFrameworkPolicy object from an Microsoft Entra B2C tenant. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -54,7 +54,7 @@ public void delete() { delete(null); } /** - * Delete an existing trustFrameworkPolicy. + * Delete an existing trustFrameworkPolicy object from an Microsoft Entra B2C tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -113,7 +113,7 @@ public TrustFrameworkPolicy patch(@jakarta.annotation.Nonnull final TrustFramewo return this.requestAdapter.send(requestInfo, errorMapping, TrustFrameworkPolicy::createFromDiscriminatorValue); } /** - * Delete an existing trustFrameworkPolicy. + * Delete an existing trustFrameworkPolicy object from an Microsoft Entra B2C tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an existing trustFrameworkPolicy. + * Delete an existing trustFrameworkPolicy object from an Microsoft Entra B2C tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/trustframework/policies/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/trustframework/policies/item/value/ContentRequestBuilder.java index e93a539cca6..25d211edf6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/trustframework/policies/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/trustframework/policies/item/value/ContentRequestBuilder.java @@ -36,7 +36,7 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/trustFramework/policies/{trustFrameworkPolicy%2Did}/$value", rawUrl); } /** - * Delete an existing trustFrameworkPolicy. + * Delete an existing trustFrameworkPolicy object from an Microsoft Entra B2C tenant. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -44,7 +44,7 @@ public void delete() { delete(null); } /** - * Delete an existing trustFrameworkPolicy. + * Delete an existing trustFrameworkPolicy object from an Microsoft Entra B2C tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -105,7 +105,7 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class); } /** - * Delete an existing trustFrameworkPolicy. + * Delete an existing trustFrameworkPolicy object from an Microsoft Entra B2C tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -113,7 +113,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an existing trustFrameworkPolicy. + * Delete an existing trustFrameworkPolicy object from an Microsoft Entra B2C tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/appconsentrequestsforapproval/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/appconsentrequestsforapproval/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 0bc6e2ad01f..949d678108f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/appconsentrequestsforapproval/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/appconsentrequestsforapproval/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,7 +41,7 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public FilterByCurrentUserWithOnGetResponse get() { @@ -52,7 +52,7 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java index 62ff6151e7b..0ac6214d333 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java @@ -60,7 +60,7 @@ public ExternalAuthenticationMethodsRequestBuilder(@jakarta.annotation.Nonnull f super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. * @return a {@link ExternalAuthenticationMethodCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public ExternalAuthenticationMethodCollectionResponse get() { return get(null); } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalAuthenticationMethodCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -82,21 +82,23 @@ public ExternalAuthenticationMethodCollectionResponse get(@jakarta.annotation.Nu return this.requestAdapter.send(requestInfo, errorMapping, ExternalAuthenticationMethodCollectionResponse::createFromDiscriminatorValue); } /** - * Create new navigation property to externalAuthenticationMethods for users + * Create a new externalAuthenticationMethod object. This API doesn't support self-service operations. * @param body The request body * @return a {@link ExternalAuthenticationMethod} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public ExternalAuthenticationMethod post(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body) { return post(body, null); } /** - * Create new navigation property to externalAuthenticationMethods for users + * Create a new externalAuthenticationMethod object. This API doesn't support self-service operations. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalAuthenticationMethod} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public ExternalAuthenticationMethod post(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +109,7 @@ public ExternalAuthenticationMethod post(@jakarta.annotation.Nonnull final Exter return this.requestAdapter.send(requestInfo, errorMapping, ExternalAuthenticationMethod::createFromDiscriminatorValue); } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -127,7 +129,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create new navigation property to externalAuthenticationMethods for users + * Create a new externalAuthenticationMethod object. This API doesn't support self-service operations. * @param body The request body * @return a {@link RequestInformation} */ @@ -136,7 +138,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create new navigation property to externalAuthenticationMethods for users + * Create a new externalAuthenticationMethod object. This API doesn't support self-service operations. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -161,7 +163,7 @@ public ExternalAuthenticationMethodsRequestBuilder withUrl(@jakarta.annotation.N return new ExternalAuthenticationMethodsRequestBuilder(rawUrl, requestAdapter); } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java index e51b8d94e3c..f2afe2eaa31 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java @@ -37,16 +37,18 @@ public ExternalAuthenticationMethodItemRequestBuilder(@jakarta.annotation.Nonnul super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods/{externalAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete navigation property externalAuthenticationMethods for users + * Delete an externalAuthenticationMethod object. This API doesn't support self-service operations. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete navigation property externalAuthenticationMethods for users + * Delete an externalAuthenticationMethod object. This API doesn't support self-service operations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -55,7 +57,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. * @return a {@link ExternalAuthenticationMethod} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +66,7 @@ public ExternalAuthenticationMethod get() { return get(null); } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalAuthenticationMethod} * @throws ODataError When receiving a 4XX or 5XX status code @@ -102,7 +104,7 @@ public ExternalAuthenticationMethod patch(@jakarta.annotation.Nonnull final Exte return this.requestAdapter.send(requestInfo, errorMapping, ExternalAuthenticationMethod::createFromDiscriminatorValue); } /** - * Delete navigation property externalAuthenticationMethods for users + * Delete an externalAuthenticationMethod object. This API doesn't support self-service operations. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -110,7 +112,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete navigation property externalAuthenticationMethods for users + * Delete an externalAuthenticationMethod object. This API doesn't support self-service operations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -122,7 +124,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +132,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +184,7 @@ public ExternalAuthenticationMethodItemRequestBuilder withUrl(@jakarta.annotatio public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get externalAuthenticationMethods from users + * Represents the external methods registered to a user for authentication. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/changepassword/ChangePasswordRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/changepassword/ChangePasswordRequestBuilder.java index 76bee0f5989..c2ab4971865 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/changepassword/ChangePasswordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/changepassword/ChangePasswordRequestBuilder.java @@ -35,7 +35,7 @@ public ChangePasswordRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/users/{user%2Did}/changePassword", rawUrl); } /** - * Update the signed-in user's password. Any user can update their password without belonging to any administrator role. + * Update the signed-in user's password. Any user can update their password without belonging to any administrator role.To update another user's password in either delegated or app-only scenarios, update the passwordProfile property of the user instead. See Example 3: Update the passwordProfile of a user and reset their password. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -44,7 +44,7 @@ public void post(@jakarta.annotation.Nonnull final ChangePasswordPostRequestBody post(body, null); } /** - * Update the signed-in user's password. Any user can update their password without belonging to any administrator role. + * Update the signed-in user's password. Any user can update their password without belonging to any administrator role.To update another user's password in either delegated or app-only scenarios, update the passwordProfile property of the user instead. See Example 3: Update the passwordProfile of a user and reset their password. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ChangePasswordPostRequestBody this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Update the signed-in user's password. Any user can update their password without belonging to any administrator role. + * Update the signed-in user's password. Any user can update their password without belonging to any administrator role.To update another user's password in either delegated or app-only scenarios, update the passwordProfile property of the user instead. See Example 3: Update the passwordProfile of a user and reset their password. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Update the signed-in user's password. Any user can update their password without belonging to any administrator role. + * Update the signed-in user's password. Any user can update their password without belonging to any administrator role.To update another user's password in either delegated or app-only scenarios, update the passwordProfile property of the user instead. See Example 3: Update the passwordProfile of a user and reset their password. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/profile/awards/item/PersonAwardItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/profile/awards/item/PersonAwardItemRequestBuilder.java index a0f4c0f2119..79c77cfe0cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/profile/awards/item/PersonAwardItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/profile/awards/item/PersonAwardItemRequestBuilder.java @@ -37,7 +37,7 @@ public PersonAwardItemRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/users/{user%2Did}/profile/awards/{personAward%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes a personAward object from a user's profile. + * Delete a personAward object from a user's profile. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -45,7 +45,7 @@ public void delete() { delete(null); } /** - * Deletes a personAward object from a user's profile. + * Delete a personAward object from a user's profile. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -106,7 +106,7 @@ public PersonAward patch(@jakarta.annotation.Nonnull final PersonAward body, @ja return this.requestAdapter.send(requestInfo, errorMapping, PersonAward::createFromDiscriminatorValue); } /** - * Deletes a personAward object from a user's profile. + * Delete a personAward object from a user's profile. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -114,7 +114,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a personAward object from a user's profile. + * Delete a personAward object from a user's profile. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */