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.ArrayList;
25 import java.util.List;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonProperty;
29 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
31 @JsonInclude(JsonInclude.Include.NON_NULL)
33 "request-client-name",
36 "health-diagnostic-code",
38 "send-detailed-cmd-response",
41 public class RequestHdCustom implements Serializable {
46 private static final long serialVersionUID = -206110458275127710L;
47 @JsonProperty("request-client-name")
48 private String requestClientName;
49 @JsonProperty("request-user-id")
50 private String requestUserId;
51 @JsonProperty("request-id")
52 private String requestId;
53 @JsonProperty("health-diagnostic-code")
54 private String healthDiagnosticCode;
55 @JsonProperty("operation-type")
56 private String operationType;
57 @JsonProperty("send-detailed-cmd-response")
58 private String sendDetailedCmdResponse = "false";
59 @JsonProperty("aai-param-list")
60 private List<AAIParamList> aaiParamList = new ArrayList<AAIParamList>();
63 * No args constructor for use in serialization
66 public RequestHdCustom() {
71 * @param requestClientName
72 * @param operationType
74 * @param healthDiagnosticCode
76 * @param requestUserId
78 public RequestHdCustom(String requestClientName, String requestUserId, String requestId, String healthDiagnosticCode, String operationType, List<AAIParamList> aaiParamList) {
80 this.requestClientName = requestClientName;
81 this.requestUserId = requestUserId;
82 this.requestId = requestId;
83 this.healthDiagnosticCode = healthDiagnosticCode;
84 this.operationType = operationType;
85 this.aaiParamList = aaiParamList;
88 @JsonProperty("request-client-name")
89 public String getRequestClientName() {
90 return requestClientName;
93 @JsonProperty("request-client-name")
94 public void setRequestClientName(String requestClientName) {
95 this.requestClientName = requestClientName;
98 public RequestHdCustom withRequestClientName(String requestClientName) {
99 this.requestClientName = requestClientName;
103 @JsonProperty("request-user-id")
104 public String getRequestUserId() {
105 return requestUserId;
108 @JsonProperty("request-user-id")
109 public void setRequestUserId(String requestUserId) {
110 this.requestUserId = requestUserId;
113 public RequestHdCustom withRequestUserId(String requestUserId) {
114 this.requestUserId = requestUserId;
118 @JsonProperty("request-id")
119 public String getRequestId() {
123 @JsonProperty("request-id")
124 public void setRequestId(String requestId) {
125 this.requestId = requestId;
128 public RequestHdCustom withRequestId(String requestId) {
129 this.requestId = requestId;
133 @JsonProperty("health-diagnostic-code")
134 public String getHealthDiagnosticCode() {
135 return healthDiagnosticCode;
138 @JsonProperty("health-diagnostic-code")
139 public void setHealthDiagnosticCode(String healthDiagnosticCode) {
140 this.healthDiagnosticCode = healthDiagnosticCode;
143 public RequestHdCustom withHealthDiagnosticCode(String healthDiagnosticCode) {
144 this.healthDiagnosticCode = healthDiagnosticCode;
148 @JsonProperty("operation-type")
149 public String getOperationType() {
150 return operationType;
153 @JsonProperty("operation-type")
154 public void setOperationType(String operationType) {
155 this.operationType = operationType;
158 public RequestHdCustom withOperationType(String operationType) {
159 this.operationType = operationType;
163 public void setSendDetailedCmdResponse(String sendDetailedCmdResponse) {
164 this.sendDetailedCmdResponse = sendDetailedCmdResponse;
167 public String getSendDetailedCmdResponse() {
168 return sendDetailedCmdResponse;
171 public RequestHdCustom withSendDetailedCmdResponse(String sendDetailedCmdResponse) {
172 this.sendDetailedCmdResponse = sendDetailedCmdResponse;
176 @JsonProperty("aai-param-list")
177 public List<AAIParamList> getAaiParamList() {
181 @JsonProperty("aai-param-list")
182 public void setAaiParamList(List<AAIParamList> aaiParamList) {
183 this.aaiParamList = aaiParamList;
186 public RequestHdCustom withAaiParamList(List<AAIParamList> aaiParamList) {
187 this.aaiParamList = aaiParamList;