]> git.basschouten.com Git - openhab-addons.git/blob
0adfff9137c010299a021c8b69a060719d1ea584
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.mybmw.internal.dto.charge;
14
15 import java.util.ArrayList;
16 import java.util.List;
17
18 /**
19  * 
20  * derived from the API responses
21  * 
22  * @author Martin Grassl - initial contribution
23  */
24 public class RemoteChargingCommands {
25     private List<String> chargingControl = new ArrayList<>();
26     private List<String> flapControl = new ArrayList<>();
27     private List<String> plugControl = new ArrayList<>();
28
29     /**
30      * @return the chargingControl
31      */
32     public List<String> getChargingControl() {
33         return chargingControl;
34     }
35
36     /**
37      * @param chargingControl the chargingControl to set
38      */
39     public void setChargingControl(List<String> chargingControl) {
40         this.chargingControl = chargingControl;
41     }
42
43     /**
44      * @return the flapControl
45      */
46     public List<String> getFlapControl() {
47         return flapControl;
48     }
49
50     /**
51      * @param flapControl the flapControl to set
52      */
53     public void setFlapControl(List<String> flapControl) {
54         this.flapControl = flapControl;
55     }
56
57     /**
58      * @return the plugControl
59      */
60     public List<String> getPlugControl() {
61         return plugControl;
62     }
63
64     /**
65      * @param plugControl the plugControl to set
66      */
67     public void setPlugControl(List<String> plugControl) {
68         this.plugControl = plugControl;
69     }
70     /*
71      * (non-Javadoc)
72      * 
73      * @see java.lang.Object#toString()
74      */
75
76     @Override
77     public String toString() {
78         return "RemoteChargingCommands [chargingControl=" + chargingControl + ", flapControl=" + flapControl
79                 + ", plugControl=" + plugControl + "]";
80     }
81 }