-
Notifications
You must be signed in to change notification settings - Fork 144
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 #1320 from microsoftgraph/beta/pipelinebuild/122943
Generated beta models and request builders
- Loading branch information
Showing
79 changed files
with
2,326 additions
and
1,379 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
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
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
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,52 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* ChatRestrictions 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\Model; | ||
/** | ||
* ChatRestrictions 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 ChatRestrictions extends Entity | ||
{ | ||
/** | ||
* Gets the allowTextOnly | ||
* | ||
* @return bool|null The allowTextOnly | ||
*/ | ||
public function getAllowTextOnly() | ||
{ | ||
if (array_key_exists("allowTextOnly", $this->_propDict)) { | ||
return $this->_propDict["allowTextOnly"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the allowTextOnly | ||
* | ||
* @param bool $val The value of the allowTextOnly | ||
* | ||
* @return ChatRestrictions | ||
*/ | ||
public function setAllowTextOnly($val) | ||
{ | ||
$this->_propDict["allowTextOnly"] = $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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* CloudPcBulkReprovision 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\Model; | ||
|
||
/** | ||
* CloudPcBulkReprovision 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 CloudPcBulkReprovision extends CloudPcBulkAction | ||
{ | ||
} |
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,54 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* CloudPcBulkResize 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\Model; | ||
|
||
/** | ||
* CloudPcBulkResize 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 CloudPcBulkResize extends CloudPcBulkAction | ||
{ | ||
/** | ||
* Gets the targetServicePlanId | ||
* | ||
* @return string|null The targetServicePlanId | ||
*/ | ||
public function getTargetServicePlanId() | ||
{ | ||
if (array_key_exists("targetServicePlanId", $this->_propDict)) { | ||
return $this->_propDict["targetServicePlanId"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the targetServicePlanId | ||
* | ||
* @param string $val The targetServicePlanId | ||
* | ||
* @return CloudPcBulkResize | ||
*/ | ||
public function setTargetServicePlanId($val) | ||
{ | ||
$this->_propDict["targetServicePlanId"] = $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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* CloudPcBulkRestart 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\Model; | ||
|
||
/** | ||
* CloudPcBulkRestart 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 CloudPcBulkRestart extends CloudPcBulkAction | ||
{ | ||
} |
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,89 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* CloudPcBulkRestore 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\Model; | ||
|
||
/** | ||
* CloudPcBulkRestore 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 CloudPcBulkRestore extends CloudPcBulkAction | ||
{ | ||
/** | ||
* Gets the restorePointDateTime | ||
* | ||
* @return \DateTime|null The restorePointDateTime | ||
*/ | ||
public function getRestorePointDateTime() | ||
{ | ||
if (array_key_exists("restorePointDateTime", $this->_propDict)) { | ||
if (is_a($this->_propDict["restorePointDateTime"], "\DateTime") || is_null($this->_propDict["restorePointDateTime"])) { | ||
return $this->_propDict["restorePointDateTime"]; | ||
} else { | ||
$this->_propDict["restorePointDateTime"] = new \DateTime($this->_propDict["restorePointDateTime"]); | ||
return $this->_propDict["restorePointDateTime"]; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
/** | ||
* Sets the restorePointDateTime | ||
* | ||
* @param \DateTime $val The restorePointDateTime | ||
* | ||
* @return CloudPcBulkRestore | ||
*/ | ||
public function setRestorePointDateTime($val) | ||
{ | ||
$this->_propDict["restorePointDateTime"] = $val; | ||
return $this; | ||
} | ||
|
||
/** | ||
* Gets the timeRange | ||
* | ||
* @return RestoreTimeRange|null The timeRange | ||
*/ | ||
public function getTimeRange() | ||
{ | ||
if (array_key_exists("timeRange", $this->_propDict)) { | ||
if (is_a($this->_propDict["timeRange"], "\Beta\Microsoft\Graph\Model\RestoreTimeRange") || is_null($this->_propDict["timeRange"])) { | ||
return $this->_propDict["timeRange"]; | ||
} else { | ||
$this->_propDict["timeRange"] = new RestoreTimeRange($this->_propDict["timeRange"]); | ||
return $this->_propDict["timeRange"]; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
/** | ||
* Sets the timeRange | ||
* | ||
* @param RestoreTimeRange $val The timeRange | ||
* | ||
* @return CloudPcBulkRestore | ||
*/ | ||
public function setTimeRange($val) | ||
{ | ||
$this->_propDict["timeRange"] = $val; | ||
return $this; | ||
} | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
src/Beta/Microsoft/Graph/Model/CloudPcBulkTroubleshoot.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,27 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* CloudPcBulkTroubleshoot 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\Model; | ||
|
||
/** | ||
* CloudPcBulkTroubleshoot 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 CloudPcBulkTroubleshoot extends CloudPcBulkAction | ||
{ | ||
} |
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.