ed7875f2865cec00ceb6e0818f6ae4d9e8974848
[so.git] / bpmn / so-bpmn-tasks / src / main / java / org / onap / so / client / sniro / beans / Demand.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
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.sniro.beans;
22
23 import java.io.Serializable;
24 import java.util.List;
25
26 import com.fasterxml.jackson.annotation.JsonProperty;
27
28 public class Demand implements Serializable{
29
30         private static final long serialVersionUID = 5676094538091859816L;
31
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;
42
43
44         public List<Candidate> getRequiredCandidates(){
45                 return requiredCandidates;
46         }
47
48         public void setRequiredCandidates(List<Candidate> requiredCandidates){
49                 this.requiredCandidates = requiredCandidates;
50         }
51
52         public List<Candidate> getExcludedCandidates(){
53                 return excludedCandidates;
54         }
55
56         public void setExcludedCandidates(List<Candidate> excludedCandidates){
57                 this.excludedCandidates = excludedCandidates;
58         }
59
60         public String getServiceResourceId(){
61                 return serviceResourceId;
62         }
63
64         public void setServiceResourceId(String serviceResourceId){
65                 this.serviceResourceId = serviceResourceId;
66         }
67
68         public String getResourceModuleName(){
69                 return resourceModuleName;
70         }
71
72         public void setResourceModuleName(String resourceModuleName){
73                 this.resourceModuleName = resourceModuleName;
74         }
75
76         public ModelInfo getModelInfo(){
77                 return modelInfo;
78         }
79
80         public void setModelInfo(ModelInfo modelInfo){
81                 this.modelInfo = modelInfo;
82         }
83
84 }