2 * Copyright 2016-2017, Nokia Corporation
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo;
19 import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum;
20 import org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo.entity.AdditionalParam;
22 import com.fasterxml.jackson.annotation.JsonProperty;
24 public class ScaleVnfRequest {
25 @JsonProperty("vnfInstanceId")
26 private String vnfInstanceId;
29 private CommonEnum.ScaleType type;
31 @JsonProperty("aspectId")
32 private String aspectId;
34 @JsonProperty("numberOfSteps")
35 private Integer numberOfSteps;
37 @JsonProperty("additionalParam")
38 private AdditionalParam additionalParam;
41 public String getAspectId() {
45 public void setAspectId(String aspectId) {
46 this.aspectId = aspectId;
49 public Integer getNumberOfSteps() {
53 public void setNumberOfSteps(Integer numberOfSteps) {
54 this.numberOfSteps = numberOfSteps;
57 public AdditionalParam getAdditionalParam() {
58 return additionalParam;
61 public void setAdditionalParam(AdditionalParam additionalParam) {
62 this.additionalParam = additionalParam;
65 public String getVnfInstanceId() {
69 public void setVnfInstanceId(String vnfInstanceId) {
70 this.vnfInstanceId = vnfInstanceId;
73 public CommonEnum.ScaleType getType() {
77 public void setType(CommonEnum.ScaleType type) {