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 / VtpTestExecutionResponse.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 com.fasterxml.jackson.annotation.JsonInclude;
20 import lombok.Data;
21
22 import java.util.Map;
23
24 @Data
25 public class VtpTestExecutionResponse {
26   private String scenario;
27   private String testCaseName;
28   private String testSuiteName;
29   private String executionId;
30   private Map<String,String> parameters;
31   private Object results;
32   private String status;
33   private String startTime; // don't bother to convert various ISO8601 formats.
34   private String endTime;   // don't bother to convert various ISO8601 formats.
35
36   /**
37    * In the event on an error, code provided.
38    */
39   @JsonInclude(value= JsonInclude.Include.NON_NULL)
40   private String code;
41
42   /**
43    * Error message
44    */
45   @JsonInclude(value= JsonInclude.Include.NON_NULL)
46   private String message;
47
48   /**
49    * In the event of an unexpected status.
50    */
51   @JsonInclude(value= JsonInclude.Include.NON_NULL)
52   private Integer httpStatus;
53 }