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