Update SDNC changes
[policy/models.git] / models-interactions / model-impl / sdnc / src / main / java / org / onap / policy / sdnc / SdncHealVfModuleParametersInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * Copyright (C) 2019 Huawei Technologies Co., Ltd. All rights reserved.
4  * Modifications Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
5  * ================================================================================
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  * ============LICENSE_END=========================================================
18  */
19
20 package org.onap.policy.sdnc;
21
22 import com.google.gson.annotations.SerializedName;
23
24 import java.io.Serializable;
25 import java.util.LinkedList;
26 import java.util.List;
27
28 public class SdncHealVfModuleParametersInfo implements Serializable {
29
30     private static final long serialVersionUID = 3208673205100673119L;
31
32     @SerializedName("param")
33     private List<SdncHealVfModuleParameter> parameters;
34
35     public SdncHealVfModuleParametersInfo() {
36         // Default constructor for SdncHealVfModuleParametersInfo
37         parameters = new LinkedList<>();
38     }
39
40     public List<SdncHealVfModuleParameter> getParameters() {
41         return parameters;
42     }
43
44     public void setParameters(List<SdncHealVfModuleParameter> parameters) {
45         this.parameters = parameters;
46     }
47
48     public void addParameters(SdncHealVfModuleParameter parameter) {
49         parameters.add(parameter);
50     }
51 }