Replaced all tabs with spaces in java and pom.xml
[so.git] / common / src / main / java / org / onap / so / serviceinstancebeans / Vnfs.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.so.serviceinstancebeans;
23
24 import java.io.Serializable;
25 import java.util.ArrayList;
26 import java.util.List;
27 import java.util.Map;
28 import com.fasterxml.jackson.annotation.JsonInclude;
29 import com.fasterxml.jackson.annotation.JsonProperty;
30 import com.fasterxml.jackson.annotation.JsonRootName;
31 import com.fasterxml.jackson.annotation.JsonInclude.Include;
32
33 @JsonRootName(value = "vnfs")
34 @JsonInclude(Include.NON_DEFAULT)
35 public class Vnfs implements Serializable {
36
37     private static final long serialVersionUID = 8081495240474276501L;
38     @JsonProperty("modelInfo")
39     protected ModelInfo modelInfo;
40     @JsonProperty("cloudConfiguration")
41     protected CloudConfiguration cloudConfiguration;
42     @JsonProperty("instanceName")
43     protected String instanceName;
44     @JsonProperty("platform")
45     protected Platform platform;
46     @JsonProperty("lineOfBusiness")
47     protected LineOfBusiness lineOfBusiness;
48     @JsonProperty("productFamilyId")
49     protected String productFamilyId;
50     @JsonProperty("instanceParams")
51     private List<Map<String, String>> instanceParams = new ArrayList<>();
52     @JsonProperty("vfModules")
53     private List<VfModules> vfModules = new ArrayList<>();
54
55
56     public ModelInfo getModelInfo() {
57         return modelInfo;
58     }
59
60     public void setModelInfo(ModelInfo modelInfo) {
61         this.modelInfo = modelInfo;
62     }
63
64     public CloudConfiguration getCloudConfiguration() {
65         return cloudConfiguration;
66     }
67
68     public void setCloudConfiguration(CloudConfiguration cloudConfiguration) {
69         this.cloudConfiguration = cloudConfiguration;
70     }
71
72     public String getInstanceName() {
73         return instanceName;
74     }
75
76     public void setInstanceName(String instanceName) {
77         this.instanceName = instanceName;
78     }
79
80     public Platform getPlatform() {
81         return platform;
82     }
83
84     public void setPlatform(Platform platform) {
85         this.platform = platform;
86     }
87
88     public LineOfBusiness getLineOfBusiness() {
89         return lineOfBusiness;
90     }
91
92     public void setLineOfBusiness(LineOfBusiness lineOfBusiness) {
93         this.lineOfBusiness = lineOfBusiness;
94     }
95
96     public String getProductFamilyId() {
97         return productFamilyId;
98     }
99
100     public void setProductFamilyId(String productFamilyId) {
101         this.productFamilyId = productFamilyId;
102     }
103
104     public List<Map<String, String>> getInstanceParams() {
105         return instanceParams;
106     }
107
108     public void setInstanceParams(List<Map<String, String>> instanceParams) {
109         this.instanceParams = instanceParams;
110     }
111
112     public List<VfModules> getVfModules() {
113         return vfModules;
114     }
115
116     public void setVfModules(List<VfModules> vfModules) {
117         this.vfModules = vfModules;
118     }
119
120     @Override
121     public String toString() {
122         return "Vnfs [modelInfo=" + modelInfo + ", cloudConfiguration=" + cloudConfiguration + ", instanceName="
123                 + instanceName + ", platform=" + platform + ", " + "lineOfBusiness=" + lineOfBusiness
124                 + ", productFamilyId=" + productFamilyId + ", instanceParams=" + instanceParams + ", vfModules="
125                 + vfModules + "]";
126     }
127
128 }