1package org.apache.archiva.rest.api.model;
23/*4 * Licensed to the Apache Software Foundation (ASF) under one5 * or more contributor license agreements. See the NOTICE file6 * distributed with this work for additional information7 * regarding copyright ownership. The ASF licenses this file8 * to you under the Apache License, Version 2.0 (the9 * "License"); you may not use this file except in compliance10 * with the License. You may obtain a copy of the License at11 *12 * http://www.apache.org/licenses/LICENSE-2.013 *14 * Unless required by applicable law or agreed to in writing,15 * software distributed under the License is distributed on an16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY17 * KIND, either express or implied. See the License for the18 * specific language governing permissions and limitations19 * under the License.20 */2122import java.io.Serializable;
23import java.util.List;
2425/**26 * @since 2.2.027 */28publicclassChecksumSearch29implements Serializable
30 {
31private List<String> repositories;
3233private String checksum;
3435publicChecksumSearch()
36 {
37// nope38 }
3940publicChecksumSearch( List<String> repositories, String checksum )
41 {
42this.repositories = repositories;
43this.checksum = checksum;
44 }
4546public List<String> getRepositories()
47 {
48return repositories;
49 }
5051publicvoid setRepositories( List<String> repositories )
52 {
53this.repositories = repositories;
54 }
5556public String getChecksum()
57 {
58return checksum;
59 }
6061publicvoid setChecksum( String checksum )
62 {
63this.checksum = checksum;
64 }
6566 @Override
67public String toString()
68 {
69return"ChecksumSearch{" +
70"repositories=" + repositories +
71", checksum='" + checksum + '\'' +
72 '}';
73 }
74 }