regression unit test for getServicesByProjectNames
[vid.git] / vid-app-common / src / main / java / org / onap / vid / changeManagement / WorkflowsDetail.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
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
21 package org.onap.vid.changeManagement;
22
23 import com.fasterxml.jackson.annotation.JsonProperty;
24
25 public class WorkflowsDetail {
26
27         public WorkflowsDetail() {
28         }
29
30         public WorkflowsDetail(VnfDetails vnfDetails, String workflowName) {
31                 this.vnfDetails = vnfDetails;
32                 this.workflowName = workflowName;
33         }
34
35         @JsonProperty("vnfDetails")
36         private VnfDetails vnfDetails;
37         
38         @JsonProperty("workflowName")
39         private String workflowName;
40
41         @JsonProperty("vnfDetails")
42         public VnfDetails getVnfDetails() {
43                 return vnfDetails;
44         }
45         @JsonProperty("vnfDetails")
46         public void setVnfDetails(VnfDetails vnfDetails) {
47                 this.vnfDetails = vnfDetails;
48         }
49         @JsonProperty("workflowName")
50         public String getWorkflowName() {
51                 return workflowName;
52         }
53         @JsonProperty("workflowName")
54         public void setWorkflowName(String workflowName) {
55                 this.workflowName = workflowName;
56         }
57
58         @Override
59         public String toString() {
60                 return vnfDetails +
61                                 ", workflowName='" + workflowName;
62         }
63 }