<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddUserPhoneAssociationReq StructType
 * @subpackage Structs
 */
class AddUserPhoneAssociationReq extends APIRequest
{
    /**
     * The userPhoneAssociation
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XUserPhoneAssociation
     */
    public $userPhoneAssociation;
    /**
     * Constructor method for AddUserPhoneAssociationReq
     * @uses AddUserPhoneAssociationReq::setUserPhoneAssociation()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XUserPhoneAssociation $userPhoneAssociation
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XUserPhoneAssociation $userPhoneAssociation = null)
    {
        $this
            ->setUserPhoneAssociation($userPhoneAssociation);
    }
    /**
     * Get userPhoneAssociation value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XUserPhoneAssociation|null
     */
    public function getUserPhoneAssociation()
    {
        return $this->userPhoneAssociation;
    }
    /**
     * Set userPhoneAssociation value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XUserPhoneAssociation $userPhoneAssociation
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddUserPhoneAssociationReq
     */
    public function setUserPhoneAssociation(\\Losc\CucmBundle\Model\Webservice\StructType\XUserPhoneAssociation $userPhoneAssociation = null)
    {
        $this->userPhoneAssociation = $userPhoneAssociation;
        return $this;
    }
}
