<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdateAarGroupMatrixReq StructType
 * @subpackage Structs
 */
class UpdateAarGroupMatrixReq extends APIRequest
{
    /**
     * The aarGroupFromName
     * Meta information extracted from the WSDL
     * - choice: uuid | aarGroupFromName | aarGroupToName
     * - choiceMaxOccurs: 1
     * - choiceMinOccurs: 1
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: false
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $aarGroupFromName;
    /**
     * The aarGroupToName
     * Meta information extracted from the WSDL
     * - choice: uuid | aarGroupFromName | aarGroupToName
     * - choiceMaxOccurs: 1
     * - choiceMinOccurs: 1
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: false
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $aarGroupToName;
    /**
     * The uuid
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - choice: uuid | aarGroupFromName | aarGroupToName
     * - choiceMaxOccurs: 1
     * - choiceMinOccurs: 1
     * - pattern: \{........-....-....-....-............\}
     * @var string
     */
    public $uuid;
    /**
     * The prefixDigit
     * Meta information extracted from the WSDL
     * - documentation: The new prefixDigit value for this particular AARGroup relationship.
     * - base: xsd:string
     * - maxLength: 255
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var string
     */
    public $prefixDigit;
    /**
     * Constructor method for UpdateAarGroupMatrixReq
     * @uses UpdateAarGroupMatrixReq::setAarGroupFromName()
     * @uses UpdateAarGroupMatrixReq::setAarGroupToName()
     * @uses UpdateAarGroupMatrixReq::setUuid()
     * @uses UpdateAarGroupMatrixReq::setPrefixDigit()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $aarGroupFromName
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $aarGroupToName
     * @param string $uuid
     * @param string $prefixDigit
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $aarGroupFromName = null, \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $aarGroupToName = null, $uuid = null, $prefixDigit = null)
    {
        $this
            ->setAarGroupFromName($aarGroupFromName)
            ->setAarGroupToName($aarGroupToName)
            ->setUuid($uuid)
            ->setPrefixDigit($prefixDigit);
    }
    /**
     * Get aarGroupFromName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getAarGroupFromName()
    {
        return isset($this->aarGroupFromName) ? $this->aarGroupFromName : null;
    }
    /**
     * Set aarGroupFromName 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 \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $aarGroupFromName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateAarGroupMatrixReq
     */
    public function setAarGroupFromName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $aarGroupFromName = null)
    {
        if (is_null($aarGroupFromName) || (is_array($aarGroupFromName) && empty($aarGroupFromName))) {
            unset($this->aarGroupFromName);
        } else {
            $this->aarGroupFromName = $aarGroupFromName;
        }
        return $this;
    }
    /**
     * Get aarGroupToName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getAarGroupToName()
    {
        return isset($this->aarGroupToName) ? $this->aarGroupToName : null;
    }
    /**
     * Set aarGroupToName 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 \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $aarGroupToName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateAarGroupMatrixReq
     */
    public function setAarGroupToName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $aarGroupToName = null)
    {
        if (is_null($aarGroupToName) || (is_array($aarGroupToName) && empty($aarGroupToName))) {
            unset($this->aarGroupToName);
        } else {
            $this->aarGroupToName = $aarGroupToName;
        }
        return $this;
    }
    /**
     * 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\UpdateAarGroupMatrixReq
     */
    public function setUuid($uuid = null)
    {
        if (is_null($uuid) || (is_array($uuid) && empty($uuid))) {
            unset($this->uuid);
        } else {
            $this->uuid = $uuid;
        }
        return $this;
    }
    /**
     * Get prefixDigit value
     * @return string|null
     */
    public function getPrefixDigit()
    {
        return $this->prefixDigit;
    }
    /**
     * Set prefixDigit value
     * @param string $prefixDigit
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateAarGroupMatrixReq
     */
    public function setPrefixDigit($prefixDigit = null)
    {
        $this->prefixDigit = $prefixDigit;
        return $this;
    }
}
