1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchJobBase.php

183 lines
5.2 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ExactMatchJobBase 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;
/**
* ExactMatchJobBase 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 ExactMatchJobBase extends Entity
{
/**
* Gets the completionDateTime
*
* @return \DateTime|null The completionDateTime
*/
public function getCompletionDateTime()
{
if (array_key_exists("completionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) {
return $this->_propDict["completionDateTime"];
} else {
$this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]);
return $this->_propDict["completionDateTime"];
}
}
return null;
}
/**
* Sets the completionDateTime
*
* @param \DateTime $val The completionDateTime
*
* @return ExactMatchJobBase
*/
public function setCompletionDateTime($val)
{
$this->_propDict["completionDateTime"] = $val;
return $this;
}
/**
* Gets the creationDateTime
*
* @return \DateTime|null The creationDateTime
*/
public function getCreationDateTime()
{
if (array_key_exists("creationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) {
return $this->_propDict["creationDateTime"];
} else {
$this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]);
return $this->_propDict["creationDateTime"];
}
}
return null;
}
/**
* Sets the creationDateTime
*
* @param \DateTime $val The creationDateTime
*
* @return ExactMatchJobBase
*/
public function setCreationDateTime($val)
{
$this->_propDict["creationDateTime"] = $val;
return $this;
}
/**
* Gets the error
*
* @return ClassificationError|null The error
*/
public function getError()
{
if (array_key_exists("error", $this->_propDict)) {
if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\ClassificationError") || is_null($this->_propDict["error"])) {
return $this->_propDict["error"];
} else {
$this->_propDict["error"] = new ClassificationError($this->_propDict["error"]);
return $this->_propDict["error"];
}
}
return null;
}
/**
* Sets the error
*
* @param ClassificationError $val The error
*
* @return ExactMatchJobBase
*/
public function setError($val)
{
$this->_propDict["error"] = $val;
return $this;
}
/**
* Gets the lastUpdatedDateTime
*
* @return \DateTime|null The lastUpdatedDateTime
*/
public function getLastUpdatedDateTime()
{
if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdatedDateTime"])) {
return $this->_propDict["lastUpdatedDateTime"];
} else {
$this->_propDict["lastUpdatedDateTime"] = new \DateTime($this->_propDict["lastUpdatedDateTime"]);
return $this->_propDict["lastUpdatedDateTime"];
}
}
return null;
}
/**
* Sets the lastUpdatedDateTime
*
* @param \DateTime $val The lastUpdatedDateTime
*
* @return ExactMatchJobBase
*/
public function setLastUpdatedDateTime($val)
{
$this->_propDict["lastUpdatedDateTime"] = $val;
return $this;
}
/**
* Gets the startDateTime
*
* @return \DateTime|null The startDateTime
*/
public function getStartDateTime()
{
if (array_key_exists("startDateTime", $this->_propDict)) {
if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) {
return $this->_propDict["startDateTime"];
} else {
$this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]);
return $this->_propDict["startDateTime"];
}
}
return null;
}
/**
* Sets the startDateTime
*
* @param \DateTime $val The startDateTime
*
* @return ExactMatchJobBase
*/
public function setStartDateTime($val)
{
$this->_propDict["startDateTime"] = $val;
return $this;
}
}