New min/max Guard Policy
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / adapter / YAMLParams.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP Policy Engine
4  * ================================================================================
5  * Copyright (C) 2017-2018 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.policy.rest.adapter;
22
23 import java.util.List;
24
25 public class YAMLParams {
26     private String actor;
27     private String recipe;
28     private String clname;
29     private String limit;
30     private String min;
31     private String max;
32     private String timeWindow;
33     private String timeUnits;
34     private String guardActiveStart;
35     private String guardActiveEnd;
36     private List<String> blackList;
37     private List<String> targets;
38
39     public String getActor() {
40         return actor;
41     }
42     public void setActor(String actor) {
43         this.actor = actor;
44     }
45     public String getRecipe() {
46         return recipe;
47     }
48     public void setRecipe(String recipe) {
49         this.recipe = recipe;
50     }
51     public String getLimit() {
52         return limit;
53     }
54     public void setLimit(String limit) {
55         this.limit = limit;
56     }
57
58     public String getMin() {
59         return min;
60     }
61
62     public void setMin(String min) {
63         this.min = min;
64     }
65
66     public String getMax() {
67         return max;
68     }
69
70     public void setMax(String max) {
71         this.max = max;
72     }
73
74     public String getTimeWindow() {
75         return timeWindow;
76     }
77     public void setTimeWindow(String timeWindow) {
78         this.timeWindow = timeWindow;
79     }
80     public String getGuardActiveStart() {
81         return guardActiveStart;
82     }
83     public void setGuardActiveStart(String guardActiveStart) {
84         this.guardActiveStart = guardActiveStart;
85     }
86     public String getGuardActiveEnd() {
87         return guardActiveEnd;
88     }
89     public void setGuardActiveEnd(String guardActiveEnd) {
90         this.guardActiveEnd = guardActiveEnd;
91     }
92     public List<String> getBlackList() {
93         return blackList;
94     }
95     public void setBlackList(List<String> blackList) {
96         this.blackList = blackList;
97     }
98     public String getClname() {
99         return clname;
100     }
101     public void setClname(String clname) {
102         this.clname = clname;
103     }
104     public String getTimeUnits() {
105         return timeUnits;
106     }
107     public void setTimeUnits(String timeUnits) {
108         this.timeUnits = timeUnits;
109     }
110     public List<String> getTargets() {
111         return targets;
112     }
113     public void setTargets(List<String> targets) {
114         this.targets = targets;
115     }
116 }