28a77f2e669f951ea019e03daaca51f3f79b3178
[sdc.git] /
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   private String onboardingOrigin;
45   private String networkPackageName;
46   public String getId() {
47     return id;
48   }
49
50   public void setId(String id) {
51     this.id = id;
52   }
53
54   public VersionDto getVersion() {
55     return version;
56   }
57
58   public void setVersion(VersionDto version) {
59     this.version = version;
60   }
61
62   public List<VersionDto> getViewableVersions() {
63     return viewableVersions;
64   }
65
66   public void setViewableVersions(List<VersionDto> viewableVersions) {
67     this.viewableVersions = viewableVersions;
68   }
69
70   public List<VersionDto> getFinalVersions() {
71     return finalVersions;
72   }
73
74   public void setFinalVersions(List<VersionDto> finalVersions) {
75     this.finalVersions = finalVersions;
76   }
77
78   public VersionStatus getStatus() {
79     return status;
80   }
81
82   public void setStatus(VersionStatus status) {
83     this.status = status;
84   }
85
86   public String getLockingUser() {
87     return lockingUser;
88   }
89
90   public void setLockingUser(String lockingUser) {
91     this.lockingUser = lockingUser;
92   }
93
94   public ValidationStructureList getValidationData() {
95     return validationData;
96   }
97
98   public String getIsOldVersion() {
99     return isOldVersion;
100   }
101
102   public void setIsOldVersion(String isOldVersion) {
103     this.isOldVersion = isOldVersion;
104   }
105
106   public void setValidationData(ValidationStructureList validationData) {
107     this.validationData = validationData;
108   }
109
110   public String getOnboardingOrigin() {
111     return onboardingOrigin;
112   }
113
114   public void setOnboardingOrigin(String onboardingOrigin) {
115     this.onboardingOrigin = onboardingOrigin;
116   }
117
118   public String getNetworkPackageName() {
119     return networkPackageName;
120   }
121
122   public void setNetworkPackageName(String networkPackageName) {
123     this.networkPackageName = networkPackageName;
124   }
125 }