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;
27 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
29 import io.swagger.annotations.ApiModel;
30 import io.swagger.annotations.ApiModelProperty;
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;
47 public String getUuid() {
51 public void setUuid(String uuid) {
55 @ApiModelProperty(value = "application name")
56 public String getApplicationName() {
57 return applicationName;
60 public void setApplicationName(String applicationName) {
61 this.applicationName = applicationName;
64 @ApiModelProperty(value = "notify On")
65 public String getNotifyOn() {
69 public void setNotifyOn(String notifyOn) {
70 this.notifyOn = notifyOn;
73 @ApiModelProperty(value = "application User name")
74 public String getApplicationUsername() {
75 return applicationUsername;
78 public void setApplicationUsername(String applicationUsername) {
79 this.applicationUsername = applicationUsername;
82 @ApiModelProperty(value = "application password")
83 public String getApplicationPassword() {
84 return applicationPassword;
87 public void setApplicationPassword(String applicationPassword) {
88 this.applicationPassword = applicationPassword;
91 @ApiModelProperty(value = "application notification endpoint")
92 public String getApplicationNotificationEndpoint() {
93 return applicationNotificationEndpoint;
96 public void setApplicationNotificationEndpoint(String applicationNotificationEndpoint) {
97 this.applicationNotificationEndpoint = applicationNotificationEndpoint;
100 @ApiModelProperty(value = "notify when updates")
101 public String getNotifyWhenChangeIn() {
102 return notifyWhenChangeIn;
105 public void setNotifyWhenChangeIn(String notifyWhenChangeIn) {
106 this.notifyWhenChangeIn = notifyWhenChangeIn;
109 @ApiModelProperty(value = "notify when inserts")
110 public String getNotifyWhenInsertsIn() {
111 return notifyWhenInsertsIn;
114 public void setNotifyWhenInsertsIn(String notifyWhenInsertsIn) {
115 this.notifyWhenInsertsIn = notifyWhenInsertsIn;
118 @ApiModelProperty(value = "notify when deletes")
119 public String getNotifyWhenDeletesIn() {
120 return notifyWhenDeletesIn;
123 public void setNotifyWhenDeletesIn(String notifyWhenDeletesIn) {
124 this.notifyWhenDeletesIn = notifyWhenDeletesIn;
127 public Map<String, String> getResponseBody() {
131 public void setResponseBody(Map<String, String> responseBody) {
132 this.responseBody = responseBody;