<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XProcessNodes StructType
 * @subpackage Structs
 */
class XProcessNodes extends AbstractStructBase
{
    /**
     * The lbmAssignedServices
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: true
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $lbmAssignedServices;
    /**
     * Constructor method for XProcessNodes
     * @uses XProcessNodes::setLbmAssignedServices()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $lbmAssignedServices
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $lbmAssignedServices = null)
    {
        $this
            ->setLbmAssignedServices($lbmAssignedServices);
    }
    /**
     * Get lbmAssignedServices value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getLbmAssignedServices()
    {
        return isset($this->lbmAssignedServices) ? $this->lbmAssignedServices : null;
    }
    /**
     * Set lbmAssignedServices value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $lbmAssignedServices
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XProcessNodes
     */
    public function setLbmAssignedServices(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $lbmAssignedServices = null)
    {
        if (is_null($lbmAssignedServices) || (is_array($lbmAssignedServices) && empty($lbmAssignedServices))) {
            unset($this->lbmAssignedServices);
        } else {
            $this->lbmAssignedServices = $lbmAssignedServices;
        }
        return $this;
    }
}
