NonRT-RIC A1 Northbound API
[nonrtric.git] / sdnc-a1-controller / oam / SdncReports / SdncReportsDao / src / main / java / com / onap / sdnc / reports / rest / model / PreTestModel.java
1 /*
2 * ============LICENSE_START=======================================================
3 * ONAP : SDNC-FEATURES
4 * ================================================================================
5 * Copyright 2018 TechMahindra
6 *=================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *     http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 */
20 package com.onap.sdnc.reports.rest.model;
21
22 import java.io.Serializable;
23 import java.util.Date;
24
25 public class PreTestModel implements Serializable{
26
27         private static final long serialVersionUID = -3009157732242241606L;
28         
29         private long testid;
30         
31         private long deviceid;
32         
33         private String testName;
34         
35         private String deviceIP,execuationDetails,result;
36         
37         private Date timeStamp;
38
39         public PreTestModel(long testid, long deviceid, String testName, String deviceIP, String execuationDetails,
40                         String result, Date timeStamp) {
41                 super();
42                 this.testid = testid;
43                 this.deviceid = deviceid;
44                 this.testName = testName;
45                 this.deviceIP = deviceIP;
46                 this.execuationDetails = execuationDetails;
47                 this.result = result;
48                 this.timeStamp = timeStamp;
49         }
50
51         @Override
52         public String toString() {
53                 return "PreTestModel [testid=" + testid + ", deviceid=" + deviceid + ", testName=" + testName + ", deviceName="
54                                 + deviceIP + ", execuationDetails=" + execuationDetails + ", result=" + result + ", timeStamp="
55                                 + timeStamp + "]";
56         }
57
58         public long getTestid() {
59                 return testid;
60         }
61
62         public void setTestid(long testid) {
63                 this.testid = testid;
64         }
65
66         public long getDeviceid() {
67                 return deviceid;
68         }
69
70         public void setDeviceid(long deviceid) {
71                 this.deviceid = deviceid;
72         }
73
74         public String getTestName() {
75                 return testName;
76         }
77
78         public void setTestName(String testName) {
79                 this.testName = testName;
80         }
81
82         public String getDeviceIP() {
83                 return deviceIP;
84         }
85
86         public void setDeviceName(String deviceName) {
87                 this.deviceIP = deviceName;
88         }
89
90         public String getExecuationDetails() {
91                 return execuationDetails;
92         }
93
94         public void setExecuationDetails(String execuationDetails) {
95                 this.execuationDetails = execuationDetails;
96         }
97
98         public String getResult() {
99                 return result;
100         }
101
102         public void setResult(String result) {
103                 this.result = result;
104         }
105
106         public Date getTimeStamp() {
107                 return timeStamp;
108         }
109
110         public void setTimeStamp(Date timeStamp) {
111                 this.timeStamp = timeStamp;
112         }
113 }