[SDNC-30] summary
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / onap / ccsdk / sli / adaptors / aai / data / ResponseMessage.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 ONAP Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.ccsdk.sli.adaptors.aai.data;
23
24 import java.util.HashMap;
25 import java.util.Map;
26 import javax.annotation.Generated;
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;
33
34 @JsonInclude(JsonInclude.Include.NON_NULL)
35 @Generated("org.jsonschema2pojo")
36 @JsonPropertyOrder({
37     "messageId",
38     "text",
39     "variables"
40 })
41 public class ResponseMessage {
42
43     @JsonProperty("messageId")
44     private String messageId;
45     @JsonProperty("text")
46     private String text;
47     @JsonProperty("variables")
48     private Variables variables;
49     @JsonIgnore
50     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
51
52     /**
53      * 
54      * @return
55      *     The messageId
56      */
57     @JsonProperty("messageId")
58     public String getMessageId() {
59         return messageId;
60     }
61
62     /**
63      * 
64      * @param messageId
65      *     The messageId
66      */
67     @JsonProperty("messageId")
68     public void setMessageId(String messageId) {
69         this.messageId = messageId;
70     }
71
72     /**
73      * 
74      * @return
75      *     The text
76      */
77     @JsonProperty("text")
78     public String getText() {
79         return text;
80     }
81
82     /**
83      * 
84      * @param text
85      *     The text
86      */
87     @JsonProperty("text")
88     public void setText(String text) {
89         this.text = text;
90     }
91
92     /**
93      * 
94      * @return
95      *     The variables
96      */
97     @JsonProperty("variables")
98     public Variables getVariables() {
99         return variables;
100     }
101
102     /**
103      * 
104      * @param variables
105      *     The variables
106      */
107     @JsonProperty("variables")
108     public void setVariables(Variables variables) {
109         this.variables = variables;
110     }
111
112     @JsonAnyGetter
113     public Map<String, Object> getAdditionalProperties() {
114         return this.additionalProperties;
115     }
116
117     @JsonAnySetter
118     public void setAdditionalProperty(String name, Object value) {
119         this.additionalProperties.put(name, value);
120     }
121
122 }