2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdcrests.vendorsoftwareproducts.types;
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;
28 import java.util.List;
31 * Created by TALIO on 4/25/2016.
33 @ApiModel(value = "VspDetails")
34 public class VspDetailsDto extends VspDescriptionDto {
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;
45 public String getId() {
49 public void setId(String id) {
53 public VersionDto getVersion() {
57 public void setVersion(VersionDto version) {
58 this.version = version;
61 public List<VersionDto> getViewableVersions() {
62 return viewableVersions;
65 public void setViewableVersions(List<VersionDto> viewableVersions) {
66 this.viewableVersions = viewableVersions;
69 public List<VersionDto> getFinalVersions() {
73 public void setFinalVersions(List<VersionDto> finalVersions) {
74 this.finalVersions = finalVersions;
77 public VersionStatus getStatus() {
81 public void setStatus(VersionStatus status) {
85 public String getLockingUser() {
89 public void setLockingUser(String lockingUser) {
90 this.lockingUser = lockingUser;
93 public ValidationStructureList getValidationData() {
94 return validationData;
97 public String getIsOldVersion() {
101 public void setIsOldVersion(String isOldVersion) {
102 this.isOldVersion = isOldVersion;
105 public void setValidationData(ValidationStructureList validationData) {
106 this.validationData = validationData;