Replaced all tabs with spaces in java and pom.xml
[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 import com.fasterxml.jackson.annotation.JsonProperty;
26
27 public class Demand implements Serializable {
28
29     private static final long serialVersionUID = 5676094538091859816L;
30
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;
41
42
43     public List<Candidate> getRequiredCandidates() {
44         return requiredCandidates;
45     }
46
47     public void setRequiredCandidates(List<Candidate> requiredCandidates) {
48         this.requiredCandidates = requiredCandidates;
49     }
50
51     public List<Candidate> getExcludedCandidates() {
52         return excludedCandidates;
53     }
54
55     public void setExcludedCandidates(List<Candidate> excludedCandidates) {
56         this.excludedCandidates = excludedCandidates;
57     }
58
59     public String getServiceResourceId() {
60         return serviceResourceId;
61     }
62
63     public void setServiceResourceId(String serviceResourceId) {
64         this.serviceResourceId = serviceResourceId;
65     }
66
67     public String getResourceModuleName() {
68         return resourceModuleName;
69     }
70
71     public void setResourceModuleName(String resourceModuleName) {
72         this.resourceModuleName = resourceModuleName;
73     }
74
75     public ModelInfo getModelInfo() {
76         return modelInfo;
77     }
78
79     public void setModelInfo(ModelInfo modelInfo) {
80         this.modelInfo = modelInfo;
81     }
82
83 }