2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.client.sdno.beans;
23 import java.io.Serializable;
24 import java.util.HashMap;
27 import com.fasterxml.jackson.annotation.JsonAnyGetter;
28 import com.fasterxml.jackson.annotation.JsonAnySetter;
29 import com.fasterxml.jackson.annotation.JsonIgnore;
30 import com.fasterxml.jackson.annotation.JsonInclude;
31 import com.fasterxml.jackson.annotation.JsonProperty;
32 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
34 @JsonInclude(JsonInclude.Include.NON_NULL)
36 "request-client-name",
43 "health-diagnostic-code"
45 public class RequestHealthDiagnostic implements Serializable
48 @JsonProperty("request-client-name")
49 private String requestClientName;
50 @JsonProperty("request-node-name")
51 private String requestNodeName;
52 @JsonProperty("request-node-uuid")
53 private String requestNodeUuid;
54 @JsonProperty("request-node-ip")
55 private String requestNodeIp;
56 @JsonProperty("request-id")
57 private String requestId;
58 @JsonProperty("request-user-id")
59 private String requestUserId;
60 @JsonProperty("request-node-type")
61 private String requestNodeType;
62 @JsonProperty("health-diagnostic-code")
63 private String healthDiagnosticCode;
65 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
66 private final static long serialVersionUID = 1166788526178388021L;
68 @JsonProperty("request-client-name")
69 public String getRequestClientName() {
70 return requestClientName;
73 @JsonProperty("request-client-name")
74 public void setRequestClientName(String requestClientName) {
75 this.requestClientName = requestClientName;
78 public RequestHealthDiagnostic withRequestClientName(String requestClientName) {
79 this.requestClientName = requestClientName;
83 @JsonProperty("request-node-name")
84 public String getRequestNodeName() {
85 return requestNodeName;
88 @JsonProperty("request-node-name")
89 public void setRequestNodeName(String requestNodeName) {
90 this.requestNodeName = requestNodeName;
93 public RequestHealthDiagnostic withRequestNodeName(String requestNodeName) {
94 this.requestNodeName = requestNodeName;
98 @JsonProperty("request-node-uuid")
99 public String getRequestNodeUuid() {
100 return requestNodeUuid;
103 @JsonProperty("request-node-uuid")
104 public void setRequestNodeUuid(String requestNodeUuid) {
105 this.requestNodeUuid = requestNodeUuid;
108 public RequestHealthDiagnostic withRequestNodeUuid(String requestNodeUuid) {
109 this.requestNodeUuid = requestNodeUuid;
113 @JsonProperty("request-node-ip")
114 public String getRequestNodeIp() {
115 return requestNodeIp;
118 @JsonProperty("request-node-ip")
119 public void setRequestNodeIp(String requestNodeIp) {
120 this.requestNodeIp = requestNodeIp;
123 public RequestHealthDiagnostic withRequestNodeIp(String requestNodeIp) {
124 this.requestNodeIp = requestNodeIp;
128 @JsonProperty("request-id")
129 public String getRequestId() {
133 @JsonProperty("request-id")
134 public void setRequestId(String requestId) {
135 this.requestId = requestId;
138 public RequestHealthDiagnostic withRequestId(String requestId) {
139 this.requestId = requestId;
143 @JsonProperty("request-user-id")
144 public String getRequestUserId() {
145 return requestUserId;
148 @JsonProperty("request-user-id")
149 public void setRequestUserId(String requestUserId) {
150 this.requestUserId = requestUserId;
153 public RequestHealthDiagnostic withRequestUserId(String requestUserId) {
154 this.requestUserId = requestUserId;
158 @JsonProperty("request-node-type")
159 public String getRequestNodeType() {
160 return requestNodeType;
163 @JsonProperty("request-node-type")
164 public void setRequestNodeType(String requestNodeType) {
165 this.requestNodeType = requestNodeType;
168 public RequestHealthDiagnostic withRequestNodeType(String requestNodeType) {
169 this.requestNodeType = requestNodeType;
173 @JsonProperty("health-diagnostic-code")
174 public String getHealthDiagnosticCode() {
175 return healthDiagnosticCode;
178 @JsonProperty("health-diagnostic-code")
179 public void setHealthDiagnosticCode(String healthDiagnosticCode) {
180 this.healthDiagnosticCode = healthDiagnosticCode;
183 public RequestHealthDiagnostic withHealthDiagnosticCode(String healthDiagnosticCode) {
184 this.healthDiagnosticCode = healthDiagnosticCode;
189 public Map<String, Object> getAdditionalProperties() {
190 return this.additionalProperties;
194 public void setAdditionalProperty(String name, Object value) {
195 this.additionalProperties.put(name, value);
198 public void setAdditionalProperties(Map<String, Object> map) {
199 this.additionalProperties = map;
202 public RequestHealthDiagnostic withAdditionalProperty(String name, Object value) {
203 this.additionalProperties.put(name, value);