/*
 * Copyright 2021 Wultra s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.getlime.security.powerauth.lib.nextstep.model.response;

import io.getlime.security.powerauth.lib.nextstep.model.entity.enumeration.CredentialStatus;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Response object used for resetting a credential.
 *
 * @author Roman Strobl, roman.strobl@wultra.com
 */
@Data
public class ResetCredentialResponse {

    @NotNull
    private String userId;
    @NotNull
    private String credentialName;
    @NotNull
    private String credentialValue;
    @NotNull
    private CredentialStatus credentialStatus;

}

@@ -1060,16 +1060,45 @@
 alName;%0A
+    private String username;%0A
     @Not

Return username after credential reset