<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ORPhoneLine StructType
 * @subpackage Structs
 */
class ORPhoneLine extends AbstractStructBase
{
    /**
     * The dirn
     * Meta information extracted from the WSDL
     * - documentation: Only uuid attribute is returned in response
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORDirn
     */
    public $dirn;
    /**
     * The ringSetting
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $ringSetting;
    /**
     * The consecutiveRingSetting
     * Meta information extracted from the WSDL
     * - documentation: Consecutive Rings Setting. Replaces the consective ring setting on IPPhone.
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $consecutiveRingSetting;
    /**
     * The ringSettingIdlePickupAlert
     * Meta information extracted from the WSDL
     * - documentation: Applicable only for IP Phones
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $ringSettingIdlePickupAlert;
    /**
     * The ringSettingActivePickupAlert
     * Meta information extracted from the WSDL
     * - documentation: Applicable only for IP Phones
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $ringSettingActivePickupAlert;
    /**
     * The mwlPolicy
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $mwlPolicy;
    /**
     * The recordingProfileName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $recordingProfileName;
    /**
     * The monitoringCssName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $monitoringCssName;
    /**
     * The recordingFlag
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $recordingFlag;
    /**
     * The audibleMwi
     * Meta information extracted from the WSDL
     * - documentation: Not applicable for gatewayEndpointAnalogAccess and CiscoCatalyst600024PortFXSGateway
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $audibleMwi;
    /**
     * The partitionUsage
     * Meta information extracted from the WSDL
     * - documentation: This tag cannot be modified. It can only be specified in the add request.
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $partitionUsage;
    /**
     * The recordingMediaSource
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType
     */
    public $recordingMediaSource;
    /**
     * The ctiid
     * @var int
     */
    public $ctiid;
    /**
     * The uuid
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - pattern: \{........-....-....-....-............\}
     * @var string
     */
    public $uuid;
    /**
     * Constructor method for ORPhoneLine
     * @uses ORPhoneLine::setDirn()
     * @uses ORPhoneLine::setRingSetting()
     * @uses ORPhoneLine::setConsecutiveRingSetting()
     * @uses ORPhoneLine::setRingSettingIdlePickupAlert()
     * @uses ORPhoneLine::setRingSettingActivePickupAlert()
     * @uses ORPhoneLine::setMwlPolicy()
     * @uses ORPhoneLine::setRecordingProfileName()
     * @uses ORPhoneLine::setMonitoringCssName()
     * @uses ORPhoneLine::setRecordingFlag()
     * @uses ORPhoneLine::setAudibleMwi()
     * @uses ORPhoneLine::setPartitionUsage()
     * @uses ORPhoneLine::setRecordingMediaSource()
     * @uses ORPhoneLine::setCtiid()
     * @uses ORPhoneLine::setUuid()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORDirn $dirn
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSetting
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $consecutiveRingSetting
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSettingIdlePickupAlert
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSettingActivePickupAlert
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $mwlPolicy
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingProfileName
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $monitoringCssName
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingFlag
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $audibleMwi
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $partitionUsage
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingMediaSource
     * @param int $ctiid
     * @param string $uuid
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\ORDirn $dirn = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSetting = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $consecutiveRingSetting = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSettingIdlePickupAlert = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSettingActivePickupAlert = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $mwlPolicy = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingProfileName = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $monitoringCssName = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingFlag = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $audibleMwi = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $partitionUsage = null, \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingMediaSource = null, $ctiid = null, $uuid = null)
    {
        $this
            ->setDirn($dirn)
            ->setRingSetting($ringSetting)
            ->setConsecutiveRingSetting($consecutiveRingSetting)
            ->setRingSettingIdlePickupAlert($ringSettingIdlePickupAlert)
            ->setRingSettingActivePickupAlert($ringSettingActivePickupAlert)
            ->setMwlPolicy($mwlPolicy)
            ->setRecordingProfileName($recordingProfileName)
            ->setMonitoringCssName($monitoringCssName)
            ->setRecordingFlag($recordingFlag)
            ->setAudibleMwi($audibleMwi)
            ->setPartitionUsage($partitionUsage)
            ->setRecordingMediaSource($recordingMediaSource)
            ->setCtiid($ctiid)
            ->setUuid($uuid);
    }
    /**
     * Get dirn value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORDirn|null
     */
    public function getDirn()
    {
        return $this->dirn;
    }
    /**
     * Set dirn value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORDirn $dirn
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setDirn(\\Losc\CucmBundle\Model\Webservice\StructType\ORDirn $dirn = null)
    {
        $this->dirn = $dirn;
        return $this;
    }
    /**
     * Get ringSetting value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getRingSetting()
    {
        return $this->ringSetting;
    }
    /**
     * Set ringSetting value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSetting
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setRingSetting(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSetting = null)
    {
        $this->ringSetting = $ringSetting;
        return $this;
    }
    /**
     * Get consecutiveRingSetting value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getConsecutiveRingSetting()
    {
        return $this->consecutiveRingSetting;
    }
    /**
     * Set consecutiveRingSetting value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $consecutiveRingSetting
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setConsecutiveRingSetting(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $consecutiveRingSetting = null)
    {
        $this->consecutiveRingSetting = $consecutiveRingSetting;
        return $this;
    }
    /**
     * Get ringSettingIdlePickupAlert value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getRingSettingIdlePickupAlert()
    {
        return $this->ringSettingIdlePickupAlert;
    }
    /**
     * Set ringSettingIdlePickupAlert value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSettingIdlePickupAlert
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setRingSettingIdlePickupAlert(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSettingIdlePickupAlert = null)
    {
        $this->ringSettingIdlePickupAlert = $ringSettingIdlePickupAlert;
        return $this;
    }
    /**
     * Get ringSettingActivePickupAlert value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getRingSettingActivePickupAlert()
    {
        return $this->ringSettingActivePickupAlert;
    }
    /**
     * Set ringSettingActivePickupAlert value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSettingActivePickupAlert
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setRingSettingActivePickupAlert(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $ringSettingActivePickupAlert = null)
    {
        $this->ringSettingActivePickupAlert = $ringSettingActivePickupAlert;
        return $this;
    }
    /**
     * Get mwlPolicy value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getMwlPolicy()
    {
        return $this->mwlPolicy;
    }
    /**
     * Set mwlPolicy value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $mwlPolicy
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setMwlPolicy(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $mwlPolicy = null)
    {
        $this->mwlPolicy = $mwlPolicy;
        return $this;
    }
    /**
     * Get recordingProfileName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getRecordingProfileName()
    {
        return $this->recordingProfileName;
    }
    /**
     * Set recordingProfileName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingProfileName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setRecordingProfileName(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingProfileName = null)
    {
        $this->recordingProfileName = $recordingProfileName;
        return $this;
    }
    /**
     * Get monitoringCssName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getMonitoringCssName()
    {
        return $this->monitoringCssName;
    }
    /**
     * Set monitoringCssName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $monitoringCssName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setMonitoringCssName(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $monitoringCssName = null)
    {
        $this->monitoringCssName = $monitoringCssName;
        return $this;
    }
    /**
     * Get recordingFlag value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getRecordingFlag()
    {
        return $this->recordingFlag;
    }
    /**
     * Set recordingFlag value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingFlag
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setRecordingFlag(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingFlag = null)
    {
        $this->recordingFlag = $recordingFlag;
        return $this;
    }
    /**
     * Get audibleMwi value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getAudibleMwi()
    {
        return $this->audibleMwi;
    }
    /**
     * Set audibleMwi value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $audibleMwi
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setAudibleMwi(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $audibleMwi = null)
    {
        $this->audibleMwi = $audibleMwi;
        return $this;
    }
    /**
     * Get partitionUsage value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getPartitionUsage()
    {
        return $this->partitionUsage;
    }
    /**
     * Set partitionUsage value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $partitionUsage
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setPartitionUsage(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $partitionUsage = null)
    {
        $this->partitionUsage = $partitionUsage;
        return $this;
    }
    /**
     * Get recordingMediaSource value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType|null
     */
    public function getRecordingMediaSource()
    {
        return $this->recordingMediaSource;
    }
    /**
     * Set recordingMediaSource value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingMediaSource
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setRecordingMediaSource(\\Losc\CucmBundle\Model\Webservice\StructType\ORFkType $recordingMediaSource = null)
    {
        $this->recordingMediaSource = $recordingMediaSource;
        return $this;
    }
    /**
     * Get ctiid value
     * @return int|null
     */
    public function getCtiid()
    {
        return $this->ctiid;
    }
    /**
     * Set ctiid value
     * @param int $ctiid
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setCtiid($ctiid = null)
    {
        $this->ctiid = $ctiid;
        return $this;
    }
    /**
     * Get uuid value
     * @return string|null
     */
    public function getUuid()
    {
        return $this->uuid;
    }
    /**
     * Set uuid value
     * @param string $uuid
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ORPhoneLine
     */
    public function setUuid($uuid = null)
    {
        $this->uuid = $uuid;
        return $this;
    }
}
