diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 01a8e06bf57..e0c58dd5932 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "6.28.0"
+ ".": "6.29.0"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1f10abfbba8..a7f043e0b38 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file.
+## [6.29.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.28.0...v6.29.0) (2025-02-18)
+
+
+### Features
+
+* add ChangeNotification models ([7fe8eaf](https://github.com/microsoftgraph/msgraph-sdk-java/commit/7fe8eafbc569b054835922941476c9fa08393c1c))
+* add ChangeNotification models ([fb57d04](https://github.com/microsoftgraph/msgraph-sdk-java/commit/fb57d0427cb95fc8ac731220b30557497618aec0))
+
## [6.28.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.27.0...v6.28.0) (2025-02-13)
diff --git a/README.md b/README.md
index 06463d6b9b4..3f7ce47d5a1 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
// x-release-please-start-version
- implementation 'com.microsoft.graph:microsoft-graph:6.28.0'
+ implementation 'com.microsoft.graph:microsoft-graph:6.29.0'
// x-release-please-end
// This dependency is only needed if you are using a TokenCredential object for authentication
implementation 'com.azure:azure-identity:1.15.0'
@@ -38,7 +38,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph
- 6.28.0
+ 6.29.0
diff --git a/android/build.gradle b/android/build.gradle
index 9330ab6157a..721c927a0d6 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -9,7 +9,7 @@ buildscript {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.1"
classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
- classpath "com.android.tools.build:gradle:8.8.0"
+ classpath "com.android.tools.build:gradle:8.8.1"
}
}
diff --git a/gradle.properties b/gradle.properties
index efcbd0e3ec5..3fc516ff7f4 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -29,7 +29,7 @@ mavenArtifactId = microsoft-graph
mavenMajorVersion = 6
# x-release-please-end
# x-release-please-start-minor
-mavenMinorVersion = 28
+mavenMinorVersion = 29
# x-release-please-end
# x-release-please-start-patch
mavenPatchVersion = 0
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 97da9a45a5e..17b9df69760 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -1,11 +1,11 @@
dependencies {
-
+
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
// Core Http library
- api 'com.microsoft.graph:microsoft-graph-core:3.5.0'
-
+ api 'com.microsoft.graph:microsoft-graph-core:3.6.0'
+
implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.8.2'
implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.8.2'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-json:1.8.2'
diff --git a/pom.xml b/pom.xml
index 1bf39a333ad..2c18dbb6de1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
com.microsoft.graph
microsoft-graph
- 6.28.0
+ 6.29.0
pom
diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java
index d85d6d5f4fe..405bdb525ee 100644
--- a/src/main/java/com/microsoft/graph/info/Constants.java
+++ b/src/main/java/com/microsoft/graph/info/Constants.java
@@ -4,7 +4,7 @@
public final class Constants {
/** The SDK version */
// x-release-please-start-version
- public static final String VERSION_NAME = "6.28.0";
+ public static final String VERSION_NAME = "6.29.0";
// x-release-please-end
}
diff --git a/src/main/java/com/microsoft/graph/models/ChangeNotification.java b/src/main/java/com/microsoft/graph/models/ChangeNotification.java
new file mode 100644
index 00000000000..8edde51498f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ChangeNotification.java
@@ -0,0 +1,282 @@
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.core.models.EncryptedContentBearer;
+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.time.OffsetDateTime;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+
+/**
+ * The {@link ChangeNotification} model with information on the change notification.
+ */
+public class ChangeNotification implements EncryptedContentBearer, AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ChangeNotification} and sets the default values.
+ */
+ public ChangeNotification() {
+ 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 ChangeNotification}
+ */
+ @jakarta.annotation.Nonnull
+ public static ChangeNotification createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ChangeNotification();
+ }
+ /**
+ * 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 changeType property value. The changeType property
+ * @return a {@link ChangeType}
+ */
+ @jakarta.annotation.Nullable
+ public ChangeType getChangeType() {
+ return this.backingStore.get("changeType");
+ }
+ /**
+ * Gets the clientState property value. The clientState property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getClientState() {
+ return this.backingStore.get("clientState");
+ }
+ /**
+ * Gets the encryptedContent property value. The encryptedContent property
+ * @return a {@link ChangeNotificationEncryptedContent}
+ */
+ @jakarta.annotation.Nullable
+ public ChangeNotificationEncryptedContent getEncryptedContent() {
+ return this.backingStore.get("encryptedContent");
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(11);
+ deserializerMap.put("changeType", (n) -> { this.setChangeType(n.getEnumValue(ChangeType::forValue)); });
+ deserializerMap.put("clientState", (n) -> { this.setClientState(n.getStringValue()); });
+ deserializerMap.put("encryptedContent", (n) -> { this.setEncryptedContent(n.getObjectValue(ChangeNotificationEncryptedContent::createFromDiscriminatorValue)); });
+ deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); });
+ deserializerMap.put("lifecycleEvent", (n) -> { this.setLifecycleEvent(n.getEnumValue(LifecycleEventType::forValue)); });
+ deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); });
+ deserializerMap.put("resource", (n) -> { this.setResource(n.getStringValue()); });
+ deserializerMap.put("resourceData", (n) -> { this.setResourceData(n.getObjectValue(ResourceData::createFromDiscriminatorValue)); });
+ deserializerMap.put("subscriptionExpirationDateTime", (n) -> { this.setSubscriptionExpirationDateTime(n.getOffsetDateTimeValue()); });
+ deserializerMap.put("subscriptionId", (n) -> { this.setSubscriptionId(n.getStringValue()); });
+ deserializerMap.put("tenantId", (n) -> { this.setTenantId(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the id property value. The id property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getId() {
+ return this.backingStore.get("id");
+ }
+ /**
+ * Gets the lifecycleEvent property value. The lifecycleEvent property
+ * @return a {@link LifecycleEventType}
+ */
+ @jakarta.annotation.Nullable
+ public LifecycleEventType getLifecycleEvent() {
+ return this.backingStore.get("lifecycleEvent");
+ }
+ /**
+ * Gets the @odata.type property value. The OdataType property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getOdataType() {
+ return this.backingStore.get("odataType");
+ }
+ /**
+ * Gets the resource property value. The resource property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getResource() {
+ return this.backingStore.get("resource");
+ }
+ /**
+ * Gets the resourceData property value. The resourceData property
+ * @return a {@link ResourceData}
+ */
+ @jakarta.annotation.Nullable
+ public ResourceData getResourceData() {
+ return this.backingStore.get("resourceData");
+ }
+ /**
+ * Gets the subscriptionExpirationDateTime property value. The subscriptionExpirationDateTime property
+ * @return a {@link OffsetDateTime}
+ */
+ @jakarta.annotation.Nullable
+ public OffsetDateTime getSubscriptionExpirationDateTime() {
+ return this.backingStore.get("subscriptionExpirationDateTime");
+ }
+ /**
+ * Gets the subscriptionId property value. The subscriptionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getSubscriptionId() {
+ return this.backingStore.get("subscriptionId");
+ }
+ /**
+ * Gets the tenantId property value. The tenantId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getTenantId() {
+ return this.backingStore.get("tenantId");
+ }
+ /**
+ * 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.writeEnumValue("changeType", this.getChangeType());
+ writer.writeStringValue("clientState", this.getClientState());
+ writer.writeObjectValue("encryptedContent", this.getEncryptedContent());
+ writer.writeStringValue("id", this.getId());
+ writer.writeEnumValue("lifecycleEvent", this.getLifecycleEvent());
+ writer.writeStringValue("@odata.type", this.getOdataType());
+ writer.writeStringValue("resource", this.getResource());
+ writer.writeObjectValue("resourceData", this.getResourceData());
+ writer.writeOffsetDateTimeValue("subscriptionExpirationDateTime", this.getSubscriptionExpirationDateTime());
+ writer.writeStringValue("subscriptionId", this.getSubscriptionId());
+ writer.writeStringValue("tenantId", this.getTenantId());
+ 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 changeType property value. The changeType property
+ * @param value Value to set for the changeType property.
+ */
+ public void setChangeType(@jakarta.annotation.Nullable final ChangeType value) {
+ this.backingStore.set("changeType", value);
+ }
+ /**
+ * Sets the clientState property value. The clientState property
+ * @param value Value to set for the clientState property.
+ */
+ public void setClientState(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("clientState", value);
+ }
+ /**
+ * Sets the encryptedContent property value. The encryptedContent property
+ * @param value Value to set for the encryptedContent property.
+ */
+ public void setEncryptedContent(@jakarta.annotation.Nullable final ChangeNotificationEncryptedContent value) {
+ this.backingStore.set("encryptedContent", value);
+ }
+ /**
+ * Sets the id property value. The id property
+ * @param value Value to set for the id property.
+ */
+ public void setId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("id", value);
+ }
+ /**
+ * Sets the lifecycleEvent property value. The lifecycleEvent property
+ * @param value Value to set for the lifecycleEvent property.
+ */
+ public void setLifecycleEvent(@jakarta.annotation.Nullable final LifecycleEventType value) {
+ this.backingStore.set("lifecycleEvent", value);
+ }
+ /**
+ * Sets the @odata.type property value. The OdataType property
+ * @param value Value to set for the @odata.type property.
+ */
+ public void setOdataType(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("odataType", value);
+ }
+ /**
+ * Sets the resource property value. The resource property
+ * @param value Value to set for the resource property.
+ */
+ public void setResource(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("resource", value);
+ }
+ /**
+ * Sets the resourceData property value. The resourceData property
+ * @param value Value to set for the resourceData property.
+ */
+ public void setResourceData(@jakarta.annotation.Nullable final ResourceData value) {
+ this.backingStore.set("resourceData", value);
+ }
+ /**
+ * Sets the subscriptionExpirationDateTime property value. The subscriptionExpirationDateTime property
+ * @param value Value to set for the subscriptionExpirationDateTime property.
+ */
+ public void setSubscriptionExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) {
+ this.backingStore.set("subscriptionExpirationDateTime", value);
+ }
+ /**
+ * Sets the subscriptionId property value. The subscriptionId property
+ * @param value Value to set for the subscriptionId property.
+ */
+ public void setSubscriptionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("subscriptionId", value);
+ }
+ /**
+ * Sets the tenantId property value. The tenantId property
+ * @param value Value to set for the tenantId property.
+ */
+ public void setTenantId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("tenantId", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ChangeNotificationCollection.java b/src/main/java/com/microsoft/graph/models/ChangeNotificationCollection.java
new file mode 100644
index 00000000000..97f48a8fb11
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ChangeNotificationCollection.java
@@ -0,0 +1,145 @@
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.core.models.TokenValidable;
+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;
+
+/**
+ * The {@link ChangeNotificationCollection} model.
+ */
+public class ChangeNotificationCollection implements TokenValidable, AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ChangeNotificationCollection} and sets the default values.
+ */
+ public ChangeNotificationCollection() {
+ 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 ChangeNotificationCollection}
+ */
+ @jakarta.annotation.Nonnull
+ public static ChangeNotificationCollection createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ChangeNotificationCollection();
+ }
+ /**
+ * 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>(3);
+ deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); });
+ deserializerMap.put("validationTokens", (n) -> { this.setValidationTokens(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ChangeNotification::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the @odata.type property value. The OdataType property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getOdataType() {
+ return this.backingStore.get("odataType");
+ }
+ /**
+ * Gets the validationTokens property value. The validationTokens property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValidationTokens() {
+ return this.backingStore.get("validationTokens");
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("@odata.type", this.getOdataType());
+ writer.writeCollectionOfPrimitiveValues("validationTokens", this.getValidationTokens());
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the @odata.type property value. The OdataType property
+ * @param value Value to set for the @odata.type property.
+ */
+ public void setOdataType(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("odataType", value);
+ }
+ /**
+ * Sets the validationTokens property value. The validationTokens property
+ * @param value Value to set for the validationTokens property.
+ */
+ public void setValidationTokens(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("validationTokens", value);
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ChangeNotificationCollectionResponse.java b/src/main/java/com/microsoft/graph/models/ChangeNotificationCollectionResponse.java
new file mode 100644
index 00000000000..cc801def717
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ChangeNotificationCollectionResponse.java
@@ -0,0 +1,65 @@
+package com.microsoft.graph.models;
+
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+
+
+/**
+ * The {@link ChangeNotificationCollectionResponse} model for the response.
+ */
+public class ChangeNotificationCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link ChangeNotificationCollectionResponse} and sets the default values.
+ */
+ public ChangeNotificationCollectionResponse() {
+ super();
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link ChangeNotificationCollectionResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static ChangeNotificationCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ChangeNotificationCollectionResponse();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ChangeNotification::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ChangeNotificationEncryptedContent.java b/src/main/java/com/microsoft/graph/models/ChangeNotificationEncryptedContent.java
new file mode 100644
index 00000000000..57756c7cbb5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ChangeNotificationEncryptedContent.java
@@ -0,0 +1,196 @@
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.core.models.DecryptableContent;
+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;
+
+/**
+ * The {@link ChangeNotificationEncryptedContent} model for the encrypted response.
+ */
+public class ChangeNotificationEncryptedContent implements DecryptableContent, AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ChangeNotificationEncryptedContent} and sets the default values.
+ */
+ public ChangeNotificationEncryptedContent() {
+ 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 ChangeNotificationEncryptedContent}
+ */
+ @jakarta.annotation.Nonnull
+ public static ChangeNotificationEncryptedContent createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ChangeNotificationEncryptedContent();
+ }
+ /**
+ * 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 data property value. The data property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getData() {
+ return this.backingStore.get("data");
+ }
+ /**
+ * Gets the dataKey property value. The dataKey property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDataKey() {
+ return this.backingStore.get("dataKey");
+ }
+ /**
+ * Gets the dataSignature property value. The dataSignature property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDataSignature() {
+ return this.backingStore.get("dataSignature");
+ }
+ /**
+ * Gets the encryptionCertificateId property value. The encryptionCertificateId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getEncryptionCertificateId() {
+ return this.backingStore.get("encryptionCertificateId");
+ }
+ /**
+ * Gets the encryptionCertificateThumbprint property value. The encryptionCertificateThumbprint property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getEncryptionCertificateThumbprint() {
+ return this.backingStore.get("encryptionCertificateThumbprint");
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(6);
+ deserializerMap.put("data", (n) -> { this.setData(n.getStringValue()); });
+ deserializerMap.put("dataKey", (n) -> { this.setDataKey(n.getStringValue()); });
+ deserializerMap.put("dataSignature", (n) -> { this.setDataSignature(n.getStringValue()); });
+ deserializerMap.put("encryptionCertificateId", (n) -> { this.setEncryptionCertificateId(n.getStringValue()); });
+ deserializerMap.put("encryptionCertificateThumbprint", (n) -> { this.setEncryptionCertificateThumbprint(n.getStringValue()); });
+ deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the @odata.type property value. The OdataType property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getOdataType() {
+ return this.backingStore.get("odataType");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("data", this.getData());
+ writer.writeStringValue("dataKey", this.getDataKey());
+ writer.writeStringValue("dataSignature", this.getDataSignature());
+ writer.writeStringValue("encryptionCertificateId", this.getEncryptionCertificateId());
+ writer.writeStringValue("encryptionCertificateThumbprint", this.getEncryptionCertificateThumbprint());
+ writer.writeStringValue("@odata.type", this.getOdataType());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the data property value. The data property
+ * @param value Value to set for the data property.
+ */
+ public void setData(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("data", value);
+ }
+ /**
+ * Sets the dataKey property value. The dataKey property
+ * @param value Value to set for the dataKey property.
+ */
+ public void setDataKey(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("dataKey", value);
+ }
+ /**
+ * Sets the dataSignature property value. The dataSignature property
+ * @param value Value to set for the dataSignature property.
+ */
+ public void setDataSignature(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("dataSignature", value);
+ }
+ /**
+ * Sets the encryptionCertificateId property value. The encryptionCertificateId property
+ * @param value Value to set for the encryptionCertificateId property.
+ */
+ public void setEncryptionCertificateId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("encryptionCertificateId", value);
+ }
+ /**
+ * Sets the encryptionCertificateThumbprint property value. The encryptionCertificateThumbprint property
+ * @param value Value to set for the encryptionCertificateThumbprint property.
+ */
+ public void setEncryptionCertificateThumbprint(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("encryptionCertificateThumbprint", value);
+ }
+ /**
+ * Sets the @odata.type property value. The OdataType property
+ * @param value Value to set for the @odata.type property.
+ */
+ public void setOdataType(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("odataType", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ChangeType.java b/src/main/java/com/microsoft/graph/models/ChangeType.java
new file mode 100644
index 00000000000..3db1e0df192
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ChangeType.java
@@ -0,0 +1,29 @@
+package com.microsoft.graph.models;
+
+import com.microsoft.kiota.serialization.ValuedEnum;
+import java.util.Objects;
+
+/**
+ * The {@link ChangeType} enum for type of change.
+ */
+public enum ChangeType implements ValuedEnum {
+ Created("created"),
+ Updated("updated"),
+ Deleted("deleted");
+ public final String value;
+ ChangeType(final String value) {
+ this.value = value;
+ }
+ @jakarta.annotation.Nonnull
+ public String getValue() { return this.value; }
+ @jakarta.annotation.Nullable
+ public static ChangeType forValue(@jakarta.annotation.Nonnull final String searchValue) {
+ Objects.requireNonNull(searchValue);
+ switch(searchValue) {
+ case "created": return Created;
+ case "updated": return Updated;
+ case "deleted": return Deleted;
+ default: return null;
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/LifecycleEventType.java b/src/main/java/com/microsoft/graph/models/LifecycleEventType.java
new file mode 100644
index 00000000000..0a8de303984
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/LifecycleEventType.java
@@ -0,0 +1,29 @@
+package com.microsoft.graph.models;
+
+import com.microsoft.kiota.serialization.ValuedEnum;
+import java.util.Objects;
+
+/**
+ * The {@link LifecycleEventType} enum for event status in the lifecycle.
+ */
+public enum LifecycleEventType implements ValuedEnum {
+ Missed("missed"),
+ SubscriptionRemoved("subscriptionRemoved"),
+ ReauthorizationRequired("reauthorizationRequired");
+ public final String value;
+ LifecycleEventType(final String value) {
+ this.value = value;
+ }
+ @jakarta.annotation.Nonnull
+ public String getValue() { return this.value; }
+ @jakarta.annotation.Nullable
+ public static LifecycleEventType forValue(@jakarta.annotation.Nonnull final String searchValue) {
+ Objects.requireNonNull(searchValue);
+ switch(searchValue) {
+ case "missed": return Missed;
+ case "subscriptionRemoved": return SubscriptionRemoved;
+ case "reauthorizationRequired": return ReauthorizationRequired;
+ default: return null;
+ }
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ResourceData.java b/src/main/java/com/microsoft/graph/models/ResourceData.java
new file mode 100644
index 00000000000..b0ee4482673
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ResourceData.java
@@ -0,0 +1,110 @@
+package com.microsoft.graph.models;
+
+import com.microsoft.kiota.serialization.AdditionalDataHolder;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import com.microsoft.kiota.store.BackedModel;
+import com.microsoft.kiota.store.BackingStore;
+import com.microsoft.kiota.store.BackingStoreFactorySingleton;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+
+/**
+ * The {@link ResourceData} model for data of the subscribed resource.
+ */
+public class ResourceData implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ResourceData} and sets the default values.
+ */
+ public ResourceData() {
+ 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 ResourceData}
+ */
+ @jakarta.annotation.Nonnull
+ public static ResourceData createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ResourceData();
+ }
+ /**
+ * 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("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the @odata.type property value. The OdataType property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getOdataType() {
+ return this.backingStore.get("odataType");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("@odata.type", this.getOdataType());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the @odata.type property value. The OdataType property
+ * @param value Value to set for the @odata.type property.
+ */
+ public void setOdataType(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("odataType", value);
+ }
+}