-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1201 from microsoftgraph/dev
Release 1.94.0
- Loading branch information
Showing
74 changed files
with
5,466 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
244 changes: 244 additions & 0 deletions
244
src/Beta/Microsoft/Graph/CallRecords/Model/PstnBlockedUsersLogRow.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* PstnBlockedUsersLogRow File | ||
* PHP version 7 | ||
* | ||
* @category Library | ||
* @package Microsoft.Graph | ||
* @copyright (c) Microsoft Corporation. All rights reserved. | ||
* @license https://opensource.org/licenses/MIT MIT License | ||
* @link https://graph.microsoft.com | ||
*/ | ||
namespace Beta\Microsoft\Graph\CallRecords\Model; | ||
/** | ||
* PstnBlockedUsersLogRow class | ||
* | ||
* @category Model | ||
* @package Microsoft.Graph | ||
* @copyright (c) Microsoft Corporation. All rights reserved. | ||
* @license https://opensource.org/licenses/MIT MIT License | ||
* @link https://graph.microsoft.com | ||
*/ | ||
class PstnBlockedUsersLogRow extends \Beta\Microsoft\Graph\Model\Entity | ||
{ | ||
|
||
/** | ||
* Gets the blockDateTime | ||
* | ||
* @return \DateTime|null The blockDateTime | ||
*/ | ||
public function getBlockDateTime() | ||
{ | ||
if (array_key_exists("blockDateTime", $this->_propDict)) { | ||
if (is_a($this->_propDict["blockDateTime"], "\DateTime") || is_null($this->_propDict["blockDateTime"])) { | ||
return $this->_propDict["blockDateTime"]; | ||
} else { | ||
$this->_propDict["blockDateTime"] = new \DateTime($this->_propDict["blockDateTime"]); | ||
return $this->_propDict["blockDateTime"]; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
/** | ||
* Sets the blockDateTime | ||
* | ||
* @param \DateTime $val The value to assign to the blockDateTime | ||
* | ||
* @return PstnBlockedUsersLogRow The PstnBlockedUsersLogRow | ||
*/ | ||
public function setBlockDateTime($val) | ||
{ | ||
$this->_propDict["blockDateTime"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the blockReason | ||
* | ||
* @return string|null The blockReason | ||
*/ | ||
public function getBlockReason() | ||
{ | ||
if (array_key_exists("blockReason", $this->_propDict)) { | ||
return $this->_propDict["blockReason"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the blockReason | ||
* | ||
* @param string $val The value of the blockReason | ||
* | ||
* @return PstnBlockedUsersLogRow | ||
*/ | ||
public function setBlockReason($val) | ||
{ | ||
$this->_propDict["blockReason"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the remediationId | ||
* | ||
* @return string|null The remediationId | ||
*/ | ||
public function getRemediationId() | ||
{ | ||
if (array_key_exists("remediationId", $this->_propDict)) { | ||
return $this->_propDict["remediationId"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the remediationId | ||
* | ||
* @param string $val The value of the remediationId | ||
* | ||
* @return PstnBlockedUsersLogRow | ||
*/ | ||
public function setRemediationId($val) | ||
{ | ||
$this->_propDict["remediationId"] = $val; | ||
return $this; | ||
} | ||
|
||
/** | ||
* Gets the userBlockMode | ||
* | ||
* @return PstnUserBlockMode|null The userBlockMode | ||
*/ | ||
public function getUserBlockMode() | ||
{ | ||
if (array_key_exists("userBlockMode", $this->_propDict)) { | ||
if (is_a($this->_propDict["userBlockMode"], "\Beta\Microsoft\Graph\CallRecords\Model\PstnUserBlockMode") || is_null($this->_propDict["userBlockMode"])) { | ||
return $this->_propDict["userBlockMode"]; | ||
} else { | ||
$this->_propDict["userBlockMode"] = new PstnUserBlockMode($this->_propDict["userBlockMode"]); | ||
return $this->_propDict["userBlockMode"]; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
/** | ||
* Sets the userBlockMode | ||
* | ||
* @param PstnUserBlockMode $val The value to assign to the userBlockMode | ||
* | ||
* @return PstnBlockedUsersLogRow The PstnBlockedUsersLogRow | ||
*/ | ||
public function setUserBlockMode($val) | ||
{ | ||
$this->_propDict["userBlockMode"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the userDisplayName | ||
* | ||
* @return string|null The userDisplayName | ||
*/ | ||
public function getUserDisplayName() | ||
{ | ||
if (array_key_exists("userDisplayName", $this->_propDict)) { | ||
return $this->_propDict["userDisplayName"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the userDisplayName | ||
* | ||
* @param string $val The value of the userDisplayName | ||
* | ||
* @return PstnBlockedUsersLogRow | ||
*/ | ||
public function setUserDisplayName($val) | ||
{ | ||
$this->_propDict["userDisplayName"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the userId | ||
* | ||
* @return string|null The userId | ||
*/ | ||
public function getUserId() | ||
{ | ||
if (array_key_exists("userId", $this->_propDict)) { | ||
return $this->_propDict["userId"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the userId | ||
* | ||
* @param string $val The value of the userId | ||
* | ||
* @return PstnBlockedUsersLogRow | ||
*/ | ||
public function setUserId($val) | ||
{ | ||
$this->_propDict["userId"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the userPrincipalName | ||
* | ||
* @return string|null The userPrincipalName | ||
*/ | ||
public function getUserPrincipalName() | ||
{ | ||
if (array_key_exists("userPrincipalName", $this->_propDict)) { | ||
return $this->_propDict["userPrincipalName"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the userPrincipalName | ||
* | ||
* @param string $val The value of the userPrincipalName | ||
* | ||
* @return PstnBlockedUsersLogRow | ||
*/ | ||
public function setUserPrincipalName($val) | ||
{ | ||
$this->_propDict["userPrincipalName"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the userTelephoneNumber | ||
* | ||
* @return string|null The userTelephoneNumber | ||
*/ | ||
public function getUserTelephoneNumber() | ||
{ | ||
if (array_key_exists("userTelephoneNumber", $this->_propDict)) { | ||
return $this->_propDict["userTelephoneNumber"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the userTelephoneNumber | ||
* | ||
* @param string $val The value of the userTelephoneNumber | ||
* | ||
* @return PstnBlockedUsersLogRow | ||
*/ | ||
public function setUserTelephoneNumber($val) | ||
{ | ||
$this->_propDict["userTelephoneNumber"] = $val; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.