5ae1d5242bcc9091559c908f90db069a8d242ff4
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / client / aai / entities / ServiceException.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.openecomp.mso.client.aai.entities;
22
23 import java.util.List;
24 import com.fasterxml.jackson.annotation.JsonInclude;
25 import com.fasterxml.jackson.annotation.JsonProperty;
26 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27
28 @JsonInclude(JsonInclude.Include.NON_NULL)
29 @JsonPropertyOrder({
30     "messageId",
31     "text",
32     "variables"
33 })
34 public class ServiceException {
35
36     @JsonProperty("messageId")
37     private String messageId;
38     @JsonProperty("text")
39     private String text;
40     @JsonProperty("variables")
41     private List<String> variables = null;
42
43     @JsonProperty("messageId")
44     public String getMessageId() {
45         return messageId;
46     }
47
48     @JsonProperty("messageId")
49     public void setMessageId(String messageId) {
50         this.messageId = messageId;
51     }
52
53     @JsonProperty("text")
54     public String getText() {
55         return text;
56     }
57
58     @JsonProperty("text")
59     public void setText(String text) {
60         this.text = text;
61     }
62
63     @JsonProperty("variables")
64     public List<String> getVariables() {
65         return variables;
66     }
67
68     @JsonProperty("variables")
69     public void setVariables(List<String> variables) {
70         this.variables = variables;
71     }
72
73 }