1 package org.onap.msb.apiroute.wrapper.dao.service.bean;
3 import lombok.AllArgsConstructor;
5 import lombok.NoArgsConstructor;
12 private String visualRange = "";
13 private String url = "";
14 private String path = "";
15 private String publish_port;
16 private String host = "";
17 private String protocol = "";
18 private String lb_policy = "";
19 private boolean enable_ssl = false;
24 public boolean equals(Object o) {
25 if (this == o) return true;
26 if (o == null || getClass() != o.getClass()) return false;
28 return Objects.equals(enable_ssl, spec.enable_ssl) &&
29 Objects.equals(visualRange, spec.visualRange) &&
30 Objects.equals(url, spec.url) &&
31 Objects.equals(path, spec.path) &&
32 Objects.equals(publish_port, spec.publish_port) &&
33 Objects.equals(host, spec.host) &&
34 Objects.equals(protocol, spec.protocol) &&
35 Objects.equals(lb_policy, spec.lb_policy) &&
36 Arrays.equals(nodes, spec.nodes);
40 public int hashCode() {
41 return Objects.hash(visualRange, url, path, publish_port, host, protocol, lb_policy, enable_ssl, nodes);