<?php

namespace \Losc\CucmBundle\Model\Webservice\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for RemoveImeLearnedRoutesReq StructType
 * @subpackage Structs
 */
class RemoveImeLearnedRoutesReq extends AbstractStructBase
{
    /**
     * The uuid
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - choice: uuid | e164Did
     * - choiceMaxOccurs: 1
     * - choiceMinOccurs: 1
     * - pattern: \{........-....-....-....-............\}
     * @var string
     */
    public $uuid;
    /**
     * The e164Did
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - choice: uuid | e164Did
     * - choiceMaxOccurs: 1
     * - choiceMinOccurs: 1
     * - maxLength: 32
     * @var string
     */
    public $e164Did;
    /**
     * Constructor method for RemoveImeLearnedRoutesReq
     * @uses RemoveImeLearnedRoutesReq::setUuid()
     * @uses RemoveImeLearnedRoutesReq::setE164Did()
     * @param string $uuid
     * @param string $e164Did
     */
    public function __construct($uuid = null, $e164Did = null)
    {
        $this
            ->setUuid($uuid)
            ->setE164Did($e164Did);
    }
    /**
     * Get uuid value
     * @return string|null
     */
    public function getUuid()
    {
        return isset($this->uuid) ? $this->uuid : null;
    }
    /**
     * Set uuid value
     * This property belongs to a choice that allows only one property to exist. It is
     * therefore removable from the request, consequently if the value assigned to this
     * property is null, the property is removed from this object
     * @param string $uuid
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RemoveImeLearnedRoutesReq
     */
    public function setUuid($uuid = null)
    {
        if (is_null($uuid) || (is_array($uuid) && empty($uuid))) {
            unset($this->uuid);
        } else {
            $this->uuid = $uuid;
        }
        return $this;
    }
    /**
     * Get e164Did value
     * @return string|null
     */
    public function getE164Did()
    {
        return isset($this->e164Did) ? $this->e164Did : null;
    }
    /**
     * Set e164Did value
     * This property belongs to a choice that allows only one property to exist. It is
     * therefore removable from the request, consequently if the value assigned to this
     * property is null, the property is removed from this object
     * @param string $e164Did
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RemoveImeLearnedRoutesReq
     */
    public function setE164Did($e164Did = null)
    {
        if (is_null($e164Did) || (is_array($e164Did) && empty($e164Did))) {
            unset($this->e164Did);
        } else {
            $this->e164Did = $e164Did;
        }
        return $this;
    }
}
