<?php

/**
 * LICENSE: This Software is the property of Lifestyle Webconsulting GmbH (Aschaffenburg, Germany)
 * and is protected 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\WebserviceBundle\Services\User\ResetPassword\Response\Version2;

use JMS\Serializer\Annotation as Serializer;

/**
 * Class User
 * @package Sso\WebserviceBundle\Services\User\ResetPassword\Response\Version2
 */
class User
{
    /**
     * @Serializer\SerializedName("ResetPassword")
     * @Serializer\Type("array<Sso\WebserviceBundle\Services\User\ResetPassword\Response\Version2\ResetPassword>")
     * @Serializer\XmlList(inline=true, entry="ResetPassword")
     * @var ResetPassword[]
     */
    private $resetPassword = array();

    /**
     * @param ResetPassword $update
     */
    public function addResetPassword(ResetPassword $resetPassword)
    {
        $this->resetPassword[] = $resetPassword;
    }
}
