e9257bcb0c530704cd23fdd4d313e90658a5675c
[so.git] / bpmn / so-bpmn-tasks / src / main / java / org / onap / so / client / oof / beans / ResourceModelInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2018 Intel Corp.  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.so.client.oof.beans;
22
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import com.fasterxml.jackson.annotation.JsonRootName;
26
27 import java.io.Serializable;
28
29 @JsonInclude(JsonInclude.Include.NON_NULL)
30 @JsonRootName("resourceModelInfo")
31 public class ResourceModelInfo extends ModelInfo implements Serializable {
32
33     private static final long serialVersionUID = -759180997599143791L;
34
35     @JsonProperty("modelInvariantId")
36     private String modelInvariantId;
37     @JsonProperty("modelVersionId")
38     private String modelVersionId;
39     @JsonProperty("modelName")
40     private String modelName;
41     @JsonProperty("modelType")
42     private String modelType;
43     @JsonProperty("modelVersion")
44     private String modelVersion;
45     @JsonProperty("modelCustomizationName")
46     private String modelCustomizationName;
47
48     @JsonProperty("modelInvariantId")
49     public String getModelInvariantId() {
50         return modelInvariantId;
51     }
52
53     @JsonProperty("modelInvariantId")
54     public void setModelInvariantId(String modelInvariantId) {
55         this.modelInvariantId = modelInvariantId;
56     }
57
58     @JsonProperty("modelVersionId")
59     public String getModelVersionId() {
60         return modelVersionId;
61     }
62
63     @JsonProperty("modelVersionId")
64     public void setModelVersionId(String modelVersionId) {
65         this.modelVersionId = modelVersionId;
66     }
67
68     @JsonProperty("modelName")
69     public String getModelName() {
70         return modelName;
71     }
72
73     @JsonProperty("modelName")
74     public void setModelName(String modelName) {
75         this.modelName = modelName;
76     }
77
78     @JsonProperty("modelType")
79     public String getModelType() {
80         return modelType;
81     }
82
83     @JsonProperty("modelType")
84     public void setModelType(String modelType) {
85         this.modelType = modelType;
86     }
87
88     @JsonProperty("modelVersion")
89     public String getModelVersion() {
90         return modelVersion;
91     }
92
93     @JsonProperty("modelVersion")
94     public void setModelVersion(String modelVersion) {
95         this.modelVersion = modelVersion;
96     }
97
98     @JsonProperty("modelCustomizationName")
99     public String getModelCustomizationName() {
100         return modelCustomizationName;
101     }
102
103     @JsonProperty("modelCustomizationName")
104     public void setModelCustomizationName(String modelCustomizationName) {
105         this.modelCustomizationName = modelCustomizationName;
106     }
107
108 }