2 * ============LICENSE_START=======================================================
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
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.onap.vid.aai.model;
23 import com.fasterxml.jackson.annotation.JsonAlias;
24 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
26 @JsonIgnoreProperties(ignoreUnknown = true)
27 public class ModelVer {
29 private String modelVersionId;
30 private String modelName;
31 private String modelVersion;
32 private String distributionStatus;
33 private String resourceVersion;
34 private String modelDescription;
38 public String getModelVersionId() {
39 return modelVersionId;
42 @JsonAlias("model-version-id")
43 public void setModelVersionId(String modelVersionId) {
44 this.modelVersionId = modelVersionId;
47 public String getModelName() {
51 @JsonAlias("model-name")
52 public void setModelName(String modelName) {
53 this.modelName = modelName;
56 public String getModelVersion() {
60 @JsonAlias("model-version")
61 public void setModelVersion(String modelVersion) {
62 this.modelVersion = modelVersion;
65 public String getDistributionStatus() {
66 return distributionStatus;
69 @JsonAlias("distribution-status")
70 public void setDistributionStatus(String distributionStatus) {
71 this.distributionStatus = distributionStatus;
74 public String getResourceVersion() {
75 return resourceVersion;
78 @JsonAlias("resource-version")
79 public void setResourceVersion(String resourceVersion) {
80 this.resourceVersion = resourceVersion;
83 public String getModelDescription() {
84 return modelDescription;
87 @JsonAlias("model-description")
88 public void setModelDescription(String modelDescription) {
89 this.modelDescription = modelDescription;