<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XUserGroupRoles StructType
 * @subpackage Structs
 */
class XUserGroupRoles extends AbstractStructBase
{
    /**
     * The roleName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $roleName;
    /**
     * Constructor method for XUserGroupRoles
     * @uses XUserGroupRoles::setRoleName()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $roleName
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $roleName = null)
    {
        $this
            ->setRoleName($roleName);
    }
    /**
     * Get roleName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getRoleName()
    {
        return $this->roleName;
    }
    /**
     * Set roleName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $roleName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XUserGroupRoles
     */
    public function setRoleName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $roleName = null)
    {
        $this->roleName = $roleName;
        return $this;
    }
}
