3 * Copyright 2016-2017, Nokia Corporation
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 package org.onap.vfc.nfvo.driver.vnfm.svnfm.cbam.bo;
20 import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum;
22 import com.fasterxml.jackson.annotation.JsonProperty;
24 public class CBAMTerminateVnfRequest {
29 @JsonProperty("description")
30 private String description;
32 @JsonProperty("terminationType")
33 private CommonEnum.TerminationType terminationType;
35 @JsonProperty("gracefulTerminationTimeout")
36 private Integer gracefulTerminationTimeout;
38 @JsonProperty("additionalParams")
39 private Object additionalParams;
43 public String getName() {
53 public void setName(String name) {
63 public String getDescription() {
73 public void setDescription(String description) {
74 this.description = description;
80 public CommonEnum.TerminationType getTerminationType() {
81 return terminationType;
90 public void setTerminationType(CommonEnum.TerminationType terminationType) {
91 this.terminationType = terminationType;
100 public Integer getGracefulTerminationTimeout() {
101 return gracefulTerminationTimeout;
110 public void setGracefulTerminationTimeout(Integer gracefulTerminationTimeout) {
111 this.gracefulTerminationTimeout = gracefulTerminationTimeout;
120 public Object getAdditionalParams() {
121 return additionalParams;
130 public void setAdditionalParams(Object additionalParams) {
131 this.additionalParams = additionalParams;
140 public enum TerminationType{