Merge "Fix Documentation spelling"
[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
26 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27
28 import io.swagger.annotations.ApiModel;
29 import io.swagger.annotations.ApiModelProperty;
30
31 @ApiModel(value = "JsonCallback", description = "Json model for callback")
32 @JsonIgnoreProperties(ignoreUnknown = true)
33 public class JsonCallback implements Serializable {
34         private String applicationName;
35     private String applicationUsername;
36     private String applicationPassword;
37     private String applicationNotificationEndpoint;
38     private String notifyOn;
39     private String notifyWhenChangeIn;
40     private String notifyWhenInsertsIn;
41     private String notifyWhenDeletesIn;
42
43     @ApiModelProperty(value = "application name")
44     public String getApplicationName() {
45         return applicationName;
46     }
47
48     public void setApplicationName(String applicationName) {
49         this.applicationName = applicationName;
50     }
51     
52     @ApiModelProperty(value = "notify On")
53     public String getNotifyOn() {
54         return notifyOn;
55     }
56
57     public void setNotifyOn(String notifyOn) {
58         this.notifyOn = notifyOn;
59     }
60     
61     @ApiModelProperty(value = "application User name")
62     public String getApplicationUsername() {
63         return applicationUsername;
64     }
65
66     public void setApplicationUsername(String applicationUsername) {
67         this.applicationUsername = applicationUsername;
68     }
69
70     @ApiModelProperty(value = "application password")
71     public String getApplicationPassword() {
72         return applicationPassword;
73     }
74
75     public void setApplicationPassword(String applicationPassword) {
76         this.applicationPassword = applicationPassword;
77     }
78
79     @ApiModelProperty(value = "application notification endpoint")
80     public String getApplicationNotificationEndpoint() {
81         return applicationNotificationEndpoint;
82     }
83
84     public void setApplicationNotificationEndpoint(String applicationNotificationEndpoint) {
85         this.applicationNotificationEndpoint = applicationNotificationEndpoint;
86     }
87
88     @ApiModelProperty(value = "notify when updates")
89     public String getNotifyWhenChangeIn() {
90         return notifyWhenChangeIn;
91     }
92
93     public void setNotifyWhenChangeIn(String notifyWhenChangeIn) {
94         this.notifyWhenChangeIn = notifyWhenChangeIn;
95     }
96
97     @ApiModelProperty(value = "notify when inserts")
98     public String getNotifyWhenInsertsIn() {
99         return notifyWhenInsertsIn;
100     }
101
102     public void setNotifyWhenInsertsIn(String notifyWhenInsertsIn) {
103         this.notifyWhenInsertsIn = notifyWhenInsertsIn;
104     }
105
106     @ApiModelProperty(value = "notify when deletes")
107     public String getNotifyWhenDeletesIn() {
108         return notifyWhenDeletesIn;
109     }
110
111     public void setNotifyWhenDeletesIn(String notifyWhenDeletesIn) {
112         this.notifyWhenDeletesIn = notifyWhenDeletesIn;
113     }
114
115 }