2 * ============LICENSE_START==========================================
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
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.
19 * ============LICENSE_END=============================================
20 * ====================================================================
22 package org.onap.music.datastore.jsonobjects;
24 import java.io.Serializable;
26 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
28 import io.swagger.annotations.ApiModel;
29 import io.swagger.annotations.ApiModelProperty;
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;
43 @ApiModelProperty(value = "application name")
44 public String getApplicationName() {
45 return applicationName;
48 public void setApplicationName(String applicationName) {
49 this.applicationName = applicationName;
52 @ApiModelProperty(value = "notify On")
53 public String getNotifyOn() {
57 public void setNotifyOn(String notifyOn) {
58 this.notifyOn = notifyOn;
61 @ApiModelProperty(value = "application User name")
62 public String getApplicationUsername() {
63 return applicationUsername;
66 public void setApplicationUsername(String applicationUsername) {
67 this.applicationUsername = applicationUsername;
70 @ApiModelProperty(value = "application password")
71 public String getApplicationPassword() {
72 return applicationPassword;
75 public void setApplicationPassword(String applicationPassword) {
76 this.applicationPassword = applicationPassword;
79 @ApiModelProperty(value = "application notification endpoint")
80 public String getApplicationNotificationEndpoint() {
81 return applicationNotificationEndpoint;
84 public void setApplicationNotificationEndpoint(String applicationNotificationEndpoint) {
85 this.applicationNotificationEndpoint = applicationNotificationEndpoint;
88 @ApiModelProperty(value = "notify when updates")
89 public String getNotifyWhenChangeIn() {
90 return notifyWhenChangeIn;
93 public void setNotifyWhenChangeIn(String notifyWhenChangeIn) {
94 this.notifyWhenChangeIn = notifyWhenChangeIn;
97 @ApiModelProperty(value = "notify when inserts")
98 public String getNotifyWhenInsertsIn() {
99 return notifyWhenInsertsIn;
102 public void setNotifyWhenInsertsIn(String notifyWhenInsertsIn) {
103 this.notifyWhenInsertsIn = notifyWhenInsertsIn;
106 @ApiModelProperty(value = "notify when deletes")
107 public String getNotifyWhenDeletesIn() {
108 return notifyWhenDeletesIn;
111 public void setNotifyWhenDeletesIn(String notifyWhenDeletesIn) {
112 this.notifyWhenDeletesIn = notifyWhenDeletesIn;