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..c3b107a924f 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/deviceappmanagement/DeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java
index fb3b1d2193a..62ac80dcf56 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/ManagedAppPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java
index 5035f87d2ee..9108410b3e3 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java
@@ -60,21 +60,21 @@ public ManagedAppPoliciesRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the windowsInformationProtection objects.
+ * List properties and relationships of the targetedManagedAppProtection objects.
* @return a {@link ManagedAppPolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppPolicyCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the windowsInformationProtection objects.
+ * List properties and relationships of the targetedManagedAppProtection objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppPolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -109,7 +109,7 @@ public ManagedAppPolicy post(@jakarta.annotation.Nonnull final ManagedAppPolicy
return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppPolicy::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the windowsInformationProtection objects.
+ * List properties and relationships of the targetedManagedAppProtection objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the windowsInformationProtection objects.
+ * List properties and relationships of the targetedManagedAppProtection objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -163,7 +163,7 @@ public ManagedAppPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
return new ManagedAppPoliciesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the windowsInformationProtection objects.
+ * List properties and relationships of the targetedManagedAppProtection objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 382371ca5b5..e3ba9e1eb7a 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 windowsInformationProtection object.
+ * Read properties and relationships of the managedAppProtection 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 windowsInformationProtection object.
+ * Read properties and relationships of the managedAppProtection 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 windowsInformationProtection object.
+ * Read properties and relationships of the managedAppProtection object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -141,7 +141,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the windowsInformationProtection object.
+ * Read properties and relationships of the managedAppProtection 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 windowsInformationProtection object.
+ * Read properties and relationships of the managedAppProtection 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..183e14e1b0f 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 73ca8b4688a..74c6a44cf3f 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 androidManagedAppRegistration objects.
+ * List properties and relationships of the managedAppRegistration 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 androidManagedAppRegistration objects.
+ * List properties and relationships of the managedAppRegistration 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 androidManagedAppRegistration objects.
+ * List properties and relationships of the managedAppRegistration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -128,7 +128,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the androidManagedAppRegistration objects.
+ * List properties and relationships of the managedAppRegistration 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 androidManagedAppRegistration objects.
+ * List properties and relationships of the managedAppRegistration 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 7bedaf1be58..598d403434c 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 iosManagedAppRegistration object.
+ * Read properties and relationships of the managedAppRegistration 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 iosManagedAppRegistration object.
+ * Read properties and relationships of the managedAppRegistration 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 iosManagedAppRegistration object.
+ * Read properties and relationships of the managedAppRegistration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -159,7 +159,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the iosManagedAppRegistration object.
+ * Read properties and relationships of the managedAppRegistration 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 iosManagedAppRegistration object.
+ * Read properties and relationships of the managedAppRegistration 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..0dbac3cfe45 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..46236ecfbdf 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 dfe8eb0ac38..e0cfb0e8610 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 managedAppStatus object.
+ * Read properties and relationships of the managedAppStatusRaw 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 managedAppStatus object.
+ * Read properties and relationships of the managedAppStatusRaw 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 managedAppStatus object.
+ * Read properties and relationships of the managedAppStatusRaw object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedAppStatus object.
+ * Read properties and relationships of the managedAppStatusRaw 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 managedAppStatus object.
+ * Read properties and relationships of the managedAppStatusRaw 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/ManagedEBookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java
index 8f1d73a214c..99e8d46dffd 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 managedEBook object.
+ * Read properties and relationships of the iosVppEBook 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 managedEBook object.
+ * Read properties and relationships of the iosVppEBook 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 managedEBook object.
+ * Read properties and relationships of the iosVppEBook object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -181,7 +181,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedEBook object.
+ * Read properties and relationships of the iosVppEBook 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 managedEBook object.
+ * Read properties and relationships of the iosVppEBook object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 5a0ff33da6b..e48505b0a6f 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 windowsMicrosoftEdgeApp objects.
+ * List properties and relationships of the webApp 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 windowsMicrosoftEdgeApp objects.
+ * List properties and relationships of the webApp 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 managedAndroidLobApp object.
+ * Create a new iosVppApp 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 managedAndroidLobApp object.
+ * Create a new iosVppApp 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 windowsMicrosoftEdgeApp objects.
+ * List properties and relationships of the webApp objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -263,7 +263,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the windowsMicrosoftEdgeApp objects.
+ * List properties and relationships of the webApp 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 managedAndroidLobApp object.
+ * Create a new iosVppApp 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 managedAndroidLobApp object.
+ * Create a new iosVppApp 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 windowsMicrosoftEdgeApp objects.
+ * List properties and relationships of the webApp 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 3d10cfc1b42..7a3cbaf6171 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 iosLobApp.
+ * Deletes a iosiPadOSWebClip.
* @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 iosLobApp.
+ * Deletes a iosiPadOSWebClip.
* @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 macOSOfficeSuiteApp object.
+ * Read properties and relationships of the managedAndroidStoreApp 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 macOSOfficeSuiteApp object.
+ * Read properties and relationships of the managedAndroidStoreApp 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 webApp object.
+ * Update the properties of a managedAndroidLobApp 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 webApp object.
+ * Update the properties of a managedAndroidLobApp 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 iosLobApp.
+ * Deletes a iosiPadOSWebClip.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -287,7 +287,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a iosLobApp.
+ * Deletes a iosiPadOSWebClip.
* @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 macOSOfficeSuiteApp object.
+ * Read properties and relationships of the managedAndroidStoreApp object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -307,7 +307,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the macOSOfficeSuiteApp object.
+ * Read properties and relationships of the managedAndroidStoreApp 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 webApp object.
+ * Update the properties of a managedAndroidLobApp 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 webApp object.
+ * Update the properties of a managedAndroidLobApp 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 macOSOfficeSuiteApp object.
+ * Read properties and relationships of the managedAndroidStoreApp 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 ca26ebb1052..0f17fcac44a 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java
@@ -573,7 +573,7 @@ public DeviceManagementRequestBuilder(@jakarta.annotation.Nonnull final String r
* Read properties and relationships of the deviceManagement object.
* @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 get() {
@@ -584,7 +584,7 @@ public DeviceManagement get() {
* @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 get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -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 abf6933d727..2826d5d929c 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
@@ -84,23 +84,23 @@ public DeviceCompliancePolicyCollectionResponse get(@jakarta.annotation.Nullable
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicyCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new windows10CompliancePolicy object.
+ * Create a new macOSCompliancePolicy 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 windows10CompliancePolicy object.
+ * Create a new macOSCompliancePolicy 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) {
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new windows10CompliancePolicy object.
+ * Create a new macOSCompliancePolicy 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 windows10CompliancePolicy object.
+ * Create a new macOSCompliancePolicy 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/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java
index 85beea81716..7cee11b61ea 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 windows10MobileCompliancePolicy.
+ * Deletes a androidCompliancePolicy.
* @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 windows10MobileCompliancePolicy.
+ * Deletes a androidCompliancePolicy.
* @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);
@@ -138,21 +138,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 iosCompliancePolicy object.
+ * Read properties and relationships of the windows10MobileCompliancePolicy object.
* @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 get() {
return get(null);
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10MobileCompliancePolicy object.
* @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 get(@jakarta.annotation.Nullable final java.util.function.Consumer 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 iosCompliancePolicy object.
+ * Update the properties of a androidWorkProfileCompliancePolicy 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 iosCompliancePolicy object.
+ * Update the properties of a androidWorkProfileCompliancePolicy 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 windows10MobileCompliancePolicy.
+ * Deletes a androidCompliancePolicy.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -197,7 +197,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a windows10MobileCompliancePolicy.
+ * Deletes a androidCompliancePolicy.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -209,7 +209,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10MobileCompliancePolicy object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -217,7 +217,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10MobileCompliancePolicy object.
* @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 iosCompliancePolicy object.
+ * Update the properties of a androidWorkProfileCompliancePolicy 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 iosCompliancePolicy object.
+ * Update the properties of a androidWorkProfileCompliancePolicy object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -269,7 +269,7 @@ public DeviceCompliancePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonn
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10MobileCompliancePolicy object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 edac32e4655..95ff2712614 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 windows10CustomConfiguration objects.
+ * List properties and relationships of the deviceConfiguration 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 windows10CustomConfiguration objects.
+ * List properties and relationships of the deviceConfiguration 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 macOSCustomConfiguration object.
+ * Create a new sharedPCConfiguration 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 macOSCustomConfiguration object.
+ * Create a new sharedPCConfiguration 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 windows10CustomConfiguration objects.
+ * List properties and relationships of the deviceConfiguration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the windows10CustomConfiguration objects.
+ * List properties and relationships of the deviceConfiguration 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 macOSCustomConfiguration object.
+ * Create a new sharedPCConfiguration 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 macOSCustomConfiguration object.
+ * Create a new sharedPCConfiguration 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 windows10CustomConfiguration objects.
+ * List properties and relationships of the deviceConfiguration 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 3c5cffdc16e..e0f8f684d2d 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 editionUpgradeConfiguration.
+ * Deletes a macOSGeneralDeviceConfiguration.
* @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 editionUpgradeConfiguration.
+ * Deletes a macOSGeneralDeviceConfiguration.
* @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);
@@ -155,23 +155,23 @@ public GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder getOm
return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(pathParameters, requestAdapter, secretReferenceValueId);
}
/**
- * Update the properties of a windows10TeamGeneralConfiguration object.
+ * Update the properties of a windowsPhone81CustomConfiguration 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 windows10TeamGeneralConfiguration object.
+ * Update the properties of a windowsPhone81CustomConfiguration 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 editionUpgradeConfiguration.
+ * Deletes a macOSGeneralDeviceConfiguration.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -190,7 +190,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a editionUpgradeConfiguration.
+ * Deletes a macOSGeneralDeviceConfiguration.
* @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 windows10TeamGeneralConfiguration object.
+ * Update the properties of a windowsPhone81CustomConfiguration 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 windows10TeamGeneralConfiguration object.
+ * Update the properties of a windowsPhone81CustomConfiguration 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/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java
index 8b5a8749812..f0fe9a2ad33 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 deviceEnrollmentPlatformRestrictionsConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentPlatformRestrictionsConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentPlatformRestrictionsConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentPlatformRestrictionsConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 688f08efc4e..7cceb42cc21 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 deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -163,7 +163,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 d95718a0b0e..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
@@ -60,21 +60,21 @@ public RoleDefinitionsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the roleDefinition objects.
+ * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
* @return a {@link RoleDefinitionCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RoleDefinitionCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the roleDefinition objects.
+ * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RoleDefinitionCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RoleDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -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) {
@@ -111,7 +111,7 @@ public RoleDefinition post(@jakarta.annotation.Nonnull final RoleDefinition body
return this.requestAdapter.send(requestInfo, errorMapping, RoleDefinition::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the roleDefinition objects.
+ * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the roleDefinition objects.
+ * List properties and relationships of the deviceAndAppManagementRoleDefinition 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 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}
@@ -165,7 +165,7 @@ public RoleDefinitionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
return new RoleDefinitionsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the roleDefinition objects.
+ * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
*/
@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 20e0f9e7910..531e2b06281 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);
}
/**
- * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
+ * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
* @param body The request body
* @return a {@link ItemRetentionLabel}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body) {
return patch(body, null);
}
/**
- * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
+ * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ItemRetentionLabel}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -146,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
+ * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -155,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
+ * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java
index 70235b4c3fc..50325ccf8ae 100644
--- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java
@@ -271,21 +271,21 @@ public RangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()", rawUrl);
}
/**
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ * Retrieve the properties and relationships of range object.
* @return a {@link WorkbookRange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookRange get() {
return get(null);
}
/**
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ * Retrieve the properties and relationships of range object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WorkbookRange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -359,7 +359,7 @@ public RowWithRowRequestBuilder rowWithRow(@jakarta.annotation.Nonnull final Int
return new RowWithRowRequestBuilder(pathParameters, requestAdapter, row);
}
/**
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ * Retrieve the properties and relationships of range object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -367,7 +367,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ * Retrieve the properties and relationships of range object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java
index 0ee65a352d3..abf05a73de7 100644
--- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java
@@ -271,21 +271,21 @@ public RangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()", rawUrl);
}
/**
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ * Retrieve the properties and relationships of range object.
* @return a {@link WorkbookRange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookRange get() {
return get(null);
}
/**
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ * Retrieve the properties and relationships of range object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WorkbookRange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -359,7 +359,7 @@ public RowWithRowRequestBuilder rowWithRow(@jakarta.annotation.Nonnull final Int
return new RowWithRowRequestBuilder(pathParameters, requestAdapter, row);
}
/**
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ * Retrieve the properties and relationships of range object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -367,7 +367,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ * Retrieve the properties and relationships of range object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/generated/groups/GroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/GroupsRequestBuilder.java
index f68a6443fb9..f26a6683d2a 100644
--- a/src/main/java/com/microsoft/graph/generated/groups/GroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/GroupsRequestBuilder.java
@@ -120,23 +120,23 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util.
return this.requestAdapter.send(requestInfo, errorMapping, GroupCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
+ * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
* @param body The request body
* @return a {@link Group}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public Group post(@jakarta.annotation.Nonnull final Group body) {
return post(body, null);
}
/**
- * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
+ * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Group}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public Group post(@jakarta.annotation.Nonnull final Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -167,7 +167,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
+ * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
+ * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
* @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/calendar/calendarview/CalendarViewRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/CalendarViewRequestBuilder.java
index d02d8646f53..a8271984b14 100644
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/CalendarViewRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/CalendarViewRequestBuilder.java
@@ -1,8 +1,6 @@
package com.microsoft.graph.groups.item.calendar.calendarview;
-import com.microsoft.graph.groups.item.calendar.calendarview.count.CountRequestBuilder;
import com.microsoft.graph.groups.item.calendar.calendarview.delta.DeltaRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.EventItemRequestBuilder;
import com.microsoft.graph.models.EventCollectionResponse;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -23,14 +21,6 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class CalendarViewRequestBuilder 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}
@@ -39,18 +29,6 @@ public CountRequestBuilder count() {
public DeltaRequestBuilder delta() {
return new DeltaRequestBuilder(pathParameters, requestAdapter);
}
- /**
- * Provides operations to manage the calendarView property of the microsoft.graph.calendar entity.
- * @param eventId The unique identifier of event
- * @return a {@link EventItemRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public EventItemRequestBuilder byEventId(@jakarta.annotation.Nonnull final String eventId) {
- Objects.requireNonNull(eventId);
- final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("event%2Did", eventId);
- return new EventItemRequestBuilder(urlTplParams, requestAdapter);
- }
/**
* Instantiates a new {@link CalendarViewRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/count/CountRequestBuilder.java
deleted file mode 100644
index 47aafd047f9..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/count/CountRequestBuilder.java
+++ /dev/null
@@ -1,128 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.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}/calendar/calendarView/$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}/calendar/calendarView/$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/calendar/calendarview/item/EventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/EventItemRequestBuilder.java
deleted file mode 100644
index 78fac653ee5..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/EventItemRequestBuilder.java
+++ /dev/null
@@ -1,258 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item;
-
-import com.microsoft.graph.groups.item.calendar.calendarview.item.accept.AcceptRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.attachments.AttachmentsRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.calendar.CalendarRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.cancel.CancelRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.decline.DeclineRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.dismissreminder.DismissReminderRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.ExceptionOccurrencesRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.extensions.ExtensionsRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.forward.ForwardRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.instances.InstancesRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.permanentdelete.PermanentDeleteRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.snoozereminder.SnoozeReminderRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.tentativelyaccept.TentativelyAcceptRequestBuilder;
-import com.microsoft.graph.models.Event;
-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 calendarView property of the microsoft.graph.calendar entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class EventItemRequestBuilder extends BaseRequestBuilder {
- /**
- * Provides operations to call the accept method.
- * @return a {@link AcceptRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AcceptRequestBuilder accept() {
- return new AcceptRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the attachments property of the microsoft.graph.event entity.
- * @return a {@link AttachmentsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AttachmentsRequestBuilder attachments() {
- return new AttachmentsRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the calendar property of the microsoft.graph.event entity.
- * @return a {@link CalendarRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CalendarRequestBuilder calendar() {
- return new CalendarRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the cancel method.
- * @return a {@link CancelRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CancelRequestBuilder cancel() {
- return new CancelRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the decline method.
- * @return a {@link DeclineRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public DeclineRequestBuilder decline() {
- return new DeclineRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the dismissReminder method.
- * @return a {@link DismissReminderRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public DismissReminderRequestBuilder dismissReminder() {
- return new DismissReminderRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity.
- * @return a {@link ExceptionOccurrencesRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public ExceptionOccurrencesRequestBuilder exceptionOccurrences() {
- return new ExceptionOccurrencesRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the extensions property of the microsoft.graph.event entity.
- * @return a {@link ExtensionsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public ExtensionsRequestBuilder extensions() {
- return new ExtensionsRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the forward method.
- * @return a {@link ForwardRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public ForwardRequestBuilder forward() {
- return new ForwardRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the instances property of the microsoft.graph.event entity.
- * @return a {@link InstancesRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public InstancesRequestBuilder instances() {
- return new InstancesRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the permanentDelete method.
- * @return a {@link PermanentDeleteRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public PermanentDeleteRequestBuilder permanentDelete() {
- return new PermanentDeleteRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the snoozeReminder method.
- * @return a {@link SnoozeReminderRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public SnoozeReminderRequestBuilder snoozeReminder() {
- return new SnoozeReminderRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the tentativelyAccept method.
- * @return a {@link TentativelyAcceptRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public TentativelyAcceptRequestBuilder tentativelyAccept() {
- return new TentativelyAcceptRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Instantiates a new {@link EventItemRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public EventItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters);
- }
- /**
- * Instantiates a new {@link EventItemRequestBuilder} 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 EventItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", rawUrl);
- }
- /**
- * The calendar view for the calendar. Navigation property. Read-only.
- * @return a {@link Event}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Event get() {
- return get(null);
- }
- /**
- * The calendar view for the calendar. Navigation property. Read-only.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link Event}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Event 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, Event::createFromDiscriminatorValue);
- }
- /**
- * The calendar view for the calendar. Navigation property. Read-only.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * The calendar view for the calendar. Navigation property. Read-only.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * 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 EventItemRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public EventItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new EventItemRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * The calendar view for the calendar. Navigation property. Read-only.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00
- */
- @jakarta.annotation.Nullable
- public String endDateTime;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00
- */
- @jakarta.annotation.Nullable
- public String startDateTime;
- /**
- * 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("endDateTime", endDateTime);
- allQueryParams.put("startDateTime", startDateTime);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/accept/AcceptPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/accept/AcceptPostRequestBody.java
deleted file mode 100644
index 8e854446265..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/accept/AcceptPostRequestBody.java
+++ /dev/null
@@ -1,124 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.accept;
-
-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 AcceptPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
- /**
- * Stores model information.
- */
- @jakarta.annotation.Nonnull
- protected BackingStore backingStore;
- /**
- * Instantiates a new {@link AcceptPostRequestBody} and sets the default values.
- */
- public AcceptPostRequestBody() {
- 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 AcceptPostRequestBody}
- */
- @jakarta.annotation.Nonnull
- public static AcceptPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new AcceptPostRequestBody();
- }
- /**
- * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map getAdditionalData() {
- Map value = this.backingStore.get("additionalData");
- if(value == null) {
- value = new HashMap<>();
- this.setAdditionalData(value);
- }
- return value;
- }
- /**
- * Gets the backingStore property value. Stores model information.
- * @return a {@link BackingStore}
- */
- @jakarta.annotation.Nonnull
- public BackingStore getBackingStore() {
- return this.backingStore;
- }
- /**
- * Gets the Comment property value. The Comment property
- * @return a {@link String}
- */
- @jakarta.annotation.Nullable
- public String getComment() {
- return this.backingStore.get("comment");
- }
- /**
- * The deserialization information for the current model
- * @return a {@link Map>}
- */
- @jakarta.annotation.Nonnull
- public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(2);
- deserializerMap.put("Comment", (n) -> { this.setComment(n.getStringValue()); });
- deserializerMap.put("SendResponse", (n) -> { this.setSendResponse(n.getBooleanValue()); });
- return deserializerMap;
- }
- /**
- * Gets the SendResponse property value. The SendResponse property
- * @return a {@link Boolean}
- */
- @jakarta.annotation.Nullable
- public Boolean getSendResponse() {
- return this.backingStore.get("sendResponse");
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- writer.writeStringValue("Comment", this.getComment());
- writer.writeBooleanValue("SendResponse", this.getSendResponse());
- 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 Comment property value. The Comment property
- * @param value Value to set for the Comment property.
- */
- public void setComment(@jakarta.annotation.Nullable final String value) {
- this.backingStore.set("comment", value);
- }
- /**
- * Sets the SendResponse property value. The SendResponse property
- * @param value Value to set for the SendResponse property.
- */
- public void setSendResponse(@jakarta.annotation.Nullable final Boolean value) {
- this.backingStore.set("sendResponse", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/accept/AcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/accept/AcceptRequestBuilder.java
deleted file mode 100644
index b167544ce6f..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/accept/AcceptRequestBuilder.java
+++ /dev/null
@@ -1,100 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.accept;
-
-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 accept method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class AcceptRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link AcceptRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public AcceptRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/accept", pathParameters);
- }
- /**
- * Instantiates a new {@link AcceptRequestBuilder} 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 AcceptRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/accept", rawUrl);
- }
- /**
- * Accept the specified event in a user calendar.
- * @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 AcceptPostRequestBody body) {
- post(body, null);
- }
- /**
- * Accept the specified event in a user calendar.
- * @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 AcceptPostRequestBody 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);
- }
- /**
- * Accept the specified event in a user calendar.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AcceptPostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Accept the specified event in a user calendar.
- * @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 AcceptPostRequestBody 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 AcceptRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AcceptRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new AcceptRequestBuilder(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/calendar/calendarview/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/AttachmentsRequestBuilder.java
deleted file mode 100644
index b0bd258dde5..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/AttachmentsRequestBuilder.java
+++ /dev/null
@@ -1,252 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.attachments;
-
-import com.microsoft.graph.groups.item.calendar.calendarview.item.attachments.count.CountRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.attachments.createuploadsession.CreateUploadSessionRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.attachments.item.AttachmentItemRequestBuilder;
-import com.microsoft.graph.models.Attachment;
-import com.microsoft.graph.models.AttachmentCollectionResponse;
-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 attachments property of the microsoft.graph.event entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class AttachmentsRequestBuilder 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 createUploadSession method.
- * @return a {@link CreateUploadSessionRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CreateUploadSessionRequestBuilder createUploadSession() {
- return new CreateUploadSessionRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the attachments property of the microsoft.graph.event entity.
- * @param attachmentId The unique identifier of attachment
- * @return a {@link AttachmentItemRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AttachmentItemRequestBuilder byAttachmentId(@jakarta.annotation.Nonnull final String attachmentId) {
- Objects.requireNonNull(attachmentId);
- final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("attachment%2Did", attachmentId);
- return new AttachmentItemRequestBuilder(urlTplParams, requestAdapter);
- }
- /**
- * Instantiates a new {@link AttachmentsRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public AttachmentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- }
- /**
- * Instantiates a new {@link AttachmentsRequestBuilder} 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 AttachmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @return a {@link AttachmentCollectionResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public AttachmentCollectionResponse get() {
- return get(null);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link AttachmentCollectionResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public AttachmentCollectionResponse 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, AttachmentCollectionResponse::createFromDiscriminatorValue);
- }
- /**
- * Create new navigation property to attachments for groups
- * @param body The request body
- * @return a {@link Attachment}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Attachment post(@jakarta.annotation.Nonnull final Attachment body) {
- return post(body, null);
- }
- /**
- * Create new navigation property to attachments for groups
- * @param body The request body
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link Attachment}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Attachment post(@jakarta.annotation.Nonnull final Attachment 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, Attachment::createFromDiscriminatorValue);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * Create new navigation property to attachments for groups
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Create new navigation property to attachments 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 Attachment 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 AttachmentsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AttachmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new AttachmentsRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class PostRequestConfiguration extends BaseRequestConfiguration {
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/count/CountRequestBuilder.java
deleted file mode 100644
index a07fcc0beac..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/count/CountRequestBuilder.java
+++ /dev/null
@@ -1,128 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.attachments.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}/calendar/calendarView/{event%2Did}/attachments/$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}/calendar/calendarView/{event%2Did}/attachments/$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/calendar/calendarview/item/attachments/createuploadsession/CreateUploadSessionPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/createuploadsession/CreateUploadSessionPostRequestBody.java
deleted file mode 100644
index 510e731385c..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/createuploadsession/CreateUploadSessionPostRequestBody.java
+++ /dev/null
@@ -1,108 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.attachments.createuploadsession;
-
-import com.microsoft.graph.models.AttachmentItem;
-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 CreateUploadSessionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
- /**
- * Stores model information.
- */
- @jakarta.annotation.Nonnull
- protected BackingStore backingStore;
- /**
- * Instantiates a new {@link CreateUploadSessionPostRequestBody} and sets the default values.
- */
- public CreateUploadSessionPostRequestBody() {
- 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 CreateUploadSessionPostRequestBody}
- */
- @jakarta.annotation.Nonnull
- public static CreateUploadSessionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new CreateUploadSessionPostRequestBody();
- }
- /**
- * 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 AttachmentItem property value. The AttachmentItem property
- * @return a {@link AttachmentItem}
- */
- @jakarta.annotation.Nullable
- public AttachmentItem getAttachmentItem() {
- return this.backingStore.get("attachmentItem");
- }
- /**
- * 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("AttachmentItem", (n) -> { this.setAttachmentItem(n.getObjectValue(AttachmentItem::createFromDiscriminatorValue)); });
- return deserializerMap;
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- writer.writeObjectValue("AttachmentItem", this.getAttachmentItem());
- 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 AttachmentItem property value. The AttachmentItem property
- * @param value Value to set for the AttachmentItem property.
- */
- public void setAttachmentItem(@jakarta.annotation.Nullable final AttachmentItem value) {
- this.backingStore.set("attachmentItem", 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;
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/createuploadsession/CreateUploadSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/createuploadsession/CreateUploadSessionRequestBuilder.java
deleted file mode 100644
index 67ed3ff4e54..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/createuploadsession/CreateUploadSessionRequestBuilder.java
+++ /dev/null
@@ -1,105 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.attachments.createuploadsession;
-
-import com.microsoft.graph.models.odataerrors.ODataError;
-import com.microsoft.graph.models.UploadSession;
-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 createUploadSession method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class CreateUploadSessionRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link CreateUploadSessionRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public CreateUploadSessionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/createUploadSession", pathParameters);
- }
- /**
- * Instantiates a new {@link CreateUploadSessionRequestBuilder} 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 CreateUploadSessionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/createUploadSession", rawUrl);
- }
- /**
- * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
- * @param body The request body
- * @return a {@link UploadSession}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public UploadSession post(@jakarta.annotation.Nonnull final CreateUploadSessionPostRequestBody body) {
- return post(body, null);
- }
- /**
- * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
- * @param body The request body
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link UploadSession}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public UploadSession post(@jakarta.annotation.Nonnull final CreateUploadSessionPostRequestBody 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, UploadSession::createFromDiscriminatorValue);
- }
- /**
- * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreateUploadSessionPostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
- * @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 CreateUploadSessionPostRequestBody 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 CreateUploadSessionRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CreateUploadSessionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new CreateUploadSessionRequestBuilder(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/calendar/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java
deleted file mode 100644
index b46a5d07322..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java
+++ /dev/null
@@ -1,173 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.attachments.item;
-
-import com.microsoft.graph.models.Attachment;
-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 attachments property of the microsoft.graph.event entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class AttachmentItemRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link AttachmentItemRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public AttachmentItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", pathParameters);
- }
- /**
- * Instantiates a new {@link AttachmentItemRequestBuilder} 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 AttachmentItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl);
- }
- /**
- * Delete navigation property attachments for groups
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- public void delete() {
- delete(null);
- }
- /**
- * Delete navigation property attachments for groups
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @return a {@link Attachment}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Attachment get() {
- return get(null);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link Attachment}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Attachment 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, Attachment::createFromDiscriminatorValue);
- }
- /**
- * Delete navigation property attachments for groups
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toDeleteRequestInformation() {
- return toDeleteRequestInformation(null);
- }
- /**
- * Delete navigation property attachments for groups
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * 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 AttachmentItemRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AttachmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new AttachmentItemRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class DeleteRequestConfiguration extends BaseRequestConfiguration {
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/calendar/CalendarRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/calendar/CalendarRequestBuilder.java
deleted file mode 100644
index 0f40aabc185..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/calendar/CalendarRequestBuilder.java
+++ /dev/null
@@ -1,129 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.calendar;
-
-import com.microsoft.graph.models.Calendar;
-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 calendar property of the microsoft.graph.event entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class CalendarRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link CalendarRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public CalendarRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24expand,%24select}", pathParameters);
- }
- /**
- * Instantiates a new {@link CalendarRequestBuilder} 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 CalendarRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24expand,%24select}", rawUrl);
- }
- /**
- * The calendar that contains the event. Navigation property. Read-only.
- * @return a {@link Calendar}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Calendar get() {
- return get(null);
- }
- /**
- * The calendar that contains the event. Navigation property. Read-only.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link Calendar}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Calendar 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, Calendar::createFromDiscriminatorValue);
- }
- /**
- * The calendar that contains the event. Navigation property. Read-only.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * The calendar that contains the event. Navigation property. Read-only.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * 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 CalendarRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CalendarRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new CalendarRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * The calendar that contains the event. Navigation property. Read-only.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/cancel/CancelPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/cancel/CancelPostRequestBody.java
deleted file mode 100644
index 97d59daab91..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/cancel/CancelPostRequestBody.java
+++ /dev/null
@@ -1,107 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.cancel;
-
-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 CancelPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
- /**
- * Stores model information.
- */
- @jakarta.annotation.Nonnull
- protected BackingStore backingStore;
- /**
- * Instantiates a new {@link CancelPostRequestBody} and sets the default values.
- */
- public CancelPostRequestBody() {
- 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 CancelPostRequestBody}
- */
- @jakarta.annotation.Nonnull
- public static CancelPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new CancelPostRequestBody();
- }
- /**
- * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map getAdditionalData() {
- Map value = this.backingStore.get("additionalData");
- if(value == null) {
- value = new HashMap<>();
- this.setAdditionalData(value);
- }
- return value;
- }
- /**
- * Gets the backingStore property value. Stores model information.
- * @return a {@link BackingStore}
- */
- @jakarta.annotation.Nonnull
- public BackingStore getBackingStore() {
- return this.backingStore;
- }
- /**
- * Gets the Comment property value. The Comment property
- * @return a {@link String}
- */
- @jakarta.annotation.Nullable
- public String getComment() {
- return this.backingStore.get("comment");
- }
- /**
- * 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("Comment", (n) -> { this.setComment(n.getStringValue()); });
- return deserializerMap;
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- writer.writeStringValue("Comment", this.getComment());
- 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 Comment property value. The Comment property
- * @param value Value to set for the Comment property.
- */
- public void setComment(@jakarta.annotation.Nullable final String value) {
- this.backingStore.set("comment", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/cancel/CancelRequestBuilder.java
deleted file mode 100644
index e57df28f012..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/cancel/CancelRequestBuilder.java
+++ /dev/null
@@ -1,100 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.cancel;
-
-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 cancel method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class CancelRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link CancelRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public CancelRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/cancel", pathParameters);
- }
- /**
- * Instantiates a new {@link CancelRequestBuilder} 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 CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/cancel", rawUrl);
- }
- /**
- * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation.
- * @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 CancelPostRequestBody body) {
- post(body, null);
- }
- /**
- * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation.
- * @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 CancelPostRequestBody 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);
- }
- /**
- * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CancelPostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation.
- * @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 CancelPostRequestBody 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 CancelRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new CancelRequestBuilder(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/calendar/calendarview/item/decline/DeclinePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/decline/DeclinePostRequestBody.java
deleted file mode 100644
index 80220c9c74c..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/decline/DeclinePostRequestBody.java
+++ /dev/null
@@ -1,142 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.decline;
-
-import com.microsoft.graph.models.TimeSlot;
-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 DeclinePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
- /**
- * Stores model information.
- */
- @jakarta.annotation.Nonnull
- protected BackingStore backingStore;
- /**
- * Instantiates a new {@link DeclinePostRequestBody} and sets the default values.
- */
- public DeclinePostRequestBody() {
- 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 DeclinePostRequestBody}
- */
- @jakarta.annotation.Nonnull
- public static DeclinePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new DeclinePostRequestBody();
- }
- /**
- * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map getAdditionalData() {
- Map value = this.backingStore.get("additionalData");
- if(value == null) {
- value = new HashMap<>();
- this.setAdditionalData(value);
- }
- return value;
- }
- /**
- * Gets the backingStore property value. Stores model information.
- * @return a {@link BackingStore}
- */
- @jakarta.annotation.Nonnull
- public BackingStore getBackingStore() {
- return this.backingStore;
- }
- /**
- * Gets the Comment property value. The Comment property
- * @return a {@link String}
- */
- @jakarta.annotation.Nullable
- public String getComment() {
- return this.backingStore.get("comment");
- }
- /**
- * The deserialization information for the current model
- * @return a {@link Map>}
- */
- @jakarta.annotation.Nonnull
- public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(3);
- deserializerMap.put("Comment", (n) -> { this.setComment(n.getStringValue()); });
- deserializerMap.put("ProposedNewTime", (n) -> { this.setProposedNewTime(n.getObjectValue(TimeSlot::createFromDiscriminatorValue)); });
- deserializerMap.put("SendResponse", (n) -> { this.setSendResponse(n.getBooleanValue()); });
- return deserializerMap;
- }
- /**
- * Gets the ProposedNewTime property value. The ProposedNewTime property
- * @return a {@link TimeSlot}
- */
- @jakarta.annotation.Nullable
- public TimeSlot getProposedNewTime() {
- return this.backingStore.get("proposedNewTime");
- }
- /**
- * Gets the SendResponse property value. The SendResponse property
- * @return a {@link Boolean}
- */
- @jakarta.annotation.Nullable
- public Boolean getSendResponse() {
- return this.backingStore.get("sendResponse");
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- writer.writeStringValue("Comment", this.getComment());
- writer.writeObjectValue("ProposedNewTime", this.getProposedNewTime());
- writer.writeBooleanValue("SendResponse", this.getSendResponse());
- 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 Comment property value. The Comment property
- * @param value Value to set for the Comment property.
- */
- public void setComment(@jakarta.annotation.Nullable final String value) {
- this.backingStore.set("comment", value);
- }
- /**
- * Sets the ProposedNewTime property value. The ProposedNewTime property
- * @param value Value to set for the ProposedNewTime property.
- */
- public void setProposedNewTime(@jakarta.annotation.Nullable final TimeSlot value) {
- this.backingStore.set("proposedNewTime", value);
- }
- /**
- * Sets the SendResponse property value. The SendResponse property
- * @param value Value to set for the SendResponse property.
- */
- public void setSendResponse(@jakarta.annotation.Nullable final Boolean value) {
- this.backingStore.set("sendResponse", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/decline/DeclineRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/decline/DeclineRequestBuilder.java
deleted file mode 100644
index dcded7f40cf..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/decline/DeclineRequestBuilder.java
+++ /dev/null
@@ -1,100 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.decline;
-
-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 decline method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class DeclineRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link DeclineRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public DeclineRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/decline", pathParameters);
- }
- /**
- * Instantiates a new {@link DeclineRequestBuilder} 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 DeclineRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/decline", rawUrl);
- }
- /**
- * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.
- * @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 DeclinePostRequestBody body) {
- post(body, null);
- }
- /**
- * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.
- * @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 DeclinePostRequestBody 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);
- }
- /**
- * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeclinePostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.
- * @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 DeclinePostRequestBody 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 DeclineRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public DeclineRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new DeclineRequestBuilder(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/calendar/calendarview/item/dismissreminder/DismissReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/dismissreminder/DismissReminderRequestBuilder.java
deleted file mode 100644
index e01d91c7fc5..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/dismissreminder/DismissReminderRequestBuilder.java
+++ /dev/null
@@ -1,93 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.dismissreminder;
-
-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 dismissReminder method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class DismissReminderRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link DismissReminderRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public DismissReminderRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/dismissReminder", pathParameters);
- }
- /**
- * Instantiates a new {@link DismissReminderRequestBuilder} 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 DismissReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/dismissReminder", rawUrl);
- }
- /**
- * Dismiss a reminder that has been triggered for an event in a user calendar.
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- public void post() {
- post(null);
- }
- /**
- * Dismiss a reminder that has been triggered for an event in a user calendar.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
- }
- /**
- * Dismiss a reminder that has been triggered for an event in a user calendar.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation() {
- return toPostRequestInformation(null);
- }
- /**
- * Dismiss a reminder that has been triggered for an event in a user calendar.
- * @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 DismissReminderRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public DismissReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new DismissReminderRequestBuilder(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/calendar/calendarview/item/exceptionoccurrences/ExceptionOccurrencesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/ExceptionOccurrencesRequestBuilder.java
deleted file mode 100644
index 161fa633591..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/ExceptionOccurrencesRequestBuilder.java
+++ /dev/null
@@ -1,196 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences;
-
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.count.CountRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.delta.DeltaRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.EventItemRequestBuilder;
-import com.microsoft.graph.models.EventCollectionResponse;
-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 exceptionOccurrences property of the microsoft.graph.event entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class ExceptionOccurrencesRequestBuilder 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}
- */
- @jakarta.annotation.Nonnull
- public DeltaRequestBuilder delta() {
- return new DeltaRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity.
- * @param eventId1 The unique identifier of event
- * @return a {@link EventItemRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public EventItemRequestBuilder byEventId1(@jakarta.annotation.Nonnull final String eventId1) {
- Objects.requireNonNull(eventId1);
- final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("event%2Did1", eventId1);
- return new EventItemRequestBuilder(urlTplParams, requestAdapter);
- }
- /**
- * Instantiates a new {@link ExceptionOccurrencesRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public ExceptionOccurrencesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- }
- /**
- * Instantiates a new {@link ExceptionOccurrencesRequestBuilder} 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 ExceptionOccurrencesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- * @return a {@link EventCollectionResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public EventCollectionResponse get() {
- return get(null);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link EventCollectionResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public EventCollectionResponse 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, EventCollectionResponse::createFromDiscriminatorValue);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link ExceptionOccurrencesRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public ExceptionOccurrencesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new ExceptionOccurrencesRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/count/CountRequestBuilder.java
deleted file mode 100644
index f723313261b..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/count/CountRequestBuilder.java
+++ /dev/null
@@ -1,128 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.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}/calendar/calendarView/{event%2Did}/exceptionOccurrences/$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}/calendar/calendarView/{event%2Did}/exceptionOccurrences/$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/calendar/calendarview/item/exceptionoccurrences/delta/DeltaGetResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/delta/DeltaGetResponse.java
deleted file mode 100644
index ced57fe51b9..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/delta/DeltaGetResponse.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.delta;
-
-import com.microsoft.graph.models.BaseDeltaFunctionResponse;
-import com.microsoft.graph.models.Event;
-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 DeltaGetResponse extends BaseDeltaFunctionResponse implements Parsable {
- /**
- * Instantiates a new {@link DeltaGetResponse} and sets the default values.
- */
- public DeltaGetResponse() {
- 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 DeltaGetResponse}
- */
- @jakarta.annotation.Nonnull
- public static DeltaGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new DeltaGetResponse();
- }
- /**
- * 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(Event::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/groups/item/calendar/calendarview/item/exceptionoccurrences/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/delta/DeltaRequestBuilder.java
deleted file mode 100644
index 1c019857766..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/delta/DeltaRequestBuilder.java
+++ /dev/null
@@ -1,178 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.delta;
-
-import com.microsoft.graph.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to call the delta method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class DeltaRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link DeltaRequestBuilder} 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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- }
- /**
- * Instantiates a new {@link DeltaRequestBuilder} 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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/delta()?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time.
- * @return a {@link DeltaGetResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public DeltaGetResponse get() {
- return get(null);
- }
- /**
- * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link DeltaGetResponse}
- * @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) {
- final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
- }
- /**
- * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link DeltaRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new DeltaRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00
- */
- @jakarta.annotation.Nullable
- public String endDateTime;
- /**
- * 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;
- /**
- * The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00
- */
- @jakarta.annotation.Nullable
- public String startDateTime;
- /**
- * 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("endDateTime", endDateTime);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("startDateTime", startDateTime);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/EventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/EventItemRequestBuilder.java
deleted file mode 100644
index 3b2eba13601..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/EventItemRequestBuilder.java
+++ /dev/null
@@ -1,237 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item;
-
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.accept.AcceptRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments.AttachmentsRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.calendar.CalendarRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.cancel.CancelRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.decline.DeclineRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.dismissreminder.DismissReminderRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.extensions.ExtensionsRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.forward.ForwardRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.instances.InstancesRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.permanentdelete.PermanentDeleteRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.snoozereminder.SnoozeReminderRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.tentativelyaccept.TentativelyAcceptRequestBuilder;
-import com.microsoft.graph.models.Event;
-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 exceptionOccurrences property of the microsoft.graph.event entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class EventItemRequestBuilder extends BaseRequestBuilder {
- /**
- * Provides operations to call the accept method.
- * @return a {@link AcceptRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AcceptRequestBuilder accept() {
- return new AcceptRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the attachments property of the microsoft.graph.event entity.
- * @return a {@link AttachmentsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AttachmentsRequestBuilder attachments() {
- return new AttachmentsRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the calendar property of the microsoft.graph.event entity.
- * @return a {@link CalendarRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CalendarRequestBuilder calendar() {
- return new CalendarRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the cancel method.
- * @return a {@link CancelRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CancelRequestBuilder cancel() {
- return new CancelRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the decline method.
- * @return a {@link DeclineRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public DeclineRequestBuilder decline() {
- return new DeclineRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the dismissReminder method.
- * @return a {@link DismissReminderRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public DismissReminderRequestBuilder dismissReminder() {
- return new DismissReminderRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the extensions property of the microsoft.graph.event entity.
- * @return a {@link ExtensionsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public ExtensionsRequestBuilder extensions() {
- return new ExtensionsRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the forward method.
- * @return a {@link ForwardRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public ForwardRequestBuilder forward() {
- return new ForwardRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the instances property of the microsoft.graph.event entity.
- * @return a {@link InstancesRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public InstancesRequestBuilder instances() {
- return new InstancesRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the permanentDelete method.
- * @return a {@link PermanentDeleteRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public PermanentDeleteRequestBuilder permanentDelete() {
- return new PermanentDeleteRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the snoozeReminder method.
- * @return a {@link SnoozeReminderRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public SnoozeReminderRequestBuilder snoozeReminder() {
- return new SnoozeReminderRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to call the tentativelyAccept method.
- * @return a {@link TentativelyAcceptRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public TentativelyAcceptRequestBuilder tentativelyAccept() {
- return new TentativelyAcceptRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Instantiates a new {@link EventItemRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public EventItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}{?%24expand,%24select}", pathParameters);
- }
- /**
- * Instantiates a new {@link EventItemRequestBuilder} 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 EventItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}{?%24expand,%24select}", rawUrl);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- * @return a {@link Event}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Event get() {
- return get(null);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link Event}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Event 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, Event::createFromDiscriminatorValue);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
- * @param rawUrl The raw URL to use for the request builder.
- * @return a {@link EventItemRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public EventItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new EventItemRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Contains the id property values of the event instances that are exceptions in a recurring series.Exceptions can differ from other occurrences in a recurring series, such as the subject, start or end times, or attendees. Exceptions don't include canceled occurrences.Returned only on $select and $expand in a GET operation that specifies the ID (seriesMasterId property value) of a series master event.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/accept/AcceptPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/accept/AcceptPostRequestBody.java
deleted file mode 100644
index 622bd2285c4..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/accept/AcceptPostRequestBody.java
+++ /dev/null
@@ -1,124 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.accept;
-
-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 AcceptPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
- /**
- * Stores model information.
- */
- @jakarta.annotation.Nonnull
- protected BackingStore backingStore;
- /**
- * Instantiates a new {@link AcceptPostRequestBody} and sets the default values.
- */
- public AcceptPostRequestBody() {
- 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 AcceptPostRequestBody}
- */
- @jakarta.annotation.Nonnull
- public static AcceptPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new AcceptPostRequestBody();
- }
- /**
- * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map getAdditionalData() {
- Map value = this.backingStore.get("additionalData");
- if(value == null) {
- value = new HashMap<>();
- this.setAdditionalData(value);
- }
- return value;
- }
- /**
- * Gets the backingStore property value. Stores model information.
- * @return a {@link BackingStore}
- */
- @jakarta.annotation.Nonnull
- public BackingStore getBackingStore() {
- return this.backingStore;
- }
- /**
- * Gets the Comment property value. The Comment property
- * @return a {@link String}
- */
- @jakarta.annotation.Nullable
- public String getComment() {
- return this.backingStore.get("comment");
- }
- /**
- * The deserialization information for the current model
- * @return a {@link Map>}
- */
- @jakarta.annotation.Nonnull
- public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(2);
- deserializerMap.put("Comment", (n) -> { this.setComment(n.getStringValue()); });
- deserializerMap.put("SendResponse", (n) -> { this.setSendResponse(n.getBooleanValue()); });
- return deserializerMap;
- }
- /**
- * Gets the SendResponse property value. The SendResponse property
- * @return a {@link Boolean}
- */
- @jakarta.annotation.Nullable
- public Boolean getSendResponse() {
- return this.backingStore.get("sendResponse");
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- writer.writeStringValue("Comment", this.getComment());
- writer.writeBooleanValue("SendResponse", this.getSendResponse());
- 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 Comment property value. The Comment property
- * @param value Value to set for the Comment property.
- */
- public void setComment(@jakarta.annotation.Nullable final String value) {
- this.backingStore.set("comment", value);
- }
- /**
- * Sets the SendResponse property value. The SendResponse property
- * @param value Value to set for the SendResponse property.
- */
- public void setSendResponse(@jakarta.annotation.Nullable final Boolean value) {
- this.backingStore.set("sendResponse", value);
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/accept/AcceptRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/accept/AcceptRequestBuilder.java
deleted file mode 100644
index ecffd376806..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/accept/AcceptRequestBuilder.java
+++ /dev/null
@@ -1,100 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.accept;
-
-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 accept method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class AcceptRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link AcceptRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public AcceptRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/accept", pathParameters);
- }
- /**
- * Instantiates a new {@link AcceptRequestBuilder} 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 AcceptRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/accept", rawUrl);
- }
- /**
- * Accept the specified event in a user calendar.
- * @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 AcceptPostRequestBody body) {
- post(body, null);
- }
- /**
- * Accept the specified event in a user calendar.
- * @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 AcceptPostRequestBody 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);
- }
- /**
- * Accept the specified event in a user calendar.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AcceptPostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Accept the specified event in a user calendar.
- * @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 AcceptPostRequestBody 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 AcceptRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AcceptRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new AcceptRequestBuilder(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/calendar/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java
deleted file mode 100644
index d2aef41b2b6..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java
+++ /dev/null
@@ -1,252 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments;
-
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments.count.CountRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments.createuploadsession.CreateUploadSessionRequestBuilder;
-import com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments.item.AttachmentItemRequestBuilder;
-import com.microsoft.graph.models.Attachment;
-import com.microsoft.graph.models.AttachmentCollectionResponse;
-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 attachments property of the microsoft.graph.event entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class AttachmentsRequestBuilder 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 createUploadSession method.
- * @return a {@link CreateUploadSessionRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CreateUploadSessionRequestBuilder createUploadSession() {
- return new CreateUploadSessionRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the attachments property of the microsoft.graph.event entity.
- * @param attachmentId The unique identifier of attachment
- * @return a {@link AttachmentItemRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AttachmentItemRequestBuilder byAttachmentId(@jakarta.annotation.Nonnull final String attachmentId) {
- Objects.requireNonNull(attachmentId);
- final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("attachment%2Did", attachmentId);
- return new AttachmentItemRequestBuilder(urlTplParams, requestAdapter);
- }
- /**
- * Instantiates a new {@link AttachmentsRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public AttachmentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- }
- /**
- * Instantiates a new {@link AttachmentsRequestBuilder} 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 AttachmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @return a {@link AttachmentCollectionResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public AttachmentCollectionResponse get() {
- return get(null);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link AttachmentCollectionResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public AttachmentCollectionResponse 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, AttachmentCollectionResponse::createFromDiscriminatorValue);
- }
- /**
- * Create new navigation property to attachments for groups
- * @param body The request body
- * @return a {@link Attachment}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Attachment post(@jakarta.annotation.Nonnull final Attachment body) {
- return post(body, null);
- }
- /**
- * Create new navigation property to attachments for groups
- * @param body The request body
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link Attachment}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Attachment post(@jakarta.annotation.Nonnull final Attachment 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, Attachment::createFromDiscriminatorValue);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * Create new navigation property to attachments for groups
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Create new navigation property to attachments 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 Attachment 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 AttachmentsRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AttachmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new AttachmentsRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class PostRequestConfiguration extends BaseRequestConfiguration {
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/count/CountRequestBuilder.java
deleted file mode 100644
index deea757e716..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/count/CountRequestBuilder.java
+++ /dev/null
@@ -1,128 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments.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}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$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}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$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/calendar/calendarview/item/exceptionoccurrences/item/attachments/createuploadsession/CreateUploadSessionPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/createuploadsession/CreateUploadSessionPostRequestBody.java
deleted file mode 100644
index 00edbf1e651..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/createuploadsession/CreateUploadSessionPostRequestBody.java
+++ /dev/null
@@ -1,108 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments.createuploadsession;
-
-import com.microsoft.graph.models.AttachmentItem;
-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 CreateUploadSessionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
- /**
- * Stores model information.
- */
- @jakarta.annotation.Nonnull
- protected BackingStore backingStore;
- /**
- * Instantiates a new {@link CreateUploadSessionPostRequestBody} and sets the default values.
- */
- public CreateUploadSessionPostRequestBody() {
- 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 CreateUploadSessionPostRequestBody}
- */
- @jakarta.annotation.Nonnull
- public static CreateUploadSessionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
- Objects.requireNonNull(parseNode);
- return new CreateUploadSessionPostRequestBody();
- }
- /**
- * 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 AttachmentItem property value. The AttachmentItem property
- * @return a {@link AttachmentItem}
- */
- @jakarta.annotation.Nullable
- public AttachmentItem getAttachmentItem() {
- return this.backingStore.get("attachmentItem");
- }
- /**
- * 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("AttachmentItem", (n) -> { this.setAttachmentItem(n.getObjectValue(AttachmentItem::createFromDiscriminatorValue)); });
- return deserializerMap;
- }
- /**
- * Serializes information the current object
- * @param writer Serialization writer to use to serialize this model
- */
- public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
- Objects.requireNonNull(writer);
- writer.writeObjectValue("AttachmentItem", this.getAttachmentItem());
- 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 AttachmentItem property value. The AttachmentItem property
- * @param value Value to set for the AttachmentItem property.
- */
- public void setAttachmentItem(@jakarta.annotation.Nullable final AttachmentItem value) {
- this.backingStore.set("attachmentItem", 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;
- }
-}
diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/createuploadsession/CreateUploadSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/createuploadsession/CreateUploadSessionRequestBuilder.java
deleted file mode 100644
index 42d52703f05..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/createuploadsession/CreateUploadSessionRequestBuilder.java
+++ /dev/null
@@ -1,105 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments.createuploadsession;
-
-import com.microsoft.graph.models.odataerrors.ODataError;
-import com.microsoft.graph.models.UploadSession;
-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 createUploadSession method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class CreateUploadSessionRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link CreateUploadSessionRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public CreateUploadSessionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/createUploadSession", pathParameters);
- }
- /**
- * Instantiates a new {@link CreateUploadSessionRequestBuilder} 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 CreateUploadSessionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/createUploadSession", rawUrl);
- }
- /**
- * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
- * @param body The request body
- * @return a {@link UploadSession}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public UploadSession post(@jakarta.annotation.Nonnull final CreateUploadSessionPostRequestBody body) {
- return post(body, null);
- }
- /**
- * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
- * @param body The request body
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link UploadSession}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- public UploadSession post(@jakarta.annotation.Nonnull final CreateUploadSessionPostRequestBody 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, UploadSession::createFromDiscriminatorValue);
- }
- /**
- * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
- * @param body The request body
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreateUploadSessionPostRequestBody body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
- * @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 CreateUploadSessionPostRequestBody 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 CreateUploadSessionRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public CreateUploadSessionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new CreateUploadSessionRequestBuilder(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/calendar/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java
deleted file mode 100644
index 513b874261b..00000000000
--- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java
+++ /dev/null
@@ -1,173 +0,0 @@
-package com.microsoft.graph.groups.item.calendar.calendarview.item.exceptionoccurrences.item.attachments.item;
-
-import com.microsoft.graph.models.Attachment;
-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 attachments property of the microsoft.graph.event entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class AttachmentItemRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link AttachmentItemRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public AttachmentItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/{attachment%2Did}{?%24expand,%24select}", pathParameters);
- }
- /**
- * Instantiates a new {@link AttachmentItemRequestBuilder} 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 AttachmentItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl);
- }
- /**
- * Delete navigation property attachments for groups
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- public void delete() {
- delete(null);
- }
- /**
- * Delete navigation property attachments for groups
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
- final HashMap> errorMapping = new HashMap>();
- errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
- this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @return a {@link Attachment}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Attachment get() {
- return get(null);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link Attachment}
- * @throws ODataError When receiving a 4XX or 5XX status code
- */
- @jakarta.annotation.Nullable
- public Attachment 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, Attachment::createFromDiscriminatorValue);
- }
- /**
- * Delete navigation property attachments for groups
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toDeleteRequestInformation() {
- return toDeleteRequestInformation(null);
- }
- /**
- * Delete navigation property attachments for groups
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- */
- @jakarta.annotation.Nonnull
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * 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 AttachmentItemRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public AttachmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new AttachmentItemRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class DeleteRequestConfiguration extends BaseRequestConfiguration {
- }
- /**
- * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map