setODataType("#microsoft.graph.subjectRightsRequestEnumeratedMailboxLocation"); } /** * Gets the upns * * @return string|null The upns */ public function getUpns() { if (array_key_exists("upns", $this->_propDict)) { return $this->_propDict["upns"]; } else { return null; } } /** * Sets the upns * * @param string $val The value of the upns * * @return SubjectRightsRequestEnumeratedMailboxLocation */ public function setUpns($val) { $this->_propDict["upns"] = $val; return $this; } /** * Gets the userPrincipalNames * Collection of mailboxes that should be included in the search. Includes the user principal name (UPN) of each mailbox, for example, Monica.Thompson@contoso.com. * * @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 * Collection of mailboxes that should be included in the search. Includes the user principal name (UPN) of each mailbox, for example, Monica.Thompson@contoso.com. * * @param string $val The value of the userPrincipalNames * * @return SubjectRightsRequestEnumeratedMailboxLocation */ public function setUserPrincipalNames($val) { $this->_propDict["userPrincipalNames"] = $val; return $this; } }