diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java
index baf7a9c6391..e463dbde60d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java
@@ -69,7 +69,7 @@ public FoldersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -79,7 +79,7 @@ public MailboxFolderCollectionResponse get() {
return get(null);
}
/**
- * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -120,7 +120,7 @@ public MailboxFolder post(@jakarta.annotation.Nonnull final MailboxFolder body,
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolder::createFromDiscriminatorValue);
}
/**
- * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -128,7 +128,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -174,7 +174,7 @@ public FoldersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra
return new FoldersRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java
index f13a5f55edd..ede7384eaed 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java
@@ -69,7 +69,7 @@ public ChildFoldersRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -79,7 +79,7 @@ public MailboxFolderCollectionResponse get() {
return get(null);
}
/**
- * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -118,7 +118,7 @@ public MailboxFolder post(@jakarta.annotation.Nonnull final MailboxFolder body,
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolder::createFromDiscriminatorValue);
}
/**
- * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -126,7 +126,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -172,7 +172,7 @@ public ChildFoldersRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri
return new ChildFoldersRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/ApiUsageReportMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/ApiUsageReportMetricsRequestBuilder.java
index 29ade2236c6..c0f272ed612 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/ApiUsageReportMetricsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/ApiUsageReportMetricsRequestBuilder.java
@@ -60,7 +60,7 @@ public ApiUsageReportMetricsRequestBuilder(@jakarta.annotation.Nonnull final Str
super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/apiUsageReportMetrics{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
* @return a {@link ApiUsageReportEnablementStatusCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -70,7 +70,7 @@ public ApiUsageReportEnablementStatusCollectionResponse get() {
return get(null);
}
/**
- * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ApiUsageReportEnablementStatusCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -109,7 +109,7 @@ public ApiUsageReportEnablementStatus post(@jakarta.annotation.Nonnull final Api
return this.requestAdapter.send(requestInfo, errorMapping, ApiUsageReportEnablementStatus::createFromDiscriminatorValue);
}
/**
- * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -163,7 +163,7 @@ public ApiUsageReportMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull f
return new ApiUsageReportMetricsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
+ * Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
index df37d8b35da..e09a7b29a53 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
index 1eaecca81e9..c8e7c117fa7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/setreaction/SetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/setreaction/SetReactionPostRequestBody.java
index bd08db9012a..c3944009bc7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/setreaction/SetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/setreaction/SetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/unsetreaction/UnsetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
index 297648aea2d..871b556df5f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionPostRequestBody.java
index 915e110618a..a9006e79547 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
index 302970f32fd..55943b71f8a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/UserSettingsPersistenceDetailRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/UserSettingsPersistenceDetailRequestBuilder.java
index b25668605f3..6e640fd3881 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/UserSettingsPersistenceDetailRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/UserSettingsPersistenceDetailRequestBuilder.java
@@ -1,8 +1,11 @@
package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.batchcleanupusersettingspersistenceprofile.BatchCleanupUserSettingsPersistenceProfileRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.bulkcreateuserprofilesnapshot.BulkCreateUserProfileSnapshotRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.bulkexportuserprofilesnapshot.BulkExportUserProfileSnapshotRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.retrieveusersettingspersistenceprofileswithconfigurationid.RetrieveUserSettingsPersistenceProfilesWithConfigurationIdRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.retrieveusersettingspersistenceprofileusagewithconfigurationid.RetrieveUserSettingsPersistenceProfileUsageWithConfigurationIdRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots.UserProfileSnapshotsRequestBuilder;
import com.microsoft.graph.beta.models.CloudPCUserSettingsPersistenceDetail;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -31,6 +34,30 @@ public class UserSettingsPersistenceDetailRequestBuilder extends BaseRequestBuil
public BatchCleanupUserSettingsPersistenceProfileRequestBuilder batchCleanupUserSettingsPersistenceProfile() {
return new BatchCleanupUserSettingsPersistenceProfileRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the bulkCreateUserProfileSnapshot method.
+ * @return a {@link BulkCreateUserProfileSnapshotRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public BulkCreateUserProfileSnapshotRequestBuilder bulkCreateUserProfileSnapshot() {
+ return new BulkCreateUserProfileSnapshotRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the bulkExportUserProfileSnapshot method.
+ * @return a {@link BulkExportUserProfileSnapshotRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public BulkExportUserProfileSnapshotRequestBuilder bulkExportUserProfileSnapshot() {
+ return new BulkExportUserProfileSnapshotRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity.
+ * @return a {@link UserProfileSnapshotsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public UserProfileSnapshotsRequestBuilder userProfileSnapshots() {
+ return new UserProfileSnapshotsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link UserSettingsPersistenceDetailRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkcreateuserprofilesnapshot/BulkCreateUserProfileSnapshotPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkcreateuserprofilesnapshot/BulkCreateUserProfileSnapshotPostRequestBody.java
new file mode 100644
index 00000000000..c7be9a925d9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkcreateuserprofilesnapshot/BulkCreateUserProfileSnapshotPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.bulkcreateuserprofilesnapshot;
+
+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 BulkCreateUserProfileSnapshotPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link BulkCreateUserProfileSnapshotPostRequestBody} and sets the default values.
+ */
+ public BulkCreateUserProfileSnapshotPostRequestBody() {
+ 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 BulkCreateUserProfileSnapshotPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static BulkCreateUserProfileSnapshotPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new BulkCreateUserProfileSnapshotPostRequestBody();
+ }
+ /**
+ * 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 cloudProfileIds property value. The cloudProfileIds property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getCloudProfileIds() {
+ return this.backingStore.get("cloudProfileIds");
+ }
+ /**
+ * 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("cloudProfileIds", (n) -> { this.setCloudProfileIds(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeCollectionOfPrimitiveValues("cloudProfileIds", this.getCloudProfileIds());
+ 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 cloudProfileIds property value. The cloudProfileIds property
+ * @param value Value to set for the cloudProfileIds property.
+ */
+ public void setCloudProfileIds(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("cloudProfileIds", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkcreateuserprofilesnapshot/BulkCreateUserProfileSnapshotRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkcreateuserprofilesnapshot/BulkCreateUserProfileSnapshotRequestBuilder.java
new file mode 100644
index 00000000000..68d54f06d35
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkcreateuserprofilesnapshot/BulkCreateUserProfileSnapshotRequestBuilder.java
@@ -0,0 +1,103 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.bulkcreateuserprofilesnapshot;
+
+import com.microsoft.graph.beta.models.CloudPcUserProfileBulkActionResult;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the bulkCreateUserProfileSnapshot method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class BulkCreateUserProfileSnapshotRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link BulkCreateUserProfileSnapshotRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public BulkCreateUserProfileSnapshotRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link BulkCreateUserProfileSnapshotRequestBuilder} 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 BulkCreateUserProfileSnapshotRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot", rawUrl);
+ }
+ /**
+ * Invoke action bulkCreateUserProfileSnapshot
+ * @param body The request body
+ * @return a {@link CloudPcUserProfileBulkActionResult}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileBulkActionResult post(@jakarta.annotation.Nonnull final BulkCreateUserProfileSnapshotPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action bulkCreateUserProfileSnapshot
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcUserProfileBulkActionResult}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileBulkActionResult post(@jakarta.annotation.Nonnull final BulkCreateUserProfileSnapshotPostRequestBody 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, CloudPcUserProfileBulkActionResult::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke action bulkCreateUserProfileSnapshot
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BulkCreateUserProfileSnapshotPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action bulkCreateUserProfileSnapshot
+ * @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 BulkCreateUserProfileSnapshotPostRequestBody 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 BulkCreateUserProfileSnapshotRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public BulkCreateUserProfileSnapshotRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new BulkCreateUserProfileSnapshotRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkexportuserprofilesnapshot/BulkExportUserProfileSnapshotPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkexportuserprofilesnapshot/BulkExportUserProfileSnapshotPostRequestBody.java
new file mode 100644
index 00000000000..1655943973b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkexportuserprofilesnapshot/BulkExportUserProfileSnapshotPostRequestBody.java
@@ -0,0 +1,125 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.bulkexportuserprofilesnapshot;
+
+import com.microsoft.graph.beta.models.CloudPcUserProfileSnapshotStorageDetail;
+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 BulkExportUserProfileSnapshotPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link BulkExportUserProfileSnapshotPostRequestBody} and sets the default values.
+ */
+ public BulkExportUserProfileSnapshotPostRequestBody() {
+ 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 BulkExportUserProfileSnapshotPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static BulkExportUserProfileSnapshotPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new BulkExportUserProfileSnapshotPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(2);
+ deserializerMap.put("snapshotIds", (n) -> { this.setSnapshotIds(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("storageDetail", (n) -> { this.setStorageDetail(n.getObjectValue(CloudPcUserProfileSnapshotStorageDetail::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the snapshotIds property value. The snapshotIds property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getSnapshotIds() {
+ return this.backingStore.get("snapshotIds");
+ }
+ /**
+ * Gets the storageDetail property value. The storageDetail property
+ * @return a {@link CloudPcUserProfileSnapshotStorageDetail}
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshotStorageDetail getStorageDetail() {
+ return this.backingStore.get("storageDetail");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeCollectionOfPrimitiveValues("snapshotIds", this.getSnapshotIds());
+ writer.writeObjectValue("storageDetail", this.getStorageDetail());
+ 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 snapshotIds property value. The snapshotIds property
+ * @param value Value to set for the snapshotIds property.
+ */
+ public void setSnapshotIds(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("snapshotIds", value);
+ }
+ /**
+ * Sets the storageDetail property value. The storageDetail property
+ * @param value Value to set for the storageDetail property.
+ */
+ public void setStorageDetail(@jakarta.annotation.Nullable final CloudPcUserProfileSnapshotStorageDetail value) {
+ this.backingStore.set("storageDetail", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkexportuserprofilesnapshot/BulkExportUserProfileSnapshotRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkexportuserprofilesnapshot/BulkExportUserProfileSnapshotRequestBuilder.java
new file mode 100644
index 00000000000..f87502c281e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/bulkexportuserprofilesnapshot/BulkExportUserProfileSnapshotRequestBuilder.java
@@ -0,0 +1,103 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.bulkexportuserprofilesnapshot;
+
+import com.microsoft.graph.beta.models.CloudPcUserProfileBulkActionResult;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the bulkExportUserProfileSnapshot method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class BulkExportUserProfileSnapshotRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link BulkExportUserProfileSnapshotRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public BulkExportUserProfileSnapshotRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkExportUserProfileSnapshot", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link BulkExportUserProfileSnapshotRequestBuilder} 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 BulkExportUserProfileSnapshotRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkExportUserProfileSnapshot", rawUrl);
+ }
+ /**
+ * Invoke action bulkExportUserProfileSnapshot
+ * @param body The request body
+ * @return a {@link CloudPcUserProfileBulkActionResult}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileBulkActionResult post(@jakarta.annotation.Nonnull final BulkExportUserProfileSnapshotPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action bulkExportUserProfileSnapshot
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcUserProfileBulkActionResult}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileBulkActionResult post(@jakarta.annotation.Nonnull final BulkExportUserProfileSnapshotPostRequestBody 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, CloudPcUserProfileBulkActionResult::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke action bulkExportUserProfileSnapshot
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BulkExportUserProfileSnapshotPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action bulkExportUserProfileSnapshot
+ * @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 BulkExportUserProfileSnapshotPostRequestBody 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 BulkExportUserProfileSnapshotRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public BulkExportUserProfileSnapshotRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new BulkExportUserProfileSnapshotRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/UserProfileSnapshotsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/UserProfileSnapshotsRequestBuilder.java
new file mode 100644
index 00000000000..a47a1e69cc4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/UserProfileSnapshotsRequestBuilder.java
@@ -0,0 +1,243 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots;
+
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots.count.CountRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots.item.CloudPcUserProfileSnapshotItemRequestBuilder;
+import com.microsoft.graph.beta.models.CloudPcUserProfileSnapshot;
+import com.microsoft.graph.beta.models.CloudPcUserProfileSnapshotCollectionResponse;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class UserProfileSnapshotsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity.
+ * @param cloudPcUserProfileSnapshotId The unique identifier of cloudPcUserProfileSnapshot
+ * @return a {@link CloudPcUserProfileSnapshotItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPcUserProfileSnapshotItemRequestBuilder byCloudPcUserProfileSnapshotId(@jakarta.annotation.Nonnull final String cloudPcUserProfileSnapshotId) {
+ Objects.requireNonNull(cloudPcUserProfileSnapshotId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("cloudPcUserProfileSnapshot%2Did", cloudPcUserProfileSnapshotId);
+ return new CloudPcUserProfileSnapshotItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link UserProfileSnapshotsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public UserProfileSnapshotsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link UserProfileSnapshotsRequestBuilder} 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 UserProfileSnapshotsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ * @return a {@link CloudPcUserProfileSnapshotCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshotCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcUserProfileSnapshotCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshotCollectionResponse 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, CloudPcUserProfileSnapshotCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to userProfileSnapshots for deviceManagement
+ * @param body The request body
+ * @return a {@link CloudPcUserProfileSnapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshot post(@jakarta.annotation.Nonnull final CloudPcUserProfileSnapshot body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to userProfileSnapshots for deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcUserProfileSnapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshot post(@jakarta.annotation.Nonnull final CloudPcUserProfileSnapshot 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, CloudPcUserProfileSnapshot::createFromDiscriminatorValue);
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ * @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 userProfileSnapshots for deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcUserProfileSnapshot body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to userProfileSnapshots for deviceManagement
+ * @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 CloudPcUserProfileSnapshot 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 UserProfileSnapshotsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public UserProfileSnapshotsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new UserProfileSnapshotsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..5571b8b8106
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/$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}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/CloudPcUserProfileSnapshotItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/CloudPcUserProfileSnapshotItemRequestBuilder.java
new file mode 100644
index 00000000000..a043891ac6c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/CloudPcUserProfileSnapshotItemRequestBuilder.java
@@ -0,0 +1,237 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots.item;
+
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots.item.restore.RestoreRequestBuilder;
+import com.microsoft.graph.beta.models.CloudPcUserProfileSnapshot;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CloudPcUserProfileSnapshotItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the restore method.
+ * @return a {@link RestoreRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RestoreRequestBuilder restore() {
+ return new RestoreRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link CloudPcUserProfileSnapshotItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CloudPcUserProfileSnapshotItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CloudPcUserProfileSnapshotItemRequestBuilder} 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 CloudPcUserProfileSnapshotItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property userProfileSnapshots for deviceManagement
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property userProfileSnapshots for deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ * @return a {@link CloudPcUserProfileSnapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshot get() {
+ return get(null);
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcUserProfileSnapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshot 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, CloudPcUserProfileSnapshot::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property userProfileSnapshots in deviceManagement
+ * @param body The request body
+ * @return a {@link CloudPcUserProfileSnapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshot patch(@jakarta.annotation.Nonnull final CloudPcUserProfileSnapshot body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property userProfileSnapshots in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcUserProfileSnapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcUserProfileSnapshot patch(@jakarta.annotation.Nonnull final CloudPcUserProfileSnapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, CloudPcUserProfileSnapshot::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property userProfileSnapshots for deviceManagement
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property userProfileSnapshots for deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property userProfileSnapshots in deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcUserProfileSnapshot body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property userProfileSnapshots in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcUserProfileSnapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CloudPcUserProfileSnapshotItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPcUserProfileSnapshotItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CloudPcUserProfileSnapshotItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * Get userProfileSnapshots from deviceManagement
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/restore/RestorePostRequestBody.java
new file mode 100644
index 00000000000..9d7fd485764
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/restore/RestorePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots.item.restore;
+
+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 RestorePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RestorePostRequestBody} and sets the default values.
+ */
+ public RestorePostRequestBody() {
+ 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 RestorePostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RestorePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RestorePostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("targetAssignmentId", (n) -> { this.setTargetAssignmentId(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the targetAssignmentId property value. The targetAssignmentId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getTargetAssignmentId() {
+ return this.backingStore.get("targetAssignmentId");
+ }
+ /**
+ * 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("targetAssignmentId", this.getTargetAssignmentId());
+ 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 targetAssignmentId property value. The targetAssignmentId property
+ * @param value Value to set for the targetAssignmentId property.
+ */
+ public void setTargetAssignmentId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("targetAssignmentId", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/restore/RestoreRequestBuilder.java
new file mode 100644
index 00000000000..d2bcd872c3e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/usersettingspersistencedetail/userprofilesnapshots/item/restore/RestoreRequestBuilder.java
@@ -0,0 +1,98 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.item.assignments.item.usersettingspersistencedetail.userprofilesnapshots.item.restore;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the restore method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RestoreRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RestoreRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}/restore", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RestoreRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}/restore", rawUrl);
+ }
+ /**
+ * Invoke action restore
+ * @param body The request body
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Invoke action restore
+ * @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
+ */
+ public void post(@jakarta.annotation.Nonnull final RestorePostRequestBody 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);
+ }
+ /**
+ * Invoke action restore
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action restore
+ * @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 RestorePostRequestBody 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 RestoreRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RestoreRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
index d582e03723f..38a3a464b3b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
@@ -36,7 +36,7 @@ public RevokeGrantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link Permission}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return post(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Permission}
@@ -63,7 +63,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return this.requestAdapter.send(requestInfo, errorMapping, Permission::createFromDiscriminatorValue);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
index 0f5d56e9d6a..1b710cf72d6 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
@@ -36,7 +36,7 @@ public RevokeGrantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link Permission}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return post(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Permission}
@@ -63,7 +63,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return this.requestAdapter.send(requestInfo, errorMapping, Permission::createFromDiscriminatorValue);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
index ab41c1e91b8..4b5046de184 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
@@ -36,7 +36,7 @@ public RevokeGrantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/permissions/{permission%2Did}/revokeGrants", rawUrl);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link Permission}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return post(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Permission}
@@ -63,7 +63,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return this.requestAdapter.send(requestInfo, errorMapping, Permission::createFromDiscriminatorValue);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/PlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/PlannerRequestBuilder.java
index 28fbdf18f7d..4b277e481d9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/PlannerRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/PlannerRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.beta.groups.item.planner;
+import com.microsoft.graph.beta.groups.item.planner.plans_v2.PlansV2RequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.PlansRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.graph.beta.models.PlannerGroup;
@@ -29,6 +30,14 @@ public class PlannerRequestBuilder extends BaseRequestBuilder {
public PlansRequestBuilder plans() {
return new PlansRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity.
+ * @return a {@link PlansV2RequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlansV2RequestBuilder plansV2() {
+ return new PlansV2RequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link PlannerRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
@@ -46,16 +55,18 @@ public PlannerRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner{?%24expand,%24select}", rawUrl);
}
/**
- * Delete navigation property planner for groups
+ * Delete a plannerGroup object.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Delete navigation property planner for groups
+ * Delete a plannerGroup object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -64,19 +75,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Selective Planner services available to the group. Read-only. Nullable.
+ * Read the properties and relationships of plannerGroup object.
* @return a {@link PlannerGroup}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public PlannerGroup get() {
return get(null);
}
/**
- * Selective Planner services available to the group. Read-only. Nullable.
+ * Read the properties and relationships of plannerGroup object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link PlannerGroup}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public PlannerGroup get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -86,21 +99,23 @@ public PlannerGroup get(@jakarta.annotation.Nullable final java.util.function.Co
return this.requestAdapter.send(requestInfo, errorMapping, PlannerGroup::createFromDiscriminatorValue);
}
/**
- * Update the navigation property planner in groups
+ * Update the properties of a plannerGroup object.
* @param body The request body
* @return a {@link PlannerGroup}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public PlannerGroup patch(@jakarta.annotation.Nonnull final PlannerGroup body) {
return patch(body, null);
}
/**
- * Update the navigation property planner in groups
+ * Update the properties of a plannerGroup object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link PlannerGroup}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public PlannerGroup patch(@jakarta.annotation.Nonnull final PlannerGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +126,7 @@ public PlannerGroup patch(@jakarta.annotation.Nonnull final PlannerGroup body, @
return this.requestAdapter.send(requestInfo, errorMapping, PlannerGroup::createFromDiscriminatorValue);
}
/**
- * Delete navigation property planner for groups
+ * Delete a plannerGroup object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +134,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete navigation property planner for groups
+ * Delete a plannerGroup object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -131,7 +146,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Selective Planner services available to the group. Read-only. Nullable.
+ * Read the properties and relationships of plannerGroup object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -139,7 +154,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Selective Planner services available to the group. Read-only. Nullable.
+ * Read the properties and relationships of plannerGroup object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -151,7 +166,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the navigation property planner in groups
+ * Update the properties of a plannerGroup object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -160,7 +175,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the navigation property planner in groups
+ * Update the properties of a plannerGroup object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -191,7 +206,7 @@ public PlannerRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Selective Planner services available to the group. Read-only. Nullable.
+ * Read the properties and relationships of plannerGroup object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
index 7a03b7feef0..42d130b9f10 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
@@ -3,6 +3,7 @@
import com.microsoft.graph.beta.groups.item.planner.plans.item.archive.ArchiveRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.buckets.BucketsRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.details.DetailsRequestBuilder;
+import com.microsoft.graph.beta.groups.item.planner.plans.item.extendexpiry.ExtendExpiryRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.getusagerights.GetUsageRightsRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.goals.GoalsRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.historyitems.HistoryItemsRequestBuilder;
@@ -53,6 +54,14 @@ public BucketsRequestBuilder buckets() {
public DetailsRequestBuilder details() {
return new DetailsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the extendExpiry method.
+ * @return a {@link ExtendExpiryRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ExtendExpiryRequestBuilder extendExpiry() {
+ return new ExtendExpiryRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the getUsageRights method.
* @return a {@link GetUsageRightsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java
new file mode 100644
index 00000000000..a878090fa59
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java
@@ -0,0 +1,91 @@
+package com.microsoft.graph.beta.groups.item.planner.plans.item.extendexpiry;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the extendExpiry method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ExtendExpiryRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ExtendExpiryRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ExtendExpiryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ExtendExpiryRequestBuilder} 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 ExtendExpiryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @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 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);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @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 ExtendExpiryRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ExtendExpiryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ExtendExpiryRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/PlansV2RequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/PlansV2RequestBuilder.java
new file mode 100644
index 00000000000..dd01f03f535
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/PlansV2RequestBuilder.java
@@ -0,0 +1,189 @@
+package com.microsoft.graph.beta.groups.item.planner.plans_v2;
+
+import com.microsoft.graph.beta.groups.item.planner.plans_v2.count.CountRequestBuilder;
+import com.microsoft.graph.beta.groups.item.planner.plans_v2.item.PlanItemRequestBuilder;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.PlanCollectionResponse;
+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 plans_v2 property of the microsoft.graph.plannerGroup entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class PlansV2RequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity.
+ * @param planId The unique identifier of plan
+ * @return a {@link PlanItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlanItemRequestBuilder byPlanId(@jakarta.annotation.Nonnull final String planId) {
+ Objects.requireNonNull(planId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("plan%2Did", planId);
+ return new PlanItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link PlansV2RequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public PlansV2RequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link PlansV2RequestBuilder} 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 PlansV2RequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get a list of the plan objects owned by the group.
+ * @return a {@link PlanCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public PlanCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get a list of the plan objects owned by the group.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link PlanCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public PlanCollectionResponse 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, PlanCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Get a list of the plan objects owned by the group.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get a list of the plan objects owned by the group.
+ * @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 PlansV2RequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlansV2RequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new PlansV2RequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get a list of the plan objects owned by the group.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..067557b616b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.groups.item.planner.plans_v2.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/$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}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/item/PlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/item/PlanItemRequestBuilder.java
new file mode 100644
index 00000000000..eaead79b9b8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans_v2/item/PlanItemRequestBuilder.java
@@ -0,0 +1,129 @@
+package com.microsoft.graph.beta.groups.item.planner.plans_v2.item;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.Plan;
+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 plans_v2 property of the microsoft.graph.plannerGroup entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class PlanItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link PlanItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public PlanItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link PlanItemRequestBuilder} 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 PlanItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group.
+ * @return a {@link Plan}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Plan get() {
+ return get(null);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Plan}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Plan 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, Plan::createFromDiscriminatorValue);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group.
+ * @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 PlanItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlanItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new PlanItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
index 48e17599b78..467e785d74f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
@@ -36,7 +36,7 @@ public RevokeGrantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link Permission}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return post(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Permission}
@@ -63,7 +63,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return this.requestAdapter.send(requestInfo, errorMapping, Permission::createFromDiscriminatorValue);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
index e026ea884c0..42642b95335 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
@@ -36,7 +36,7 @@ public RevokeGrantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link Permission}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return post(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Permission}
@@ -63,7 +63,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return this.requestAdapter.send(requestInfo, errorMapping, Permission::createFromDiscriminatorValue);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
index 5d0e80ee135..5a21952b4c9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/item/revokegrants/RevokeGrantsRequestBuilder.java
@@ -36,7 +36,7 @@ public RevokeGrantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link Permission}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return post(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Permission}
@@ -63,7 +63,7 @@ public Permission post(@jakarta.annotation.Nonnull final RevokeGrantsPostRequest
return this.requestAdapter.send(requestInfo, errorMapping, Permission::createFromDiscriminatorValue);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
index 46c7705c098..a7bce014ed8 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
index f4dd0193991..fbbf98a42a4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/setreaction/SetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/setreaction/SetReactionPostRequestBody.java
index f25607185ee..57a4d0a1e8c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/setreaction/SetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/setreaction/SetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/unsetreaction/UnsetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
index 4dcf96e368b..53347393c2b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/PlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/PlannerRequestBuilder.java
index 301bdf935a9..1bd1e9c2373 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/PlannerRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/PlannerRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.beta.groups.item.team.channels.item.planner;
+import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans_v2.PlansV2RequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.PlansRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.graph.beta.models.TeamsChannelPlanner;
@@ -29,6 +30,14 @@ public class PlannerRequestBuilder extends BaseRequestBuilder {
public PlansRequestBuilder plans() {
return new PlansRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity.
+ * @return a {@link PlansV2RequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlansV2RequestBuilder plansV2() {
+ return new PlansV2RequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link PlannerRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/PlannerPlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
index 1ab39e82b65..d134ee76ec9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
@@ -3,6 +3,7 @@
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.archive.ArchiveRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.buckets.BucketsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.details.DetailsRequestBuilder;
+import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.extendexpiry.ExtendExpiryRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.getusagerights.GetUsageRightsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.goals.GoalsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.historyitems.HistoryItemsRequestBuilder;
@@ -53,6 +54,14 @@ public BucketsRequestBuilder buckets() {
public DetailsRequestBuilder details() {
return new DetailsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the extendExpiry method.
+ * @return a {@link ExtendExpiryRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ExtendExpiryRequestBuilder extendExpiry() {
+ return new ExtendExpiryRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the getUsageRights method.
* @return a {@link GetUsageRightsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java
new file mode 100644
index 00000000000..85164b50bbd
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java
@@ -0,0 +1,91 @@
+package com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.extendexpiry;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the extendExpiry method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ExtendExpiryRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ExtendExpiryRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ExtendExpiryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ExtendExpiryRequestBuilder} 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 ExtendExpiryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @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 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);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @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 ExtendExpiryRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ExtendExpiryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ExtendExpiryRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/PlansV2RequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/PlansV2RequestBuilder.java
new file mode 100644
index 00000000000..285979d357c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/PlansV2RequestBuilder.java
@@ -0,0 +1,187 @@
+package com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans_v2;
+
+import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans_v2.count.CountRequestBuilder;
+import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans_v2.item.PlanItemRequestBuilder;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.PlanCollectionResponse;
+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 plans_v2 property of the microsoft.graph.teamsChannelPlanner entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class PlansV2RequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity.
+ * @param planId The unique identifier of plan
+ * @return a {@link PlanItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlanItemRequestBuilder byPlanId(@jakarta.annotation.Nonnull final String planId) {
+ Objects.requireNonNull(planId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("plan%2Did", planId);
+ return new PlanItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link PlansV2RequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public PlansV2RequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link PlansV2RequestBuilder} 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 PlansV2RequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @return a {@link PlanCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link PlanCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanCollectionResponse 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, PlanCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @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 PlansV2RequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlansV2RequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new PlansV2RequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..5416b1c9b0d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans_v2.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/item/PlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/item/PlanItemRequestBuilder.java
new file mode 100644
index 00000000000..2aa9825eb98
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans_v2/item/PlanItemRequestBuilder.java
@@ -0,0 +1,129 @@
+package com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans_v2.item;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.Plan;
+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 plans_v2 property of the microsoft.graph.teamsChannelPlanner entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class PlanItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link PlanItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public PlanItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link PlanItemRequestBuilder} 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 PlanItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @return a {@link Plan}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Plan get() {
+ return get(null);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Plan}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Plan 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, Plan::createFromDiscriminatorValue);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @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 PlanItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlanItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new PlanItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
index 5617d442c4c..c0581ab9a56 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
index 404624a893a..5b4b24a4f17 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/setreaction/SetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/setreaction/SetReactionPostRequestBody.java
index 45c1d927928..218298eb48b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/setreaction/SetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/setreaction/SetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/unsetreaction/UnsetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
index e941a34c956..b66bd8c244d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/unsetreaction/UnsetReactionPostRequestBody.java
@@ -55,16 +55,34 @@ public Map getAdditionalData() {
public BackingStore getBackingStore() {
return this.backingStore;
}
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(1);
+ final HashMap> deserializerMap = new HashMap>(3);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
return deserializerMap;
}
+ /**
+ * Gets the reactionId property value. The reactionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionId() {
+ return this.backingStore.get("reactionId");
+ }
/**
* Gets the reactionType property value. The reactionType property
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("reactionId", this.getReactionId());
writer.writeStringValue("reactionType", this.getReactionType());
writer.writeAdditionalData(this.getAdditionalData());
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
Objects.requireNonNull(value);
this.backingStore = value;
}
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the reactionId property value. The reactionId property
+ * @param value Value to set for the reactionId property.
+ */
+ public void setReactionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionId", value);
+ }
/**
* Sets the reactionType property value. The reactionType property
* @param value Value to set for the reactionType property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/PlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/PlannerRequestBuilder.java
index 14aa3f35e70..dec7fe0bdb4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/PlannerRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/PlannerRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.beta.groups.item.team.primarychannel.planner;
+import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans_v2.PlansV2RequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.PlansRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.graph.beta.models.TeamsChannelPlanner;
@@ -29,6 +30,14 @@ public class PlannerRequestBuilder extends BaseRequestBuilder {
public PlansRequestBuilder plans() {
return new PlansRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity.
+ * @return a {@link PlansV2RequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlansV2RequestBuilder plansV2() {
+ return new PlansV2RequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link PlannerRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/PlannerPlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/PlannerPlanItemRequestBuilder.java
index e32be1e8f3b..0b58ca03666 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/PlannerPlanItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/PlannerPlanItemRequestBuilder.java
@@ -3,6 +3,7 @@
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.archive.ArchiveRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.buckets.BucketsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.details.DetailsRequestBuilder;
+import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.extendexpiry.ExtendExpiryRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.getusagerights.GetUsageRightsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.goals.GoalsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.historyitems.HistoryItemsRequestBuilder;
@@ -53,6 +54,14 @@ public BucketsRequestBuilder buckets() {
public DetailsRequestBuilder details() {
return new DetailsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the extendExpiry method.
+ * @return a {@link ExtendExpiryRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ExtendExpiryRequestBuilder extendExpiry() {
+ return new ExtendExpiryRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the getUsageRights method.
* @return a {@link GetUsageRightsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java
new file mode 100644
index 00000000000..829a65c6cc9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/extendexpiry/ExtendExpiryRequestBuilder.java
@@ -0,0 +1,91 @@
+package com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.extendexpiry;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the extendExpiry method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ExtendExpiryRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ExtendExpiryRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ExtendExpiryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ExtendExpiryRequestBuilder} 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 ExtendExpiryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @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 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);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Invoke action extendExpiry
+ * @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 ExtendExpiryRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ExtendExpiryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ExtendExpiryRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans_v2/PlansV2RequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans_v2/PlansV2RequestBuilder.java
new file mode 100644
index 00000000000..21128c1f016
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans_v2/PlansV2RequestBuilder.java
@@ -0,0 +1,187 @@
+package com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans_v2;
+
+import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans_v2.count.CountRequestBuilder;
+import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans_v2.item.PlanItemRequestBuilder;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.PlanCollectionResponse;
+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 plans_v2 property of the microsoft.graph.teamsChannelPlanner entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class PlansV2RequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity.
+ * @param planId The unique identifier of plan
+ * @return a {@link PlanItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public PlanItemRequestBuilder byPlanId(@jakarta.annotation.Nonnull final String planId) {
+ Objects.requireNonNull(planId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("plan%2Did", planId);
+ return new PlanItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link PlansV2RequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public PlansV2RequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link PlansV2RequestBuilder} 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 PlansV2RequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @return a {@link PlanCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link PlanCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer