[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / vendor-software-products-rest / vendor-software-products-rest-types / src / main / java / org / openecomp / sdcrests / vendorsoftwareproducts / types / VspDetailsDto.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 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.openecomp.sdcrests.vendorsoftwareproducts.types;
22
23 import io.swagger.annotations.ApiModel;
24 import org.openecomp.sdc.heat.datatypes.structure.ValidationStructureList;
25 import org.openecomp.sdc.versioning.dao.types.VersionStatus;
26 import org.openecomp.sdcrests.common.types.VersionDto;
27
28 import java.util.List;
29
30 /**
31  * Created by TALIO on 4/25/2016.
32  */
33 @ApiModel(value = "VspDetails")
34 public class VspDetailsDto extends VspDescriptionDto {
35
36   private String id;
37   private VersionDto version;
38   private List<VersionDto> viewableVersions;
39   private List<VersionDto> finalVersions;
40   private VersionStatus status;
41   private String lockingUser;
42   private ValidationStructureList validationData;
43   private String isOldVersion;
44
45   public String getId() {
46     return id;
47   }
48
49   public void setId(String id) {
50     this.id = id;
51   }
52
53   public VersionDto getVersion() {
54     return version;
55   }
56
57   public void setVersion(VersionDto version) {
58     this.version = version;
59   }
60
61   public List<VersionDto> getViewableVersions() {
62     return viewableVersions;
63   }
64
65   public void setViewableVersions(List<VersionDto> viewableVersions) {
66     this.viewableVersions = viewableVersions;
67   }
68
69   public List<VersionDto> getFinalVersions() {
70     return finalVersions;
71   }
72
73   public void setFinalVersions(List<VersionDto> finalVersions) {
74     this.finalVersions = finalVersions;
75   }
76
77   public VersionStatus getStatus() {
78     return status;
79   }
80
81   public void setStatus(VersionStatus status) {
82     this.status = status;
83   }
84
85   public String getLockingUser() {
86     return lockingUser;
87   }
88
89   public void setLockingUser(String lockingUser) {
90     this.lockingUser = lockingUser;
91   }
92
93   public ValidationStructureList getValidationData() {
94     return validationData;
95   }
96
97   public String getIsOldVersion() {
98     return isOldVersion;
99   }
100
101   public void setIsOldVersion(String isOldVersion) {
102     this.isOldVersion = isOldVersion;
103   }
104
105   public void setValidationData(ValidationStructureList validationData) {
106     this.validationData = validationData;
107
108
109   }
110
111 }