8a49c9c5a6cdfbc946aa9c386906daac51827fb3
[externalapi/nbi.git] / src / main / java / org / onap / nbi / apis / serviceorder / model / consumer / ParametersModel.java
1 /**
2  * Copyright (c) 2018 Huawei
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
5  * the License. You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
10  * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
11  * specific language governing permissions and limitations under the License.
12  */
13
14 package org.onap.nbi.apis.serviceorder.model.consumer;
15
16 import java.util.List;
17 import java.util.Map;
18
19 public class ParametersModel {
20
21         private List<LocationConstraintsModel> locationConstraints;
22         
23         private List<ResourceModel> resources;
24         
25         private Map<String, String> requestInputs;
26         
27         public List<LocationConstraintsModel> getLocationConstraints(){
28                 return locationConstraints;
29         }
30         
31         public void setLocationConstraints(List<LocationConstraintsModel> locationConstraints) {
32                 this.locationConstraints = locationConstraints;
33         }
34         
35         public List<ResourceModel> getResources(){
36                 return resources;
37         }
38         
39         public void setResources(List<ResourceModel> resources) {
40                 this.resources = resources;
41         }
42         
43         public Map<String, String> getRequestInputs() {
44                 return requestInputs;
45         }
46
47         public void setRequestInputs(Map<String, String> requestInputs) {
48                 this.requestInputs = requestInputs;
49         }
50
51         @Override
52     public String toString() {
53         return "ParametersModel{" + "locationConstraints=" + locationConstraints + ", resources=" + resources + ", requestInputs="
54                 + requestInputs +  '}';
55     }
56 }