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;
35 private String orchestrationType;
39 public String getModelVersionId() {
40 return modelVersionId;
43 @JsonAlias("model-version-id")
44 public void setModelVersionId(String modelVersionId) {
45 this.modelVersionId = modelVersionId;
48 public String getModelName() {
52 @JsonAlias("model-name")
53 public void setModelName(String modelName) {
54 this.modelName = modelName;
57 public String getModelVersion() {
61 @JsonAlias("model-version")
62 public void setModelVersion(String modelVersion) {
63 this.modelVersion = modelVersion;
66 public String getDistributionStatus() {
67 return distributionStatus;
70 @JsonAlias("distribution-status")
71 public void setDistributionStatus(String distributionStatus) {
72 this.distributionStatus = distributionStatus;
75 public String getResourceVersion() {
76 return resourceVersion;
79 @JsonAlias("resource-version")
80 public void setResourceVersion(String resourceVersion) {
81 this.resourceVersion = resourceVersion;
84 public String getModelDescription() {
85 return modelDescription;
88 @JsonAlias("model-description")
89 public void setModelDescription(String modelDescription) {
90 this.modelDescription = modelDescription;
93 public String getOrchestrationType() {
94 return orchestrationType;
97 @JsonAlias("orchestration-type")
98 public void setOrchestrationType(String orchestrationType) {
99 this.orchestrationType = orchestrationType;