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.semsportal.internal.dto;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
17 import com.google.gson.annotations.SerializedName;
20 * Request to list all available power stations in an account. Answer can be deserialized in a
21 * {@link StationListResponse}
23 * @author Iwan Bron - Initial contribution
27 public class StationListRequest {
28 // Properties are private but used by Gson to construct the request
29 @SerializedName("page_size")
30 private int pageSize = 5;
31 @SerializedName("page_index")
32 private int pageIndex = 1;
33 @SerializedName("order_by")
34 private String orderBy = "";
35 @SerializedName("powerstation_status")
36 private String powerstationStatus = "";
37 // @SerializedName("key")
38 // private String key = "";
39 @SerializedName("powerstation_id")
40 private String powerstationId = "";
41 @SerializedName("powerstation_type")
42 private String powerstationType = "";