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