2 * Copyright (c) 2010-2022 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.bmwconnecteddrive.internal.dto.auth;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link Timer} Data Transfer Object
20 * @author Bernd Weymann - Initial contribution
22 public class AuthResponse {
23 @SerializedName("access_token")
24 public String accessToken;
25 @SerializedName("token_type")
26 public String tokenType;
27 @SerializedName("expires_in")
31 public String toString() {
32 return "Token " + accessToken + " type " + tokenType + " expires in " + expiresIn;