Replaced all tabs with spaces in java and pom.xml
[so.git] / common / src / main / java / org / onap / so / client / grm / beans / ServiceEndPoint.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.client.grm.beans;
22
23 import java.io.Serializable;
24 import java.util.List;
25 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
29 import com.fasterxml.jackson.annotation.JsonRootName;
30
31 @JsonRootName(value = "serviceEndPoint")
32 @JsonInclude(JsonInclude.Include.NON_NULL)
33 @JsonIgnoreProperties(ignoreUnknown = true)
34 @JsonPropertyOrder({"name", "version", "hostAddress", "listenPort", "latitude", "longitude", "registrationTime",
35         "expirationTime", "contextPath", "routeOffer", "statusInfo", "eventStatusInfo", "validatorStatusInfo",
36         "operationalInfo", "protocol", "properties", "disableType"})
37 public class ServiceEndPoint implements Serializable {
38
39     private static final long serialVersionUID = -1594441352549128491L;
40
41     @JsonProperty("name")
42     private String name;
43     @JsonProperty("version")
44     private Version version;
45     @JsonProperty("hostAddress")
46     private String hostAddress;
47     @JsonProperty("listenPort")
48     private String listenPort;
49     @JsonProperty("latitude")
50     private String latitude;
51     @JsonProperty("longitude")
52     private String longitude;
53     @JsonProperty("registrationTime")
54     private String registrationTime;
55     @JsonProperty("expirationTime")
56     private String expirationTime;
57     @JsonProperty("contextPath")
58     private String contextPath;
59     @JsonProperty("routeOffer")
60     private String routeOffer;
61     @JsonProperty("statusInfo")
62     private Status statusInfo;
63     @JsonProperty("eventStatusInfo")
64     private Status eventStatusInfo;
65     @JsonProperty("validatorStatusInfo")
66     private Status validatorStatusInfo;
67     @JsonProperty("operationalInfo")
68     private OperationalInfo operationalInfo;
69     @JsonProperty("protocol")
70     private String protocol;
71     @JsonProperty("properties")
72     private List<Property> properties = null;
73     @JsonProperty("disableType")
74     private List<Object> disableType = null;
75
76     @JsonProperty("name")
77     public String getName() {
78         return name;
79     }
80
81     @JsonProperty("name")
82     public void setName(String name) {
83         this.name = name;
84     }
85
86     @JsonProperty("version")
87     public Version getVersion() {
88         return version;
89     }
90
91     @JsonProperty("version")
92     public void setVersion(Version version) {
93         this.version = version;
94     }
95
96     @JsonProperty("hostAddress")
97     public String getHostAddress() {
98         return hostAddress;
99     }
100
101     @JsonProperty("hostAddress")
102     public void setHostAddress(String hostAddress) {
103         this.hostAddress = hostAddress;
104     }
105
106     @JsonProperty("listenPort")
107     public String getListenPort() {
108         return listenPort;
109     }
110
111     @JsonProperty("listenPort")
112     public void setListenPort(String listenPort) {
113         this.listenPort = listenPort;
114     }
115
116     @JsonProperty("latitude")
117     public String getLatitude() {
118         return latitude;
119     }
120
121     @JsonProperty("latitude")
122     public void setLatitude(String latitude) {
123         this.latitude = latitude;
124     }
125
126     @JsonProperty("longitude")
127     public String getLongitude() {
128         return longitude;
129     }
130
131     @JsonProperty("longitude")
132     public void setLongitude(String longitude) {
133         this.longitude = longitude;
134     }
135
136     @JsonProperty("registrationTime")
137     public String getRegistrationTime() {
138         return registrationTime;
139     }
140
141     @JsonProperty("registrationTime")
142     public void setRegistrationTime(String registrationTime) {
143         this.registrationTime = registrationTime;
144     }
145
146     @JsonProperty("expirationTime")
147     public String getExpirationTime() {
148         return expirationTime;
149     }
150
151     @JsonProperty("expirationTime")
152     public void setExpirationTime(String expirationTime) {
153         this.expirationTime = expirationTime;
154     }
155
156     @JsonProperty("contextPath")
157     public String getContextPath() {
158         return contextPath;
159     }
160
161     @JsonProperty("contextPath")
162     public void setContextPath(String contextPath) {
163         this.contextPath = contextPath;
164     }
165
166     @JsonProperty("routeOffer")
167     public String getRouteOffer() {
168         return routeOffer;
169     }
170
171     @JsonProperty("routeOffer")
172     public void setRouteOffer(String routeOffer) {
173         this.routeOffer = routeOffer;
174     }
175
176     @JsonProperty("statusInfo")
177     public Status getStatusInfo() {
178         return statusInfo;
179     }
180
181     @JsonProperty("statusInfo")
182     public void setStatusInfo(Status statusInfo) {
183         this.statusInfo = statusInfo;
184     }
185
186     @JsonProperty("eventStatusInfo")
187     public Status getEventStatusInfo() {
188         return eventStatusInfo;
189     }
190
191     @JsonProperty("eventStatusInfo")
192     public void setEventStatusInfo(Status eventStatusInfo) {
193         this.eventStatusInfo = eventStatusInfo;
194     }
195
196     @JsonProperty("validatorStatusInfo")
197     public Status getValidatorStatusInfo() {
198         return validatorStatusInfo;
199     }
200
201     @JsonProperty("validatorStatusInfo")
202     public void setValidatorStatusInfo(Status validatorStatusInfo) {
203         this.validatorStatusInfo = validatorStatusInfo;
204     }
205
206     @JsonProperty("operationalInfo")
207     public OperationalInfo getOperationalInfo() {
208         return operationalInfo;
209     }
210
211     @JsonProperty("operationalInfo")
212     public void setOperationalInfo(OperationalInfo operationalInfo) {
213         this.operationalInfo = operationalInfo;
214     }
215
216     @JsonProperty("protocol")
217     public String getProtocol() {
218         return protocol;
219     }
220
221     @JsonProperty("protocol")
222     public void setProtocol(String protocol) {
223         this.protocol = protocol;
224     }
225
226     @JsonProperty("properties")
227     public List<Property> getProperties() {
228         return properties;
229     }
230
231     @JsonProperty("properties")
232     public void setProperties(List<Property> properties) {
233         this.properties = properties;
234     }
235
236     @JsonProperty("disableType")
237     public List<Object> getDisableType() {
238         return disableType;
239     }
240
241     @JsonProperty("disableType")
242     public void setDisableType(List<Object> disableType) {
243         this.disableType = disableType;
244     }
245
246 }