8552a1605e9d7eaa3aff4a5f026ed5aa3d78399d
[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.CommonEnum;
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 CommonEnum.TerminationType terminationType;
34         
35         @JsonProperty("gracefulTerminationTimeout")
36         private Integer gracefulTerminationTimeout;
37         
38         @JsonProperty("additionalParams")
39         private Object additionalParams;
40         
41         
42
43         public String getName() {
44                 return name;
45         }
46
47
48
49
50
51
52
53         public void setName(String name) {
54                 this.name = name;
55         }
56
57
58
59
60
61
62
63         public String getDescription() {
64                 return description;
65         }
66
67
68
69
70
71
72
73         public void setDescription(String description) {
74                 this.description = description;
75         }
76
77
78
79
80         public CommonEnum.TerminationType getTerminationType() {
81                 return terminationType;
82         }
83
84
85
86
87
88
89
90         public void setTerminationType(CommonEnum.TerminationType terminationType) {
91                 this.terminationType = terminationType;
92         }
93
94
95
96
97
98
99
100         public Integer getGracefulTerminationTimeout() {
101                 return gracefulTerminationTimeout;
102         }
103
104
105
106
107
108
109
110         public void setGracefulTerminationTimeout(Integer gracefulTerminationTimeout) {
111                 this.gracefulTerminationTimeout = gracefulTerminationTimeout;
112         }
113
114
115
116
117
118
119
120         public Object getAdditionalParams() {
121                 return additionalParams;
122         }
123
124
125
126
127
128
129
130         public void setAdditionalParams(Object additionalParams) {
131                 this.additionalParams = additionalParams;
132         }
133
134
135
136
137
138
139
140         public enum TerminationType{
141                 GRACEFUL, FORCEFUL
142                 
143         }
144
145 }