List of Input Parameters for VSP
[sdc.git] / openecomp-be / lib / openecomp-sdc-externaltesting-lib / openecomp-sdc-externaltesting-api / src / main / java / org / openecomp / core / externaltesting / api / VtpTestCaseInput.java
1 /*
2  * Copyright © 2019 iconectiv
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.openecomp.core.externaltesting.api;
18
19 import lombok.Data;
20 import lombok.EqualsAndHashCode;
21
22 import java.util.Map;
23
24
25 @Data
26 @EqualsAndHashCode(callSuper=true)
27 public class VtpTestCaseInput extends VtpNameDescriptionPair {
28
29   private String type;
30   private String defaultValue;
31   private boolean isOptional;
32   private Map<String,Object> metadata;
33
34   /**
35    * The VTP API has a field called isOptional, not just optional so
36    * we need to add getter and setter.
37    */
38   @SuppressWarnings({"unused", "WeakerAccess"})
39   public boolean getIsOptional() {
40     return isOptional;
41   }
42 }