]> git.basschouten.com Git - openhab-addons.git/blob
506a4f424b2317ac0c4eb5cd7d6650a19d2e515d
[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.ecovacs.internal.api.impl.dto.response.main;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * @author Johannes Ptaszyk - Initial contribution
19  */
20 public class AuthCode {
21
22     @SerializedName("ecovacsUid")
23     private final String ecovacsUid;
24
25     @SerializedName("authCode")
26     private final String authCode;
27
28     public AuthCode(String ecovacsUid, String authCode) {
29         this.ecovacsUid = ecovacsUid;
30         this.authCode = authCode;
31     }
32
33     public String getEcovacsUid() {
34         return ecovacsUid;
35     }
36
37     public String getAuthCode() {
38         return authCode;
39     }
40 }