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.vesync.internal.dto.requests;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link VeSyncRequest} is a Java class used as a DTO to hold the Vesync's API's common request data.
20 * @author David Goodyear - Initial contribution
22 public class VeSyncRequest {
24 @SerializedName("timeZone")
25 public String timeZone = "America/New_York";
27 @SerializedName("acceptLanguage")
28 public String acceptLanguage = "en";
30 @SerializedName("appVersion")
31 public String appVersion = "2.5.1";
33 @SerializedName("phoneBrand")
34 public String phoneBrand = "SM N9005";
36 @SerializedName("phoneOS")
37 public String phoneOS = "Android";
39 @SerializedName("traceId")
40 public String traceId = "";
42 @SerializedName("method")
45 public VeSyncRequest() {
46 traceId = String.valueOf(System.currentTimeMillis());