Improve unit-test coverage
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / cbam / bo / CBAMCreateSubscriptionRequest.java
1 /*
2  * Copyright 2016-2017, Nokia Corporation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.onap.vfc.nfvo.driver.vnfm.svnfm.cbam.bo;
18
19 import org.onap.vfc.nfvo.driver.vnfm.svnfm.cbam.bo.entity.SubscriptionAuthentication;
20 import org.onap.vfc.nfvo.driver.vnfm.svnfm.cbam.bo.entity.SubscriptionFilter;
21
22 import com.fasterxml.jackson.annotation.JsonProperty;
23
24 public class CBAMCreateSubscriptionRequest {
25         @JsonProperty("filter")
26         private SubscriptionFilter filter;
27         
28         @JsonProperty("callbackUrl")
29         private String callbackUrl;
30         
31         @JsonProperty("description")
32         private SubscriptionAuthentication authentication;
33
34         public SubscriptionFilter getFilter() {
35                 return filter;
36         }
37
38         public void setFilter(SubscriptionFilter filter) {
39                 this.filter = filter;
40         }
41
42         public String getCallbackUrl() {
43                 return callbackUrl;
44         }
45
46         public void setCallbackUrl(String callbackUrl) {
47                 this.callbackUrl = callbackUrl;
48         }
49
50         public SubscriptionAuthentication getAuthentication() {
51                 return authentication;
52         }
53
54         public void setAuthentication(SubscriptionAuthentication authentication) {
55                 this.authentication = authentication;
56         }
57
58    
59 }