Merge "Fix and improvement for MsoBusinessLogic tests"
[vid.git] / vid-app-common / src / main / java / org / onap / vid / category / AddCategoryOptionsRequest.java
1 package org.onap.vid.category;
2
3 /*-
4  * ============LICENSE_START=======================================================
5  * VID
6  * ================================================================================
7  * Copyright © 2018 AT&T Intellectual Property. All rights reserved.
8  * ================================================================================
9  * Modifications Copyright 2018 Nokia
10  * ================================================================================
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  *      http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  * ============LICENSE_END=========================================================
23  */
24
25 import java.util.ArrayList;
26 import java.util.List;
27 import java.util.Objects;
28
29 public class AddCategoryOptionsRequest {
30
31         public List<String> options;
32
33         public AddCategoryOptionsRequest() {
34                 options = new ArrayList<>();
35         }
36
37         @Override
38         public boolean equals(Object o) {
39                 if (this == o) return true;
40                 if (o == null || this.getClass() != o.getClass()) return false;
41                 AddCategoryOptionsRequest that = (AddCategoryOptionsRequest) o;
42                 return Objects.equals(this.options, that.options);
43         }
44
45         @Override
46         public int hashCode() {
47                 return Objects.hash(this.options);
48         }
49 }