<?php

namespace Sso\Webservices\ObjectBundle\Model\Response\AttributeGroup\Show\Entity;

use JMS\Serializer\Annotation as Serializer;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * @Serializer\XmlRoot("Types")
 * @Serializer\ExclusionPolicy("all")
 */
class Type
{

    /**
     *
     * Serializer
     * @Serializer\Expose
     * @Serializer\Type("string")
     * @Serializer\XmlValue()
     *
     * @var string
     */
    private $id;

    /**
     * Get name
     *
     * @return string
     */
    public function setId($id)
    {
        $this->id = $id;
        return $this;
    }

    /**
     * Get name
     *
     * @return string
     */
    public function getId()
    {
        return $this->id;
    }

}
