License agreement changes
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / client / cds / beans / ConfigDeployPropertiesForVnf.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
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.client.cds.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({"service-instance-id", "vnf-id", "vnf-name", "service-model-uuid", "vnf-customization-uuid"})
29 public class ConfigDeployPropertiesForVnf {
30
31     @JsonProperty("service-instance-id")
32     private String serviceInstanceId;
33
34     @JsonProperty("vnf-id")
35     private String vnfId;
36
37     @JsonProperty("vnf-name")
38     private String vnfName;
39
40     @JsonProperty("service-model-uuid")
41     private String serviceModelUuid;
42
43     @JsonProperty("vnf-customization-uuid")
44     private String vnfCustomizationUuid;
45
46     public String getServiceInstanceId() {
47         return serviceInstanceId;
48     }
49
50     public void setServiceInstanceId(String serviceInstanceId) {
51         this.serviceInstanceId = serviceInstanceId;
52     }
53
54     public String getVnfId() {
55         return vnfId;
56     }
57
58     public void setVnfId(String vnfId) {
59         this.vnfId = vnfId;
60     }
61
62     public String getVnfName() {
63         return vnfName;
64     }
65
66     public void setVnfName(String vnfName) {
67         this.vnfName = vnfName;
68     }
69
70     public String getServiceModelUuid() {
71         return serviceModelUuid;
72     }
73
74     public void setServiceModelUuid(String serviceModelUuid) {
75         this.serviceModelUuid = serviceModelUuid;
76     }
77
78     public String getVnfCustomizationUuid() {
79         return vnfCustomizationUuid;
80     }
81
82     public void setVnfCustomizationUuid(String vnfCustomizationUuid) {
83         this.vnfCustomizationUuid = vnfCustomizationUuid;
84     }
85
86     @Override
87     public String toString() {
88
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("\"");
95
96         sb.append('}');
97
98         return sb.toString();
99     }
100
101 }