From 2e987cb74d8abb01e12c4479043b7bb430414cd2 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 5 Sep 2023 10:11:57 +0000 Subject: [PATCH] Update generated files with build 124351 --- src/Model/LearningSelfInitiatedCourse.php | 4 +- src/Model/Presence.php | 31 +++ src/Model/PresenceStatusMessage.php | 119 ++++++++ src/Model/PublicationFacet.php | 2 + src/Model/Security.php | 28 ++ src/Model/SubjectRightsRequest.php | 253 ++++++++++++++++++ ...SubjectRightsRequestAllMailboxLocation.php | 37 +++ .../SubjectRightsRequestAllSiteLocation.php | 37 +++ ...RightsRequestEnumeratedMailboxLocation.php | 63 +++++ ...ectRightsRequestEnumeratedSiteLocation.php | 63 +++++ .../SubjectRightsRequestMailboxLocation.php | 26 ++ .../SubjectRightsRequestSiteLocation.php | 26 ++ src/Model/SubjectRightsRequestStage.php | 1 + 13 files changed, 688 insertions(+), 2 deletions(-) create mode 100644 src/Model/PresenceStatusMessage.php create mode 100644 src/Model/SubjectRightsRequestAllMailboxLocation.php create mode 100644 src/Model/SubjectRightsRequestAllSiteLocation.php create mode 100644 src/Model/SubjectRightsRequestEnumeratedMailboxLocation.php create mode 100644 src/Model/SubjectRightsRequestEnumeratedSiteLocation.php create mode 100644 src/Model/SubjectRightsRequestMailboxLocation.php create mode 100644 src/Model/SubjectRightsRequestSiteLocation.php diff --git a/src/Model/LearningSelfInitiatedCourse.php b/src/Model/LearningSelfInitiatedCourse.php index 3123d41e551..9cd28d74a4e 100644 --- a/src/Model/LearningSelfInitiatedCourse.php +++ b/src/Model/LearningSelfInitiatedCourse.php @@ -26,7 +26,7 @@ class LearningSelfInitiatedCourse extends LearningCourseActivity { /** * Gets the startedDateTime - * The date time value on which the self-initiated course was started by the learner. Optional. + * The date and time on which the self-initiated course was started by the learner. Optional. * * @return \DateTime|null The startedDateTime */ @@ -45,7 +45,7 @@ public function getStartedDateTime() /** * Sets the startedDateTime - * The date time value on which the self-initiated course was started by the learner. Optional. + * The date and time on which the self-initiated course was started by the learner. Optional. * * @param \DateTime $val The startedDateTime * diff --git a/src/Model/Presence.php b/src/Model/Presence.php index c0ca4d1c023..08ecdbd1dff 100644 --- a/src/Model/Presence.php +++ b/src/Model/Presence.php @@ -82,4 +82,35 @@ public function setAvailability($val) return $this; } + /** + * Gets the statusMessage + * + * @return PresenceStatusMessage|null The statusMessage + */ + public function getStatusMessage() + { + if (array_key_exists("statusMessage", $this->_propDict)) { + if (is_a($this->_propDict["statusMessage"], "\Microsoft\Graph\Model\PresenceStatusMessage") || is_null($this->_propDict["statusMessage"])) { + return $this->_propDict["statusMessage"]; + } else { + $this->_propDict["statusMessage"] = new PresenceStatusMessage($this->_propDict["statusMessage"]); + return $this->_propDict["statusMessage"]; + } + } + return null; + } + + /** + * Sets the statusMessage + * + * @param PresenceStatusMessage $val The statusMessage + * + * @return Presence + */ + public function setStatusMessage($val) + { + $this->_propDict["statusMessage"] = $val; + return $this; + } + } diff --git a/src/Model/PresenceStatusMessage.php b/src/Model/PresenceStatusMessage.php new file mode 100644 index 00000000000..28ee8f927b3 --- /dev/null +++ b/src/Model/PresenceStatusMessage.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["expiryDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["expiryDateTime"])) { + return $this->_propDict["expiryDateTime"]; + } else { + $this->_propDict["expiryDateTime"] = new DateTimeTimeZone($this->_propDict["expiryDateTime"]); + return $this->_propDict["expiryDateTime"]; + } + } + return null; + } + + /** + * Sets the expiryDateTime + * + * @param DateTimeTimeZone $val The value to assign to the expiryDateTime + * + * @return PresenceStatusMessage The PresenceStatusMessage + */ + public function setExpiryDateTime($val) + { + $this->_propDict["expiryDateTime"] = $val; + return $this; + } + + /** + * Gets the message + * + * @return ItemBody|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + if (is_a($this->_propDict["message"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["message"])) { + return $this->_propDict["message"]; + } else { + $this->_propDict["message"] = new ItemBody($this->_propDict["message"]); + return $this->_propDict["message"]; + } + } + return null; + } + + /** + * Sets the message + * + * @param ItemBody $val The value to assign to the message + * + * @return PresenceStatusMessage The PresenceStatusMessage + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the publishedDateTime + * + * @return \DateTime|null The publishedDateTime + */ + public function getPublishedDateTime() + { + if (array_key_exists("publishedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) { + return $this->_propDict["publishedDateTime"]; + } else { + $this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]); + return $this->_propDict["publishedDateTime"]; + } + } + return null; + } + + /** + * Sets the publishedDateTime + * + * @param \DateTime $val The value to assign to the publishedDateTime + * + * @return PresenceStatusMessage The PresenceStatusMessage + */ + public function setPublishedDateTime($val) + { + $this->_propDict["publishedDateTime"] = $val; + return $this; + } +} diff --git a/src/Model/PublicationFacet.php b/src/Model/PublicationFacet.php index 287cd24f1b2..a1515930dae 100644 --- a/src/Model/PublicationFacet.php +++ b/src/Model/PublicationFacet.php @@ -26,6 +26,7 @@ class PublicationFacet extends Entity /** * Gets the checkedOutBy + * User who has checked out the file. * * @return IdentitySet|null The checkedOutBy */ @@ -44,6 +45,7 @@ public function getCheckedOutBy() /** * Sets the checkedOutBy + * User who has checked out the file. * * @param IdentitySet $val The value to assign to the checkedOutBy * diff --git a/src/Model/Security.php b/src/Model/Security.php index f5826c13566..33120e1cabc 100644 --- a/src/Model/Security.php +++ b/src/Model/Security.php @@ -24,6 +24,34 @@ */ class Security extends Entity { + + /** + * Gets the subjectRightsRequests + * + * @return array|null The subjectRightsRequests + */ + public function getSubjectRightsRequests() + { + if (array_key_exists("subjectRightsRequests", $this->_propDict)) { + return $this->_propDict["subjectRightsRequests"]; + } else { + return null; + } + } + + /** + * Sets the subjectRightsRequests + * + * @param SubjectRightsRequest[] $val The subjectRightsRequests + * + * @return Security + */ + public function setSubjectRightsRequests($val) + { + $this->_propDict["subjectRightsRequests"] = $val; + return $this; + } + /** * Gets the cases * diff --git a/src/Model/SubjectRightsRequest.php b/src/Model/SubjectRightsRequest.php index 06d39f01968..fd69675fd9e 100644 --- a/src/Model/SubjectRightsRequest.php +++ b/src/Model/SubjectRightsRequest.php @@ -90,6 +90,33 @@ public function setClosedDateTime($val) return $this; } + /** + * Gets the contentQuery + * + * @return string|null The contentQuery + */ + public function getContentQuery() + { + if (array_key_exists("contentQuery", $this->_propDict)) { + return $this->_propDict["contentQuery"]; + } else { + return null; + } + } + + /** + * Sets the contentQuery + * + * @param string $val The contentQuery + * + * @return SubjectRightsRequest + */ + public function setContentQuery($val) + { + $this->_propDict["contentQuery"] = $val; + return $this; + } + /** * Gets the createdBy * Identity information for the entity that created the request. @@ -280,6 +307,33 @@ public function setDisplayName($val) return $this; } + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return SubjectRightsRequest + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + /** * Gets the history @@ -310,6 +364,60 @@ public function setHistory($val) return $this; } + /** + * Gets the includeAllVersions + * + * @return bool|null The includeAllVersions + */ + public function getIncludeAllVersions() + { + if (array_key_exists("includeAllVersions", $this->_propDict)) { + return $this->_propDict["includeAllVersions"]; + } else { + return null; + } + } + + /** + * Sets the includeAllVersions + * + * @param bool $val The includeAllVersions + * + * @return SubjectRightsRequest + */ + public function setIncludeAllVersions($val) + { + $this->_propDict["includeAllVersions"] = boolval($val); + return $this; + } + + /** + * Gets the includeAuthoredContent + * + * @return bool|null The includeAuthoredContent + */ + public function getIncludeAuthoredContent() + { + if (array_key_exists("includeAuthoredContent", $this->_propDict)) { + return $this->_propDict["includeAuthoredContent"]; + } else { + return null; + } + } + + /** + * Sets the includeAuthoredContent + * + * @param bool $val The includeAuthoredContent + * + * @return SubjectRightsRequest + */ + public function setIncludeAuthoredContent($val) + { + $this->_propDict["includeAuthoredContent"] = boolval($val); + return $this; + } + /** * Gets the insight * Insight about the request. @@ -442,6 +550,64 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the mailboxlocations + * + * @return SubjectRightsRequestMailboxLocation|null The mailboxlocations + */ + public function getMailboxlocations() + { + if (array_key_exists("mailboxlocations", $this->_propDict)) { + if (is_a($this->_propDict["mailboxlocations"], "\Microsoft\Graph\Model\SubjectRightsRequestMailboxLocation") || is_null($this->_propDict["mailboxlocations"])) { + return $this->_propDict["mailboxlocations"]; + } else { + $this->_propDict["mailboxlocations"] = new SubjectRightsRequestMailboxLocation($this->_propDict["mailboxlocations"]); + return $this->_propDict["mailboxlocations"]; + } + } + return null; + } + + /** + * Sets the mailboxlocations + * + * @param SubjectRightsRequestMailboxLocation $val The mailboxlocations + * + * @return SubjectRightsRequest + */ + public function setMailboxlocations($val) + { + $this->_propDict["mailboxlocations"] = $val; + return $this; + } + + /** + * Gets the pauseAfterEstimate + * + * @return bool|null The pauseAfterEstimate + */ + public function getPauseAfterEstimate() + { + if (array_key_exists("pauseAfterEstimate", $this->_propDict)) { + return $this->_propDict["pauseAfterEstimate"]; + } else { + return null; + } + } + + /** + * Sets the pauseAfterEstimate + * + * @param bool $val The pauseAfterEstimate + * + * @return SubjectRightsRequest + */ + public function setPauseAfterEstimate($val) + { + $this->_propDict["pauseAfterEstimate"] = boolval($val); + return $this; + } + /** * Gets the regulations * List of regulations that this request will fulfill. @@ -471,6 +637,37 @@ public function setRegulations($val) return $this; } + /** + * Gets the sitelocations + * + * @return SubjectRightsRequestSiteLocation|null The sitelocations + */ + public function getSitelocations() + { + if (array_key_exists("sitelocations", $this->_propDict)) { + if (is_a($this->_propDict["sitelocations"], "\Microsoft\Graph\Model\SubjectRightsRequestSiteLocation") || is_null($this->_propDict["sitelocations"])) { + return $this->_propDict["sitelocations"]; + } else { + $this->_propDict["sitelocations"] = new SubjectRightsRequestSiteLocation($this->_propDict["sitelocations"]); + return $this->_propDict["sitelocations"]; + } + } + return null; + } + + /** + * Sets the sitelocations + * + * @param SubjectRightsRequestSiteLocation $val The sitelocations + * + * @return SubjectRightsRequest + */ + public function setSitelocations($val) + { + $this->_propDict["sitelocations"] = $val; + return $this; + } + /** * Gets the stages @@ -568,6 +765,62 @@ public function setType($val) } + /** + * Gets the approvers + * + * @return array|null The approvers + */ + public function getApprovers() + { + if (array_key_exists("approvers", $this->_propDict)) { + return $this->_propDict["approvers"]; + } else { + return null; + } + } + + /** + * Sets the approvers + * + * @param User[] $val The approvers + * + * @return SubjectRightsRequest + */ + public function setApprovers($val) + { + $this->_propDict["approvers"] = $val; + return $this; + } + + + /** + * Gets the collaborators + * + * @return array|null The collaborators + */ + public function getCollaborators() + { + if (array_key_exists("collaborators", $this->_propDict)) { + return $this->_propDict["collaborators"]; + } else { + return null; + } + } + + /** + * Sets the collaborators + * + * @param User[] $val The collaborators + * + * @return SubjectRightsRequest + */ + public function setCollaborators($val) + { + $this->_propDict["collaborators"] = $val; + return $this; + } + + /** * Gets the notes * List of notes associcated with the request. diff --git a/src/Model/SubjectRightsRequestAllMailboxLocation.php b/src/Model/SubjectRightsRequestAllMailboxLocation.php new file mode 100644 index 00000000000..50c927eb2da --- /dev/null +++ b/src/Model/SubjectRightsRequestAllMailboxLocation.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.subjectRightsRequestAllMailboxLocation"); + } + +} diff --git a/src/Model/SubjectRightsRequestAllSiteLocation.php b/src/Model/SubjectRightsRequestAllSiteLocation.php new file mode 100644 index 00000000000..2e09c1c7a6e --- /dev/null +++ b/src/Model/SubjectRightsRequestAllSiteLocation.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.subjectRightsRequestAllSiteLocation"); + } + +} diff --git a/src/Model/SubjectRightsRequestEnumeratedMailboxLocation.php b/src/Model/SubjectRightsRequestEnumeratedMailboxLocation.php new file mode 100644 index 00000000000..d02dc8bd5e9 --- /dev/null +++ b/src/Model/SubjectRightsRequestEnumeratedMailboxLocation.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.subjectRightsRequestEnumeratedMailboxLocation"); + } + + /** + * Gets the userPrincipalNames + * + * @return string|null The userPrincipalNames + */ + public function getUserPrincipalNames() + { + if (array_key_exists("userPrincipalNames", $this->_propDict)) { + return $this->_propDict["userPrincipalNames"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalNames + * + * @param string $val The value of the userPrincipalNames + * + * @return SubjectRightsRequestEnumeratedMailboxLocation + */ + public function setUserPrincipalNames($val) + { + $this->_propDict["userPrincipalNames"] = $val; + return $this; + } +} diff --git a/src/Model/SubjectRightsRequestEnumeratedSiteLocation.php b/src/Model/SubjectRightsRequestEnumeratedSiteLocation.php new file mode 100644 index 00000000000..afeaf4b3438 --- /dev/null +++ b/src/Model/SubjectRightsRequestEnumeratedSiteLocation.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.subjectRightsRequestEnumeratedSiteLocation"); + } + + /** + * Gets the urls + * + * @return string|null The urls + */ + public function getUrls() + { + if (array_key_exists("urls", $this->_propDict)) { + return $this->_propDict["urls"]; + } else { + return null; + } + } + + /** + * Sets the urls + * + * @param string $val The value of the urls + * + * @return SubjectRightsRequestEnumeratedSiteLocation + */ + public function setUrls($val) + { + $this->_propDict["urls"] = $val; + return $this; + } +} diff --git a/src/Model/SubjectRightsRequestMailboxLocation.php b/src/Model/SubjectRightsRequestMailboxLocation.php new file mode 100644 index 00000000000..2ac4dd08aef --- /dev/null +++ b/src/Model/SubjectRightsRequestMailboxLocation.php @@ -0,0 +1,26 @@ +