Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionthe OData type of the object as returned by the serviceThe Validation Tokens.The Value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
validationTokens
@SerializedName(value="validationTokens", alternate="ValidationTokens") @Expose @Nullable public List<String> validationTokensThe 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> valueThe 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:
additionalDataManagerin interfacecom.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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-