2 * Copyright 2017 Huawei Technologies Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.onap.vnfsdk.marketplace.entity.response;
18 import lombok.AllArgsConstructor;
20 import lombok.NoArgsConstructor;
25 public class PackageMeta {
27 private String csarId;
31 private String downloadUri;
33 private String report;
37 private String version;
39 private String provider;
43 private String format;
45 private boolean deletionPending;
47 private String createTime;
49 private String modifyTime;
51 private String shortDesc;
53 private int downloadCount;
55 private String details;
57 private String remarks;
59 public String getCsarId() {
63 public void setCsarId(String csarId) {
67 public String getName() {
71 public void setName(String name) {
75 public String getDownloadUri() {
79 public void setDownloadUri(String downloadUri) {
80 this.downloadUri = downloadUri;
83 public String getSize() {
87 public void setSize(String size) {
91 public String getVersion() {
95 public void setVersion(String version) {
96 this.version = version;
99 public String getProvider() {
103 public void setProvider(String provider) {
104 this.provider = provider;
107 public String getType() {
111 public void setType(String type) {
115 public String getFormat() {
119 public void setFormat(String format) {
120 this.format = format;
123 public boolean isDeletionPending() {
124 return deletionPending;
127 public void setDeletionPending(boolean deletionPending) {
128 this.deletionPending = deletionPending;
131 public String getCreateTime() {
135 public void setCreateTime(String createTime) {
136 this.createTime = createTime;
139 public String getModifyTime() {
143 public void setModifyTime(String modifyTime) {
144 this.modifyTime = modifyTime;
149 public String getShortDesc() {
153 public void setShortDesc(String shortDesc) {
154 this.shortDesc = shortDesc;
157 public String getDetails() {
161 public void setDetails(String details) {
162 this.details = details;
165 public String getRemarks() {
169 public void setRemarks(String remarks) {
170 this.remarks = remarks;
173 public String getReport() {
177 public void setReport(String report) {
178 this.report = report;
182 public int getDownloadCount() {
183 return downloadCount;
186 public void setDownloadCount(int downloadCount) {
187 this.downloadCount = downloadCount;