<?php

/**
 * Lifestyle Webconsulting GmbH
 *
 * LICENSE: This Software is the property of Lifestyle Webconsulting GmbH (Aschaffenburg, Germany)
 * and is private by copyright law - it is NOT Freeware.
 *
 * Any unauthorized use of this software without a valid license
 * is a violation of the license agreement and will be prosecuted by
 * civil and criminal law.
 *
 * @copyright  2018 Lifestyle Webconsulting GmbH
 * @link       http://www.life-style.de
 */

namespace Sso\RestBundle\ModelXml\Response\ObjectWs\Version1\AttributeGroup\Update\Success;

use JMS\Serializer\Annotation as Serializer;

/**
 * Class Update
 *
 * @copyright  2016 Lifestyle Webconsulting GmbH
 * @link       http://www.life-style.de
 * @package    Sso\RestBundle\ModelXml\Response\ObjectWs\Version1\AttributeGroup\Update\Success
 */
class Update
{
    /**
     * @Serializer\SerializedName("Status")
     * @Serializer\Type("string")
     *
     * @var string
     */
    private $status;

    /**
     * @Serializer\SerializedName("AttributeGroupType")
     * @Serializer\Type("Sso\RestBundle\ModelXml\Response\ObjectWs\Version1\AttributeGroup\Update\Success\AttributeGroupType")
     *
     * @var AttributeGroupType
     */
    private $attributeGroupType;

    /**
     * @return string
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * @param string $status
     *
     * @return $this
     */
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * @return AttributeGroupType
     */
    public function getAttributeGroupType()
    {
        return $this->attributeGroupType;
    }

    /**
     * @param AttributeGroupType $attributeGroupType
     *
     * @return Update
     */
    public function setAttributeGroupType(AttributeGroupType $attributeGroupType)
    {
        $this->attributeGroupType = $attributeGroupType;

        return $this;
    }
}
