Merge "Bump VID master version to 6.0.0 (Frankfurt)"
[vid.git] / vid-app-common / src / main / java / org / onap / vid / category / AddCategoryOptionResponse.java
1 package org.onap.vid.category;
2
3 /*-
4  * ============LICENSE_START=======================================================
5  * VID
6  * ================================================================================
7  * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
8  * Modifications Copyright (C) 2018 - 2019 Nokia. All rights reserved.
9  * ================================================================================
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  * 
14  *      http://www.apache.org/licenses/LICENSE-2.0
15  * 
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  * ============LICENSE_END=========================================================
22  */
23
24 import org.onap.vid.model.ListOfErrorsResponse;
25
26 import java.util.List;
27
28 public class AddCategoryOptionResponse extends ListOfErrorsResponse {
29
30     public AddCategoryOptionResponse() {
31     }
32
33     public AddCategoryOptionResponse(String error) {
34         errors.add(error);
35     }
36
37     public AddCategoryOptionResponse(List<String> errors) {
38         super(errors);
39     }
40 }