2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 TechMahindra
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.client.cds.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({"service-instance-id", "vnf-id", "vnf-name", "service-model-uuid", "vnf-customization-uuid"})
29 public class ConfigDeployPropertiesForVnf {
31 @JsonProperty("service-instance-id")
32 private String serviceInstanceId;
34 @JsonProperty("vnf-id")
37 @JsonProperty("vnf-name")
38 private String vnfName;
40 @JsonProperty("service-model-uuid")
41 private String serviceModelUuid;
43 @JsonProperty("vnf-customization-uuid")
44 private String vnfCustomizationUuid;
46 public String getServiceInstanceId() {
47 return serviceInstanceId;
50 public void setServiceInstanceId(String serviceInstanceId) {
51 this.serviceInstanceId = serviceInstanceId;
54 public String getVnfId() {
58 public void setVnfId(String vnfId) {
62 public String getVnfName() {
66 public void setVnfName(String vnfName) {
67 this.vnfName = vnfName;
70 public String getServiceModelUuid() {
71 return serviceModelUuid;
74 public void setServiceModelUuid(String serviceModelUuid) {
75 this.serviceModelUuid = serviceModelUuid;
78 public String getVnfCustomizationUuid() {
79 return vnfCustomizationUuid;
82 public void setVnfCustomizationUuid(String vnfCustomizationUuid) {
83 this.vnfCustomizationUuid = vnfCustomizationUuid;
87 public String toString() {
89 final StringBuilder sb = new StringBuilder("{");
90 sb.append("\"service-instance-id\":").append("\"").append(serviceInstanceId).append("\"");
91 sb.append(", \"vnf-id\":").append("\"").append(vnfId).append("\"");
92 sb.append(", \"vnf-name\":").append("\"").append(vnfName).append("\"");
93 sb.append(", \"service-model-uuid\":").append("\"").append(serviceModelUuid).append("\"");
94 sb.append(", \"vnf-customization-uuid\":").append("\"").append(vnfCustomizationUuid).append("\"");