<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdateUserProfileProvisionReq StructType
 * @subpackage Structs
 */
class UpdateUserProfileProvisionReq extends NameAndGUIDRequest
{
    /**
     * The newName
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - maxLength: 50
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var string
     */
    public $newName;
    /**
     * The description
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - maxLength: 255
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var string
     */
    public $description;
    /**
     * The deskPhones
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $deskPhones;
    /**
     * The mobileDevices
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $mobileDevices;
    /**
     * The profile
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $profile;
    /**
     * The universalLineTemplate
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $universalLineTemplate;
    /**
     * The allowProvision
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - default: false
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * - pattern: (t)|(f)|(true)|(false)|(0)|(1)
     * @var string
     */
    public $allowProvision;
    /**
     * The limitProvision
     * Meta information extracted from the WSDL
     * - default: 10
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var string
     */
    public $limitProvision;
    /**
     * The defaultUserProfile
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $defaultUserProfile;
    /**
     * Constructor method for UpdateUserProfileProvisionReq
     * @uses UpdateUserProfileProvisionReq::setNewName()
     * @uses UpdateUserProfileProvisionReq::setDescription()
     * @uses UpdateUserProfileProvisionReq::setDeskPhones()
     * @uses UpdateUserProfileProvisionReq::setMobileDevices()
     * @uses UpdateUserProfileProvisionReq::setProfile()
     * @uses UpdateUserProfileProvisionReq::setUniversalLineTemplate()
     * @uses UpdateUserProfileProvisionReq::setAllowProvision()
     * @uses UpdateUserProfileProvisionReq::setLimitProvision()
     * @uses UpdateUserProfileProvisionReq::setDefaultUserProfile()
     * @param string $newName
     * @param string $description
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $deskPhones
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $mobileDevices
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $profile
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $universalLineTemplate
     * @param string $allowProvision
     * @param string $limitProvision
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $defaultUserProfile
     */
    public function __construct($newName = null, $description = null, \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $deskPhones = null, \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $mobileDevices = null, \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $profile = null, \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $universalLineTemplate = null, $allowProvision = 'false', $limitProvision = '10', \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $defaultUserProfile = null)
    {
        $this
            ->setNewName($newName)
            ->setDescription($description)
            ->setDeskPhones($deskPhones)
            ->setMobileDevices($mobileDevices)
            ->setProfile($profile)
            ->setUniversalLineTemplate($universalLineTemplate)
            ->setAllowProvision($allowProvision)
            ->setLimitProvision($limitProvision)
            ->setDefaultUserProfile($defaultUserProfile);
    }
    /**
     * Get newName value
     * @return string|null
     */
    public function getNewName()
    {
        return $this->newName;
    }
    /**
     * Set newName value
     * @param string $newName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setNewName($newName = null)
    {
        $this->newName = $newName;
        return $this;
    }
    /**
     * Get description value
     * @return string|null
     */
    public function getDescription()
    {
        return $this->description;
    }
    /**
     * Set description value
     * @param string $description
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setDescription($description = null)
    {
        $this->description = $description;
        return $this;
    }
    /**
     * Get deskPhones value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getDeskPhones()
    {
        return $this->deskPhones;
    }
    /**
     * Set deskPhones value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $deskPhones
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setDeskPhones(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $deskPhones = null)
    {
        $this->deskPhones = $deskPhones;
        return $this;
    }
    /**
     * Get mobileDevices value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getMobileDevices()
    {
        return $this->mobileDevices;
    }
    /**
     * Set mobileDevices value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $mobileDevices
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setMobileDevices(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $mobileDevices = null)
    {
        $this->mobileDevices = $mobileDevices;
        return $this;
    }
    /**
     * Get profile value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getProfile()
    {
        return $this->profile;
    }
    /**
     * Set profile value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $profile
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setProfile(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $profile = null)
    {
        $this->profile = $profile;
        return $this;
    }
    /**
     * Get universalLineTemplate value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getUniversalLineTemplate()
    {
        return $this->universalLineTemplate;
    }
    /**
     * Set universalLineTemplate value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $universalLineTemplate
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setUniversalLineTemplate(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $universalLineTemplate = null)
    {
        $this->universalLineTemplate = $universalLineTemplate;
        return $this;
    }
    /**
     * Get allowProvision value
     * @return string|null
     */
    public function getAllowProvision()
    {
        return $this->allowProvision;
    }
    /**
     * Set allowProvision value
     * @param string $allowProvision
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setAllowProvision($allowProvision = 'false')
    {
        $this->allowProvision = $allowProvision;
        return $this;
    }
    /**
     * Get limitProvision value
     * @return string|null
     */
    public function getLimitProvision()
    {
        return $this->limitProvision;
    }
    /**
     * Set limitProvision value
     * @param string $limitProvision
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setLimitProvision($limitProvision = '10')
    {
        $this->limitProvision = $limitProvision;
        return $this;
    }
    /**
     * Get defaultUserProfile value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getDefaultUserProfile()
    {
        return $this->defaultUserProfile;
    }
    /**
     * Set defaultUserProfile value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $defaultUserProfile
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateUserProfileProvisionReq
     */
    public function setDefaultUserProfile(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $defaultUserProfile = null)
    {
        $this->defaultUserProfile = $defaultUserProfile;
        return $this;
    }
}
