Class ChangeNotificationCollection

java.lang.Object
com.microsoft.graph.models.ChangeNotificationCollection
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class ChangeNotificationCollection extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Change Notification Collection.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • validationTokens

      @SerializedName(value="validationTokens", alternate="ValidationTokens") @Expose @Nullable public List<String> validationTokens
      The Validation Tokens. Contains an array of JWT tokens generated by Microsoft Graph for the application to validate the origin of the notifications. Microsoft Graph generates a single token for each distinct app and tenant pair for an item if it exists in the value array. Keep in mind that notifications can contain a mix of items for various apps and tenants that subscribed using the same notification URL. Only provided for change notifications with resource data Optional.
    • value

      @SerializedName(value="value", alternate="Value") @Expose @Nullable public List<ChangeNotification> value
      The Value. The set of notifications being sent to the notification URL. Required.
  • Constructor Details

    • ChangeNotificationCollection

      public ChangeNotificationCollection()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to