1 /*******************************************************************************
\r
2 * Copyright © 2017-2018 AT&T Intellectual Property.
\r
3 * Modifications Copyright © 2018 IBM.
\r
5 * Licensed under the Apache License, Version 2.0 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
16 ******************************************************************************/
\r
17 package org.onap.ccsdk.apps.ms.vlantagapi.core.model;
\r
19 import java.util.ArrayList;
\r
20 import java.util.List;
\r
21 import java.util.Objects;
\r
23 import jakarta.validation.Valid;
\r
25 import com.fasterxml.jackson.annotation.JsonProperty;
\r
27 import io.swagger.annotations.ApiModelProperty;
\r
30 * UnassignVlanTagRequest.java Purpose: Provide Unassign VlanTag Request Model
\r
32 * @author Saurav Paira
\r
35 public class UnassignVlanTagRequest {
\r
37 private @Valid List<UnassignVlanTagRequestInput> input = new ArrayList<>();
\r
41 public UnassignVlanTagRequest input(List<UnassignVlanTagRequestInput> input) {
\r
46 @ApiModelProperty(value = "")
\r
47 @JsonProperty("input")
\r
48 public List<UnassignVlanTagRequestInput> getInput() {
\r
52 public void setInput(List<UnassignVlanTagRequestInput> input) {
\r
57 public boolean equals(java.lang.Object o) {
\r
61 if (o == null || getClass() != o.getClass()) {
\r
64 UnassignVlanTagRequest unassignVlanTagRequest = (UnassignVlanTagRequest) o;
\r
65 return Objects.equals(input, unassignVlanTagRequest.input);
\r
69 public int hashCode() {
\r
70 return Objects.hash(input);
\r
74 public String toString() {
\r
75 StringBuilder sb = new StringBuilder();
\r
76 sb.append("class UnassignVlanTagRequest {\n");
\r
78 sb.append(" input: ").append(toIndentedString(input)).append("\n");
\r
80 return sb.toString();
\r
84 * Convert the given object to string with each line indented by 4 spaces
\r
85 * (except the first line).
\r
87 private String toIndentedString(java.lang.Object o) {
\r
91 return o.toString().replace("\n", "\n ");
\r