Merge "Reorder modifiers"
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / bpmn / appc / payload / beans / ConfigurationParametersUpgrade.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.mso.bpmn.appc.payload.beans;\r
22 \r
23 import com.fasterxml.jackson.annotation.JsonInclude;\r
24 import com.fasterxml.jackson.annotation.JsonProperty;\r
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;\r
26 \r
27 @JsonInclude(JsonInclude.Include.NON_NULL)\r
28 @JsonPropertyOrder({\r
29 "vnf_name",\r
30 "existing-software-version",\r
31 "new-software-version"\r
32 })\r
33 public class ConfigurationParametersUpgrade {\r
34 @JsonProperty("vnf_name")\r
35 private String vnfName;\r
36 @JsonProperty("existing-software-version")\r
37 private String existingSoftwareVersion;\r
38 @JsonProperty("new-software-version")\r
39 private String newSoftwareVersion;\r
40 \r
41 @JsonProperty("vnf_name")\r
42 public String getVnfName() {\r
43 return vnfName;\r
44 }\r
45 \r
46 @JsonProperty("vnf_name")\r
47 public void setVnfName(String vnfName) {\r
48 this.vnfName = vnfName;\r
49 }\r
50 \r
51 @JsonProperty("existing-software-version")\r
52 public String getExistingSoftwareVersion() {\r
53 return existingSoftwareVersion;\r
54 }\r
55 \r
56 @JsonProperty("existing-software-version")\r
57 public void setExistingSoftwareVersion(String existingSoftwareVersion) {\r
58 this.existingSoftwareVersion = existingSoftwareVersion;\r
59 }\r
60 \r
61 @JsonProperty("new-software-version")\r
62 public String getNewSoftwareVersion() {\r
63 return newSoftwareVersion;\r
64 }\r
65 \r
66 @JsonProperty("new-software-version")\r
67 public void setNewSoftwareVersion(String newSoftwareVersion) {\r
68 this.newSoftwareVersion = newSoftwareVersion;\r
69 }\r
70 \r
71 }