adding orchestration type to service models view
[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     private String orchestrationType;
36
37
38
39     public String getModelVersionId() {
40         return modelVersionId;
41     }
42
43     @JsonAlias("model-version-id")
44     public void setModelVersionId(String modelVersionId) {
45         this.modelVersionId = modelVersionId;
46     }
47
48     public String getModelName() {
49         return modelName;
50     }
51
52     @JsonAlias("model-name")
53     public void setModelName(String modelName) {
54         this.modelName = modelName;
55     }
56
57     public String getModelVersion() {
58         return modelVersion;
59     }
60
61     @JsonAlias("model-version")
62     public void setModelVersion(String modelVersion) {
63         this.modelVersion = modelVersion;
64     }
65
66     public String getDistributionStatus() {
67         return distributionStatus;
68     }
69
70     @JsonAlias("distribution-status")
71     public void setDistributionStatus(String distributionStatus) {
72         this.distributionStatus = distributionStatus;
73     }
74
75     public String getResourceVersion() {
76         return resourceVersion;
77     }
78
79     @JsonAlias("resource-version")
80     public void setResourceVersion(String resourceVersion) {
81         this.resourceVersion = resourceVersion;
82     }
83
84     public String getModelDescription() {
85         return modelDescription;
86     }
87
88     @JsonAlias("model-description")
89     public void setModelDescription(String modelDescription) {
90         this.modelDescription = modelDescription;
91     }
92
93     public String getOrchestrationType() {
94         return orchestrationType;
95     }
96
97     @JsonAlias("orchestration-type")
98     public void setOrchestrationType(String orchestrationType) {
99         this.orchestrationType = orchestrationType;
100     }
101 }