f2f6ca50a3eb972d9d1a316f3e23c7c6524d6af3
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / ModelVer.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 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.onap.vid.aai.model;
22
23 import com.fasterxml.jackson.annotation.JsonAlias;
24 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
25
26 @JsonIgnoreProperties(ignoreUnknown = true)
27 public class ModelVer {
28
29     private String modelVersionId;
30     private String modelName;
31     private String modelVersion;
32     private String distributionStatus;
33     private String resourceVersion;
34     private String modelDescription;
35
36
37
38     public String getModelVersionId() {
39         return modelVersionId;
40     }
41
42     @JsonAlias("model-version-id")
43     public void setModelVersionId(String modelVersionId) {
44         this.modelVersionId = modelVersionId;
45     }
46
47     public String getModelName() {
48         return modelName;
49     }
50
51     @JsonAlias("model-name")
52     public void setModelName(String modelName) {
53         this.modelName = modelName;
54     }
55
56     public String getModelVersion() {
57         return modelVersion;
58     }
59
60     @JsonAlias("model-version")
61     public void setModelVersion(String modelVersion) {
62         this.modelVersion = modelVersion;
63     }
64
65     public String getDistributionStatus() {
66         return distributionStatus;
67     }
68
69     @JsonAlias("distribution-status")
70     public void setDistributionStatus(String distributionStatus) {
71         this.distributionStatus = distributionStatus;
72     }
73
74     public String getResourceVersion() {
75         return resourceVersion;
76     }
77
78     @JsonAlias("resource-version")
79     public void setResourceVersion(String resourceVersion) {
80         this.resourceVersion = resourceVersion;
81     }
82
83     public String getModelDescription() {
84         return modelDescription;
85     }
86
87     @JsonAlias("model-description")
88     public void setModelDescription(String modelDescription) {
89         this.modelDescription = modelDescription;
90     }
91
92 }