99fd8ac175020050c3fdd78f9745bbd79f297cd0
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / cbam / bo / CBAMTerminateVnfRequest.java
1
2 /*
3  * Copyright 2016-2017, Nokia Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 package org.onap.vfc.nfvo.driver.vnfm.svnfm.cbam.bo;
19
20 import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.TerminationType;
21
22 import com.fasterxml.jackson.annotation.JsonProperty;
23
24 public class CBAMTerminateVnfRequest {
25         
26         @JsonProperty("name")
27         private String name;
28         
29         @JsonProperty("description")
30         private String description;
31
32         @JsonProperty("terminationType")
33         private TerminationType terminationType;
34         
35         @JsonProperty("gracefulTerminationTimeout")
36         private Integer gracefulTerminationTimeout;
37         
38         @JsonProperty("additionalParams")
39         private Object additionalParams;
40     
41         
42
43
44         public String getName() {
45                 return name;
46         }
47
48         public void setName(String name) {
49                 this.name = name;
50         }
51
52         public String getDescription() {
53                 return description;
54         }
55
56         public void setDescription(String description) {
57                 this.description = description;
58         }
59
60         
61
62         public Integer getGracefulTerminationTimeout() {
63                 return gracefulTerminationTimeout;
64         }
65
66         public void setGracefulTerminationTimeout(Integer gracefulTerminationTimeout) {
67                 this.gracefulTerminationTimeout = gracefulTerminationTimeout;
68         }
69
70         public Object getAdditionalParams() {
71                 return additionalParams;
72         }
73
74         public void setAdditionalParams(Object additionalParams) {
75                 this.additionalParams = additionalParams;
76         }
77    
78         public TerminationType getTerminationType() {
79                 return terminationType;
80         }
81
82         public void setTerminationType(TerminationType terminationType) {
83                 this.terminationType = terminationType;
84         }
85
86         
87
88 }