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/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

/**
* DomainDnsSrvRecord 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 DomainDnsSrvRecord extends DomainDnsRecord
{
    /**
    * Gets the nameTarget
    * Value to use when configuring the Target property of the SRV record at the DNS host.
    *
    * @return string|null The nameTarget
    */
    public function getNameTarget()
    {
        if (array_key_exists("nameTarget", $this->_propDict)) {
            return $this->_propDict["nameTarget"];
        } else {
            return null;
        }
    }

    /**
    * Sets the nameTarget
    * Value to use when configuring the Target property of the SRV record at the DNS host.
    *
    * @param string $val The nameTarget
    *
    * @return DomainDnsSrvRecord
    */
    public function setNameTarget($val)
    {
        $this->_propDict["nameTarget"] = $val;
        return $this;
    }

    /**
    * Gets the port
    * Value to use when configuring the port property of the SRV record at the DNS host.
    *
    * @return int|null The port
    */
    public function getPort()
    {
        if (array_key_exists("port", $this->_propDict)) {
            return $this->_propDict["port"];
        } else {
            return null;
        }
    }

    /**
    * Sets the port
    * Value to use when configuring the port property of the SRV record at the DNS host.
    *
    * @param int $val The port
    *
    * @return DomainDnsSrvRecord
    */
    public function setPort($val)
    {
        $this->_propDict["port"] = intval($val);
        return $this;
    }

    /**
    * Gets the priority
    * Value to use when configuring the priority property of the SRV record at the DNS host.
    *
    * @return int|null The priority
    */
    public function getPriority()
    {
        if (array_key_exists("priority", $this->_propDict)) {
            return $this->_propDict["priority"];
        } else {
            return null;
        }
    }

    /**
    * Sets the priority
    * Value to use when configuring the priority property of the SRV record at the DNS host.
    *
    * @param int $val The priority
    *
    * @return DomainDnsSrvRecord
    */
    public function setPriority($val)
    {
        $this->_propDict["priority"] = intval($val);
        return $this;
    }

    /**
    * Gets the protocol
    * Value to use when configuring the protocol property of the SRV record at the DNS host.
    *
    * @return string|null The protocol
    */
    public function getProtocol()
    {
        if (array_key_exists("protocol", $this->_propDict)) {
            return $this->_propDict["protocol"];
        } else {
            return null;
        }
    }

    /**
    * Sets the protocol
    * Value to use when configuring the protocol property of the SRV record at the DNS host.
    *
    * @param string $val The protocol
    *
    * @return DomainDnsSrvRecord
    */
    public function setProtocol($val)
    {
        $this->_propDict["protocol"] = $val;
        return $this;
    }

    /**
    * Gets the service
    * Value to use when configuring the service property of the SRV record at the DNS host.
    *
    * @return string|null The service
    */
    public function getService()
    {
        if (array_key_exists("service", $this->_propDict)) {
            return $this->_propDict["service"];
        } else {
            return null;
        }
    }

    /**
    * Sets the service
    * Value to use when configuring the service property of the SRV record at the DNS host.
    *
    * @param string $val The service
    *
    * @return DomainDnsSrvRecord
    */
    public function setService($val)
    {
        $this->_propDict["service"] = $val;
        return $this;
    }

    /**
    * Gets the weight
    * Value to use when configuring the weight property of the SRV record at the DNS host.
    *
    * @return int|null The weight
    */
    public function getWeight()
    {
        if (array_key_exists("weight", $this->_propDict)) {
            return $this->_propDict["weight"];
        } else {
            return null;
        }
    }

    /**
    * Sets the weight
    * Value to use when configuring the weight property of the SRV record at the DNS host.
    *
    * @param int $val The weight
    *
    * @return DomainDnsSrvRecord
    */
    public function setWeight($val)
    {
        $this->_propDict["weight"] = intval($val);
        return $this;
    }

}

Hry