Merge "make vDNS example use modelVersion string"
[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 import lombok.Getter;
28 import lombok.Setter;
29
30 @Getter
31 @Setter
32 public class SdncHealVfModuleParametersInfo implements Serializable {
33
34     private static final long serialVersionUID = 3208673205100673119L;
35
36     @SerializedName("param")
37     private List<SdncHealVfModuleParameter> parameters;
38
39     public SdncHealVfModuleParametersInfo() {
40         // Default constructor for SdncHealVfModuleParametersInfo
41         parameters = new LinkedList<>();
42     }
43
44     public void addParameters(SdncHealVfModuleParameter parameter) {
45         parameters.add(parameter);
46     }
47 }