6bd397a63a57090f7fd8fd035bf123d96b3a8224
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / 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.onap.so.bpmn.appc.payload.beans;
22
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
26
27 @JsonInclude(JsonInclude.Include.NON_NULL)
28 @JsonPropertyOrder({
29 "vnf_name",
30 "existing_software_version",
31 "new_software_version"
32 })
33 public class ConfigurationParametersUpgrade {
34 @JsonProperty("vnf_name")
35 private String vnfName;
36 @JsonProperty("existing_software_version")
37 private String existingSoftwareVersion;
38 @JsonProperty("new_software_version")
39 private String newSoftwareVersion;
40
41 @JsonProperty("vnf_name")
42 public String getVnfName() {
43 return vnfName;
44 }
45
46 @JsonProperty("vnf_name")
47 public void setVnfName(String vnfName) {
48 this.vnfName = vnfName;
49 }
50
51 @JsonProperty("existing_software_version")
52 public String getExistingSoftwareVersion() {
53 return existingSoftwareVersion;
54 }
55
56 @JsonProperty("existing_software_version")
57 public void setExistingSoftwareVersion(String existingSoftwareVersion) {
58 this.existingSoftwareVersion = existingSoftwareVersion;
59 }
60
61 @JsonProperty("new_software_version")
62 public String getNewSoftwareVersion() {
63 return newSoftwareVersion;
64 }
65
66 @JsonProperty("new_software_version")
67 public void setNewSoftwareVersion(String newSoftwareVersion) {
68 this.newSoftwareVersion = newSoftwareVersion;
69 }
70
71 }