Fixing SO build
[so.git] / adapters / etsi-sol003-adapter / etsi-sol003-lcm / etsi-sol003-lcm-adapter / src / main / java / org / onap / so / adapters / etsi / sol003 / adapter / lcm / extclients / vim / model / InterfaceInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Nordix Foundation.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.adapters.etsi.sol003.adapter.lcm.extclients.vim.model;
22
23 import java.util.Objects;
24
25 public class InterfaceInfo {
26
27     protected String identityEndPoint;
28
29     public String getIdentityEndPoint() {
30         return identityEndPoint;
31     }
32
33     public void setIdentityEndPoint(final String value) {
34         identityEndPoint = value;
35     }
36
37     @Override
38     public boolean equals(final java.lang.Object o) {
39         if (this == o) {
40             return true;
41         }
42         if (o == null || getClass() != o.getClass()) {
43             return false;
44         }
45         final InterfaceInfo interfaceInfo = (InterfaceInfo) o;
46         return Objects.equals(this.identityEndPoint, interfaceInfo.identityEndPoint);
47     }
48
49     @Override
50     public int hashCode() {
51         return Objects.hash(identityEndPoint);
52     }
53
54     @Override
55     public String toString() {
56         final StringBuilder sb = new StringBuilder();
57         sb.append("class InterfaceInfo {\n");
58
59         sb.append("    identityEndPoint: ").append(toIndentedString(identityEndPoint)).append("\n");
60         sb.append("}");
61         return sb.toString();
62     }
63
64     /**
65      * Convert the given object to string with each line indented by 4 spaces (except the first line).
66      */
67     private String toIndentedString(final java.lang.Object o) {
68         if (o == null) {
69             return "null";
70         }
71         return o.toString().replace("\n", "\n    ");
72     }
73
74 }