diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index c30703ca3f7..70d2076020f 100644 --- a/src/Core/GraphConstants.php +++ b/src/Core/GraphConstants.php @@ -9,9 +9,9 @@ * * @category Library * @package Microsoft.Graph -* @copyright 2018 Microsoft Corporation +* @copyright 2019 Microsoft Corporation * @license https://opensource.org/licenses/MIT MIT License -* @version GIT: 1.0.0 +* @version GIT: 1.11.0 * @link https://graph.microsoft.io/ */ @@ -24,7 +24,7 @@ final class GraphConstants const REST_ENDPOINT = "https://graph.microsoft.com/"; // Define HTTP request constants - const SDK_VERSION = "1.10.0"; + const SDK_VERSION = "1.11.0"; // Define error constants const MAX_PAGE_SIZE = 999; diff --git a/src/Model/Calendar.php b/src/Model/Calendar.php index 4a25c52aba2..da176f85d1e 100644 --- a/src/Model/Calendar.php +++ b/src/Model/Calendar.php @@ -239,121 +239,121 @@ public function setOwner($val) /** - * Gets the events - * The events in the calendar. Navigation property. Read-only. + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. * - * @return array The events + * @return array The singleValueExtendedProperties */ - public function getEvents() + public function getSingleValueExtendedProperties() { - if (array_key_exists("events", $this->_propDict)) { - return $this->_propDict["events"]; + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; } else { return null; } } /** - * Sets the events - * The events in the calendar. Navigation property. Read-only. + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. * - * @param Event $val The events + * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties * * @return Calendar */ - public function setEvents($val) + public function setSingleValueExtendedProperties($val) { - $this->_propDict["events"] = $val; + $this->_propDict["singleValueExtendedProperties"] = $val; return $this; } /** - * Gets the calendarView - * The calendar view for the calendar. Navigation property. Read-only. + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. * - * @return array The calendarView + * @return array The multiValueExtendedProperties */ - public function getCalendarView() + public function getMultiValueExtendedProperties() { - if (array_key_exists("calendarView", $this->_propDict)) { - return $this->_propDict["calendarView"]; + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; } else { return null; } } /** - * Sets the calendarView - * The calendar view for the calendar. Navigation property. Read-only. + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. * - * @param Event $val The calendarView + * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties * * @return Calendar */ - public function setCalendarView($val) + public function setMultiValueExtendedProperties($val) { - $this->_propDict["calendarView"] = $val; + $this->_propDict["multiValueExtendedProperties"] = $val; return $this; } /** - * Gets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. + * Gets the events + * The events in the calendar. Navigation property. Read-only. * - * @return array The singleValueExtendedProperties + * @return array The events */ - public function getSingleValueExtendedProperties() + public function getEvents() { - if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["singleValueExtendedProperties"]; + if (array_key_exists("events", $this->_propDict)) { + return $this->_propDict["events"]; } else { return null; } } /** - * Sets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. + * Sets the events + * The events in the calendar. Navigation property. Read-only. * - * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties + * @param Event $val The events * * @return Calendar */ - public function setSingleValueExtendedProperties($val) + public function setEvents($val) { - $this->_propDict["singleValueExtendedProperties"] = $val; + $this->_propDict["events"] = $val; return $this; } /** - * Gets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. + * Gets the calendarView + * The calendar view for the calendar. Navigation property. Read-only. * - * @return array The multiValueExtendedProperties + * @return array The calendarView */ - public function getMultiValueExtendedProperties() + public function getCalendarView() { - if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["multiValueExtendedProperties"]; + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; } else { return null; } } /** - * Sets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. + * Sets the calendarView + * The calendar view for the calendar. Navigation property. Read-only. * - * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties + * @param Event $val The calendarView * * @return Calendar */ - public function setMultiValueExtendedProperties($val) + public function setCalendarView($val) { - $this->_propDict["multiValueExtendedProperties"] = $val; + $this->_propDict["calendarView"] = $val; return $this; } diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 0590205a17e..1dc493b485d 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1001,36 +1001,6 @@ public function setChildren($val) } - /** - * Gets the extensions - * The collection of open extensions defined for the contact. Read-only. Nullable. - * - * @return array The extensions - */ - public function getExtensions() - { - if (array_key_exists("extensions", $this->_propDict)) { - return $this->_propDict["extensions"]; - } else { - return null; - } - } - - /** - * Sets the extensions - * The collection of open extensions defined for the contact. Read-only. Nullable. - * - * @param Extension $val The extensions - * - * @return Contact - */ - public function setExtensions($val) - { - $this->_propDict["extensions"] = $val; - return $this; - } - - /** * Gets the singleValueExtendedProperties * The collection of single-value extended properties defined for the contact. Read-only. Nullable. @@ -1123,4 +1093,34 @@ public function setPhoto($val) return $this; } + + /** + * Gets the extensions + * The collection of open extensions defined for the contact. Read-only. Nullable. + * + * @return array The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the contact. Read-only. Nullable. + * + * @param Extension $val The extensions + * + * @return Contact + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + } \ No newline at end of file diff --git a/src/Model/ContactFolder.php b/src/Model/ContactFolder.php index 4af752c0fe3..a732b3219c2 100644 --- a/src/Model/ContactFolder.php +++ b/src/Model/ContactFolder.php @@ -86,121 +86,121 @@ public function setDisplayName($val) /** - * Gets the contacts - * The contacts in the folder. Navigation property. Read-only. Nullable. + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. * - * @return array The contacts + * @return array The singleValueExtendedProperties */ - public function getContacts() + public function getSingleValueExtendedProperties() { - if (array_key_exists("contacts", $this->_propDict)) { - return $this->_propDict["contacts"]; + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; } else { return null; } } /** - * Sets the contacts - * The contacts in the folder. Navigation property. Read-only. Nullable. + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. * - * @param Contact $val The contacts + * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties * * @return ContactFolder */ - public function setContacts($val) + public function setSingleValueExtendedProperties($val) { - $this->_propDict["contacts"] = $val; + $this->_propDict["singleValueExtendedProperties"] = $val; return $this; } /** - * Gets the childFolders - * The collection of child folders in the folder. Navigation property. Read-only. Nullable. + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. * - * @return array The childFolders + * @return array The multiValueExtendedProperties */ - public function getChildFolders() + public function getMultiValueExtendedProperties() { - if (array_key_exists("childFolders", $this->_propDict)) { - return $this->_propDict["childFolders"]; + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; } else { return null; } } /** - * Sets the childFolders - * The collection of child folders in the folder. Navigation property. Read-only. Nullable. + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. * - * @param ContactFolder $val The childFolders + * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties * * @return ContactFolder */ - public function setChildFolders($val) + public function setMultiValueExtendedProperties($val) { - $this->_propDict["childFolders"] = $val; + $this->_propDict["multiValueExtendedProperties"] = $val; return $this; } /** - * Gets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. + * Gets the contacts + * The contacts in the folder. Navigation property. Read-only. Nullable. * - * @return array The singleValueExtendedProperties + * @return array The contacts */ - public function getSingleValueExtendedProperties() + public function getContacts() { - if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["singleValueExtendedProperties"]; + if (array_key_exists("contacts", $this->_propDict)) { + return $this->_propDict["contacts"]; } else { return null; } } /** - * Sets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. + * Sets the contacts + * The contacts in the folder. Navigation property. Read-only. Nullable. * - * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties + * @param Contact $val The contacts * * @return ContactFolder */ - public function setSingleValueExtendedProperties($val) + public function setContacts($val) { - $this->_propDict["singleValueExtendedProperties"] = $val; + $this->_propDict["contacts"] = $val; return $this; } /** - * Gets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. + * Gets the childFolders + * The collection of child folders in the folder. Navigation property. Read-only. Nullable. * - * @return array The multiValueExtendedProperties + * @return array The childFolders */ - public function getMultiValueExtendedProperties() + public function getChildFolders() { - if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["multiValueExtendedProperties"]; + if (array_key_exists("childFolders", $this->_propDict)) { + return $this->_propDict["childFolders"]; } else { return null; } } /** - * Sets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. + * Sets the childFolders + * The collection of child folders in the folder. Navigation property. Read-only. Nullable. * - * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties + * @param ContactFolder $val The childFolders * * @return ContactFolder */ - public function setMultiValueExtendedProperties($val) + public function setChildFolders($val) { - $this->_propDict["multiValueExtendedProperties"] = $val; + $this->_propDict["childFolders"] = $val; return $this; } diff --git a/src/Model/ConvertIdResult.php b/src/Model/ConvertIdResult.php new file mode 100644 index 00000000000..925114f2dec --- /dev/null +++ b/src/Model/ConvertIdResult.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["sourceId"]; + } else { + return null; + } + } + + /** + * Sets the sourceId + * The identifier that was converted. This value is the original, un-converted identifier. + * + * @param string $val The value of the sourceId + * + * @return ConvertIdResult + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + /** + * Gets the targetId + * The converted identifier. This value is not present if the conversion failed. + * + * @return string The targetId + */ + public function getTargetId() + { + if (array_key_exists("targetId", $this->_propDict)) { + return $this->_propDict["targetId"]; + } else { + return null; + } + } + + /** + * Sets the targetId + * The converted identifier. This value is not present if the conversion failed. + * + * @param string $val The value of the targetId + * + * @return ConvertIdResult + */ + public function setTargetId($val) + { + $this->_propDict["targetId"] = $val; + return $this; + } + + /** + * Gets the errorDetails + * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. + * + * @return GenericError The errorDetails + */ + public function getErrorDetails() + { + if (array_key_exists("errorDetails", $this->_propDict)) { + if (is_a($this->_propDict["errorDetails"], "Microsoft\Graph\Model\GenericError")) { + return $this->_propDict["errorDetails"]; + } else { + $this->_propDict["errorDetails"] = new GenericError($this->_propDict["errorDetails"]); + return $this->_propDict["errorDetails"]; + } + } + return null; + } + + /** + * Sets the errorDetails + * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. + * + * @param GenericError $val The value to assign to the errorDetails + * + * @return ConvertIdResult The ConvertIdResult + */ + public function setErrorDetails($val) + { + $this->_propDict["errorDetails"] = $val; + return $this; + } +} diff --git a/src/Model/DateTimeTimeZone.php b/src/Model/DateTimeTimeZone.php index 376e4b4ed0d..ba0c2b08988 100644 --- a/src/Model/DateTimeTimeZone.php +++ b/src/Model/DateTimeTimeZone.php @@ -55,7 +55,7 @@ public function setDateTime($val) } /** * Gets the timeZone - * One of the following time zone names. + * Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. * * @return string The timeZone */ @@ -70,7 +70,7 @@ public function getTimeZone() /** * Sets the timeZone - * One of the following time zone names. + * Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. * * @param string $val The value of the timeZone * diff --git a/src/Model/DeviceAppManagement.php b/src/Model/DeviceAppManagement.php index 8b19844ffb7..e2b76200392 100644 --- a/src/Model/DeviceAppManagement.php +++ b/src/Model/DeviceAppManagement.php @@ -151,6 +151,36 @@ public function setMicrosoftStoreForBusinessLastCompletedApplicationSyncTime($va } + /** + * Gets the managedEBooks + * The Managed eBook. + * + * @return array The managedEBooks + */ + public function getManagedEBooks() + { + if (array_key_exists("managedEBooks", $this->_propDict)) { + return $this->_propDict["managedEBooks"]; + } else { + return null; + } + } + + /** + * Sets the managedEBooks + * The Managed eBook. + * + * @param ManagedEBook $val The managedEBooks + * + * @return DeviceAppManagement + */ + public function setManagedEBooks($val) + { + $this->_propDict["managedEBooks"] = $val; + return $this; + } + + /** * Gets the mobileApps * The mobile apps. @@ -540,34 +570,4 @@ public function setManagedAppStatuses($val) return $this; } - - /** - * Gets the managedEBooks - * The Managed eBook. - * - * @return array The managedEBooks - */ - public function getManagedEBooks() - { - if (array_key_exists("managedEBooks", $this->_propDict)) { - return $this->_propDict["managedEBooks"]; - } else { - return null; - } - } - - /** - * Sets the managedEBooks - * The Managed eBook. - * - * @param ManagedEBook $val The managedEBooks - * - * @return DeviceAppManagement - */ - public function setManagedEBooks($val) - { - $this->_propDict["managedEBooks"] = $val; - return $this; - } - } \ No newline at end of file diff --git a/src/Model/DeviceManagement.php b/src/Model/DeviceManagement.php index cca199128a3..c4470a85324 100644 --- a/src/Model/DeviceManagement.php +++ b/src/Model/DeviceManagement.php @@ -26,39 +26,6 @@ */ class DeviceManagement extends Entity { - /** - * Gets the subscriptionState - * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. - * - * @return DeviceManagementSubscriptionState The subscriptionState - */ - public function getSubscriptionState() - { - if (array_key_exists("subscriptionState", $this->_propDict)) { - if (is_a($this->_propDict["subscriptionState"], "Microsoft\Graph\Model\DeviceManagementSubscriptionState")) { - return $this->_propDict["subscriptionState"]; - } else { - $this->_propDict["subscriptionState"] = new DeviceManagementSubscriptionState($this->_propDict["subscriptionState"]); - return $this->_propDict["subscriptionState"]; - } - } - return null; - } - - /** - * Sets the subscriptionState - * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. - * - * @param DeviceManagementSubscriptionState $val The subscriptionState - * - * @return DeviceManagement - */ - public function setSubscriptionState($val) - { - $this->_propDict["subscriptionState"] = $val; - return $this; - } - /** * Gets the settings * Account level settings. @@ -125,159 +92,66 @@ public function setIntuneBrand($val) return $this; } - - /** - * Gets the termsAndConditions - * The terms and conditions associated with device management of the company. - * - * @return array The termsAndConditions - */ - public function getTermsAndConditions() - { - if (array_key_exists("termsAndConditions", $this->_propDict)) { - return $this->_propDict["termsAndConditions"]; - } else { - return null; - } - } - - /** - * Sets the termsAndConditions - * The terms and conditions associated with device management of the company. - * - * @param TermsAndConditions $val The termsAndConditions - * - * @return DeviceManagement - */ - public function setTermsAndConditions($val) - { - $this->_propDict["termsAndConditions"] = $val; - return $this; - } - - /** - * Gets the applePushNotificationCertificate - * Apple push notification certificate. - * - * @return ApplePushNotificationCertificate The applePushNotificationCertificate - */ - public function getApplePushNotificationCertificate() - { - if (array_key_exists("applePushNotificationCertificate", $this->_propDict)) { - if (is_a($this->_propDict["applePushNotificationCertificate"], "Microsoft\Graph\Model\ApplePushNotificationCertificate")) { - return $this->_propDict["applePushNotificationCertificate"]; - } else { - $this->_propDict["applePushNotificationCertificate"] = new ApplePushNotificationCertificate($this->_propDict["applePushNotificationCertificate"]); - return $this->_propDict["applePushNotificationCertificate"]; - } - } - return null; - } - - /** - * Sets the applePushNotificationCertificate - * Apple push notification certificate. - * - * @param ApplePushNotificationCertificate $val The applePushNotificationCertificate - * - * @return DeviceManagement - */ - public function setApplePushNotificationCertificate($val) - { - $this->_propDict["applePushNotificationCertificate"] = $val; - return $this; - } - /** - * Gets the managedDeviceOverview - * Device overview + * Gets the subscriptionState + * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. * - * @return ManagedDeviceOverview The managedDeviceOverview + * @return DeviceManagementSubscriptionState The subscriptionState */ - public function getManagedDeviceOverview() + public function getSubscriptionState() { - if (array_key_exists("managedDeviceOverview", $this->_propDict)) { - if (is_a($this->_propDict["managedDeviceOverview"], "Microsoft\Graph\Model\ManagedDeviceOverview")) { - return $this->_propDict["managedDeviceOverview"]; + if (array_key_exists("subscriptionState", $this->_propDict)) { + if (is_a($this->_propDict["subscriptionState"], "Microsoft\Graph\Model\DeviceManagementSubscriptionState")) { + return $this->_propDict["subscriptionState"]; } else { - $this->_propDict["managedDeviceOverview"] = new ManagedDeviceOverview($this->_propDict["managedDeviceOverview"]); - return $this->_propDict["managedDeviceOverview"]; + $this->_propDict["subscriptionState"] = new DeviceManagementSubscriptionState($this->_propDict["subscriptionState"]); + return $this->_propDict["subscriptionState"]; } } return null; } /** - * Sets the managedDeviceOverview - * Device overview - * - * @param ManagedDeviceOverview $val The managedDeviceOverview - * - * @return DeviceManagement - */ - public function setManagedDeviceOverview($val) - { - $this->_propDict["managedDeviceOverview"] = $val; - return $this; - } - - - /** - * Gets the detectedApps - * The list of detected apps associated with a device. - * - * @return array The detectedApps - */ - public function getDetectedApps() - { - if (array_key_exists("detectedApps", $this->_propDict)) { - return $this->_propDict["detectedApps"]; - } else { - return null; - } - } - - /** - * Sets the detectedApps - * The list of detected apps associated with a device. + * Sets the subscriptionState + * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. * - * @param DetectedApp $val The detectedApps + * @param DeviceManagementSubscriptionState $val The subscriptionState * * @return DeviceManagement */ - public function setDetectedApps($val) + public function setSubscriptionState($val) { - $this->_propDict["detectedApps"] = $val; + $this->_propDict["subscriptionState"] = $val; return $this; } /** - * Gets the managedDevices - * The list of managed devices. + * Gets the termsAndConditions + * The terms and conditions associated with device management of the company. * - * @return array The managedDevices + * @return array The termsAndConditions */ - public function getManagedDevices() + public function getTermsAndConditions() { - if (array_key_exists("managedDevices", $this->_propDict)) { - return $this->_propDict["managedDevices"]; + if (array_key_exists("termsAndConditions", $this->_propDict)) { + return $this->_propDict["termsAndConditions"]; } else { return null; } } /** - * Sets the managedDevices - * The list of managed devices. + * Sets the termsAndConditions + * The terms and conditions associated with device management of the company. * - * @param ManagedDevice $val The managedDevices + * @param TermsAndConditions $val The termsAndConditions * * @return DeviceManagement */ - public function setManagedDevices($val) + public function setTermsAndConditions($val) { - $this->_propDict["managedDevices"] = $val; + $this->_propDict["termsAndConditions"] = $val; return $this; } @@ -683,6 +557,132 @@ public function setDeviceManagementPartners($val) return $this; } + /** + * Gets the applePushNotificationCertificate + * Apple push notification certificate. + * + * @return ApplePushNotificationCertificate The applePushNotificationCertificate + */ + public function getApplePushNotificationCertificate() + { + if (array_key_exists("applePushNotificationCertificate", $this->_propDict)) { + if (is_a($this->_propDict["applePushNotificationCertificate"], "Microsoft\Graph\Model\ApplePushNotificationCertificate")) { + return $this->_propDict["applePushNotificationCertificate"]; + } else { + $this->_propDict["applePushNotificationCertificate"] = new ApplePushNotificationCertificate($this->_propDict["applePushNotificationCertificate"]); + return $this->_propDict["applePushNotificationCertificate"]; + } + } + return null; + } + + /** + * Sets the applePushNotificationCertificate + * Apple push notification certificate. + * + * @param ApplePushNotificationCertificate $val The applePushNotificationCertificate + * + * @return DeviceManagement + */ + public function setApplePushNotificationCertificate($val) + { + $this->_propDict["applePushNotificationCertificate"] = $val; + return $this; + } + + /** + * Gets the managedDeviceOverview + * Device overview + * + * @return ManagedDeviceOverview The managedDeviceOverview + */ + public function getManagedDeviceOverview() + { + if (array_key_exists("managedDeviceOverview", $this->_propDict)) { + if (is_a($this->_propDict["managedDeviceOverview"], "Microsoft\Graph\Model\ManagedDeviceOverview")) { + return $this->_propDict["managedDeviceOverview"]; + } else { + $this->_propDict["managedDeviceOverview"] = new ManagedDeviceOverview($this->_propDict["managedDeviceOverview"]); + return $this->_propDict["managedDeviceOverview"]; + } + } + return null; + } + + /** + * Sets the managedDeviceOverview + * Device overview + * + * @param ManagedDeviceOverview $val The managedDeviceOverview + * + * @return DeviceManagement + */ + public function setManagedDeviceOverview($val) + { + $this->_propDict["managedDeviceOverview"] = $val; + return $this; + } + + + /** + * Gets the detectedApps + * The list of detected apps associated with a device. + * + * @return array The detectedApps + */ + public function getDetectedApps() + { + if (array_key_exists("detectedApps", $this->_propDict)) { + return $this->_propDict["detectedApps"]; + } else { + return null; + } + } + + /** + * Sets the detectedApps + * The list of detected apps associated with a device. + * + * @param DetectedApp $val The detectedApps + * + * @return DeviceManagement + */ + public function setDetectedApps($val) + { + $this->_propDict["detectedApps"] = $val; + return $this; + } + + + /** + * Gets the managedDevices + * The list of managed devices. + * + * @return array The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The list of managed devices. + * + * @param ManagedDevice $val The managedDevices + * + * @return DeviceManagement + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + /** * Gets the notificationMessageTemplates @@ -804,6 +804,36 @@ public function setResourceOperations($val) } + /** + * Gets the remoteAssistancePartners + * The remote assist partners. + * + * @return array The remoteAssistancePartners + */ + public function getRemoteAssistancePartners() + { + if (array_key_exists("remoteAssistancePartners", $this->_propDict)) { + return $this->_propDict["remoteAssistancePartners"]; + } else { + return null; + } + } + + /** + * Sets the remoteAssistancePartners + * The remote assist partners. + * + * @param RemoteAssistancePartner $val The remoteAssistancePartners + * + * @return DeviceManagement + */ + public function setRemoteAssistancePartners($val) + { + $this->_propDict["remoteAssistancePartners"] = $val; + return $this; + } + + /** * Gets the telecomExpenseManagementPartners * The telecom expense management partners. @@ -835,31 +865,31 @@ public function setTelecomExpenseManagementPartners($val) /** - * Gets the remoteAssistancePartners - * The remote assist partners. + * Gets the troubleshootingEvents + * The list of troubleshooting events for the tenant. * - * @return array The remoteAssistancePartners + * @return array The troubleshootingEvents */ - public function getRemoteAssistancePartners() + public function getTroubleshootingEvents() { - if (array_key_exists("remoteAssistancePartners", $this->_propDict)) { - return $this->_propDict["remoteAssistancePartners"]; + if (array_key_exists("troubleshootingEvents", $this->_propDict)) { + return $this->_propDict["troubleshootingEvents"]; } else { return null; } } /** - * Sets the remoteAssistancePartners - * The remote assist partners. + * Sets the troubleshootingEvents + * The list of troubleshooting events for the tenant. * - * @param RemoteAssistancePartner $val The remoteAssistancePartners + * @param DeviceManagementTroubleshootingEvent $val The troubleshootingEvents * * @return DeviceManagement */ - public function setRemoteAssistancePartners($val) + public function setTroubleshootingEvents($val) { - $this->_propDict["remoteAssistancePartners"] = $val; + $this->_propDict["troubleshootingEvents"] = $val; return $this; } @@ -923,34 +953,4 @@ public function setWindowsInformationProtectionNetworkLearningSummaries($val) return $this; } - - /** - * Gets the troubleshootingEvents - * The list of troubleshooting events for the tenant. - * - * @return array The troubleshootingEvents - */ - public function getTroubleshootingEvents() - { - if (array_key_exists("troubleshootingEvents", $this->_propDict)) { - return $this->_propDict["troubleshootingEvents"]; - } else { - return null; - } - } - - /** - * Sets the troubleshootingEvents - * The list of troubleshooting events for the tenant. - * - * @param DeviceManagementTroubleshootingEvent $val The troubleshootingEvents - * - * @return DeviceManagement - */ - public function setTroubleshootingEvents($val) - { - $this->_propDict["troubleshootingEvents"] = $val; - return $this; - } - } \ No newline at end of file diff --git a/src/Model/Domain.php b/src/Model/Domain.php index 04ae4d956f6..0e406bc5584 100644 --- a/src/Model/Domain.php +++ b/src/Model/Domain.php @@ -28,7 +28,7 @@ class Domain extends Entity { /** * Gets the authenticationType - * Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable + * Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable. * * @return string The authenticationType */ @@ -43,7 +43,7 @@ public function getAuthenticationType() /** * Sets the authenticationType - * Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable + * Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable. * * @param string $val The authenticationType * diff --git a/src/Model/DriveItem.php b/src/Model/DriveItem.php index da0ba672fa8..9862c2513b4 100644 --- a/src/Model/DriveItem.php +++ b/src/Model/DriveItem.php @@ -707,6 +707,39 @@ public function setWebDavUrl($val) return $this; } + /** + * Gets the workbook + * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * + * @return Workbook The workbook + */ + public function getWorkbook() + { + if (array_key_exists("workbook", $this->_propDict)) { + if (is_a($this->_propDict["workbook"], "Microsoft\Graph\Model\Workbook")) { + return $this->_propDict["workbook"]; + } else { + $this->_propDict["workbook"] = new Workbook($this->_propDict["workbook"]); + return $this->_propDict["workbook"]; + } + } + return null; + } + + /** + * Sets the workbook + * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * + * @param Workbook $val The workbook + * + * @return DriveItem + */ + public function setWorkbook($val) + { + $this->_propDict["workbook"] = $val; + return $this; + } + /** * Gets the analytics * Analytics about the view activities that took place on this item. @@ -923,37 +956,4 @@ public function setVersions($val) return $this; } - /** - * Gets the workbook - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. - * - * @return Workbook The workbook - */ - public function getWorkbook() - { - if (array_key_exists("workbook", $this->_propDict)) { - if (is_a($this->_propDict["workbook"], "Microsoft\Graph\Model\Workbook")) { - return $this->_propDict["workbook"]; - } else { - $this->_propDict["workbook"] = new Workbook($this->_propDict["workbook"]); - return $this->_propDict["workbook"]; - } - } - return null; - } - - /** - * Sets the workbook - * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. - * - * @param Workbook $val The workbook - * - * @return DriveItem - */ - public function setWorkbook($val) - { - $this->_propDict["workbook"] = $val; - return $this; - } - } \ No newline at end of file diff --git a/src/Model/EducationUser.php b/src/Model/EducationUser.php index 615fa066579..5c1651aaf88 100644 --- a/src/Model/EducationUser.php +++ b/src/Model/EducationUser.php @@ -222,7 +222,7 @@ public function setStudent($val) /** * Gets the teacher - * If the primary role is teacher, this block will conatin teacher specific data. + * If the primary role is teacher, this block will contain teacher specific data. * * @return EducationTeacher The teacher */ @@ -241,7 +241,7 @@ public function getTeacher() /** * Sets the teacher - * If the primary role is teacher, this block will conatin teacher specific data. + * If the primary role is teacher, this block will contain teacher specific data. * * @param EducationTeacher $val The teacher * diff --git a/src/Model/Event.php b/src/Model/Event.php index 8ba62b03aa8..3f4ce2b3771 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -392,7 +392,7 @@ public function setSensitivity($val) /** * Gets the start - * The date, time, and time zone that the event starts. + * The date, time, and time zone that the event starts. By default, the start time is in UTC. * * @return DateTimeTimeZone The start */ @@ -411,7 +411,7 @@ public function getStart() /** * Sets the start - * The date, time, and time zone that the event starts. + * The date, time, and time zone that the event starts. By default, the start time is in UTC. * * @param DateTimeTimeZone $val The start * @@ -458,7 +458,7 @@ public function setOriginalStart($val) /** * Gets the end - * The date, time, and time zone that the event ends. + * The date, time, and time zone that the event ends. By default, the end time is in UTC. * * @return DateTimeTimeZone The end */ @@ -477,7 +477,7 @@ public function getEnd() /** * Sets the end - * The date, time, and time zone that the event ends. + * The date, time, and time zone that the event ends. By default, the end time is in UTC. * * @param DateTimeTimeZone $val The end * @@ -861,7 +861,7 @@ public function setOrganizer($val) /** * Gets the webLink - * The URL to open the event in Outlook Web App.The event will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. + * The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL can be accessed from within an iFrame. * * @return string The webLink */ @@ -876,7 +876,7 @@ public function getWebLink() /** * Sets the webLink - * The URL to open the event in Outlook Web App.The event will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. + * The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL can be accessed from within an iFrame. * * @param string $val The webLink * @@ -917,186 +917,186 @@ public function setOnlineMeetingUrl($val) return $this; } - /** - * Gets the calendar - * The calendar that contains the event. Navigation property. Read-only. - * - * @return Calendar The calendar - */ - public function getCalendar() + + /** + * Gets the attachments + * The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable. + * + * @return array The attachments + */ + public function getAttachments() { - if (array_key_exists("calendar", $this->_propDict)) { - if (is_a($this->_propDict["calendar"], "Microsoft\Graph\Model\Calendar")) { - return $this->_propDict["calendar"]; - } else { - $this->_propDict["calendar"] = new Calendar($this->_propDict["calendar"]); - return $this->_propDict["calendar"]; - } + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; } - return null; } - /** - * Sets the calendar - * The calendar that contains the event. Navigation property. Read-only. + /** + * Sets the attachments + * The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable. * - * @param Calendar $val The calendar + * @param Attachment $val The attachments * * @return Event */ - public function setCalendar($val) + public function setAttachments($val) { - $this->_propDict["calendar"] = $val; + $this->_propDict["attachments"] = $val; return $this; } /** - * Gets the instances - * The instances of the event. Navigation property. Read-only. Nullable. + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the event. Read-only. Nullable. * - * @return array The instances + * @return array The singleValueExtendedProperties */ - public function getInstances() + public function getSingleValueExtendedProperties() { - if (array_key_exists("instances", $this->_propDict)) { - return $this->_propDict["instances"]; + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; } else { return null; } } /** - * Sets the instances - * The instances of the event. Navigation property. Read-only. Nullable. + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the event. Read-only. Nullable. * - * @param Event $val The instances + * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties * * @return Event */ - public function setInstances($val) + public function setSingleValueExtendedProperties($val) { - $this->_propDict["instances"] = $val; + $this->_propDict["singleValueExtendedProperties"] = $val; return $this; } /** - * Gets the extensions - * The collection of open extensions defined for the event. Read-only. Nullable. + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the event. Read-only. Nullable. * - * @return array The extensions + * @return array The multiValueExtendedProperties */ - public function getExtensions() + public function getMultiValueExtendedProperties() { - if (array_key_exists("extensions", $this->_propDict)) { - return $this->_propDict["extensions"]; + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; } else { return null; } } /** - * Sets the extensions - * The collection of open extensions defined for the event. Read-only. Nullable. + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the event. Read-only. Nullable. * - * @param Extension $val The extensions + * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties * * @return Event */ - public function setExtensions($val) + public function setMultiValueExtendedProperties($val) { - $this->_propDict["extensions"] = $val; + $this->_propDict["multiValueExtendedProperties"] = $val; return $this; } - - /** - * Gets the attachments - * The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable. - * - * @return array The attachments - */ - public function getAttachments() + /** + * Gets the calendar + * The calendar that contains the event. Navigation property. Read-only. + * + * @return Calendar The calendar + */ + public function getCalendar() { - if (array_key_exists("attachments", $this->_propDict)) { - return $this->_propDict["attachments"]; - } else { - return null; + if (array_key_exists("calendar", $this->_propDict)) { + if (is_a($this->_propDict["calendar"], "Microsoft\Graph\Model\Calendar")) { + return $this->_propDict["calendar"]; + } else { + $this->_propDict["calendar"] = new Calendar($this->_propDict["calendar"]); + return $this->_propDict["calendar"]; + } } + return null; } - /** - * Sets the attachments - * The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable. + /** + * Sets the calendar + * The calendar that contains the event. Navigation property. Read-only. * - * @param Attachment $val The attachments + * @param Calendar $val The calendar * * @return Event */ - public function setAttachments($val) + public function setCalendar($val) { - $this->_propDict["attachments"] = $val; + $this->_propDict["calendar"] = $val; return $this; } /** - * Gets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the event. Read-only. Nullable. + * Gets the instances + * The instances of the event. Navigation property. Read-only. Nullable. * - * @return array The singleValueExtendedProperties + * @return array The instances */ - public function getSingleValueExtendedProperties() + public function getInstances() { - if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["singleValueExtendedProperties"]; + if (array_key_exists("instances", $this->_propDict)) { + return $this->_propDict["instances"]; } else { return null; } } /** - * Sets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the event. Read-only. Nullable. + * Sets the instances + * The instances of the event. Navigation property. Read-only. Nullable. * - * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties + * @param Event $val The instances * * @return Event */ - public function setSingleValueExtendedProperties($val) + public function setInstances($val) { - $this->_propDict["singleValueExtendedProperties"] = $val; + $this->_propDict["instances"] = $val; return $this; } /** - * Gets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the event. Read-only. Nullable. + * Gets the extensions + * The collection of open extensions defined for the event. Read-only. Nullable. * - * @return array The multiValueExtendedProperties + * @return array The extensions */ - public function getMultiValueExtendedProperties() + public function getExtensions() { - if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["multiValueExtendedProperties"]; + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; } else { return null; } } /** - * Sets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the event. Read-only. Nullable. + * Sets the extensions + * The collection of open extensions defined for the event. Read-only. Nullable. * - * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties + * @param Extension $val The extensions * * @return Event */ - public function setMultiValueExtendedProperties($val) + public function setExtensions($val) { - $this->_propDict["multiValueExtendedProperties"] = $val; + $this->_propDict["extensions"] = $val; return $this; } diff --git a/src/Model/ExchangeIdFormat.php b/src/Model/ExchangeIdFormat.php new file mode 100644 index 00000000000..5b29f7f3d87 --- /dev/null +++ b/src/Model/ExchangeIdFormat.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return GenericError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the code + * The error code. + * + * @return string The code + */ + public function getCode() + { + if (array_key_exists("code", $this->_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return GenericError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } +} diff --git a/src/Model/Group.php b/src/Model/Group.php index fb8b9d09c72..9402ab75539 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -597,7 +597,7 @@ public function setSecurityEnabled($val) /** * Gets the visibility - * Specifies the visibility of an Office 365 group. Possible values are: private, public, or hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default. + * Specifies the visibility of an Office 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default. * * @return string The visibility */ @@ -612,7 +612,7 @@ public function getVisibility() /** * Sets the visibility - * Specifies the visibility of an Office 365 group. Possible values are: private, public, or hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default. + * Specifies the visibility of an Office 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default. * * @param string $val The visibility * @@ -1008,31 +1008,121 @@ public function setSettings($val) /** - * Gets the extensions - * The collection of open extensions defined for the group. Read-only. Nullable. + * Gets the conversations + * The group's conversations. * - * @return array The extensions + * @return array The conversations */ - public function getExtensions() + public function getConversations() { - if (array_key_exists("extensions", $this->_propDict)) { - return $this->_propDict["extensions"]; + if (array_key_exists("conversations", $this->_propDict)) { + return $this->_propDict["conversations"]; } else { return null; } } /** - * Sets the extensions - * The collection of open extensions defined for the group. Read-only. Nullable. + * Sets the conversations + * The group's conversations. * - * @param Extension $val The extensions + * @param Conversation $val The conversations * * @return Group */ - public function setExtensions($val) + public function setConversations($val) { - $this->_propDict["extensions"] = $val; + $this->_propDict["conversations"] = $val; + return $this; + } + + + /** + * Gets the photos + * The profile photos owned by the group. Read-only. Nullable. + * + * @return array The photos + */ + public function getPhotos() + { + if (array_key_exists("photos", $this->_propDict)) { + return $this->_propDict["photos"]; + } else { + return null; + } + } + + /** + * Sets the photos + * The profile photos owned by the group. Read-only. Nullable. + * + * @param ProfilePhoto $val The photos + * + * @return Group + */ + public function setPhotos($val) + { + $this->_propDict["photos"] = $val; + return $this; + } + + + /** + * Gets the acceptedSenders + * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + * + * @return array The acceptedSenders + */ + public function getAcceptedSenders() + { + if (array_key_exists("acceptedSenders", $this->_propDict)) { + return $this->_propDict["acceptedSenders"]; + } else { + return null; + } + } + + /** + * Sets the acceptedSenders + * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + * + * @param DirectoryObject $val The acceptedSenders + * + * @return Group + */ + public function setAcceptedSenders($val) + { + $this->_propDict["acceptedSenders"] = $val; + return $this; + } + + + /** + * Gets the rejectedSenders + * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + * + * @return array The rejectedSenders + */ + public function getRejectedSenders() + { + if (array_key_exists("rejectedSenders", $this->_propDict)) { + return $this->_propDict["rejectedSenders"]; + } else { + return null; + } + } + + /** + * Sets the rejectedSenders + * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + * + * @param DirectoryObject $val The rejectedSenders + * + * @return Group + */ + public function setRejectedSenders($val) + { + $this->_propDict["rejectedSenders"] = $val; return $this; } @@ -1159,36 +1249,6 @@ public function setEvents($val) return $this; } - - /** - * Gets the conversations - * The group's conversations. - * - * @return array The conversations - */ - public function getConversations() - { - if (array_key_exists("conversations", $this->_propDict)) { - return $this->_propDict["conversations"]; - } else { - return null; - } - } - - /** - * Sets the conversations - * The group's conversations. - * - * @param Conversation $val The conversations - * - * @return Group - */ - public function setConversations($val) - { - $this->_propDict["conversations"] = $val; - return $this; - } - /** * Gets the photo * The group's profile photo @@ -1222,96 +1282,6 @@ public function setPhoto($val) return $this; } - - /** - * Gets the photos - * The profile photos owned by the group. Read-only. Nullable. - * - * @return array The photos - */ - public function getPhotos() - { - if (array_key_exists("photos", $this->_propDict)) { - return $this->_propDict["photos"]; - } else { - return null; - } - } - - /** - * Sets the photos - * The profile photos owned by the group. Read-only. Nullable. - * - * @param ProfilePhoto $val The photos - * - * @return Group - */ - public function setPhotos($val) - { - $this->_propDict["photos"] = $val; - return $this; - } - - - /** - * Gets the acceptedSenders - * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. - * - * @return array The acceptedSenders - */ - public function getAcceptedSenders() - { - if (array_key_exists("acceptedSenders", $this->_propDict)) { - return $this->_propDict["acceptedSenders"]; - } else { - return null; - } - } - - /** - * Sets the acceptedSenders - * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. - * - * @param DirectoryObject $val The acceptedSenders - * - * @return Group - */ - public function setAcceptedSenders($val) - { - $this->_propDict["acceptedSenders"] = $val; - return $this; - } - - - /** - * Gets the rejectedSenders - * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable - * - * @return array The rejectedSenders - */ - public function getRejectedSenders() - { - if (array_key_exists("rejectedSenders", $this->_propDict)) { - return $this->_propDict["rejectedSenders"]; - } else { - return null; - } - } - - /** - * Sets the rejectedSenders - * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable - * - * @param DirectoryObject $val The rejectedSenders - * - * @return Group - */ - public function setRejectedSenders($val) - { - $this->_propDict["rejectedSenders"] = $val; - return $this; - } - /** * Gets the drive * The group's default drive. Read-only. @@ -1405,6 +1375,66 @@ public function setSites($val) return $this; } + + /** + * Gets the extensions + * The collection of open extensions defined for the group. Read-only. Nullable. + * + * @return array The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the group. Read-only. Nullable. + * + * @param Extension $val The extensions + * + * @return Group + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the groupLifecyclePolicies + * The collection of lifecycle policies for this group. Read-only. Nullable. + * + * @return array The groupLifecyclePolicies + */ + public function getGroupLifecyclePolicies() + { + if (array_key_exists("groupLifecyclePolicies", $this->_propDict)) { + return $this->_propDict["groupLifecyclePolicies"]; + } else { + return null; + } + } + + /** + * Sets the groupLifecyclePolicies + * The collection of lifecycle policies for this group. Read-only. Nullable. + * + * @param GroupLifecyclePolicy $val The groupLifecyclePolicies + * + * @return Group + */ + public function setGroupLifecyclePolicies($val) + { + $this->_propDict["groupLifecyclePolicies"] = $val; + return $this; + } + /** * Gets the planner * Entry-point to Planner resource that might exist for a Unified Group. @@ -1471,36 +1501,6 @@ public function setOnenote($val) return $this; } - - /** - * Gets the groupLifecyclePolicies - * The collection of lifecycle policies for this group. Read-only. Nullable. - * - * @return array The groupLifecyclePolicies - */ - public function getGroupLifecyclePolicies() - { - if (array_key_exists("groupLifecyclePolicies", $this->_propDict)) { - return $this->_propDict["groupLifecyclePolicies"]; - } else { - return null; - } - } - - /** - * Sets the groupLifecyclePolicies - * The collection of lifecycle policies for this group. Read-only. Nullable. - * - * @param GroupLifecyclePolicy $val The groupLifecyclePolicies - * - * @return Group - */ - public function setGroupLifecyclePolicies($val) - { - $this->_propDict["groupLifecyclePolicies"] = $val; - return $this; - } - /** * Gets the team * diff --git a/src/Model/IosGeneralDeviceConfiguration.php b/src/Model/IosGeneralDeviceConfiguration.php index a2bc7117269..6f0e478db3a 100644 --- a/src/Model/IosGeneralDeviceConfiguration.php +++ b/src/Model/IosGeneralDeviceConfiguration.php @@ -1431,7 +1431,7 @@ public function setIBooksStoreBlockErotica($val) /** * Gets the iCloudBlockActivityContinuation - * Indicates whether or not to block the the user from continuing work they started on iOS device to another iOS or macOS device. + * Indicates whether or not to block the user from continuing work they started on iOS device to another iOS or macOS device. * * @return bool The iCloudBlockActivityContinuation */ @@ -1446,7 +1446,7 @@ public function getICloudBlockActivityContinuation() /** * Sets the iCloudBlockActivityContinuation - * Indicates whether or not to block the the user from continuing work they started on iOS device to another iOS or macOS device. + * Indicates whether or not to block the user from continuing work they started on iOS device to another iOS or macOS device. * * @param bool $val The iCloudBlockActivityContinuation * diff --git a/src/Model/IosMinimumOperatingSystem.php b/src/Model/IosMinimumOperatingSystem.php index 84575bd0fa5..3eb98b411be 100644 --- a/src/Model/IosMinimumOperatingSystem.php +++ b/src/Model/IosMinimumOperatingSystem.php @@ -165,4 +165,32 @@ public function setV12_0($val) $this->_propDict["v120"] = $val; return $this; } + /** + * Gets the v13_0 + * Version 13.0 or later. + * + * @return bool The v13_0 + */ + public function getV13_0() + { + if (array_key_exists("v130", $this->_propDict)) { + return $this->_propDict["v130"]; + } else { + return null; + } + } + + /** + * Sets the v13_0 + * Version 13.0 or later. + * + * @param bool $val The value of the v13_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV13_0($val) + { + $this->_propDict["v130"] = $val; + return $this; + } } diff --git a/src/Model/Location.php b/src/Model/Location.php index 4edba31ee3b..6f8920c39dd 100644 --- a/src/Model/Location.php +++ b/src/Model/Location.php @@ -114,6 +114,34 @@ public function setAddress($val) $this->_propDict["address"] = $val; return $this; } + /** + * Gets the locationUri + * Optional URI representing the location. + * + * @return string The locationUri + */ + public function getLocationUri() + { + if (array_key_exists("locationUri", $this->_propDict)) { + return $this->_propDict["locationUri"]; + } else { + return null; + } + } + + /** + * Sets the locationUri + * Optional URI representing the location. + * + * @param string $val The value of the locationUri + * + * @return Location + */ + public function setLocationUri($val) + { + $this->_propDict["locationUri"] = $val; + return $this; + } /** * Gets the coordinates @@ -147,34 +175,6 @@ public function setCoordinates($val) $this->_propDict["coordinates"] = $val; return $this; } - /** - * Gets the locationUri - * Optional URI representing the location. - * - * @return string The locationUri - */ - public function getLocationUri() - { - if (array_key_exists("locationUri", $this->_propDict)) { - return $this->_propDict["locationUri"]; - } else { - return null; - } - } - - /** - * Sets the locationUri - * Optional URI representing the location. - * - * @param string $val The value of the locationUri - * - * @return Location - */ - public function setLocationUri($val) - { - $this->_propDict["locationUri"] = $val; - return $this; - } /** * Gets the locationType diff --git a/src/Model/MailFolder.php b/src/Model/MailFolder.php index ae03635db56..2d3bb6e1224 100644 --- a/src/Model/MailFolder.php +++ b/src/Model/MailFolder.php @@ -173,151 +173,151 @@ public function setTotalItemCount($val) /** - * Gets the messages - * The collection of messages in the mailFolder. + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. * - * @return array The messages + * @return array The singleValueExtendedProperties */ - public function getMessages() + public function getSingleValueExtendedProperties() { - if (array_key_exists("messages", $this->_propDict)) { - return $this->_propDict["messages"]; + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; } else { return null; } } /** - * Sets the messages - * The collection of messages in the mailFolder. + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. * - * @param Message $val The messages + * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties * * @return MailFolder */ - public function setMessages($val) + public function setSingleValueExtendedProperties($val) { - $this->_propDict["messages"] = $val; + $this->_propDict["singleValueExtendedProperties"] = $val; return $this; } /** - * Gets the messageRules - * The collection of rules that apply to the user's Inbox folder. + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. * - * @return array The messageRules + * @return array The multiValueExtendedProperties */ - public function getMessageRules() + public function getMultiValueExtendedProperties() { - if (array_key_exists("messageRules", $this->_propDict)) { - return $this->_propDict["messageRules"]; + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; } else { return null; } } /** - * Sets the messageRules - * The collection of rules that apply to the user's Inbox folder. + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. * - * @param MessageRule $val The messageRules + * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties * * @return MailFolder */ - public function setMessageRules($val) + public function setMultiValueExtendedProperties($val) { - $this->_propDict["messageRules"] = $val; + $this->_propDict["multiValueExtendedProperties"] = $val; return $this; } /** - * Gets the childFolders - * The collection of child folders in the mailFolder. + * Gets the messages + * The collection of messages in the mailFolder. * - * @return array The childFolders + * @return array The messages */ - public function getChildFolders() + public function getMessages() { - if (array_key_exists("childFolders", $this->_propDict)) { - return $this->_propDict["childFolders"]; + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; } else { return null; } } /** - * Sets the childFolders - * The collection of child folders in the mailFolder. + * Sets the messages + * The collection of messages in the mailFolder. * - * @param MailFolder $val The childFolders + * @param Message $val The messages * * @return MailFolder */ - public function setChildFolders($val) + public function setMessages($val) { - $this->_propDict["childFolders"] = $val; + $this->_propDict["messages"] = $val; return $this; } /** - * Gets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. + * Gets the messageRules + * The collection of rules that apply to the user's Inbox folder. * - * @return array The singleValueExtendedProperties + * @return array The messageRules */ - public function getSingleValueExtendedProperties() + public function getMessageRules() { - if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["singleValueExtendedProperties"]; + if (array_key_exists("messageRules", $this->_propDict)) { + return $this->_propDict["messageRules"]; } else { return null; } } /** - * Sets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. + * Sets the messageRules + * The collection of rules that apply to the user's Inbox folder. * - * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties + * @param MessageRule $val The messageRules * * @return MailFolder */ - public function setSingleValueExtendedProperties($val) + public function setMessageRules($val) { - $this->_propDict["singleValueExtendedProperties"] = $val; + $this->_propDict["messageRules"] = $val; return $this; } /** - * Gets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. + * Gets the childFolders + * The collection of child folders in the mailFolder. * - * @return array The multiValueExtendedProperties + * @return array The childFolders */ - public function getMultiValueExtendedProperties() + public function getChildFolders() { - if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["multiValueExtendedProperties"]; + if (array_key_exists("childFolders", $this->_propDict)) { + return $this->_propDict["childFolders"]; } else { return null; } } /** - * Sets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. + * Sets the childFolders + * The collection of child folders in the mailFolder. * - * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties + * @param MailFolder $val The childFolders * * @return MailFolder */ - public function setMultiValueExtendedProperties($val) + public function setChildFolders($val) { - $this->_propDict["multiValueExtendedProperties"] = $val; + $this->_propDict["childFolders"] = $val; return $this; } diff --git a/src/Model/MailboxSettings.php b/src/Model/MailboxSettings.php index 298a027c809..954465fb41b 100644 --- a/src/Model/MailboxSettings.php +++ b/src/Model/MailboxSettings.php @@ -180,4 +180,56 @@ public function setWorkingHours($val) $this->_propDict["workingHours"] = $val; return $this; } + /** + * Gets the dateFormat + * + * @return string The dateFormat + */ + public function getDateFormat() + { + if (array_key_exists("dateFormat", $this->_propDict)) { + return $this->_propDict["dateFormat"]; + } else { + return null; + } + } + + /** + * Sets the dateFormat + * + * @param string $val The value of the dateFormat + * + * @return MailboxSettings + */ + public function setDateFormat($val) + { + $this->_propDict["dateFormat"] = $val; + return $this; + } + /** + * Gets the timeFormat + * + * @return string The timeFormat + */ + public function getTimeFormat() + { + if (array_key_exists("timeFormat", $this->_propDict)) { + return $this->_propDict["timeFormat"]; + } else { + return null; + } + } + + /** + * Sets the timeFormat + * + * @param string $val The value of the timeFormat + * + * @return MailboxSettings + */ + public function setTimeFormat($val) + { + $this->_propDict["timeFormat"] = $val; + return $this; + } } diff --git a/src/Model/ManagedDevice.php b/src/Model/ManagedDevice.php index 84c5fcc1130..fed8f87bea9 100644 --- a/src/Model/ManagedDevice.php +++ b/src/Model/ManagedDevice.php @@ -1451,6 +1451,36 @@ public function setDeviceConfigurationStates($val) return $this; } + + /** + * Gets the deviceCompliancePolicyStates + * Device compliance policy states for this device. + * + * @return array The deviceCompliancePolicyStates + */ + public function getDeviceCompliancePolicyStates() + { + if (array_key_exists("deviceCompliancePolicyStates", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicyStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicyStates + * Device compliance policy states for this device. + * + * @param DeviceCompliancePolicyState $val The deviceCompliancePolicyStates + * + * @return ManagedDevice + */ + public function setDeviceCompliancePolicyStates($val) + { + $this->_propDict["deviceCompliancePolicyStates"] = $val; + return $this; + } + /** * Gets the deviceCategory * Device category @@ -1484,34 +1514,4 @@ public function setDeviceCategory($val) return $this; } - - /** - * Gets the deviceCompliancePolicyStates - * Device compliance policy states for this device. - * - * @return array The deviceCompliancePolicyStates - */ - public function getDeviceCompliancePolicyStates() - { - if (array_key_exists("deviceCompliancePolicyStates", $this->_propDict)) { - return $this->_propDict["deviceCompliancePolicyStates"]; - } else { - return null; - } - } - - /** - * Sets the deviceCompliancePolicyStates - * Device compliance policy states for this device. - * - * @param DeviceCompliancePolicyState $val The deviceCompliancePolicyStates - * - * @return ManagedDevice - */ - public function setDeviceCompliancePolicyStates($val) - { - $this->_propDict["deviceCompliancePolicyStates"] = $val; - return $this; - } - } \ No newline at end of file diff --git a/src/Model/Message.php b/src/Model/Message.php index 6be2a8992a9..ad87fa05324 100644 --- a/src/Model/Message.php +++ b/src/Model/Message.php @@ -794,121 +794,121 @@ public function setFlag($val) /** - * Gets the attachments - * The fileAttachment and itemAttachment attachments for the message. + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the message. Nullable. * - * @return array The attachments + * @return array The singleValueExtendedProperties */ - public function getAttachments() + public function getSingleValueExtendedProperties() { - if (array_key_exists("attachments", $this->_propDict)) { - return $this->_propDict["attachments"]; + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; } else { return null; } } /** - * Sets the attachments - * The fileAttachment and itemAttachment attachments for the message. + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the message. Nullable. * - * @param Attachment $val The attachments + * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties * * @return Message */ - public function setAttachments($val) + public function setSingleValueExtendedProperties($val) { - $this->_propDict["attachments"] = $val; + $this->_propDict["singleValueExtendedProperties"] = $val; return $this; } /** - * Gets the extensions - * The collection of open extensions defined for the message. Nullable. + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the message. Nullable. * - * @return array The extensions + * @return array The multiValueExtendedProperties */ - public function getExtensions() + public function getMultiValueExtendedProperties() { - if (array_key_exists("extensions", $this->_propDict)) { - return $this->_propDict["extensions"]; + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; } else { return null; } } /** - * Sets the extensions - * The collection of open extensions defined for the message. Nullable. + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the message. Nullable. * - * @param Extension $val The extensions + * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties * * @return Message */ - public function setExtensions($val) + public function setMultiValueExtendedProperties($val) { - $this->_propDict["extensions"] = $val; + $this->_propDict["multiValueExtendedProperties"] = $val; return $this; } /** - * Gets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the message. Nullable. + * Gets the attachments + * The fileAttachment and itemAttachment attachments for the message. * - * @return array The singleValueExtendedProperties + * @return array The attachments */ - public function getSingleValueExtendedProperties() + public function getAttachments() { - if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["singleValueExtendedProperties"]; + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; } else { return null; } } /** - * Sets the singleValueExtendedProperties - * The collection of single-value extended properties defined for the message. Nullable. + * Sets the attachments + * The fileAttachment and itemAttachment attachments for the message. * - * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties + * @param Attachment $val The attachments * * @return Message */ - public function setSingleValueExtendedProperties($val) + public function setAttachments($val) { - $this->_propDict["singleValueExtendedProperties"] = $val; + $this->_propDict["attachments"] = $val; return $this; } /** - * Gets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the message. Nullable. + * Gets the extensions + * The collection of open extensions defined for the message. Nullable. * - * @return array The multiValueExtendedProperties + * @return array The extensions */ - public function getMultiValueExtendedProperties() + public function getExtensions() { - if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { - return $this->_propDict["multiValueExtendedProperties"]; + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; } else { return null; } } /** - * Sets the multiValueExtendedProperties - * The collection of multi-value extended properties defined for the message. Nullable. + * Sets the extensions + * The collection of open extensions defined for the message. Nullable. * - * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties + * @param Extension $val The extensions * * @return Message */ - public function setMultiValueExtendedProperties($val) + public function setExtensions($val) { - $this->_propDict["multiValueExtendedProperties"] = $val; + $this->_propDict["extensions"] = $val; return $this; } diff --git a/src/Model/Organization.php b/src/Model/Organization.php index 50cec3caeb7..708221a716e 100644 --- a/src/Model/Organization.php +++ b/src/Model/Organization.php @@ -87,7 +87,7 @@ public function setBusinessPhones($val) /** * Gets the city - * City name of the address for the organization + * City name of the address for the organization. * * @return string The city */ @@ -102,7 +102,7 @@ public function getCity() /** * Sets the city - * City name of the address for the organization + * City name of the address for the organization. * * @param string $val The city * @@ -116,7 +116,7 @@ public function setCity($val) /** * Gets the country - * Country/region name of the address for the organization + * Country/region name of the address for the organization. * * @return string The country */ @@ -131,7 +131,7 @@ public function getCountry() /** * Sets the country - * Country/region name of the address for the organization + * Country/region name of the address for the organization. * * @param string $val The country * @@ -145,7 +145,7 @@ public function setCountry($val) /** * Gets the countryLetterCode - * Country/region abbreviation for the organization + * Country/region abbreviation for the organization. * * @return string The countryLetterCode */ @@ -160,7 +160,7 @@ public function getCountryLetterCode() /** * Sets the countryLetterCode - * Country/region abbreviation for the organization + * Country/region abbreviation for the organization. * * @param string $val The countryLetterCode * @@ -327,7 +327,7 @@ public function setOnPremisesSyncEnabled($val) /** * Gets the postalCode - * Postal code of the address for the organization + * Postal code of the address for the organization. * * @return string The postalCode */ @@ -342,7 +342,7 @@ public function getPostalCode() /** * Sets the postalCode - * Postal code of the address for the organization + * Postal code of the address for the organization. * * @param string $val The postalCode * @@ -502,7 +502,7 @@ public function setSecurityComplianceNotificationPhones($val) /** * Gets the state - * State name of the address for the organization + * State name of the address for the organization. * * @return string The state */ @@ -517,7 +517,7 @@ public function getState() /** * Sets the state - * State name of the address for the organization + * State name of the address for the organization. * * @param string $val The state * @@ -531,7 +531,7 @@ public function setState($val) /** * Gets the street - * Street name of the address for organization + * Street name of the address for organization. * * @return string The street */ @@ -546,7 +546,7 @@ public function getStreet() /** * Sets the street - * Street name of the address for organization + * Street name of the address for organization. * * @param string $val The street * diff --git a/src/Model/OutlookGeoCoordinates.php b/src/Model/OutlookGeoCoordinates.php index 163ec9c3477..02af79016c8 100644 --- a/src/Model/OutlookGeoCoordinates.php +++ b/src/Model/OutlookGeoCoordinates.php @@ -25,34 +25,6 @@ */ class OutlookGeoCoordinates extends Entity { - /** - * Gets the altitude - * The altitude of the location. - * - * @return float The altitude - */ - public function getAltitude() - { - if (array_key_exists("altitude", $this->_propDict)) { - return $this->_propDict["altitude"]; - } else { - return null; - } - } - - /** - * Sets the altitude - * The altitude of the location. - * - * @param float $val The value of the altitude - * - * @return OutlookGeoCoordinates - */ - public function setAltitude($val) - { - $this->_propDict["altitude"] = $val; - return $this; - } /** * Gets the latitude * The latitude of the location. @@ -138,6 +110,34 @@ public function setAccuracy($val) return $this; } /** + * Gets the altitude + * The altitude of the location. + * + * @return float The altitude + */ + public function getAltitude() + { + if (array_key_exists("altitude", $this->_propDict)) { + return $this->_propDict["altitude"]; + } else { + return null; + } + } + + /** + * Sets the altitude + * The altitude of the location. + * + * @param float $val The value of the altitude + * + * @return OutlookGeoCoordinates + */ + public function setAltitude($val) + { + $this->_propDict["altitude"] = $val; + return $this; + } + /** * Gets the altitudeAccuracy * The accuracy of the altitude. * diff --git a/src/Model/Post.php b/src/Model/Post.php index 361df313be8..c5f14206085 100644 --- a/src/Model/Post.php +++ b/src/Model/Post.php @@ -275,36 +275,6 @@ public function setConversationId($val) return $this; } - - /** - * Gets the extensions - * The collection of open extensions defined for the post. Read-only. Nullable. - * - * @return array The extensions - */ - public function getExtensions() - { - if (array_key_exists("extensions", $this->_propDict)) { - return $this->_propDict["extensions"]; - } else { - return null; - } - } - - /** - * Sets the extensions - * The collection of open extensions defined for the post. Read-only. Nullable. - * - * @param Extension $val The extensions - * - * @return Post - */ - public function setExtensions($val) - { - $this->_propDict["extensions"] = $val; - return $this; - } - /** * Gets the inReplyTo * Read-only. @@ -339,36 +309,6 @@ public function setInReplyTo($val) } - /** - * Gets the attachments - * Read-only. Nullable. - * - * @return array The attachments - */ - public function getAttachments() - { - if (array_key_exists("attachments", $this->_propDict)) { - return $this->_propDict["attachments"]; - } else { - return null; - } - } - - /** - * Sets the attachments - * Read-only. Nullable. - * - * @param Attachment $val The attachments - * - * @return Post - */ - public function setAttachments($val) - { - $this->_propDict["attachments"] = $val; - return $this; - } - - /** * Gets the singleValueExtendedProperties * The collection of single-value extended properties defined for the post. Read-only. Nullable. @@ -428,4 +368,64 @@ public function setMultiValueExtendedProperties($val) return $this; } + + /** + * Gets the extensions + * The collection of open extensions defined for the post. Read-only. Nullable. + * + * @return array The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the post. Read-only. Nullable. + * + * @param Extension $val The extensions + * + * @return Post + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the attachments + * Read-only. Nullable. + * + * @return array The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * Read-only. Nullable. + * + * @param Attachment $val The attachments + * + * @return Post + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + } \ No newline at end of file diff --git a/src/Model/ScoredEmailAddress.php b/src/Model/ScoredEmailAddress.php index e9eda0e9585..b2eab19bff9 100644 --- a/src/Model/ScoredEmailAddress.php +++ b/src/Model/ScoredEmailAddress.php @@ -113,9 +113,9 @@ public function setSelectionLikelihood($val) return $this; } /** - * Gets the ItemId + * Gets the itemId * - * @return string The ItemId + * @return string The itemId */ public function getItemId() { @@ -127,9 +127,9 @@ public function getItemId() } /** - * Sets the ItemId + * Sets the itemId * - * @param string $val The value of the ItemId + * @param string $val The value of the itemId * * @return ScoredEmailAddress */ diff --git a/src/Model/User.php b/src/Model/User.php index ee108fd82d2..640d2fd1cd4 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -1472,6 +1472,35 @@ public function setMailboxSettings($val) return $this; } + /** + * Gets the deviceEnrollmentLimit + * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. + * + * @return int The deviceEnrollmentLimit + */ + public function getDeviceEnrollmentLimit() + { + if (array_key_exists("deviceEnrollmentLimit", $this->_propDict)) { + return $this->_propDict["deviceEnrollmentLimit"]; + } else { + return null; + } + } + + /** + * Sets the deviceEnrollmentLimit + * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. + * + * @param int $val The deviceEnrollmentLimit + * + * @return User + */ + public function setDeviceEnrollmentLimit($val) + { + $this->_propDict["deviceEnrollmentLimit"] = intval($val); + return $this; + } + /** * Gets the aboutMe * A freeform text entry field for the user to describe themselves. @@ -1770,35 +1799,6 @@ public function setSkills($val) return $this; } - /** - * Gets the deviceEnrollmentLimit - * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - * - * @return int The deviceEnrollmentLimit - */ - public function getDeviceEnrollmentLimit() - { - if (array_key_exists("deviceEnrollmentLimit", $this->_propDict)) { - return $this->_propDict["deviceEnrollmentLimit"]; - } else { - return null; - } - } - - /** - * Sets the deviceEnrollmentLimit - * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - * - * @param int $val The deviceEnrollmentLimit - * - * @return User - */ - public function setDeviceEnrollmentLimit($val) - { - $this->_propDict["deviceEnrollmentLimit"] = intval($val); - return $this; - } - /** * Gets the ownedDevices @@ -2070,36 +2070,6 @@ public function setTransitiveMemberOf($val) return $this; } - - /** - * Gets the extensions - * The collection of open extensions defined for the user. Read-only. Nullable. - * - * @return array The extensions - */ - public function getExtensions() - { - if (array_key_exists("extensions", $this->_propDict)) { - return $this->_propDict["extensions"]; - } else { - return null; - } - } - - /** - * Sets the extensions - * The collection of open extensions defined for the user. Read-only. Nullable. - * - * @param Extension $val The extensions - * - * @return User - */ - public function setExtensions($val) - { - $this->_propDict["extensions"] = $val; - return $this; - } - /** * Gets the outlook * Read-only. @@ -2593,69 +2563,33 @@ public function setDrives($val) return $this; } - /** - * Gets the planner - * Entry-point to the Planner resource that might exist for a user. Read-only. - * - * @return PlannerUser The planner - */ - public function getPlanner() - { - if (array_key_exists("planner", $this->_propDict)) { - if (is_a($this->_propDict["planner"], "Microsoft\Graph\Model\PlannerUser")) { - return $this->_propDict["planner"]; - } else { - $this->_propDict["planner"] = new PlannerUser($this->_propDict["planner"]); - return $this->_propDict["planner"]; - } - } - return null; - } - - /** - * Sets the planner - * Entry-point to the Planner resource that might exist for a user. Read-only. - * - * @param PlannerUser $val The planner - * - * @return User - */ - public function setPlanner($val) - { - $this->_propDict["planner"] = $val; - return $this; - } - - /** - * Gets the onenote - * Read-only. - * - * @return Onenote The onenote - */ - public function getOnenote() + + /** + * Gets the extensions + * The collection of open extensions defined for the user. Read-only. Nullable. + * + * @return array The extensions + */ + public function getExtensions() { - if (array_key_exists("onenote", $this->_propDict)) { - if (is_a($this->_propDict["onenote"], "Microsoft\Graph\Model\Onenote")) { - return $this->_propDict["onenote"]; - } else { - $this->_propDict["onenote"] = new Onenote($this->_propDict["onenote"]); - return $this->_propDict["onenote"]; - } + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; } - return null; } - /** - * Sets the onenote - * Read-only. + /** + * Sets the extensions + * The collection of open extensions defined for the user. Read-only. Nullable. * - * @param Onenote $val The onenote + * @param Extension $val The extensions * * @return User */ - public function setOnenote($val) + public function setExtensions($val) { - $this->_propDict["onenote"] = $val; + $this->_propDict["extensions"] = $val; return $this; } @@ -2749,33 +2683,36 @@ public function setDeviceManagementTroubleshootingEvents($val) return $this; } - - /** - * Gets the activities - * The user's activities across devices. Read-only. Nullable. - * - * @return array The activities - */ - public function getActivities() + /** + * Gets the planner + * Entry-point to the Planner resource that might exist for a user. Read-only. + * + * @return PlannerUser The planner + */ + public function getPlanner() { - if (array_key_exists("activities", $this->_propDict)) { - return $this->_propDict["activities"]; - } else { - return null; + if (array_key_exists("planner", $this->_propDict)) { + if (is_a($this->_propDict["planner"], "Microsoft\Graph\Model\PlannerUser")) { + return $this->_propDict["planner"]; + } else { + $this->_propDict["planner"] = new PlannerUser($this->_propDict["planner"]); + return $this->_propDict["planner"]; + } } + return null; } - /** - * Sets the activities - * The user's activities across devices. Read-only. Nullable. + /** + * Sets the planner + * Entry-point to the Planner resource that might exist for a user. Read-only. * - * @param UserActivity $val The activities + * @param PlannerUser $val The planner * * @return User */ - public function setActivities($val) + public function setPlanner($val) { - $this->_propDict["activities"] = $val; + $this->_propDict["planner"] = $val; return $this; } @@ -2841,6 +2778,69 @@ public function setSettings($val) return $this; } + /** + * Gets the onenote + * Read-only. + * + * @return Onenote The onenote + */ + public function getOnenote() + { + if (array_key_exists("onenote", $this->_propDict)) { + if (is_a($this->_propDict["onenote"], "Microsoft\Graph\Model\Onenote")) { + return $this->_propDict["onenote"]; + } else { + $this->_propDict["onenote"] = new Onenote($this->_propDict["onenote"]); + return $this->_propDict["onenote"]; + } + } + return null; + } + + /** + * Sets the onenote + * Read-only. + * + * @param Onenote $val The onenote + * + * @return User + */ + public function setOnenote($val) + { + $this->_propDict["onenote"] = $val; + return $this; + } + + + /** + * Gets the activities + * The user's activities across devices. Read-only. Nullable. + * + * @return array The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * The user's activities across devices. Read-only. Nullable. + * + * @param UserActivity $val The activities + * + * @return User + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + /** * Gets the joinedTeams diff --git a/src/Model/VppToken.php b/src/Model/VppToken.php index 845ceefd778..0fe92ded3f7 100644 --- a/src/Model/VppToken.php +++ b/src/Model/VppToken.php @@ -152,7 +152,7 @@ public function setExpirationDateTime($val) /** * Gets the lastSyncDateTime - * The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. + * The last time when an application sync was done with the Apple volume purchase program service using the Apple Volume Purchase Program Token. * * @return \DateTime The lastSyncDateTime */ @@ -171,7 +171,7 @@ public function getLastSyncDateTime() /** * Sets the lastSyncDateTime - * The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. + * The last time when an application sync was done with the Apple volume purchase program service using the Apple Volume Purchase Program Token. * * @param \DateTime $val The lastSyncDateTime * diff --git a/src/Model/Windows10EndpointProtectionConfiguration.php b/src/Model/Windows10EndpointProtectionConfiguration.php index 6bb6f720e25..b9bbcffc39c 100644 --- a/src/Model/Windows10EndpointProtectionConfiguration.php +++ b/src/Model/Windows10EndpointProtectionConfiguration.php @@ -669,7 +669,7 @@ public function setSmartScreenEnableInShell($val) /** * Gets the smartScreenBlockOverrideForFiles - * Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files. + * Allows IT Admins to control whether users can ignore SmartScreen warnings and run malicious files. * * @return bool The smartScreenBlockOverrideForFiles */ @@ -684,7 +684,7 @@ public function getSmartScreenBlockOverrideForFiles() /** * Sets the smartScreenBlockOverrideForFiles - * Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files. + * Allows IT Admins to control whether users can ignore SmartScreen warnings and run malicious files. * * @param bool $val The smartScreenBlockOverrideForFiles * diff --git a/src/Model/WorkbookComment.php b/src/Model/WorkbookComment.php index 2f1a2ca382e..463f29ebee7 100644 --- a/src/Model/WorkbookComment.php +++ b/src/Model/WorkbookComment.php @@ -28,6 +28,7 @@ class WorkbookComment extends Entity { /** * Gets the content + * The content of comment. * * @return string The content */ @@ -42,6 +43,7 @@ public function getContent() /** * Sets the content + * The content of comment. * * @param string $val The content * @@ -55,6 +57,7 @@ public function setContent($val) /** * Gets the contentType + * Indicates the type for the comment. * * @return string The contentType */ @@ -69,6 +72,7 @@ public function getContentType() /** * Sets the contentType + * Indicates the type for the comment. * * @param string $val The contentType * @@ -83,6 +87,7 @@ public function setContentType($val) /** * Gets the replies + * Read-only. Nullable. * * @return array The replies */ @@ -97,6 +102,7 @@ public function getReplies() /** * Sets the replies + * Read-only. Nullable. * * @param WorkbookCommentReply $val The replies * diff --git a/src/Model/WorkbookCommentReply.php b/src/Model/WorkbookCommentReply.php index 46f5725444f..a4515ecd1fe 100644 --- a/src/Model/WorkbookCommentReply.php +++ b/src/Model/WorkbookCommentReply.php @@ -28,6 +28,7 @@ class WorkbookCommentReply extends Entity { /** * Gets the content + * The content of a comment reply. * * @return string The content */ @@ -42,6 +43,7 @@ public function getContent() /** * Sets the content + * The content of a comment reply. * * @param string $val The content * @@ -55,6 +57,7 @@ public function setContent($val) /** * Gets the contentType + * Indicates the type for the comment reply. * * @return string The contentType */ @@ -69,6 +72,7 @@ public function getContentType() /** * Sets the contentType + * Indicates the type for the comment reply. * * @param string $val The contentType * diff --git a/src/Model/WorkbookTableColumn.php b/src/Model/WorkbookTableColumn.php index 24fc84d104f..04a94fb8895 100644 --- a/src/Model/WorkbookTableColumn.php +++ b/src/Model/WorkbookTableColumn.php @@ -57,7 +57,7 @@ public function setIndex($val) /** * Gets the name - * Returns the name of the table column. Read-only. + * Returns the name of the table column. * * @return string The name */ @@ -72,7 +72,7 @@ public function getName() /** * Sets the name - * Returns the name of the table column. Read-only. + * Returns the name of the table column. * * @param string $val The name *