38728efcfbf204b32f3e230b56a1e1f0ba187312
[so.git] / bpmn / so-bpmn-tasks / src / main / java / org / onap / so / client / oof / beans / PlacementDemand.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.JsonPropertyOrder;
26 import com.fasterxml.jackson.annotation.JsonRootName;
27
28 import java.io.Serializable;
29
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @JsonPropertyOrder({
32     "resourceModuleName",
33     "serviceResourceId",
34     "tenantId",
35     "resourceModelInfo"
36 })
37 @JsonRootName("placementDemand")
38 public class PlacementDemand implements Serializable {
39
40     private static final long serialVersionUID = -759180997599143791L;
41
42     @JsonProperty("resourceModuleName")
43     private String resourceModuleName;
44     @JsonProperty("serviceResourceId")
45     private String serviceResourceId;
46     @JsonProperty("tenantId")
47     private String tenantId;
48     @JsonProperty("resourceModelInfo")
49     private ResourceModelInfo resourceModelInfo;
50
51     @JsonProperty("resourceModuleName")
52     public String getResourceModuleName() {
53         return resourceModuleName;
54     }
55
56     @JsonProperty("resourceModuleName")
57     public void setResourceModuleName(String resourceModuleName) {
58         this.resourceModuleName = resourceModuleName;
59     }
60
61     @JsonProperty("serviceResourceId")
62     public String getServiceResourceId() {
63         return serviceResourceId;
64     }
65
66     @JsonProperty("serviceResourceId")
67     public void setServiceResourceId(String serviceResourceId) {
68         this.serviceResourceId = serviceResourceId;
69     }
70
71     @JsonProperty("tenantId")
72     public String getTenantId() {
73         return tenantId;
74     }
75
76     @JsonProperty("tenantId")
77     public void setTenantId(String tenantId) {
78         this.tenantId = tenantId;
79     }
80
81     @JsonProperty("resourceModelInfo")
82     public ResourceModelInfo getResourceModelInfo() {
83         return resourceModelInfo;
84     }
85
86     @JsonProperty("resourceModelInfo")
87     public void setResourceModelInfo(ResourceModelInfo resourceModelInfo) {
88         this.resourceModelInfo = resourceModelInfo;
89     }
90
91 }