blob: 925a875b682816e32b0cdfbb39baea937e2eb3f4 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001/*-
2 * ============LICENSE_START=======================================================
3 * OSAM
4 * ================================================================================
5 * Copyright (C) 2018 AT&T
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
22
23package org.onap.osam.aai.model;
24
25
26import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27import com.fasterxml.jackson.annotation.JsonProperty;
28
29@JsonIgnoreProperties(ignoreUnknown = true)
30public class ModelVer {
31
32 @JsonProperty("model-version-id")
33 private String modelVersionId;
34 @JsonProperty("model-name")
35 private String modelName;
36 @JsonProperty("model-version")
37 private String modelVersion;
38 @JsonProperty("distribution-status")
39 private String distributionStatus;
40 @JsonProperty("resource-version")
41 private String resourceVersion;
42 @JsonProperty("model-description")
43 private String modelDescription;
44
45
46
47 @JsonProperty("model-version-id")
48 public String getModelVersionId() {
49 return modelVersionId;
50 }
51
52 @JsonProperty("model-version-id")
53 public void setModelVersionId(String modelVersionId) {
54 this.modelVersionId = modelVersionId;
55 }
56
57 @JsonProperty("model-name")
58 public String getModelName() {
59 return modelName;
60 }
61
62 @JsonProperty("model-name")
63 public void setModelName(String modelName) {
64 this.modelName = modelName;
65 }
66
67 @JsonProperty("model-version")
68 public String getModelVersion() {
69 return modelVersion;
70 }
71
72 @JsonProperty("model-version")
73 public void setModelVersion(String modelVersion) {
74 this.modelVersion = modelVersion;
75 }
76
77 @JsonProperty("distribution-status")
78 public String getDistributionStatus() {
79 return distributionStatus;
80 }
81
82 @JsonProperty("distribution-status")
83 public void setDistributionStatus(String distributionStatus) {
84 this.distributionStatus = distributionStatus;
85 }
86
87 @JsonProperty("resource-version")
88 public String getResourceVersion() {
89 return resourceVersion;
90 }
91
92 @JsonProperty("resource-version")
93 public void setResourceVersion(String resourceVersion) {
94 this.resourceVersion = resourceVersion;
95 }
96
97 @JsonProperty("model-description")
98 public String getModelDescription() {
99 return modelDescription;
100 }
101
102 @JsonProperty("model-description")
103 public void setModelDescription(String modelDescription) {
104 this.modelDescription = modelDescription;
105 }
106
107}