1 package org.onap.vid.category;
4 * ============LICENSE_START=======================================================
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
15 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
25 import java.util.ArrayList;
26 import java.util.List;
27 import java.util.Objects;
29 public class AddCategoryOptionsRequest {
31 public List<String> options;
33 public AddCategoryOptionsRequest() {
34 options = new ArrayList<>();
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);
46 public int hashCode() {
47 return Objects.hash(this.options);