-
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 #1323 from microsoftgraph/v1.0/pipelinebuild/123456
Generated models and request builders
- Loading branch information
Showing
10 changed files
with
297 additions
and
10 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,109 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* ServiceProvisioningError 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 Microsoft\Graph\Model; | ||
/** | ||
* ServiceProvisioningError 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 ServiceProvisioningError extends Entity | ||
{ | ||
|
||
/** | ||
* Gets the createdDateTime | ||
* | ||
* @return \DateTime|null The createdDateTime | ||
*/ | ||
public function getCreatedDateTime() | ||
{ | ||
if (array_key_exists("createdDateTime", $this->_propDict)) { | ||
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { | ||
return $this->_propDict["createdDateTime"]; | ||
} else { | ||
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); | ||
return $this->_propDict["createdDateTime"]; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
/** | ||
* Sets the createdDateTime | ||
* | ||
* @param \DateTime $val The value to assign to the createdDateTime | ||
* | ||
* @return ServiceProvisioningError The ServiceProvisioningError | ||
*/ | ||
public function setCreatedDateTime($val) | ||
{ | ||
$this->_propDict["createdDateTime"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the isResolved | ||
* | ||
* @return bool|null The isResolved | ||
*/ | ||
public function getIsResolved() | ||
{ | ||
if (array_key_exists("isResolved", $this->_propDict)) { | ||
return $this->_propDict["isResolved"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the isResolved | ||
* | ||
* @param bool $val The value of the isResolved | ||
* | ||
* @return ServiceProvisioningError | ||
*/ | ||
public function setIsResolved($val) | ||
{ | ||
$this->_propDict["isResolved"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the serviceInstance | ||
* | ||
* @return string|null The serviceInstance | ||
*/ | ||
public function getServiceInstance() | ||
{ | ||
if (array_key_exists("serviceInstance", $this->_propDict)) { | ||
return $this->_propDict["serviceInstance"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the serviceInstance | ||
* | ||
* @param string $val The value of the serviceInstance | ||
* | ||
* @return ServiceProvisioningError | ||
*/ | ||
public function setServiceInstance($val) | ||
{ | ||
$this->_propDict["serviceInstance"] = $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,63 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* ServiceProvisioningXmlError 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 Microsoft\Graph\Model; | ||
/** | ||
* ServiceProvisioningXmlError 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 ServiceProvisioningXmlError extends ServiceProvisioningError | ||
{ | ||
/** | ||
* Set the @odata.type since this type is immediately descended from an abstract | ||
* type that is referenced as the type in an entity. | ||
* @param array $propDict The property dictionary | ||
*/ | ||
public function __construct($propDict = array()) | ||
{ | ||
parent::__construct($propDict); | ||
$this->setODataType("#microsoft.graph.serviceProvisioningXmlError"); | ||
} | ||
|
||
/** | ||
* Gets the errorDetail | ||
* | ||
* @return string|null The errorDetail | ||
*/ | ||
public function getErrorDetail() | ||
{ | ||
if (array_key_exists("errorDetail", $this->_propDict)) { | ||
return $this->_propDict["errorDetail"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the errorDetail | ||
* | ||
* @param string $val The value of the errorDetail | ||
* | ||
* @return ServiceProvisioningXmlError | ||
*/ | ||
public function setErrorDetail($val) | ||
{ | ||
$this->_propDict["errorDetail"] = $val; | ||
return $this; | ||
} | ||
} |
Oops, something went wrong.