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=========================================================
22 package org.openecomp.mso.client.sdno.beans;
24 import java.util.ArrayList;
25 import java.util.List;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
30 @JsonInclude(JsonInclude.Include.NON_NULL)
32 "request-client-name",
35 "health-diagnostic-code",
39 public class RequestHdCustom {
41 @JsonProperty("request-client-name")
42 private String requestClientName;
43 @JsonProperty("request-user-id")
44 private String requestUserId;
45 @JsonProperty("request-id")
46 private String requestId;
47 @JsonProperty("health-diagnostic-code")
48 private String healthDiagnosticCode;
49 @JsonProperty("operation-type")
50 private String operationType;
51 @JsonProperty("aai-param-list")
52 private List<AAIParamList> aaiParamList = new ArrayList<AAIParamList>();
55 * No args constructor for use in serialization
58 public RequestHdCustom() {
63 * @param requestClientName
64 * @param operationType
66 * @param healthDiagnosticCode
68 * @param requestUserId
70 public RequestHdCustom(String requestClientName, String requestUserId, String requestId, String healthDiagnosticCode, String operationType, List<AAIParamList> aaiParamList) {
72 this.requestClientName = requestClientName;
73 this.requestUserId = requestUserId;
74 this.requestId = requestId;
75 this.healthDiagnosticCode = healthDiagnosticCode;
76 this.operationType = operationType;
77 this.aaiParamList = aaiParamList;
80 @JsonProperty("request-client-name")
81 public String getRequestClientName() {
82 return requestClientName;
85 @JsonProperty("request-client-name")
86 public void setRequestClientName(String requestClientName) {
87 this.requestClientName = requestClientName;
90 public RequestHdCustom withRequestClientName(String requestClientName) {
91 this.requestClientName = requestClientName;
95 @JsonProperty("request-user-id")
96 public String getRequestUserId() {
100 @JsonProperty("request-user-id")
101 public void setRequestUserId(String requestUserId) {
102 this.requestUserId = requestUserId;
105 public RequestHdCustom withRequestUserId(String requestUserId) {
106 this.requestUserId = requestUserId;
110 @JsonProperty("request-id")
111 public String getRequestId() {
115 @JsonProperty("request-id")
116 public void setRequestId(String requestId) {
117 this.requestId = requestId;
120 public RequestHdCustom withRequestId(String requestId) {
121 this.requestId = requestId;
125 @JsonProperty("health-diagnostic-code")
126 public String getHealthDiagnosticCode() {
127 return healthDiagnosticCode;
130 @JsonProperty("health-diagnostic-code")
131 public void setHealthDiagnosticCode(String healthDiagnosticCode) {
132 this.healthDiagnosticCode = healthDiagnosticCode;
135 public RequestHdCustom withHealthDiagnosticCode(String healthDiagnosticCode) {
136 this.healthDiagnosticCode = healthDiagnosticCode;
140 @JsonProperty("operation-type")
141 public String getOperationType() {
142 return operationType;
145 @JsonProperty("operation-type")
146 public void setOperationType(String operationType) {
147 this.operationType = operationType;
150 public RequestHdCustom withOperationType(String operationType) {
151 this.operationType = operationType;
155 @JsonProperty("aai-param-list")
156 public List<AAIParamList> getAaiParamList() {
160 @JsonProperty("aai-param-list")
161 public void setAaiParamList(List<AAIParamList> aaiParamList) {
162 this.aaiParamList = aaiParamList;
165 public RequestHdCustom withAaiParamList(List<AAIParamList> aaiParamList) {
166 this.aaiParamList = aaiParamList;