<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetLineOptionsReq StructType
 * @subpackage Structs
 */
class GetLineOptionsReq extends AbstractStructBase
{
    /**
     * The uuid
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - choice: uuid
     * - choiceMaxOccurs: 1
     * - choiceMinOccurs: 1
     * - pattern: \{........-....-....-....-............\}
     * @var string
     */
    public $uuid;
    /**
     * The returnedChoices
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\OXLine
     */
    public $returnedChoices;
    /**
     * The sequence
     * Meta information extracted from the WSDL
     * - use: optional
     * @var int
     */
    public $sequence;
    /**
     * Constructor method for GetLineOptionsReq
     * @uses GetLineOptionsReq::setUuid()
     * @uses GetLineOptionsReq::setReturnedChoices()
     * @uses GetLineOptionsReq::setSequence()
     * @param string $uuid
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\OXLine $returnedChoices
     * @param int $sequence
     */
    public function __construct($uuid = null, \\Losc\CucmBundle\Model\Webservice\StructType\OXLine $returnedChoices = null, $sequence = null)
    {
        $this
            ->setUuid($uuid)
            ->setReturnedChoices($returnedChoices)
            ->setSequence($sequence);
    }
    /**
     * 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\GetLineOptionsReq
     */
    public function setUuid($uuid = null)
    {
        if (is_null($uuid) || (is_array($uuid) && empty($uuid))) {
            unset($this->uuid);
        } else {
            $this->uuid = $uuid;
        }
        return $this;
    }
    /**
     * Get returnedChoices value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\OXLine|null
     */
    public function getReturnedChoices()
    {
        return $this->returnedChoices;
    }
    /**
     * Set returnedChoices value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\OXLine $returnedChoices
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\GetLineOptionsReq
     */
    public function setReturnedChoices(\\Losc\CucmBundle\Model\Webservice\StructType\OXLine $returnedChoices = null)
    {
        $this->returnedChoices = $returnedChoices;
        return $this;
    }
    /**
     * Get sequence value
     * @return int|null
     */
    public function getSequence()
    {
        return $this->sequence;
    }
    /**
     * Set sequence value
     * @param int $sequence
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\GetLineOptionsReq
     */
    public function setSequence($sequence = null)
    {
        $this->sequence = $sequence;
        return $this;
    }
}
