2 * ============LICENSE_START=======================================================
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
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.so.client.oof.beans;
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;
28 import java.io.Serializable;
30 @JsonInclude(JsonInclude.Include.NON_NULL)
37 @JsonRootName("placementDemand")
38 public class PlacementDemand implements Serializable {
40 private static final long serialVersionUID = -759180997599143791L;
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;
51 @JsonProperty("resourceModuleName")
52 public String getResourceModuleName() {
53 return resourceModuleName;
56 @JsonProperty("resourceModuleName")
57 public void setResourceModuleName(String resourceModuleName) {
58 this.resourceModuleName = resourceModuleName;
61 @JsonProperty("serviceResourceId")
62 public String getServiceResourceId() {
63 return serviceResourceId;
66 @JsonProperty("serviceResourceId")
67 public void setServiceResourceId(String serviceResourceId) {
68 this.serviceResourceId = serviceResourceId;
71 @JsonProperty("tenantId")
72 public String getTenantId() {
76 @JsonProperty("tenantId")
77 public void setTenantId(String tenantId) {
78 this.tenantId = tenantId;
81 @JsonProperty("resourceModelInfo")
82 public ResourceModelInfo getResourceModelInfo() {
83 return resourceModelInfo;
86 @JsonProperty("resourceModelInfo")
87 public void setResourceModelInfo(ResourceModelInfo resourceModelInfo) {
88 this.resourceModelInfo = resourceModelInfo;