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;
26 import com.fasterxml.jackson.annotation.JsonProperty;
28 public class Demand implements Serializable{
30 private static final long serialVersionUID = 5676094538091859816L;
32 @JsonProperty("serviceResourceId")
33 private String serviceResourceId;
34 @JsonProperty("resourceModuleName")
35 private String resourceModuleName;
36 @JsonProperty("resourceModelInfo")
37 private ModelInfo modelInfo;
38 @JsonProperty("requiredCandidates")
39 private List<Candidate> requiredCandidates;
40 @JsonProperty("excludedCandidates")
41 private List<Candidate> excludedCandidates;
44 public List<Candidate> getRequiredCandidates(){
45 return requiredCandidates;
48 public void setRequiredCandidates(List<Candidate> requiredCandidates){
49 this.requiredCandidates = requiredCandidates;
52 public List<Candidate> getExcludedCandidates(){
53 return excludedCandidates;
56 public void setExcludedCandidates(List<Candidate> excludedCandidates){
57 this.excludedCandidates = excludedCandidates;
60 public String getServiceResourceId(){
61 return serviceResourceId;
64 public void setServiceResourceId(String serviceResourceId){
65 this.serviceResourceId = serviceResourceId;
68 public String getResourceModuleName(){
69 return resourceModuleName;
72 public void setResourceModuleName(String resourceModuleName){
73 this.resourceModuleName = resourceModuleName;
76 public ModelInfo getModelInfo(){
80 public void setModelInfo(ModelInfo modelInfo){
81 this.modelInfo = modelInfo;