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.vendorlicense.types;
23 import io.swagger.annotations.ApiModel;
24 import org.openecomp.sdc.versioning.dao.types.VersionStatus;
25 import org.openecomp.sdcrests.common.types.VersionDto;
27 import java.util.List;
29 @ApiModel(value = "VendorLicenseModelEntity")
30 public class VendorLicenseModelEntityDto extends VendorLicenseModelRequestDto {
32 private VersionDto version;
33 private VersionStatus status;
34 private String lockingUser;
35 private List<VersionDto> viewableVersions;
36 private List<VersionDto> finalVersions;
38 public String getId() {
42 public void setId(String id) {
46 public VersionDto getVersion() {
50 public void setVersion(VersionDto version) {
51 this.version = version;
54 public VersionStatus getStatus() {
58 public void setStatus(VersionStatus status) {
62 public String getLockingUser() {
66 public void setLockingUser(String lockingUser) {
67 this.lockingUser = lockingUser;
70 public List<VersionDto> getViewableVersions() {
71 return viewableVersions;
74 public void setViewableVersions(List<VersionDto> viewableVersions) {
75 this.viewableVersions = viewableVersions;
78 public List<VersionDto> getFinalVersions() {
82 public void setFinalVersions(List<VersionDto> finalVersions) {
83 this.finalVersions = finalVersions;