2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.mybmw.internal.dto.charge;
15 import java.util.ArrayList;
16 import java.util.List;
20 * derived from the API responses
22 * @author Martin Grassl - initial contribution
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<>();
30 * @return the chargingControl
32 public List<String> getChargingControl() {
33 return chargingControl;
37 * @param chargingControl the chargingControl to set
39 public void setChargingControl(List<String> chargingControl) {
40 this.chargingControl = chargingControl;
44 * @return the flapControl
46 public List<String> getFlapControl() {
51 * @param flapControl the flapControl to set
53 public void setFlapControl(List<String> flapControl) {
54 this.flapControl = flapControl;
58 * @return the plugControl
60 public List<String> getPlugControl() {
65 * @param plugControl the plugControl to set
67 public void setPlugControl(List<String> plugControl) {
68 this.plugControl = plugControl;
73 * @see java.lang.Object#toString()
77 public String toString() {
78 return "RemoteChargingCommands [chargingControl=" + chargingControl + ", flapControl=" + flapControl
79 + ", plugControl=" + plugControl + "]";