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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
21 package org.onap.so.adapters.etsi.sol003.adapter.lcm.extclients.vim.model;
23 import java.util.Objects;
25 public class InterfaceInfo {
27 protected String identityEndPoint;
29 public String getIdentityEndPoint() {
30 return identityEndPoint;
33 public void setIdentityEndPoint(final String value) {
34 identityEndPoint = value;
38 public boolean equals(final java.lang.Object o) {
42 if (o == null || getClass() != o.getClass()) {
45 final InterfaceInfo interfaceInfo = (InterfaceInfo) o;
46 return Objects.equals(this.identityEndPoint, interfaceInfo.identityEndPoint);
50 public int hashCode() {
51 return Objects.hash(identityEndPoint);
55 public String toString() {
56 final StringBuilder sb = new StringBuilder();
57 sb.append("class InterfaceInfo {\n");
59 sb.append(" identityEndPoint: ").append(toIndentedString(identityEndPoint)).append("\n");
65 * Convert the given object to string with each line indented by 4 spaces (except the first line).
67 private String toIndentedString(final java.lang.Object o) {
71 return o.toString().replace("\n", "\n ");