Merge "Define constant instead of localhost"
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / vnfmdriver / bo / ScaleVnfRequest.java
1 /*
2  * Copyright 2016-2017, Nokia Corporation
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 package org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo;
18
19 import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum;
20 import org.onap.vfc.nfvo.driver.vnfm.svnfm.vnfmdriver.bo.entity.AdditionalParam;
21
22 import com.fasterxml.jackson.annotation.JsonProperty;
23
24 public class ScaleVnfRequest {
25         @JsonProperty("vnfInstanceId")
26         private String vnfInstanceId;
27         
28         @JsonProperty("type")
29         private CommonEnum.ScaleType type;
30         
31         @JsonProperty("aspectId")
32         private String aspectId;
33         
34         @JsonProperty("numberOfSteps")
35         private Integer numberOfSteps;
36         
37         @JsonProperty("additionalParam")
38         private AdditionalParam additionalParam;
39         
40         
41         public String getAspectId() {
42                 return aspectId;
43         }
44
45         public void setAspectId(String aspectId) {
46                 this.aspectId = aspectId;
47         }
48
49         public Integer getNumberOfSteps() {
50                 return numberOfSteps;
51         }
52
53         public void setNumberOfSteps(Integer numberOfSteps) {
54                 this.numberOfSteps = numberOfSteps;
55         }
56
57         public AdditionalParam getAdditionalParam() {
58                 return additionalParam;
59         }
60
61         public void setAdditionalParam(AdditionalParam additionalParam) {
62                 this.additionalParam = additionalParam;
63         }
64
65         public String getVnfInstanceId() {
66                 return vnfInstanceId;
67         }
68
69         public void setVnfInstanceId(String vnfInstanceId) {
70                 this.vnfInstanceId = vnfInstanceId;
71         }
72
73         public CommonEnum.ScaleType getType() {
74                 return type;
75         }
76
77         public void setType(CommonEnum.ScaleType type) {
78                 this.type = type;
79         }
80
81         
82         
83         
84         
85         
86 }