_propDict)) { return $this->_propDict["validationTokens"]; } else { return null; } } /** * Sets the validationTokens * Contains an array of JSON web tokens (JWT) 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. * * @param string $val The value of the validationTokens * * @return ChangeNotificationCollection */ public function setValidationTokens($val) { $this->_propDict["validationTokens"] = $val; return $this; } /** * Gets the value * The set of notifications being sent to the notification URL. Required. * * @return ChangeNotification|null The value */ public function getValue() { if (array_key_exists("value", $this->_propDict)) { if (is_a($this->_propDict["value"], "\Microsoft\Graph\Model\ChangeNotification") || is_null($this->_propDict["value"])) { return $this->_propDict["value"]; } else { $this->_propDict["value"] = new ChangeNotification($this->_propDict["value"]); return $this->_propDict["value"]; } } return null; } /** * Sets the value * The set of notifications being sent to the notification URL. Required. * * @param ChangeNotification $val The value to assign to the value * * @return ChangeNotificationCollection The ChangeNotificationCollection */ public function setValue($val) { $this->_propDict["value"] = $val; return $this; } }