Add Logging
[so.git] / adapters / mso-adapter-utils / src / main / java / org / onap / so / openstack / utils / MsoMulticloudParam.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2018 Intel Corp. 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.openstack.utils;
22
23 import com.fasterxml.jackson.annotation.JsonProperty;
24
25 public class MsoMulticloudParam {
26
27     @JsonProperty("generic-vnf-id")
28     private String genericVnfId;
29
30     @JsonProperty("vf-module-id")
31     private String vfModuleId;
32
33     @JsonProperty("oof_directives")
34     private String oofDirectives;
35
36     @JsonProperty("sdnc_directives")
37     private String sdncDirectives;
38
39     @JsonProperty("template_type")
40     private String templateType;
41
42     @JsonProperty("template_data")
43     private String templateData;
44
45     public void setGenericVnfId(String genericVnfId){
46         this.genericVnfId = genericVnfId;
47     }
48
49     public String getGenericVnfId(){
50         return this.genericVnfId;
51     }
52
53     public void setVfModuleId(String vfModuleId){
54         this.vfModuleId = vfModuleId;
55     }
56
57     public String getVfModuleId(){
58         return this.vfModuleId;
59     }
60
61     public void setOofDirectives(String oofDirectives){
62         this.oofDirectives = oofDirectives;
63     }
64
65     public String getOofDirectives(){
66         return this.oofDirectives;
67     }
68
69     public void setSdncDirectives(String sdncDirectives){
70         this.sdncDirectives = sdncDirectives;
71     }
72
73     public String getSdncDirectives(){
74         return this.sdncDirectives;
75     }
76
77     public void setTemplateType(String templateType){
78         this.templateType = templateType;
79     }
80
81     public String TemplateType(){
82         return this.templateType;
83     }
84
85     public void setTemplateData(String templateData){
86         this.templateData = templateData;
87     }
88
89     public String getTemplateData(){
90         return this.templateData;
91     }
92
93     @Override
94     public String toString() {
95         return String.format("MulticloudParam{"
96                 + "genericVnfId='%s',"
97                 + " vfModuleId='%s',"
98                 + " oofDirectives='%s',"
99                 + " sdncDirectives='%s',"
100                 + " templateType='%s',"
101                 + " templateData='%s'"
102                 + "}",
103             genericVnfId,
104             vfModuleId,
105             oofDirectives,
106             sdncDirectives,
107             templateType,
108             templateData);
109     }
110 }