diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index dd6f8736c77..01a8e06bf57 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "6.27.0"
+ ".": "6.28.0"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e91110cf21a..1f10abfbba8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file.
+## [6.28.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.27.0...v6.28.0) (2025-02-13)
+
+
+### Features
+
+* **generation:** update request builders and models ([c9799ec](https://github.com/microsoftgraph/msgraph-sdk-java/commit/c9799ecb09547d6578ce51800157888aa7294554))
+* **generation:** update request builders and models ([bb5cbdf](https://github.com/microsoftgraph/msgraph-sdk-java/commit/bb5cbdf00d29c19c31e26d516fbcfce18fe46914))
+
## [6.27.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.26.0...v6.27.0) (2025-01-30)
diff --git a/README.md b/README.md
index 2bce7235459..06463d6b9b4 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
// x-release-please-start-version
- implementation 'com.microsoft.graph:microsoft-graph:6.27.0'
+ implementation 'com.microsoft.graph:microsoft-graph:6.28.0'
// x-release-please-end
// This dependency is only needed if you are using a TokenCredential object for authentication
implementation 'com.azure:azure-identity:1.15.0'
@@ -38,7 +38,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph
- 6.27.0
+ 6.28.0
diff --git a/gradle.properties b/gradle.properties
index b937fdbd951..efcbd0e3ec5 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -29,7 +29,7 @@ mavenArtifactId = microsoft-graph
mavenMajorVersion = 6
# x-release-please-end
# x-release-please-start-minor
-mavenMinorVersion = 27
+mavenMinorVersion = 28
# x-release-please-end
# x-release-please-start-patch
mavenPatchVersion = 0
diff --git a/pom.xml b/pom.xml
index a99417040e3..1bf39a333ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
com.microsoft.graph
microsoft-graph
- 6.27.0
+ 6.28.0
pom
@@ -20,7 +20,7 @@
com.google.code.gson
gson
- 2.12.0
+ 2.12.1
com.squareup.okhttp3
diff --git a/src/main/java/com/microsoft/graph/generated/BaseGraphServiceClient.java b/src/main/java/com/microsoft/graph/generated/BaseGraphServiceClient.java
index 6795c03af58..e22e7e6e6d3 100644
--- a/src/main/java/com/microsoft/graph/generated/BaseGraphServiceClient.java
+++ b/src/main/java/com/microsoft/graph/generated/BaseGraphServiceClient.java
@@ -8,7 +8,6 @@
import com.microsoft.graph.applicationswithappid.ApplicationsWithAppIdRequestBuilder;
import com.microsoft.graph.applicationswithuniquename.ApplicationsWithUniqueNameRequestBuilder;
import com.microsoft.graph.applicationtemplates.ApplicationTemplatesRequestBuilder;
-import com.microsoft.graph.approleassignments.AppRoleAssignmentsRequestBuilder;
import com.microsoft.graph.auditlogs.AuditLogsRequestBuilder;
import com.microsoft.graph.authenticationmethodconfigurations.AuthenticationMethodConfigurationsRequestBuilder;
import com.microsoft.graph.authenticationmethodspolicy.AuthenticationMethodsPolicyRequestBuilder;
@@ -145,14 +144,6 @@ public ApplicationsRequestBuilder applications() {
public ApplicationTemplatesRequestBuilder applicationTemplates() {
return new ApplicationTemplatesRequestBuilder(pathParameters, requestAdapter);
}
- /**
- * Provides operations to manage the collection of appRoleAssignment entities.
- * @return a {@link AppRoleAssignmentsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AppRoleAssignmentsRequestBuilder appRoleAssignments() {
- return new AppRoleAssignmentsRequestBuilder(pathParameters, requestAdapter);
- }
/**
* Provides operations to manage the auditLogRoot singleton.
* @return a {@link AuditLogsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/getavailableextensionproperties/GetAvailableExtensionPropertiesPostResponse.java b/src/main/java/com/microsoft/graph/generated/approleassignments/getavailableextensionproperties/GetAvailableExtensionPropertiesPostResponse.java
deleted file mode 100644
index 2305d827ed9..00000000000
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/getavailableextensionproperties/GetAvailableExtensionPropertiesPostResponse.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.microsoft.graph.approleassignments.getavailableextensionproperties;
-
-import com.microsoft.graph.models.BaseCollectionPaginationCountResponse;
-import com.microsoft.graph.models.ExtensionProperty;
-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 GetAvailableExtensionPropertiesPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
- /**
- * Instantiates a new {@link GetAvailableExtensionPropertiesPostResponse} and sets the default values.
- */
- public GetAvailableExtensionPropertiesPostResponse() {
- 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 GetAvailableExtensionPropertiesPostResponse}
- */
- @jakarta.annotation.Nonnull
- public static GetAvailableExtensionPropertiesPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new GetAvailableExtensionPropertiesPostResponse();
- }
- /**
- * 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(ExtensionProperty::createFromDiscriminatorValue)); });
- return deserializerMap;
- }
- /**
- * Gets the value property value. The value property
- * @return a {@link java.util.List}
- */
- @jakarta.annotation.Nullable
- public java.util.List getValue() {
- return this.backingStore.get("value");
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- super.serialize(writer);
- writer.writeCollectionOfObjectValues("value", this.getValue());
- }
- /**
- * Sets the value property value. The value property
- * @param value Value to set for the value property.
- */
- public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
- this.backingStore.set("value", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
deleted file mode 100644
index 0ed2967ba10..00000000000
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
+++ /dev/null
@@ -1,104 +0,0 @@
-package com.microsoft.graph.approleassignments.item.checkmembergroups;
-
-import com.microsoft.graph.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.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 checkMemberGroups method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link CheckMemberGroupsRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberGroups", pathParameters);
- }
- /**
- * Instantiates a new {@link CheckMemberGroupsRequestBuilder} 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 CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberGroups", rawUrl);
- }
- /**
- * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
- * @param body The request body
- * @return a {@link CheckMemberGroupsPostResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody body) {
- return post(body, null);
- }
- /**
- * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
- * @param body The request body
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link CheckMemberGroupsPostResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody 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, CheckMemberGroupsPostResponse::createFromDiscriminatorValue);
- }
- /**
- * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
- * @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 CheckMemberGroupsPostRequestBody 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 CheckMemberGroupsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CheckMemberGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new CheckMemberGroupsRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class PostRequestConfiguration extends BaseRequestConfiguration {
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsRequestBuilder.java
deleted file mode 100644
index aad7631bfc6..00000000000
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsRequestBuilder.java
+++ /dev/null
@@ -1,104 +0,0 @@
-package com.microsoft.graph.approleassignments.item.getmembergroups;
-
-import com.microsoft.graph.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.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 getMemberGroups method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetMemberGroupsRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link GetMemberGroupsRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberGroups", pathParameters);
- }
- /**
- * Instantiates a new {@link GetMemberGroupsRequestBuilder} 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 GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberGroups", rawUrl);
- }
- /**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
- * @param body The request body
- * @return a {@link GetMemberGroupsPostResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody body) {
- return post(body, null);
- }
- /**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
- * @param body The request body
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link GetMemberGroupsPostResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody 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, GetMemberGroupsPostResponse::createFromDiscriminatorValue);
- }
- /**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
- * @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 GetMemberGroupsPostRequestBody 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 GetMemberGroupsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public GetMemberGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new GetMemberGroupsRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class PostRequestConfiguration extends BaseRequestConfiguration {
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/approleassignments/item/restore/RestoreRequestBuilder.java
deleted file mode 100644
index 0f0c2599d76..00000000000
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/item/restore/RestoreRequestBuilder.java
+++ /dev/null
@@ -1,98 +0,0 @@
-package com.microsoft.graph.approleassignments.item.restore;
-
-import com.microsoft.graph.models.DirectoryObject;
-import com.microsoft.graph.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.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 restore method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class RestoreRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link RestoreRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public RestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/restore", pathParameters);
- }
- /**
- * Instantiates a new {@link RestoreRequestBuilder} 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 RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/restore", rawUrl);
- }
- /**
- * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
- * @return a {@link DirectoryObject}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public DirectoryObject post() {
- return post(null);
- }
- /**
- * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link DirectoryObject}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public DirectoryObject post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
- }
- /**
- * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation() {
- return toPostRequestInformation(null);
- }
- /**
- * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link RestoreRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new RestoreRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class PostRequestConfiguration extends BaseRequestConfiguration {
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/validateproperties/ValidatePropertiesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/approleassignments/validateproperties/ValidatePropertiesRequestBuilder.java
deleted file mode 100644
index 3f78447c74d..00000000000
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/validateproperties/ValidatePropertiesRequestBuilder.java
+++ /dev/null
@@ -1,100 +0,0 @@
-package com.microsoft.graph.approleassignments.validateproperties;
-
-import com.microsoft.graph.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.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 validateProperties method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class ValidatePropertiesRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link ValidatePropertiesRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public ValidatePropertiesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/validateProperties", pathParameters);
- }
- /**
- * Instantiates a new {@link ValidatePropertiesRequestBuilder} 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 ValidatePropertiesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/validateProperties", rawUrl);
- }
- /**
- * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.
- * @param body The request body
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- public void post(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody body) {
- post(body, null);
- }
- /**
- * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.
- * @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
- * @see Find more info here
- */
- public void post(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody 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);
- this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
- }
- /**
- * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.
- * @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 ValidatePropertiesPostRequestBody 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 ValidatePropertiesRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public ValidatePropertiesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new ValidatePropertiesRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class PostRequestConfiguration extends BaseRequestConfiguration {
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java
index 98fe724ad7d..a76e0084403 100644
--- a/src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java
@@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Retrieve a conversationMember from a chat or channel.
+ * Retrieve a conversationMember from a chat.
* @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 get() {
return get(null);
}
/**
- * Retrieve a conversationMember from a chat or channel.
+ * Retrieve a conversationMember from a chat.
* @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 get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -126,7 +126,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Retrieve a conversationMember from a chat or channel.
+ * Retrieve a conversationMember from a chat.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -134,7 +134,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve a conversationMember from a chat or channel.
+ * Retrieve a conversationMember from a chat.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -186,7 +186,7 @@ public ConversationMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Retrieve a conversationMember from a chat or channel.
+ * Retrieve a conversationMember from a chat.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java
index f820dc2e03e..940ae814bfa 100644
--- a/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java
@@ -93,23 +93,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 can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create 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 can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create 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) {
@@ -140,7 +140,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 can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -149,7 +149,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 can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create 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/generated/communications/onlinemeetings/OnlineMeetingsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/communications/onlinemeetings/OnlineMeetingsRequestBuilder.java
index 2aeeee26311..134cebd5374 100644
--- a/src/main/java/com/microsoft/graph/generated/communications/onlinemeetings/OnlineMeetingsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/communications/onlinemeetings/OnlineMeetingsRequestBuilder.java
@@ -87,7 +87,7 @@ public OnlineMeetingsRequestBuilder(@jakarta.annotation.Nonnull final String raw
super(requestAdapter, "{+baseurl}/communications/onlineMeetings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions.
+ * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions.
* @return a {@link OnlineMeetingCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -97,7 +97,7 @@ public OnlineMeetingCollectionResponse get() {
return get(null);
}
/**
- * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions.
+ * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link OnlineMeetingCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -136,7 +136,7 @@ public OnlineMeeting post(@jakarta.annotation.Nonnull final OnlineMeeting body,
return this.requestAdapter.send(requestInfo, errorMapping, OnlineMeeting::createFromDiscriminatorValue);
}
/**
- * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions.
+ * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -144,7 +144,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions.
+ * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -190,7 +190,7 @@ public OnlineMeetingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St
return new OnlineMeetingsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions.
+ * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java
index 737da07232b..ae0da8bf08a 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java
@@ -175,7 +175,7 @@ public DeviceAppManagementRequestBuilder(@jakarta.annotation.Nonnull final Strin
* Read properties and relationships of the deviceAppManagement object.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceAppManagement get() {
@@ -186,7 +186,7 @@ public DeviceAppManagement get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -200,7 +200,7 @@ public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.func
* @param body The request body
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body) {
@@ -212,7 +212,7 @@ public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppMana
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java
index e3ba9e1eb7a..b552aaabb84 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java
@@ -64,21 +64,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppPolicy object.
* @return a {@link ManagedAppPolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppPolicy get() {
return get(null);
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppPolicy object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppPolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -133,7 +133,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppPolicy object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -141,7 +141,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppPolicy object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -193,7 +193,7 @@ public ManagedAppPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppPolicy object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/targetapps/TargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/targetapps/TargetAppsRequestBuilder.java
index 90134a12068..648674ff3e8 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/targetapps/TargetAppsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/targetapps/TargetAppsRequestBuilder.java
@@ -38,7 +38,7 @@ public TargetAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
* Not yet documented
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body) {
post(body, null);
@@ -48,7 +48,7 @@ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody bod
* @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
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java
index 74c6a44cf3f..73ca8b4688a 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java
@@ -69,21 +69,21 @@ public ManagedAppRegistrationsRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the managedAppRegistration objects.
+ * List properties and relationships of the androidManagedAppRegistration objects.
* @return a {@link ManagedAppRegistrationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppRegistrationCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the managedAppRegistration objects.
+ * List properties and relationships of the androidManagedAppRegistration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppRegistrationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppRegistrationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -120,7 +120,7 @@ public ManagedAppRegistration post(@jakarta.annotation.Nonnull final ManagedAppR
return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppRegistration::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the managedAppRegistration objects.
+ * List properties and relationships of the androidManagedAppRegistration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -128,7 +128,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the managedAppRegistration objects.
+ * List properties and relationships of the androidManagedAppRegistration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -174,7 +174,7 @@ public ManagedAppRegistrationsRequestBuilder withUrl(@jakarta.annotation.Nonnull
return new ManagedAppRegistrationsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the managedAppRegistration objects.
+ * List properties and relationships of the androidManagedAppRegistration objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java
index 29054f4a301..7bedaf1be58 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java
@@ -82,21 +82,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the androidManagedAppRegistration object.
+ * Read properties and relationships of the iosManagedAppRegistration object.
* @return a {@link ManagedAppRegistration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppRegistration get() {
return get(null);
}
/**
- * Read properties and relationships of the androidManagedAppRegistration object.
+ * Read properties and relationships of the iosManagedAppRegistration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppRegistration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -151,7 +151,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the androidManagedAppRegistration object.
+ * Read properties and relationships of the iosManagedAppRegistration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -159,7 +159,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the androidManagedAppRegistration object.
+ * Read properties and relationships of the iosManagedAppRegistration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -211,7 +211,7 @@ public ManagedAppRegistrationItemRequestBuilder withUrl(@jakarta.annotation.Nonn
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the androidManagedAppRegistration object.
+ * Read properties and relationships of the iosManagedAppRegistration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/targetapps/TargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/targetapps/TargetAppsRequestBuilder.java
index 6b8d2345dc5..860d86b8311 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/targetapps/TargetAppsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/targetapps/TargetAppsRequestBuilder.java
@@ -38,7 +38,7 @@ public TargetAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
* Not yet documented
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body) {
post(body, null);
@@ -48,7 +48,7 @@ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody bod
* @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
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/targetapps/TargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/targetapps/TargetAppsRequestBuilder.java
index 910c4cf6a34..85fe66c7236 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/targetapps/TargetAppsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/targetapps/TargetAppsRequestBuilder.java
@@ -38,7 +38,7 @@ public TargetAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
* Not yet documented
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body) {
post(body, null);
@@ -48,7 +48,7 @@ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody bod
* @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
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java
index e0cfb0e8610..dfe8eb0ac38 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java
@@ -55,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the managedAppStatusRaw object.
+ * Read properties and relationships of the managedAppStatus object.
* @return a {@link ManagedAppStatus}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppStatus get() {
return get(null);
}
/**
- * Read properties and relationships of the managedAppStatusRaw object.
+ * Read properties and relationships of the managedAppStatus object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppStatus}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppStatus get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -124,7 +124,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the managedAppStatusRaw object.
+ * Read properties and relationships of the managedAppStatus object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedAppStatusRaw object.
+ * Read properties and relationships of the managedAppStatus object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -184,7 +184,7 @@ public ManagedAppStatusItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the managedAppStatusRaw object.
+ * Read properties and relationships of the managedAppStatus object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java
index c806be424f1..0fe3f3f8483 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java
@@ -60,21 +60,21 @@ public ManagedEBooksRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
* @return a {@link ManagedEBookCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBookCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public ManagedEBook post(@jakarta.annotation.Nonnull final ManagedEBook body, @j
return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBook::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -165,7 +165,7 @@ public ManagedEBooksRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
return new ManagedEBooksRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java
index 99e8d46dffd..8f1d73a214c 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java
@@ -102,21 +102,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the iosVppEBook object.
+ * Read properties and relationships of the managedEBook object.
* @return a {@link ManagedEBook}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBook get() {
return get(null);
}
/**
- * Read properties and relationships of the iosVppEBook object.
+ * Read properties and relationships of the managedEBook object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBook}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBook get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -173,7 +173,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the iosVppEBook object.
+ * Read properties and relationships of the managedEBook object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -181,7 +181,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the iosVppEBook object.
+ * Read properties and relationships of the managedEBook object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -233,7 +233,7 @@ public ManagedEBookItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the iosVppEBook object.
+ * Read properties and relationships of the managedEBook object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java
index c78ab3e1cd5..574df0454f5 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java
@@ -60,21 +60,21 @@ public AssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
* @return a {@link ManagedEBookAssignmentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignmentCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBookAssignmentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public ManagedEBookAssignment post(@jakarta.annotation.Nonnull final ManagedEBoo
return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignment::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -165,7 +165,7 @@ public AssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin
return new AssignmentsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java
index d4668c691ae..1cd36d46e6a 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java
@@ -37,18 +37,18 @@ public ManagedEBookAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull fina
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a managedEBookAssignment.
+ * Deletes a iosVppEBookAssignment.
* @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);
}
/**
- * Deletes a managedEBookAssignment.
+ * Deletes a iosVppEBookAssignment.
* @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);
@@ -81,23 +81,23 @@ public ManagedEBookAssignment get(@jakarta.annotation.Nullable final java.util.f
return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignment::createFromDiscriminatorValue);
}
/**
- * Update the properties of a iosVppEBookAssignment object.
+ * Update the properties of a managedEBookAssignment object.
* @param body The request body
* @return a {@link ManagedEBookAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignment patch(@jakarta.annotation.Nonnull final ManagedEBookAssignment body) {
return patch(body, null);
}
/**
- * Update the properties of a iosVppEBookAssignment object.
+ * Update the properties of a managedEBookAssignment object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBookAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignment patch(@jakarta.annotation.Nonnull final ManagedEBookAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -108,7 +108,7 @@ public ManagedEBookAssignment patch(@jakarta.annotation.Nonnull final ManagedEBo
return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignment::createFromDiscriminatorValue);
}
/**
- * Deletes a managedEBookAssignment.
+ * Deletes a iosVppEBookAssignment.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a managedEBookAssignment.
+ * Deletes a iosVppEBookAssignment.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of a iosVppEBookAssignment object.
+ * Update the properties of a managedEBookAssignment object.
* @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 properties of a iosVppEBookAssignment object.
+ * Update the properties of a managedEBookAssignment 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/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java
index 783c561d2a9..2dffcd3051c 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java
@@ -111,21 +111,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the managedDeviceMobileAppConfiguration object.
+ * Read properties and relationships of the iosMobileAppConfiguration object.
* @return a {@link ManagedDeviceMobileAppConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedDeviceMobileAppConfiguration get() {
return get(null);
}
/**
- * Read properties and relationships of the managedDeviceMobileAppConfiguration object.
+ * Read properties and relationships of the iosMobileAppConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedDeviceMobileAppConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedDeviceMobileAppConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -182,7 +182,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the managedDeviceMobileAppConfiguration object.
+ * Read properties and relationships of the iosMobileAppConfiguration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -190,7 +190,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedDeviceMobileAppConfiguration object.
+ * Read properties and relationships of the iosMobileAppConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -242,7 +242,7 @@ public ManagedDeviceMobileAppConfigurationItemRequestBuilder withUrl(@jakarta.an
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the managedDeviceMobileAppConfiguration object.
+ * Read properties and relationships of the iosMobileAppConfiguration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java
index 87e2634d895..ce082e80297 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java
@@ -204,21 +204,21 @@ public MobileAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the macOSLobApp objects.
+ * List properties and relationships of the managedIOSStoreApp objects.
* @return a {@link MobileAppCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileAppCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the macOSLobApp objects.
+ * List properties and relationships of the managedIOSStoreApp objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileAppCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileAppCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -228,23 +228,23 @@ public MobileAppCollectionResponse get(@jakarta.annotation.Nullable final java.u
return this.requestAdapter.send(requestInfo, errorMapping, MobileAppCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new windowsMobileMSI object.
+ * Create a new microsoftStoreForBusinessApp object.
* @param body The request body
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body) {
return post(body, null);
}
/**
- * Create a new windowsMobileMSI object.
+ * Create a new microsoftStoreForBusinessApp object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -255,7 +255,7 @@ public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body, @jakarta
return this.requestAdapter.send(requestInfo, errorMapping, MobileApp::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the macOSLobApp objects.
+ * List properties and relationships of the managedIOSStoreApp objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -263,7 +263,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the macOSLobApp objects.
+ * List properties and relationships of the managedIOSStoreApp objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -275,7 +275,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new windowsMobileMSI object.
+ * Create a new microsoftStoreForBusinessApp object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -284,7 +284,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create a new windowsMobileMSI object.
+ * Create a new microsoftStoreForBusinessApp object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -309,7 +309,7 @@ public MobileAppsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new MobileAppsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the macOSLobApp objects.
+ * List properties and relationships of the managedIOSStoreApp objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java
index a688e6ab0c8..6d78b6b3f4e 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java
@@ -208,18 +208,18 @@ public MobileAppItemRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a managedAndroidStoreApp.
+ * Deletes a androidStoreApp.
* @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);
}
/**
- * Deletes a managedAndroidStoreApp.
+ * Deletes a androidStoreApp.
* @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);
@@ -228,21 +228,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the windowsAppX object.
+ * Read properties and relationships of the webApp object.
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp get() {
return get(null);
}
/**
- * Read properties and relationships of the windowsAppX object.
+ * Read properties and relationships of the webApp object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -252,23 +252,23 @@ public MobileApp get(@jakarta.annotation.Nullable final java.util.function.Consu
return this.requestAdapter.send(requestInfo, errorMapping, MobileApp::createFromDiscriminatorValue);
}
/**
- * Update the properties of a androidLobApp object.
+ * Update the properties of a iosLobApp object.
* @param body The request body
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp patch(@jakarta.annotation.Nonnull final MobileApp body) {
return patch(body, null);
}
/**
- * Update the properties of a androidLobApp object.
+ * Update the properties of a iosLobApp object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp patch(@jakarta.annotation.Nonnull final MobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -279,7 +279,7 @@ public MobileApp patch(@jakarta.annotation.Nonnull final MobileApp body, @jakart
return this.requestAdapter.send(requestInfo, errorMapping, MobileApp::createFromDiscriminatorValue);
}
/**
- * Deletes a managedAndroidStoreApp.
+ * Deletes a androidStoreApp.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -287,7 +287,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a managedAndroidStoreApp.
+ * Deletes a androidStoreApp.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -299,7 +299,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the windowsAppX object.
+ * Read properties and relationships of the webApp object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -307,7 +307,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the windowsAppX object.
+ * Read properties and relationships of the webApp object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -319,7 +319,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of a androidLobApp object.
+ * Update the properties of a iosLobApp object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -328,7 +328,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the properties of a androidLobApp object.
+ * Update the properties of a iosLobApp object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -359,7 +359,7 @@ public MobileAppItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the windowsAppX object.
+ * Read properties and relationships of the webApp object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java
index 650ddf2ffeb..66b87571907 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java
@@ -608,7 +608,7 @@ public GetEffectivePermissionsWithScopeRequestBuilder getEffectivePermissionsWit
* @param body The request body
* @return a {@link DeviceManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement body) {
@@ -620,7 +620,7 @@ public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java
index 4ed28cfd909..098b2f08702 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java
@@ -60,21 +60,21 @@ public DeviceCompliancePoliciesRequestBuilder(@jakarta.annotation.Nonnull final
super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the macOSCompliancePolicy objects.
+ * List properties and relationships of the windows10CompliancePolicy objects.
* @return a {@link DeviceCompliancePolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicyCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the macOSCompliancePolicy objects.
+ * List properties and relationships of the windows10CompliancePolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceCompliancePolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -84,23 +84,23 @@ public DeviceCompliancePolicyCollectionResponse get(@jakarta.annotation.Nullable
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicyCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new macOSCompliancePolicy object.
+ * Create a new windows10MobileCompliancePolicy object.
* @param body The request body
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body) {
return post(body, null);
}
/**
- * Create a new macOSCompliancePolicy object.
+ * Create a new windows10MobileCompliancePolicy object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompl
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the macOSCompliancePolicy objects.
+ * List properties and relationships of the windows10CompliancePolicy objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the macOSCompliancePolicy objects.
+ * List properties and relationships of the windows10CompliancePolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new macOSCompliancePolicy object.
+ * Create a new windows10MobileCompliancePolicy 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 macOSCompliancePolicy object.
+ * Create a new windows10MobileCompliancePolicy object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -165,7 +165,7 @@ public DeviceCompliancePoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnul
return new DeviceCompliancePoliciesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the macOSCompliancePolicy objects.
+ * List properties and relationships of the windows10CompliancePolicy objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java
index 600cf360a9e..b8459aa73f2 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java
@@ -118,18 +118,18 @@ public DeviceCompliancePolicyItemRequestBuilder(@jakarta.annotation.Nonnull fina
super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a androidCompliancePolicy.
+ * Deletes a androidWorkProfileCompliancePolicy.
* @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);
}
/**
- * Deletes a androidCompliancePolicy.
+ * Deletes a androidWorkProfileCompliancePolicy.
* @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);
@@ -162,23 +162,23 @@ public DeviceCompliancePolicy get(@jakarta.annotation.Nullable final java.util.f
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue);
}
/**
- * Update the properties of a androidWorkProfileCompliancePolicy object.
+ * Update the properties of a windows81CompliancePolicy object.
* @param body The request body
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body) {
return patch(body, null);
}
/**
- * Update the properties of a androidWorkProfileCompliancePolicy object.
+ * Update the properties of a windows81CompliancePolicy object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -189,7 +189,7 @@ public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceComp
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue);
}
/**
- * Deletes a androidCompliancePolicy.
+ * Deletes a androidWorkProfileCompliancePolicy.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -197,7 +197,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a androidCompliancePolicy.
+ * Deletes a androidWorkProfileCompliancePolicy.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -229,7 +229,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of a androidWorkProfileCompliancePolicy object.
+ * Update the properties of a windows81CompliancePolicy object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -238,7 +238,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the properties of a androidWorkProfileCompliancePolicy object.
+ * Update the properties of a windows81CompliancePolicy 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/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java
index 3b20d38dd58..969e66dd24a 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java
@@ -60,21 +60,21 @@ public DeviceConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final Stri
super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the iosGeneralDeviceConfiguration objects.
+ * List properties and relationships of the macOSGeneralDeviceConfiguration objects.
* @return a {@link DeviceConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfigurationCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the iosGeneralDeviceConfiguration objects.
+ * List properties and relationships of the macOSGeneralDeviceConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -84,23 +84,23 @@ public DeviceConfigurationCollectionResponse get(@jakarta.annotation.Nullable fi
return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfigurationCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new windowsPhone81CustomConfiguration object.
+ * Create a new androidWorkProfileCustomConfiguration object.
* @param body The request body
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfiguration body) {
return post(body, null);
}
/**
- * Create a new windowsPhone81CustomConfiguration object.
+ * Create a new androidWorkProfileCustomConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfigur
return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfiguration::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the iosGeneralDeviceConfiguration objects.
+ * List properties and relationships of the macOSGeneralDeviceConfiguration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the iosGeneralDeviceConfiguration objects.
+ * List properties and relationships of the macOSGeneralDeviceConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new windowsPhone81CustomConfiguration object.
+ * Create a new androidWorkProfileCustomConfiguration 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 windowsPhone81CustomConfiguration object.
+ * Create a new androidWorkProfileCustomConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -165,7 +165,7 @@ public DeviceConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
return new DeviceConfigurationsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the iosGeneralDeviceConfiguration objects.
+ * List properties and relationships of the macOSGeneralDeviceConfiguration objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java
index 6d4bbb8b388..fd612f435fb 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java
@@ -101,18 +101,18 @@ public DeviceConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a macOSDeviceFeaturesConfiguration.
+ * Deletes a windows10CustomConfiguration.
* @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);
}
/**
- * Deletes a macOSDeviceFeaturesConfiguration.
+ * Deletes a windows10CustomConfiguration.
* @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);
@@ -121,21 +121,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the iosDeviceFeaturesConfiguration object.
+ * Read properties and relationships of the iosUpdateConfiguration object.
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration get() {
return get(null);
}
/**
- * Read properties and relationships of the iosDeviceFeaturesConfiguration object.
+ * Read properties and relationships of the iosUpdateConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -155,23 +155,23 @@ public GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder getOm
return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(pathParameters, requestAdapter, secretReferenceValueId);
}
/**
- * Update the properties of a iosGeneralDeviceConfiguration object.
+ * Update the properties of a windowsPhone81GeneralConfiguration object.
* @param body The request body
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfiguration body) {
return patch(body, null);
}
/**
- * Update the properties of a iosGeneralDeviceConfiguration object.
+ * Update the properties of a windowsPhone81GeneralConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -182,7 +182,7 @@ public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfigu
return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfiguration::createFromDiscriminatorValue);
}
/**
- * Deletes a macOSDeviceFeaturesConfiguration.
+ * Deletes a windows10CustomConfiguration.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -190,7 +190,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a macOSDeviceFeaturesConfiguration.
+ * Deletes a windows10CustomConfiguration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -202,7 +202,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the iosDeviceFeaturesConfiguration object.
+ * Read properties and relationships of the iosUpdateConfiguration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -210,7 +210,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the iosDeviceFeaturesConfiguration object.
+ * Read properties and relationships of the iosUpdateConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -222,7 +222,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of a iosGeneralDeviceConfiguration object.
+ * Update the properties of a windowsPhone81GeneralConfiguration object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the properties of a iosGeneralDeviceConfiguration object.
+ * Update the properties of a windowsPhone81GeneralConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -262,7 +262,7 @@ public DeviceConfigurationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the iosDeviceFeaturesConfiguration object.
+ * Read properties and relationships of the iosUpdateConfiguration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java
index bfc6ce7d193..7897bdc9c56 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java
@@ -60,21 +60,21 @@ public DeviceEnrollmentConfigurationsRequestBuilder(@jakarta.annotation.Nonnull
super(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
* @return a {@link DeviceEnrollmentConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfigurationCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceEnrollmentConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -84,23 +84,23 @@ public DeviceEnrollmentConfigurationCollectionResponse get(@jakarta.annotation.N
return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfigurationCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param body The request body
* @return a {@link DeviceEnrollmentConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfiguration post(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body) {
return post(body, null);
}
/**
- * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceEnrollmentConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfiguration post(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public DeviceEnrollmentConfiguration post(@jakarta.annotation.Nonnull final Devi
return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfiguration::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Create a new deviceEnrollmentPlatformRestrictionsConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -165,7 +165,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder withUrl(@jakarta.annotation.
return new DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java
index 9b0708d7766..d2a2ce81ad9 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java
@@ -64,18 +64,18 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(@jakarta.annotation.Nonnu
super(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.
+ * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
* @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);
}
/**
- * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.
+ * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
* @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);
@@ -84,21 +84,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentConfiguration object.
* @return a {@link DeviceEnrollmentConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfiguration get() {
return get(null);
}
/**
- * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceEnrollmentConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -108,23 +108,23 @@ public DeviceEnrollmentConfiguration get(@jakarta.annotation.Nullable final java
return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfiguration::createFromDiscriminatorValue);
}
/**
- * Update the properties of a deviceEnrollmentLimitConfiguration object.
+ * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param body The request body
* @return a {@link DeviceEnrollmentConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfiguration patch(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body) {
return patch(body, null);
}
/**
- * Update the properties of a deviceEnrollmentLimitConfiguration object.
+ * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceEnrollmentConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfiguration patch(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -135,7 +135,7 @@ public DeviceEnrollmentConfiguration patch(@jakarta.annotation.Nonnull final Dev
return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfiguration::createFromDiscriminatorValue);
}
/**
- * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.
+ * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -143,7 +143,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.
+ * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -155,7 +155,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentConfiguration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -163,7 +163,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -175,7 +175,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of a deviceEnrollmentLimitConfiguration object.
+ * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -184,7 +184,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the properties of a deviceEnrollmentLimitConfiguration object.
+ * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -215,7 +215,7 @@ public DeviceEnrollmentConfigurationItemRequestBuilder withUrl(@jakarta.annotati
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentConfiguration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java
index 79c71a4aff3..91d3a9ffe86 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java
@@ -84,23 +84,23 @@ public RoleDefinitionCollectionResponse get(@jakarta.annotation.Nullable final j
return this.requestAdapter.send(requestInfo, errorMapping, RoleDefinitionCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new deviceAndAppManagementRoleDefinition object.
+ * Create a new roleDefinition object.
* @param body The request body
* @return a {@link RoleDefinition}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RoleDefinition post(@jakarta.annotation.Nonnull final RoleDefinition body) {
return post(body, null);
}
/**
- * Create a new deviceAndAppManagementRoleDefinition object.
+ * Create a new roleDefinition object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RoleDefinition}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RoleDefinition post(@jakarta.annotation.Nonnull final RoleDefinition 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 deviceAndAppManagementRoleDefinition object.
+ * Create a new roleDefinition 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 deviceAndAppManagementRoleDefinition object.
+ * Create a new roleDefinition 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/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java
index f7c9837f26c..b300fa6364c 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java
@@ -46,18 +46,18 @@ public RoleDefinitionItemRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a roleDefinition.
+ * Deletes a deviceAndAppManagementRoleDefinition.
* @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);
}
/**
- * Deletes a roleDefinition.
+ * Deletes a deviceAndAppManagementRoleDefinition.
* @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 properties and relationships of the deviceAndAppManagementRoleDefinition object.
+ * Read properties and relationships of the roleDefinition object.
* @return a {@link RoleDefinition}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RoleDefinition get() {
return get(null);
}
/**
- * Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
+ * Read properties and relationships of the roleDefinition object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RoleDefinition}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RoleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -117,7 +117,7 @@ public RoleDefinition patch(@jakarta.annotation.Nonnull final RoleDefinition bod
return this.requestAdapter.send(requestInfo, errorMapping, RoleDefinition::createFromDiscriminatorValue);
}
/**
- * Deletes a roleDefinition.
+ * Deletes a deviceAndAppManagementRoleDefinition.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a roleDefinition.
+ * Deletes a deviceAndAppManagementRoleDefinition.
* @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 properties and relationships of the deviceAndAppManagementRoleDefinition object.
+ * Read properties and relationships of the roleDefinition object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
+ * Read properties and relationships of the roleDefinition object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -197,7 +197,7 @@ public RoleDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
+ * Read properties and relationships of the roleDefinition object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java
index 195bf3fca2a..e2d7e4eef05 100644
--- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/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);
}
/**
- * 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.
+ * 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.
* @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);
}
/**
- * 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.
+ * 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.
* @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;
}
/**
- * 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.
+ * 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.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -155,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * 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.
+ * 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.
* @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/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java
index 25580bb3f11..bcf6f11d17b 100644
--- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java
@@ -36,23 +36,23 @@ public AddRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/add", rawUrl);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
* @param body The request body
* @return a {@link WorkbookTable}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body) {
return post(body, null);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WorkbookTable}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -63,7 +63,7 @@ public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody b
return this.requestAdapter.send(requestInfo, errorMapping, WorkbookTable::createFromDiscriminatorValue);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
* @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/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java
index a487e3decfd..635c39d3b34 100644
--- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java
@@ -36,23 +36,23 @@ public AddRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/add", rawUrl);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
* @param body The request body
* @return a {@link WorkbookTable}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body) {
return post(body, null);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WorkbookTable}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -63,7 +63,7 @@ public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody b
return this.requestAdapter.send(requestInfo, errorMapping, WorkbookTable::createFromDiscriminatorValue);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
* @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/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java
index ba5560b8366..eaae73f655f 100644
--- a/src/main/java/com/microsoft/graph/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/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);
}
/**
- * Create a new externalItem object.
+ * Update the properties of an externalItem object.
* @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);
}
/**
- * Create a new externalItem object.
+ * Update the properties of an externalItem object.
* @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;
}
/**
- * Create a new externalItem object.
+ * Update the properties of an externalItem object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -175,7 +175,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi
return toPutRequestInformation(body, null);
}
/**
- * Create a new externalItem object.
+ * Update the properties of an externalItem 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/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java
index fe62f228833..6e5426c29b0 100644
--- a/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java
@@ -48,7 +48,7 @@ public ConversationItemRequestBuilder(@jakarta.annotation.Nonnull final String r
/**
* Delete conversation.
* @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);
@@ -57,7 +57,7 @@ public void delete() {
* Delete conversation.
* @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);
}
/**
- * Retrieve the properties and relationships of conversation object.
+ * The group's conversations.
* @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);
}
/**
- * Retrieve the properties and relationships of conversation object.
+ * The group's conversations.
* @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;
}
/**
- * Retrieve the properties and relationships of conversation object.
+ * The group's conversations.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -118,7 +118,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties and relationships of conversation object.
+ * The group's conversations.
* @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 {
}
/**
- * Retrieve the properties and relationships of conversation object.
+ * The group's conversations.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java
index b20eacba228..9902355a599 100644
--- a/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java
@@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/reply", rawUrl);
}
/**
- * 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.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) {
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.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @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
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * 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.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
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.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @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/generated/groups/item/team/channels/item/ChannelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/ChannelItemRequestBuilder.java
index e7126ac7f71..11b423de780 100644
--- a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/ChannelItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/ChannelItemRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.groups.item.team.channels.item;
+import com.microsoft.graph.groups.item.team.channels.item.allmembers.AllMembersRequestBuilder;
import com.microsoft.graph.groups.item.team.channels.item.archive.ArchiveRequestBuilder;
import com.microsoft.graph.groups.item.team.channels.item.completemigration.CompleteMigrationRequestBuilder;
import com.microsoft.graph.groups.item.team.channels.item.doesuserhaveaccessuseriduseridtenantidtenantiduserprincipalnameuserprincipalname.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder;
@@ -31,6 +32,14 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class ChannelItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
+ * @return a {@link AllMembersRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AllMembersRequestBuilder allMembers() {
+ return new AllMembersRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the archive method.
* @return a {@link ArchiveRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/AllMembersRequestBuilder.java
similarity index 61%
rename from src/main/java/com/microsoft/graph/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java
rename to src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/AllMembersRequestBuilder.java
index 97df662ce31..265eeccb702 100644
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/AllMembersRequestBuilder.java
@@ -1,13 +1,11 @@
-package com.microsoft.graph.approleassignments;
+package com.microsoft.graph.groups.item.team.channels.item.allmembers;
-import com.microsoft.graph.approleassignments.count.CountRequestBuilder;
-import com.microsoft.graph.approleassignments.delta.DeltaRequestBuilder;
-import com.microsoft.graph.approleassignments.getavailableextensionproperties.GetAvailableExtensionPropertiesRequestBuilder;
-import com.microsoft.graph.approleassignments.getbyids.GetByIdsRequestBuilder;
-import com.microsoft.graph.approleassignments.item.AppRoleAssignmentItemRequestBuilder;
-import com.microsoft.graph.approleassignments.validateproperties.ValidatePropertiesRequestBuilder;
-import com.microsoft.graph.models.AppRoleAssignment;
-import com.microsoft.graph.models.AppRoleAssignmentCollectionResponse;
+import com.microsoft.graph.groups.item.team.channels.item.allmembers.add.AddRequestBuilder;
+import com.microsoft.graph.groups.item.team.channels.item.allmembers.count.CountRequestBuilder;
+import com.microsoft.graph.groups.item.team.channels.item.allmembers.item.ConversationMemberItemRequestBuilder;
+import com.microsoft.graph.groups.item.team.channels.item.allmembers.remove.RemoveRequestBuilder;
+import com.microsoft.graph.models.ConversationMember;
+import com.microsoft.graph.models.ConversationMemberCollectionResponse;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
import com.microsoft.kiota.BaseRequestConfiguration;
@@ -23,127 +21,111 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to manage the collection of appRoleAssignment entities.
+ * Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class AppRoleAssignmentsRequestBuilder extends BaseRequestBuilder {
+public class AllMembersRequestBuilder extends BaseRequestBuilder {
/**
- * Provides operations to count the resources in the collection.
- * @return a {@link CountRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CountRequestBuilder count() {
- return new CountRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the delta method.
- * @return a {@link DeltaRequestBuilder}
+ * Provides operations to call the add method.
+ * @return a {@link AddRequestBuilder}
*/
@jakarta.annotation.Nonnull
- public DeltaRequestBuilder delta() {
- return new DeltaRequestBuilder(pathParameters, requestAdapter);
+ public AddRequestBuilder add() {
+ return new AddRequestBuilder(pathParameters, requestAdapter);
}
/**
- * Provides operations to call the getAvailableExtensionProperties method.
- * @return a {@link GetAvailableExtensionPropertiesRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public GetAvailableExtensionPropertiesRequestBuilder getAvailableExtensionProperties() {
- return new GetAvailableExtensionPropertiesRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the getByIds method.
- * @return a {@link GetByIdsRequestBuilder}
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
*/
@jakarta.annotation.Nonnull
- public GetByIdsRequestBuilder getByIds() {
- return new GetByIdsRequestBuilder(pathParameters, requestAdapter);
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
}
/**
- * Provides operations to call the validateProperties method.
- * @return a {@link ValidatePropertiesRequestBuilder}
+ * Provides operations to call the remove method.
+ * @return a {@link RemoveRequestBuilder}
*/
@jakarta.annotation.Nonnull
- public ValidatePropertiesRequestBuilder validateProperties() {
- return new ValidatePropertiesRequestBuilder(pathParameters, requestAdapter);
+ public RemoveRequestBuilder remove() {
+ return new RemoveRequestBuilder(pathParameters, requestAdapter);
}
/**
- * Provides operations to manage the collection of appRoleAssignment entities.
- * @param appRoleAssignmentId The unique identifier of appRoleAssignment
- * @return a {@link AppRoleAssignmentItemRequestBuilder}
+ * Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
+ * @param conversationMemberId The unique identifier of conversationMember
+ * @return a {@link ConversationMemberItemRequestBuilder}
*/
@jakarta.annotation.Nonnull
- public AppRoleAssignmentItemRequestBuilder byAppRoleAssignmentId(@jakarta.annotation.Nonnull final String appRoleAssignmentId) {
- Objects.requireNonNull(appRoleAssignmentId);
+ public ConversationMemberItemRequestBuilder byConversationMemberId(@jakarta.annotation.Nonnull final String conversationMemberId) {
+ Objects.requireNonNull(conversationMemberId);
final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("appRoleAssignment%2Did", appRoleAssignmentId);
- return new AppRoleAssignmentItemRequestBuilder(urlTplParams, requestAdapter);
+ urlTplParams.put("conversationMember%2Did", conversationMemberId);
+ return new ConversationMemberItemRequestBuilder(urlTplParams, requestAdapter);
}
/**
- * Instantiates a new {@link AppRoleAssignmentsRequestBuilder} and sets the default values.
+ * Instantiates a new {@link AllMembersRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
*/
- public AppRoleAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ public AllMembersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
}
/**
- * Instantiates a new {@link AppRoleAssignmentsRequestBuilder} and sets the default values.
+ * Instantiates a new {@link AllMembersRequestBuilder} 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 AppRoleAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ public AllMembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get entities from appRoleAssignments
- * @return a {@link AppRoleAssignmentCollectionResponse}
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @return a {@link ConversationMemberCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
- public AppRoleAssignmentCollectionResponse get() {
+ public ConversationMemberCollectionResponse get() {
return get(null);
}
/**
- * Get entities from appRoleAssignments
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link AppRoleAssignmentCollectionResponse}
+ * @return a {@link ConversationMemberCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
- public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public ConversationMemberCollectionResponse 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, AppRoleAssignmentCollectionResponse::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ConversationMemberCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Add new entity to appRoleAssignments
+ * Create new navigation property to allMembers for groups
* @param body The request body
- * @return a {@link AppRoleAssignment}
+ * @return a {@link ConversationMember}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
- public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignment body) {
+ public ConversationMember post(@jakarta.annotation.Nonnull final ConversationMember body) {
return post(body, null);
}
/**
- * Add new entity to appRoleAssignments
+ * Create new navigation property to allMembers for groups
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link AppRoleAssignment}
+ * @return a {@link ConversationMember}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@jakarta.annotation.Nullable
- public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public ConversationMember post(@jakarta.annotation.Nonnull final ConversationMember 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, AppRoleAssignment::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ConversationMember::createFromDiscriminatorValue);
}
/**
- * Get entities from appRoleAssignments
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -151,7 +133,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get entities from appRoleAssignments
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -163,22 +145,22 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Add new entity to appRoleAssignments
+ * Create new navigation property to allMembers for groups
* @param body The request body
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationMember body) {
return toPostRequestInformation(body, null);
}
/**
- * Add new entity to appRoleAssignments
+ * Create new navigation property to allMembers 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 AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationMember 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);
@@ -189,15 +171,15 @@ 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 AppRoleAssignmentsRequestBuilder}
+ * @return a {@link AllMembersRequestBuilder}
*/
@jakarta.annotation.Nonnull
- public AppRoleAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public AllMembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new AppRoleAssignmentsRequestBuilder(rawUrl, requestAdapter);
+ return new AllMembersRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get entities from appRoleAssignments
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddPostRequestBody.java
similarity index 72%
rename from src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostRequestBody.java
rename to src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddPostRequestBody.java
index 9f02a3b27a0..501ce2bc475 100644
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddPostRequestBody.java
@@ -1,5 +1,6 @@
-package com.microsoft.graph.approleassignments.item.getmembergroups;
+package com.microsoft.graph.groups.item.team.channels.item.allmembers.add;
+import com.microsoft.graph.models.ConversationMember;
import com.microsoft.kiota.serialization.AdditionalDataHolder;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
@@ -11,28 +12,28 @@
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetMemberGroupsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+public class AddPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores model information.
*/
@jakarta.annotation.Nonnull
protected BackingStore backingStore;
/**
- * Instantiates a new {@link GetMemberGroupsPostRequestBody} and sets the default values.
+ * Instantiates a new {@link AddPostRequestBody} and sets the default values.
*/
- public GetMemberGroupsPostRequestBody() {
+ public AddPostRequestBody() {
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 GetMemberGroupsPostRequestBody}
+ * @return a {@link AddPostRequestBody}
*/
@jakarta.annotation.Nonnull
- public static GetMemberGroupsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ public static AddPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
- return new GetMemberGroupsPostRequestBody();
+ return new AddPostRequestBody();
}
/**
* Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
@@ -62,16 +63,16 @@ public BackingStore getBackingStore() {
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(1);
- deserializerMap.put("securityEnabledOnly", (n) -> { this.setSecurityEnabledOnly(n.getBooleanValue()); });
+ deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); });
return deserializerMap;
}
/**
- * Gets the securityEnabledOnly property value. The securityEnabledOnly property
- * @return a {@link Boolean}
+ * Gets the values property value. The values property
+ * @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
- public Boolean getSecurityEnabledOnly() {
- return this.backingStore.get("securityEnabledOnly");
+ public java.util.List getValues() {
+ return this.backingStore.get("values");
}
/**
* Serializes information the current object
@@ -79,7 +80,7 @@ public Boolean getSecurityEnabledOnly() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
- writer.writeBooleanValue("securityEnabledOnly", this.getSecurityEnabledOnly());
+ writer.writeCollectionOfObjectValues("values", this.getValues());
writer.writeAdditionalData(this.getAdditionalData());
}
/**
@@ -98,10 +99,10 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
this.backingStore = value;
}
/**
- * Sets the securityEnabledOnly property value. The securityEnabledOnly property
- * @param value Value to set for the securityEnabledOnly property.
+ * Sets the values property value. The values property
+ * @param value Value to set for the values property.
*/
- public void setSecurityEnabledOnly(@jakarta.annotation.Nullable final Boolean value) {
- this.backingStore.set("securityEnabledOnly", value);
+ public void setValues(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("values", value);
}
}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/getbyids/GetByIdsPostResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddPostResponse.java
similarity index 72%
rename from src/main/java/com/microsoft/graph/generated/approleassignments/getbyids/GetByIdsPostResponse.java
rename to src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddPostResponse.java
index bcd47b24f2d..2118f76de2e 100644
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/getbyids/GetByIdsPostResponse.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddPostResponse.java
@@ -1,7 +1,7 @@
-package com.microsoft.graph.approleassignments.getbyids;
+package com.microsoft.graph.groups.item.team.channels.item.allmembers.add;
+import com.microsoft.graph.models.ActionResultPart;
import com.microsoft.graph.models.BaseCollectionPaginationCountResponse;
-import com.microsoft.graph.models.DirectoryObject;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
@@ -9,22 +9,22 @@
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetByIdsPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+public class AddPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
/**
- * Instantiates a new {@link GetByIdsPostResponse} and sets the default values.
+ * Instantiates a new {@link AddPostResponse} and sets the default values.
*/
- public GetByIdsPostResponse() {
+ public AddPostResponse() {
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 GetByIdsPostResponse}
+ * @return a {@link AddPostResponse}
*/
@jakarta.annotation.Nonnull
- public static GetByIdsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ public static AddPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
- return new GetByIdsPostResponse();
+ return new AddPostResponse();
}
/**
* The deserialization information for the current model
@@ -33,15 +33,15 @@ public static GetByIdsPostResponse createFromDiscriminatorValue(@jakarta.annotat
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
- deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); });
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); });
return deserializerMap;
}
/**
* Gets the value property value. The value property
- * @return a {@link java.util.List}
+ * @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
- public java.util.List getValue() {
+ public java.util.List getValue() {
return this.backingStore.get("value");
}
/**
@@ -57,7 +57,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ
* 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) {
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("value", value);
}
}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddRequestBuilder.java
new file mode 100644
index 00000000000..1cce53411f9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/add/AddRequestBuilder.java
@@ -0,0 +1,104 @@
+package com.microsoft.graph.groups.item.team.channels.item.allmembers.add;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 add method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class AddRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link AddRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public AddRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/add", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link AddRequestBuilder} 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 AddRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/add", rawUrl);
+ }
+ /**
+ * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
+ * @param body The request body
+ * @return a {@link AddPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public AddPostResponse post(@jakarta.annotation.Nonnull final AddPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link AddPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public AddPostResponse post(@jakarta.annotation.Nonnull final AddPostRequestBody 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, AddPostResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
+ * @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 AddPostRequestBody 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 AddRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AddRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new AddRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/count/CountRequestBuilder.java
similarity index 53%
rename from src/main/java/com/microsoft/graph/generated/approleassignments/delta/DeltaRequestBuilder.java
rename to src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/count/CountRequestBuilder.java
index d6dea64de74..b28116ff587 100644
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/count/CountRequestBuilder.java
@@ -1,4 +1,4 @@
-package com.microsoft.graph.approleassignments.delta;
+package com.microsoft.graph.groups.item.team.channels.item.allmembers.count;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -15,52 +15,50 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to call the delta method.
+ * Provides operations to count the resources in the collection.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class DeltaRequestBuilder extends BaseRequestBuilder {
+public class CountRequestBuilder extends BaseRequestBuilder {
/**
- * Instantiates a new {@link DeltaRequestBuilder} and sets the default values.
+ * 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 DeltaRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/$count{?%24filter,%24search}", pathParameters);
}
/**
- * Instantiates a new {@link DeltaRequestBuilder} and sets the default values.
+ * 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 DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/$count{?%24filter,%24search}", rawUrl);
}
/**
- * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
- * @return a {@link DeltaGetResponse}
+ * Get the number of the resource
+ * @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
*/
@jakarta.annotation.Nullable
- public DeltaGetResponse get() {
+ public Integer get() {
return get(null);
}
/**
- * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link DeltaGetResponse}
+ * @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
*/
@jakarta.annotation.Nullable
- public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ 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.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
}
/**
- * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get the number of the resource
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +66,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -76,64 +74,34 @@ public RequestInformation toGetRequestInformation() {
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");
+ 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 DeltaRequestBuilder}
+ * @return a {@link CountRequestBuilder}
*/
@jakarta.annotation.Nonnull
- public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new DeltaRequestBuilder(rawUrl, requestAdapter);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get the number of the resource
*/
@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}
@@ -141,14 +109,8 @@ public class GetQueryParameters implements QueryParameters {
@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;
}
}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/item/ConversationMemberItemRequestBuilder.java
new file mode 100644
index 00000000000..350598decd9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/item/ConversationMemberItemRequestBuilder.java
@@ -0,0 +1,228 @@
+package com.microsoft.graph.groups.item.team.channels.item.allmembers.item;
+
+import com.microsoft.graph.models.ConversationMember;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ConversationMemberItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ConversationMemberItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ConversationMemberItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ConversationMemberItemRequestBuilder} 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 ConversationMemberItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property allMembers for groups
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property allMembers 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);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @return a {@link ConversationMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember get() {
+ return get(null);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @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
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember 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, ConversationMember::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property allMembers in groups
+ * @param body The request body
+ * @return a {@link ConversationMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property allMembers in groups
+ * @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
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember 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, ConversationMember::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property allMembers for groups
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property allMembers 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;
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @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 allMembers in groups
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConversationMember body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property allMembers 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 ConversationMember 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 ConversationMemberItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ConversationMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ConversationMemberItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmemberobjects/GetMemberObjectsPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemovePostRequestBody.java
similarity index 72%
rename from src/main/java/com/microsoft/graph/generated/approleassignments/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
rename to src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemovePostRequestBody.java
index 7374a926f5c..b15dd49dc9c 100644
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemovePostRequestBody.java
@@ -1,5 +1,6 @@
-package com.microsoft.graph.approleassignments.item.getmemberobjects;
+package com.microsoft.graph.groups.item.team.channels.item.allmembers.remove;
+import com.microsoft.graph.models.ConversationMember;
import com.microsoft.kiota.serialization.AdditionalDataHolder;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
@@ -11,28 +12,28 @@
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetMemberObjectsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores model information.
*/
@jakarta.annotation.Nonnull
protected BackingStore backingStore;
/**
- * Instantiates a new {@link GetMemberObjectsPostRequestBody} and sets the default values.
+ * Instantiates a new {@link RemovePostRequestBody} and sets the default values.
*/
- public GetMemberObjectsPostRequestBody() {
+ public RemovePostRequestBody() {
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 GetMemberObjectsPostRequestBody}
+ * @return a {@link RemovePostRequestBody}
*/
@jakarta.annotation.Nonnull
- public static GetMemberObjectsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
- return new GetMemberObjectsPostRequestBody();
+ return new RemovePostRequestBody();
}
/**
* Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
@@ -62,16 +63,16 @@ public BackingStore getBackingStore() {
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(1);
- deserializerMap.put("securityEnabledOnly", (n) -> { this.setSecurityEnabledOnly(n.getBooleanValue()); });
+ deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); });
return deserializerMap;
}
/**
- * Gets the securityEnabledOnly property value. The securityEnabledOnly property
- * @return a {@link Boolean}
+ * Gets the values property value. The values property
+ * @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
- public Boolean getSecurityEnabledOnly() {
- return this.backingStore.get("securityEnabledOnly");
+ public java.util.List getValues() {
+ return this.backingStore.get("values");
}
/**
* Serializes information the current object
@@ -79,7 +80,7 @@ public Boolean getSecurityEnabledOnly() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
- writer.writeBooleanValue("securityEnabledOnly", this.getSecurityEnabledOnly());
+ writer.writeCollectionOfObjectValues("values", this.getValues());
writer.writeAdditionalData(this.getAdditionalData());
}
/**
@@ -98,10 +99,10 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
this.backingStore = value;
}
/**
- * Sets the securityEnabledOnly property value. The securityEnabledOnly property
- * @param value Value to set for the securityEnabledOnly property.
+ * Sets the values property value. The values property
+ * @param value Value to set for the values property.
*/
- public void setSecurityEnabledOnly(@jakarta.annotation.Nullable final Boolean value) {
- this.backingStore.set("securityEnabledOnly", value);
+ public void setValues(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("values", value);
}
}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemovePostResponse.java
new file mode 100644
index 00000000000..72b94326a76
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemovePostResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.groups.item.team.channels.item.allmembers.remove;
+
+import com.microsoft.graph.models.ActionResultPart;
+import com.microsoft.graph.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link RemovePostResponse} and sets the default values.
+ */
+ public RemovePostResponse() {
+ 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 RemovePostResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RemovePostResponse();
+ }
+ /**
+ * 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(ActionResultPart::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/getavailableextensionproperties/GetAvailableExtensionPropertiesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemoveRequestBuilder.java
similarity index 51%
rename from src/main/java/com/microsoft/graph/generated/approleassignments/getavailableextensionproperties/GetAvailableExtensionPropertiesRequestBuilder.java
rename to src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemoveRequestBuilder.java
index 2c66a63d11c..c8d2172d7f9 100644
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/getavailableextensionproperties/GetAvailableExtensionPropertiesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/allmembers/remove/RemoveRequestBuilder.java
@@ -1,4 +1,4 @@
-package com.microsoft.graph.approleassignments.getavailableextensionproperties;
+package com.microsoft.graph.groups.item.team.channels.item.allmembers.remove;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -14,70 +14,70 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to call the getAvailableExtensionProperties method.
+ * Provides operations to call the remove method.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBuilder {
+public class RemoveRequestBuilder extends BaseRequestBuilder {
/**
- * Instantiates a new {@link GetAvailableExtensionPropertiesRequestBuilder} and sets the default values.
+ * Instantiates a new {@link RemoveRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
*/
- public GetAvailableExtensionPropertiesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/getAvailableExtensionProperties", pathParameters);
+ public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/remove", pathParameters);
}
/**
- * Instantiates a new {@link GetAvailableExtensionPropertiesRequestBuilder} and sets the default values.
+ * Instantiates a new {@link RemoveRequestBuilder} 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 GetAvailableExtensionPropertiesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/getAvailableExtensionProperties", rawUrl);
+ public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/remove", rawUrl);
}
/**
- * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
+ * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
* @param body The request body
- * @return a {@link GetAvailableExtensionPropertiesPostResponse}
+ * @return a {@link RemovePostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
- public GetAvailableExtensionPropertiesPostResponse post(@jakarta.annotation.Nonnull final GetAvailableExtensionPropertiesPostRequestBody body) {
+ public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) {
return post(body, null);
}
/**
- * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
+ * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link GetAvailableExtensionPropertiesPostResponse}
+ * @return a {@link RemovePostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
- public GetAvailableExtensionPropertiesPostResponse post(@jakarta.annotation.Nonnull final GetAvailableExtensionPropertiesPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody 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, GetAvailableExtensionPropertiesPostResponse::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue);
}
/**
- * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
+ * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
* @param body The request body
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetAvailableExtensionPropertiesPostRequestBody body) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) {
return toPostRequestInformation(body, null);
}
/**
- * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
+ * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
* @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 GetAvailableExtensionPropertiesPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody 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);
@@ -88,12 +88,12 @@ 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 GetAvailableExtensionPropertiesRequestBuilder}
+ * @return a {@link RemoveRequestBuilder}
*/
@jakarta.annotation.Nonnull
- public GetAvailableExtensionPropertiesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new GetAvailableExtensionPropertiesRequestBuilder(rawUrl, requestAdapter);
+ return new RemoveRequestBuilder(rawUrl, requestAdapter);
}
/**
* Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/PrimaryChannelRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/PrimaryChannelRequestBuilder.java
index bdc11c95a6b..120ec57aefa 100644
--- a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/PrimaryChannelRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/PrimaryChannelRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.groups.item.team.primarychannel;
+import com.microsoft.graph.groups.item.team.primarychannel.allmembers.AllMembersRequestBuilder;
import com.microsoft.graph.groups.item.team.primarychannel.archive.ArchiveRequestBuilder;
import com.microsoft.graph.groups.item.team.primarychannel.completemigration.CompleteMigrationRequestBuilder;
import com.microsoft.graph.groups.item.team.primarychannel.doesuserhaveaccessuseriduseridtenantidtenantiduserprincipalnameuserprincipalname.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder;
@@ -31,6 +32,14 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class PrimaryChannelRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
+ * @return a {@link AllMembersRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AllMembersRequestBuilder allMembers() {
+ return new AllMembersRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the archive method.
* @return a {@link ArchiveRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/AllMembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/AllMembersRequestBuilder.java
new file mode 100644
index 00000000000..241d4ec0195
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/AllMembersRequestBuilder.java
@@ -0,0 +1,261 @@
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers;
+
+import com.microsoft.graph.groups.item.team.primarychannel.allmembers.add.AddRequestBuilder;
+import com.microsoft.graph.groups.item.team.primarychannel.allmembers.count.CountRequestBuilder;
+import com.microsoft.graph.groups.item.team.primarychannel.allmembers.item.ConversationMemberItemRequestBuilder;
+import com.microsoft.graph.groups.item.team.primarychannel.allmembers.remove.RemoveRequestBuilder;
+import com.microsoft.graph.models.ConversationMember;
+import com.microsoft.graph.models.ConversationMemberCollectionResponse;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class AllMembersRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the add method.
+ * @return a {@link AddRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AddRequestBuilder add() {
+ return new AddRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the remove method.
+ * @return a {@link RemoveRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RemoveRequestBuilder remove() {
+ return new RemoveRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
+ * @param conversationMemberId The unique identifier of conversationMember
+ * @return a {@link ConversationMemberItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ConversationMemberItemRequestBuilder byConversationMemberId(@jakarta.annotation.Nonnull final String conversationMemberId) {
+ Objects.requireNonNull(conversationMemberId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("conversationMember%2Did", conversationMemberId);
+ return new ConversationMemberItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link AllMembersRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public AllMembersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link AllMembersRequestBuilder} 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 AllMembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @return a {@link ConversationMemberCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMemberCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @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
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMemberCollectionResponse 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, ConversationMemberCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to allMembers for groups
+ * @param body The request body
+ * @return a {@link ConversationMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember post(@jakarta.annotation.Nonnull final ConversationMember body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to allMembers for groups
+ * @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
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember post(@jakarta.annotation.Nonnull final ConversationMember 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, ConversationMember::createFromDiscriminatorValue);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @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 allMembers for groups
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationMember body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to allMembers 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 ConversationMember 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 AllMembersRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AllMembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new AllMembersRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddPostRequestBody.java
new file mode 100644
index 00000000000..7929cbf42a5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddPostRequestBody.java
@@ -0,0 +1,108 @@
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers.add;
+
+import com.microsoft.graph.models.ConversationMember;
+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 AddPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link AddPostRequestBody} and sets the default values.
+ */
+ public AddPostRequestBody() {
+ 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 AddPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static AddPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new AddPostRequestBody();
+ }
+ /**
+ * 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("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the values property value. The values property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValues() {
+ return this.backingStore.get("values");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeCollectionOfObjectValues("values", this.getValues());
+ 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 values property value. The values property
+ * @param value Value to set for the values property.
+ */
+ public void setValues(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("values", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddPostResponse.java
similarity index 70%
rename from src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostResponse.java
rename to src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddPostResponse.java
index f4db4d9a8fe..d7e61992730 100644
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostResponse.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddPostResponse.java
@@ -1,5 +1,6 @@
-package com.microsoft.graph.approleassignments.item.getmembergroups;
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers.add;
+import com.microsoft.graph.models.ActionResultPart;
import com.microsoft.graph.models.BaseCollectionPaginationCountResponse;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
@@ -8,22 +9,22 @@
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetMemberGroupsPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+public class AddPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
/**
- * Instantiates a new {@link GetMemberGroupsPostResponse} and sets the default values.
+ * Instantiates a new {@link AddPostResponse} and sets the default values.
*/
- public GetMemberGroupsPostResponse() {
+ public AddPostResponse() {
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 GetMemberGroupsPostResponse}
+ * @return a {@link AddPostResponse}
*/
@jakarta.annotation.Nonnull
- public static GetMemberGroupsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ public static AddPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
- return new GetMemberGroupsPostResponse();
+ return new AddPostResponse();
}
/**
* The deserialization information for the current model
@@ -32,15 +33,15 @@ public static GetMemberGroupsPostResponse createFromDiscriminatorValue(@jakarta.
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
- deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); });
return deserializerMap;
}
/**
* Gets the value property value. The value property
- * @return a {@link java.util.List}
+ * @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
- public java.util.List getValue() {
+ public java.util.List getValue() {
return this.backingStore.get("value");
}
/**
@@ -50,13 +51,13 @@ public java.util.List getValue() {
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
super.serialize(writer);
- writer.writeCollectionOfPrimitiveValues("value", this.getValue());
+ 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) {
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("value", value);
}
}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddRequestBuilder.java
new file mode 100644
index 00000000000..fbd11824c34
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/add/AddRequestBuilder.java
@@ -0,0 +1,104 @@
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers.add;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 add method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class AddRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link AddRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public AddRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/add", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link AddRequestBuilder} 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 AddRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/add", rawUrl);
+ }
+ /**
+ * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
+ * @param body The request body
+ * @return a {@link AddPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public AddPostResponse post(@jakarta.annotation.Nonnull final AddPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link AddPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public AddPostResponse post(@jakarta.annotation.Nonnull final AddPostRequestBody 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, AddPostResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
+ * @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 AddPostRequestBody 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 AddRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AddRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new AddRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..52328272c03
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers.count;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/$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}/team/primaryChannel/allMembers/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/item/ConversationMemberItemRequestBuilder.java
new file mode 100644
index 00000000000..641f44846a2
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/item/ConversationMemberItemRequestBuilder.java
@@ -0,0 +1,228 @@
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers.item;
+
+import com.microsoft.graph.models.ConversationMember;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ConversationMemberItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ConversationMemberItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ConversationMemberItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ConversationMemberItemRequestBuilder} 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 ConversationMemberItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property allMembers for groups
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property allMembers 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);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @return a {@link ConversationMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember get() {
+ return get(null);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @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
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember 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, ConversationMember::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property allMembers in groups
+ * @param body The request body
+ * @return a {@link ConversationMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property allMembers in groups
+ * @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
+ */
+ @jakarta.annotation.Nullable
+ public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember 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, ConversationMember::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property allMembers for groups
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property allMembers 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;
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ * @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 allMembers in groups
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConversationMember body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property allMembers 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 ConversationMember 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 ConversationMemberItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ConversationMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ConversationMemberItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemovePostRequestBody.java
new file mode 100644
index 00000000000..1b19f08720f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemovePostRequestBody.java
@@ -0,0 +1,108 @@
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers.remove;
+
+import com.microsoft.graph.models.ConversationMember;
+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 RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RemovePostRequestBody} and sets the default values.
+ */
+ public RemovePostRequestBody() {
+ 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 RemovePostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RemovePostRequestBody();
+ }
+ /**
+ * 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("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the values property value. The values property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValues() {
+ return this.backingStore.get("values");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeCollectionOfObjectValues("values", this.getValues());
+ 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 values property value. The values property
+ * @param value Value to set for the values property.
+ */
+ public void setValues(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("values", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemovePostResponse.java
new file mode 100644
index 00000000000..c8efd6a72ed
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemovePostResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers.remove;
+
+import com.microsoft.graph.models.ActionResultPart;
+import com.microsoft.graph.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link RemovePostResponse} and sets the default values.
+ */
+ public RemovePostResponse() {
+ 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 RemovePostResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RemovePostResponse();
+ }
+ /**
+ * 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(ActionResultPart::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmemberobjects/GetMemberObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemoveRequestBuilder.java
similarity index 50%
rename from src/main/java/com/microsoft/graph/generated/approleassignments/item/getmemberobjects/GetMemberObjectsRequestBuilder.java
rename to src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemoveRequestBuilder.java
index f251e813594..4c8879355e8 100644
--- a/src/main/java/com/microsoft/graph/generated/approleassignments/item/getmemberobjects/GetMemberObjectsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/allmembers/remove/RemoveRequestBuilder.java
@@ -1,4 +1,4 @@
-package com.microsoft.graph.approleassignments.item.getmemberobjects;
+package com.microsoft.graph.groups.item.team.primarychannel.allmembers.remove;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -14,70 +14,70 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to call the getMemberObjects method.
+ * Provides operations to call the remove method.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetMemberObjectsRequestBuilder extends BaseRequestBuilder {
+public class RemoveRequestBuilder extends BaseRequestBuilder {
/**
- * Instantiates a new {@link GetMemberObjectsRequestBuilder} and sets the default values.
+ * Instantiates a new {@link RemoveRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
*/
- public GetMemberObjectsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberObjects", pathParameters);
+ public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/remove", pathParameters);
}
/**
- * Instantiates a new {@link GetMemberObjectsRequestBuilder} and sets the default values.
+ * Instantiates a new {@link RemoveRequestBuilder} 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 GetMemberObjectsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberObjects", rawUrl);
+ public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/allMembers/remove", rawUrl);
}
/**
- * Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
+ * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
* @param body The request body
- * @return a {@link GetMemberObjectsPostResponse}
+ * @return a {@link RemovePostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
- public GetMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body) {
+ public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) {
return post(body, null);
}
/**
- * Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
+ * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link GetMemberObjectsPostResponse}
+ * @return a {@link RemovePostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
- public GetMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody 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, GetMemberObjectsPostResponse::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue);
}
/**
- * Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
+ * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
* @param body The request body
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) {
return toPostRequestInformation(body, null);
}
/**
- * Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
+ * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
* @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 GetMemberObjectsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody 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);
@@ -88,12 +88,12 @@ 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 GetMemberObjectsRequestBuilder}
+ * @return a {@link RemoveRequestBuilder}
*/
@jakarta.annotation.Nonnull
- public GetMemberObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new GetMemberObjectsRequestBuilder(rawUrl, requestAdapter);
+ return new RemoveRequestBuilder(rawUrl, requestAdapter);
}
/**
* Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/schedule/ScheduleRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/schedule/ScheduleRequestBuilder.java
index b6a2247a9c1..5bbfa42c915 100644
--- a/src/main/java/com/microsoft/graph/generated/groups/item/team/schedule/ScheduleRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/schedule/ScheduleRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.groups.item.team.schedule;
+import com.microsoft.graph.groups.item.team.schedule.daynotes.DayNotesRequestBuilder;
import com.microsoft.graph.groups.item.team.schedule.offershiftrequests.OfferShiftRequestsRequestBuilder;
import com.microsoft.graph.groups.item.team.schedule.openshiftchangerequests.OpenShiftChangeRequestsRequestBuilder;
import com.microsoft.graph.groups.item.team.schedule.openshifts.OpenShiftsRequestBuilder;
@@ -7,6 +8,7 @@
import com.microsoft.graph.groups.item.team.schedule.share.ShareRequestBuilder;
import com.microsoft.graph.groups.item.team.schedule.shifts.ShiftsRequestBuilder;
import com.microsoft.graph.groups.item.team.schedule.swapshiftschangerequests.SwapShiftsChangeRequestsRequestBuilder;
+import com.microsoft.graph.groups.item.team.schedule.timecards.TimeCardsRequestBuilder;
import com.microsoft.graph.groups.item.team.schedule.timeoffreasons.TimeOffReasonsRequestBuilder;
import com.microsoft.graph.groups.item.team.schedule.timeoffrequests.TimeOffRequestsRequestBuilder;
import com.microsoft.graph.groups.item.team.schedule.timesoff.TimesOffRequestBuilder;
@@ -30,6 +32,14 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class ScheduleRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.
+ * @return a {@link DayNotesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DayNotesRequestBuilder dayNotes() {
+ return new DayNotesRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity.
* @return a {@link OfferShiftRequestsRequestBuilder}
@@ -86,6 +96,14 @@ public ShiftsRequestBuilder shifts() {
public SwapShiftsChangeRequestsRequestBuilder swapShiftsChangeRequests() {
return new SwapShiftsChangeRequestsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
+ * @return a {@link TimeCardsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TimeCardsRequestBuilder timeCards() {
+ return new TimeCardsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity.
* @return a {@link TimeOffReasonsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/schedule/daynotes/DayNotesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/schedule/daynotes/DayNotesRequestBuilder.java
new file mode 100644
index 00000000000..35364a892d2
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/schedule/daynotes/DayNotesRequestBuilder.java
@@ -0,0 +1,243 @@
+package com.microsoft.graph.groups.item.team.schedule.daynotes;
+
+import com.microsoft.graph.groups.item.team.schedule.daynotes.count.CountRequestBuilder;
+import com.microsoft.graph.groups.item.team.schedule.daynotes.item.DayNoteItemRequestBuilder;
+import com.microsoft.graph.models.DayNote;
+import com.microsoft.graph.models.DayNoteCollectionResponse;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DayNotesRequestBuilder 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 dayNotes property of the microsoft.graph.schedule entity.
+ * @param dayNoteId The unique identifier of dayNote
+ * @return a {@link DayNoteItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DayNoteItemRequestBuilder byDayNoteId(@jakarta.annotation.Nonnull final String dayNoteId) {
+ Objects.requireNonNull(dayNoteId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("dayNote%2Did", dayNoteId);
+ return new DayNoteItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link DayNotesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public DayNotesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link DayNotesRequestBuilder} 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 DayNotesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * The day notes in the schedule.
+ * @return a {@link DayNoteCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public DayNoteCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * The day notes in the schedule.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link DayNoteCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public DayNoteCollectionResponse 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, DayNoteCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to dayNotes for groups
+ * @param body The request body
+ * @return a {@link DayNote}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public DayNote post(@jakarta.annotation.Nonnull final DayNote body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to dayNotes for groups
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link DayNote}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public DayNote post(@jakarta.annotation.Nonnull final DayNote body, @jakarta.annotation.Nullable final java.util.function.Consumer