2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2020 Nordix Foundation.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
20 package org.onap.aaisimulator.models;
22 import com.google.gson.annotations.Expose;
23 import com.google.gson.annotations.SerializedName;
25 public class ModelVersion {
27 @SerializedName("model-version-id")
29 private String modelVersionId;
31 @SerializedName("model-name")
33 private String modelName;
35 @SerializedName("model-version")
37 private String modelVersion;
39 @SerializedName("model-description")
41 private String modelDescription;
43 @SerializedName("resource-version")
45 private String resourceVersion;
47 public String getModelVersionId() {
48 return modelVersionId;
51 public void setModelVersionId(String modelVersionId) {
52 this.modelVersionId = modelVersionId;
55 public String getModelName() {
59 public void setModelName(String modelName) {
60 this.modelName = modelName;
63 public String getModelVersion() {
67 public void setModelVersion(String modelVersion) {
68 this.modelVersion = modelVersion;
71 public String getModelDescription() {
72 return modelDescription;
75 public void setModelDescription(String modelDescription) {
76 this.modelDescription = modelDescription;
79 public String getResourceVersion() {
80 return resourceVersion;
83 public void setResourceVersion(String resourceVersion) {
84 this.resourceVersion = resourceVersion;