2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.bpmn.appc.payload.beans;
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27 @JsonInclude(JsonInclude.Include.NON_NULL)
28 @JsonPropertyOrder({"vnf_name", "existing_software_version", "new_software_version"})
29 public class ConfigurationParametersUpgrade {
30 @JsonProperty("vnf_name")
31 private String vnfName;
32 @JsonProperty("existing_software_version")
33 private String existingSoftwareVersion;
34 @JsonProperty("new_software_version")
35 private String newSoftwareVersion;
37 @JsonProperty("vnf_name")
38 public String getVnfName() {
42 @JsonProperty("vnf_name")
43 public void setVnfName(String vnfName) {
44 this.vnfName = vnfName;
47 @JsonProperty("existing_software_version")
48 public String getExistingSoftwareVersion() {
49 return existingSoftwareVersion;
52 @JsonProperty("existing_software_version")
53 public void setExistingSoftwareVersion(String existingSoftwareVersion) {
54 this.existingSoftwareVersion = existingSoftwareVersion;
57 @JsonProperty("new_software_version")
58 public String getNewSoftwareVersion() {
59 return newSoftwareVersion;
62 @JsonProperty("new_software_version")
63 public void setNewSoftwareVersion(String newSoftwareVersion) {
64 this.newSoftwareVersion = newSoftwareVersion;