Divide the MSB source codes into two repos
[msb/apigateway.git] / apiroute / apiroute-service / src / main / java / org / onap / msb / apiroute / wrapper / dao / service / bean / Spec.java
1 package org.onap.msb.apiroute.wrapper.dao.service.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 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;
20     private Node[] nodes;
21
22     /*
23     @Override
24     public boolean equals(Object o) {
25         if (this == o) return true;
26         if (o == null || getClass() != o.getClass()) return false;
27         Spec spec = (Spec) o;
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);
37     }
38
39     @Override
40     public int hashCode() {
41         return Objects.hash(visualRange, url, path, publish_port, host, protocol, lb_policy, enable_ssl, nodes);
42     }
43     */
44 }