Divide the MSB source codes into two repos
[msb/apigateway.git] / apiroute / apiroute-service / src / main / java / org / onap / msb / apiroute / wrapper / dao / route / bean / Spec.java
1 package org.onap.msb.apiroute.wrapper.dao.route.bean;
2
3 import lombok.AllArgsConstructor;
4 import lombok.Getter;
5 import lombok.NoArgsConstructor;
6 import lombok.Setter;
7
8 @AllArgsConstructor
9 @NoArgsConstructor
10 @Getter @Setter
11 public class Spec {
12     private String visualRange = "";
13     private String url = "";
14     private String publish_port;
15     private String host = "";
16     private String apijson = "";
17     private String apijsontype = "";
18     private String metricsUrl = "";
19     private String consulServiceName = "";
20     private String useOwnUpstream = "";
21     private String publish_protocol = "";
22     private boolean enable_ssl = false;
23     private String control = "";
24     private Node[] nodes;
25
26     /*
27     @Override
28     public boolean equals(Object o) {
29         if (this == o) return true;
30         if (o == null || getClass() != o.getClass()) return false;
31         Spec spec = (Spec) o;
32         return Objects.equals(enable_ssl, spec.enable_ssl) &&
33                 Objects.equals(visualRange, spec.visualRange) &&
34                 Objects.equals(url, spec.url) &&
35                 Objects.equals(publish_port, spec.publish_port) &&
36                 Objects.equals(host, spec.host) &&
37                 Objects.equals(apijson, spec.apijson) &&
38                 Objects.equals(apijsontype, spec.apijsontype) &&
39                 Objects.equals(metricsUrl, spec.metricsUrl) &&
40                 Objects.equals(consulServiceName, spec.consulServiceName) &&
41                 Objects.equals(useOwnUpstream, spec.useOwnUpstream) &&
42                 Objects.equals(publish_protocol, spec.publish_protocol) &&
43                 Objects.equals(control, spec.control) &&
44                 Arrays.equals(nodes, spec.nodes);
45     }
46
47     @Override
48     public int hashCode() {
49         return Objects.hash(visualRange, url, publish_port, host, apijson, apijsontype, metricsUrl, consulServiceName, useOwnUpstream, publish_protocol, enable_ssl, control, nodes);
50     }
51     */
52 }