58 lines
1.8 KiB
PHP
58 lines
1.8 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* PlannerPlanCreation 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;
|
|
/**
|
|
* PlannerPlanCreation 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 PlannerPlanCreation extends Entity
|
|
{
|
|
|
|
/**
|
|
* Gets the creationSourceKind
|
|
*
|
|
* @return PlannerCreationSourceKind|null The creationSourceKind
|
|
*/
|
|
public function getCreationSourceKind()
|
|
{
|
|
if (array_key_exists("creationSourceKind", $this->_propDict)) {
|
|
if (is_a($this->_propDict["creationSourceKind"], "\Beta\Microsoft\Graph\Model\PlannerCreationSourceKind") || is_null($this->_propDict["creationSourceKind"])) {
|
|
return $this->_propDict["creationSourceKind"];
|
|
} else {
|
|
$this->_propDict["creationSourceKind"] = new PlannerCreationSourceKind($this->_propDict["creationSourceKind"]);
|
|
return $this->_propDict["creationSourceKind"];
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* Sets the creationSourceKind
|
|
*
|
|
* @param PlannerCreationSourceKind $val The value to assign to the creationSourceKind
|
|
*
|
|
* @return PlannerPlanCreation The PlannerPlanCreation
|
|
*/
|
|
public function setCreationSourceKind($val)
|
|
{
|
|
$this->_propDict["creationSourceKind"] = $val;
|
|
return $this;
|
|
}
|
|
}
|