Replaced all tabs with spaces in java and pom.xml
[so.git] / common / src / main / java / org / onap / so / client / sdno / beans / RequestHealthDiagnostic.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.sdno.beans;
22
23 import java.io.Serializable;
24 import java.util.HashMap;
25 import java.util.Map;
26 import com.fasterxml.jackson.annotation.JsonAnyGetter;
27 import com.fasterxml.jackson.annotation.JsonAnySetter;
28 import com.fasterxml.jackson.annotation.JsonIgnore;
29 import com.fasterxml.jackson.annotation.JsonInclude;
30 import com.fasterxml.jackson.annotation.JsonProperty;
31 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
32
33 @JsonInclude(JsonInclude.Include.NON_NULL)
34 @JsonPropertyOrder({"request-client-name", "request-node-name", "request-node-uuid", "request-node-ip", "request-id",
35         "request-user-id", "request-node-type", "health-diagnostic-code"})
36 public class RequestHealthDiagnostic implements Serializable {
37
38     @JsonProperty("request-client-name")
39     private String requestClientName;
40     @JsonProperty("request-node-name")
41     private String requestNodeName;
42     @JsonProperty("request-node-uuid")
43     private String requestNodeUuid;
44     @JsonProperty("request-node-ip")
45     private String requestNodeIp;
46     @JsonProperty("request-id")
47     private String requestId;
48     @JsonProperty("request-user-id")
49     private String requestUserId;
50     @JsonProperty("request-node-type")
51     private String requestNodeType;
52     @JsonProperty("health-diagnostic-code")
53     private String healthDiagnosticCode;
54     @JsonIgnore
55     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
56     private final static long serialVersionUID = 1166788526178388021L;
57
58     @JsonProperty("request-client-name")
59     public String getRequestClientName() {
60         return requestClientName;
61     }
62
63     @JsonProperty("request-client-name")
64     public void setRequestClientName(String requestClientName) {
65         this.requestClientName = requestClientName;
66     }
67
68     public RequestHealthDiagnostic withRequestClientName(String requestClientName) {
69         this.requestClientName = requestClientName;
70         return this;
71     }
72
73     @JsonProperty("request-node-name")
74     public String getRequestNodeName() {
75         return requestNodeName;
76     }
77
78     @JsonProperty("request-node-name")
79     public void setRequestNodeName(String requestNodeName) {
80         this.requestNodeName = requestNodeName;
81     }
82
83     public RequestHealthDiagnostic withRequestNodeName(String requestNodeName) {
84         this.requestNodeName = requestNodeName;
85         return this;
86     }
87
88     @JsonProperty("request-node-uuid")
89     public String getRequestNodeUuid() {
90         return requestNodeUuid;
91     }
92
93     @JsonProperty("request-node-uuid")
94     public void setRequestNodeUuid(String requestNodeUuid) {
95         this.requestNodeUuid = requestNodeUuid;
96     }
97
98     public RequestHealthDiagnostic withRequestNodeUuid(String requestNodeUuid) {
99         this.requestNodeUuid = requestNodeUuid;
100         return this;
101     }
102
103     @JsonProperty("request-node-ip")
104     public String getRequestNodeIp() {
105         return requestNodeIp;
106     }
107
108     @JsonProperty("request-node-ip")
109     public void setRequestNodeIp(String requestNodeIp) {
110         this.requestNodeIp = requestNodeIp;
111     }
112
113     public RequestHealthDiagnostic withRequestNodeIp(String requestNodeIp) {
114         this.requestNodeIp = requestNodeIp;
115         return this;
116     }
117
118     @JsonProperty("request-id")
119     public String getRequestId() {
120         return requestId;
121     }
122
123     @JsonProperty("request-id")
124     public void setRequestId(String requestId) {
125         this.requestId = requestId;
126     }
127
128     public RequestHealthDiagnostic withRequestId(String requestId) {
129         this.requestId = requestId;
130         return this;
131     }
132
133     @JsonProperty("request-user-id")
134     public String getRequestUserId() {
135         return requestUserId;
136     }
137
138     @JsonProperty("request-user-id")
139     public void setRequestUserId(String requestUserId) {
140         this.requestUserId = requestUserId;
141     }
142
143     public RequestHealthDiagnostic withRequestUserId(String requestUserId) {
144         this.requestUserId = requestUserId;
145         return this;
146     }
147
148     @JsonProperty("request-node-type")
149     public String getRequestNodeType() {
150         return requestNodeType;
151     }
152
153     @JsonProperty("request-node-type")
154     public void setRequestNodeType(String requestNodeType) {
155         this.requestNodeType = requestNodeType;
156     }
157
158     public RequestHealthDiagnostic withRequestNodeType(String requestNodeType) {
159         this.requestNodeType = requestNodeType;
160         return this;
161     }
162
163     @JsonProperty("health-diagnostic-code")
164     public String getHealthDiagnosticCode() {
165         return healthDiagnosticCode;
166     }
167
168     @JsonProperty("health-diagnostic-code")
169     public void setHealthDiagnosticCode(String healthDiagnosticCode) {
170         this.healthDiagnosticCode = healthDiagnosticCode;
171     }
172
173     public RequestHealthDiagnostic withHealthDiagnosticCode(String healthDiagnosticCode) {
174         this.healthDiagnosticCode = healthDiagnosticCode;
175         return this;
176     }
177
178     @JsonAnyGetter
179     public Map<String, Object> getAdditionalProperties() {
180         return this.additionalProperties;
181     }
182
183     @JsonAnySetter
184     public void setAdditionalProperty(String name, Object value) {
185         this.additionalProperties.put(name, value);
186     }
187
188     public void setAdditionalProperties(Map<String, Object> map) {
189         this.additionalProperties = map;
190     }
191
192     public RequestHealthDiagnostic withAdditionalProperty(String name, Object value) {
193         this.additionalProperties.put(name, value);
194         return this;
195     }
196
197 }