<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for selectedEndUser StructType
 * @subpackage Structs
 */
class SelectedEndUser extends AbstractStructBase
{
    /**
     * The endUserName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $endUserName;
    /**
     * The content
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: true
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XContent
     */
    public $content;
    /**
     * Constructor method for selectedEndUser
     * @uses SelectedEndUser::setEndUserName()
     * @uses SelectedEndUser::setContent()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $endUserName
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XContent $content
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $endUserName = null, \\Losc\CucmBundle\Model\Webservice\StructType\XContent $content = null)
    {
        $this
            ->setEndUserName($endUserName)
            ->setContent($content);
    }
    /**
     * Get endUserName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getEndUserName()
    {
        return $this->endUserName;
    }
    /**
     * Set endUserName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $endUserName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\SelectedEndUser
     */
    public function setEndUserName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $endUserName = null)
    {
        $this->endUserName = $endUserName;
        return $this;
    }
    /**
     * Get content value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XContent|null
     */
    public function getContent()
    {
        return $this->content;
    }
    /**
     * Set content value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XContent $content
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\SelectedEndUser
     */
    public function setContent(\\Losc\CucmBundle\Model\Webservice\StructType\XContent $content = null)
    {
        $this->content = $content;
        return $this;
    }
}
