2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 - 2019 AT&T Intellectual Property. 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.sniro.beans;
23 import java.io.Serializable;
24 import java.util.List;
25 import com.fasterxml.jackson.annotation.JsonProperty;
27 public class Demand implements Serializable {
29 private static final long serialVersionUID = 5676094538091859816L;
31 @JsonProperty("serviceResourceId")
32 private String serviceResourceId;
33 @JsonProperty("resourceModuleName")
34 private String resourceModuleName;
35 @JsonProperty("resourceModelInfo")
36 private ModelInfo modelInfo;
37 @JsonProperty("requiredCandidates")
38 private List<Candidate> requiredCandidates;
39 @JsonProperty("excludedCandidates")
40 private List<Candidate> excludedCandidates;
43 public List<Candidate> getRequiredCandidates() {
44 return requiredCandidates;
47 public void setRequiredCandidates(List<Candidate> requiredCandidates) {
48 this.requiredCandidates = requiredCandidates;
51 public List<Candidate> getExcludedCandidates() {
52 return excludedCandidates;
55 public void setExcludedCandidates(List<Candidate> excludedCandidates) {
56 this.excludedCandidates = excludedCandidates;
59 public String getServiceResourceId() {
60 return serviceResourceId;
63 public void setServiceResourceId(String serviceResourceId) {
64 this.serviceResourceId = serviceResourceId;
67 public String getResourceModuleName() {
68 return resourceModuleName;
71 public void setResourceModuleName(String resourceModuleName) {
72 this.resourceModuleName = resourceModuleName;
75 public ModelInfo getModelInfo() {
79 public void setModelInfo(ModelInfo modelInfo) {
80 this.modelInfo = modelInfo;