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;
20 import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.ScaleType;
21 import org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo.entity.AdditionalParam;
23 import com.fasterxml.jackson.annotation.JsonProperty;
25 public class ScaleVnfRequest {
26 @JsonProperty("vnfInstanceId")
27 private String vnfInstanceId;
30 private ScaleType type;
32 @JsonProperty("aspectId")
33 private String aspectId;
35 @JsonProperty("numberOfSteps")
36 private Integer numberOfSteps;
38 @JsonProperty("additionalParam")
39 private AdditionalParam additionalParam;
42 public String getAspectId() {
46 public void setAspectId(String aspectId) {
47 this.aspectId = aspectId;
50 public Integer getNumberOfSteps() {
54 public void setNumberOfSteps(Integer numberOfSteps) {
55 this.numberOfSteps = numberOfSteps;
58 public AdditionalParam getAdditionalParam() {
59 return additionalParam;
62 public void setAdditionalParam(AdditionalParam additionalParam) {
63 this.additionalParam = additionalParam;
66 public String getVnfInstanceId() {
70 public void setVnfInstanceId(String vnfInstanceId) {
71 this.vnfInstanceId = vnfInstanceId;
74 public ScaleType getType() {
78 public void setType(ScaleType type) {