1package org.apache.archiva.redback.rest.api.model;
2/*3 * Licensed to the Apache Software Foundation (ASF) under one4 * or more contributor license agreements. See the NOTICE file5 * distributed with this work for additional information6 * regarding copyright ownership. The ASF licenses this file7 * to you under the Apache License, Version 2.0 (the8 * "License"); you may not use this file except in compliance9 * with the License. You may obtain a copy of the License at10 *11 * http://www.apache.org/licenses/LICENSE-2.012 *13 * Unless required by applicable law or agreed to in writing,14 * software distributed under the License is distributed on an15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY16 * KIND, either express or implied. See the License for the17 * specific language governing permissions and limitations18 * under the License.19 */2021import java.io.Serializable;
2223/**24 * @author Olivier Lamy25 */26publicclassResetPasswordRequest27implements Serializable
28 {
29private String username;
3031private String applicationUrl;
3233publicResetPasswordRequest()
34 {
35// no op36 }
3738publicResetPasswordRequest( String username, String applicationUrl )
39 {
40this.username = username;
41this.applicationUrl = applicationUrl;
42 }
4344public String getUsername()
45 {
46return username;
47 }
4849publicvoid setUsername( String username )
50 {
51this.username = username;
52 }
5354public String getApplicationUrl()
55 {
56return applicationUrl;
57 }
5859publicvoid setApplicationUrl( String applicationUrl )
60 {
61this.applicationUrl = applicationUrl;
62 }
6364 @Override
65public String toString()
66 {
67final StringBuilder sb = new StringBuilder();
68 sb.append( "ResetPasswordRequest" );
69 sb.append( "{username='" ).append( username ).append( '\'' );
70 sb.append( ", applicationUrl='" ).append( applicationUrl ).append( '\'' );
71 sb.append( '}' );
72return sb.toString();
73 }
74 }