Update swagger.json and other updates.
[music.git] / src / main / java / org / onap / music / datastore / jsonobjects / JsonCallback.java
1 /*
2  * ============LICENSE_START==========================================
3  * org.onap.music
4  * ===================================================================
5  *  Copyright (c) 2017 AT&T Intellectual Property
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  * 
19  * ============LICENSE_END=============================================
20  * ====================================================================
21  */
22 package org.onap.music.datastore.jsonobjects;
23
24 import java.io.Serializable;
25 import java.util.Map;
26
27 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
28
29 import io.swagger.annotations.ApiModel;
30 import io.swagger.annotations.ApiModelProperty;
31
32 @ApiModel(value = "JsonCallback", description = "Json model for callback")
33 @JsonIgnoreProperties(ignoreUnknown = true)
34 public class JsonCallback implements Serializable {
35         private String applicationName;
36     private String applicationUsername;
37     private String applicationPassword;
38     private String applicationNotificationEndpoint;
39     private String notifyOn;
40     private String notifyWhenChangeIn;
41     private String notifyWhenInsertsIn;
42     private String notifyWhenDeletesIn;
43     private Map<String, String> responseBody;
44
45     private String uuid;
46     
47     public String getUuid() {
48         return uuid;
49     }
50     
51     public void setUuid(String uuid) {
52         this.uuid = uuid;
53     }
54
55     @ApiModelProperty(value = "application name")
56     public String getApplicationName() {
57         return applicationName;
58     }
59
60     public void setApplicationName(String applicationName) {
61         this.applicationName = applicationName;
62     }
63     
64     @ApiModelProperty(value = "notify On")
65     public String getNotifyOn() {
66         return notifyOn;
67     }
68
69     public void setNotifyOn(String notifyOn) {
70         this.notifyOn = notifyOn;
71     }
72     
73     @ApiModelProperty(value = "application User name")
74     public String getApplicationUsername() {
75         return applicationUsername;
76     }
77
78     public void setApplicationUsername(String applicationUsername) {
79         this.applicationUsername = applicationUsername;
80     }
81
82     @ApiModelProperty(value = "application password")
83     public String getApplicationPassword() {
84         return applicationPassword;
85     }
86
87     public void setApplicationPassword(String applicationPassword) {
88         this.applicationPassword = applicationPassword;
89     }
90
91     @ApiModelProperty(value = "application notification endpoint")
92     public String getApplicationNotificationEndpoint() {
93         return applicationNotificationEndpoint;
94     }
95
96     public void setApplicationNotificationEndpoint(String applicationNotificationEndpoint) {
97         this.applicationNotificationEndpoint = applicationNotificationEndpoint;
98     }
99
100     @ApiModelProperty(value = "notify when updates")
101     public String getNotifyWhenChangeIn() {
102         return notifyWhenChangeIn;
103     }
104
105     public void setNotifyWhenChangeIn(String notifyWhenChangeIn) {
106         this.notifyWhenChangeIn = notifyWhenChangeIn;
107     }
108
109     @ApiModelProperty(value = "notify when inserts")
110     public String getNotifyWhenInsertsIn() {
111         return notifyWhenInsertsIn;
112     }
113
114     public void setNotifyWhenInsertsIn(String notifyWhenInsertsIn) {
115         this.notifyWhenInsertsIn = notifyWhenInsertsIn;
116     }
117
118     @ApiModelProperty(value = "notify when deletes")
119     public String getNotifyWhenDeletesIn() {
120         return notifyWhenDeletesIn;
121     }
122
123     public void setNotifyWhenDeletesIn(String notifyWhenDeletesIn) {
124         this.notifyWhenDeletesIn = notifyWhenDeletesIn;
125     }
126
127     public Map<String, String> getResponseBody() {
128                 return responseBody;
129         }
130     
131     public void setResponseBody(Map<String, String> responseBody) {
132                 this.responseBody = responseBody;
133         }
134     
135 }