]> git.basschouten.com Git - openhab-addons.git/blob
ccfe250aa8cd2c2254297ff967ef9feb1995ae72
[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.semsportal.internal.dto;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * Request to list all available power stations in an account. Answer can be deserialized in a
21  * {@link StationListResponse}
22  *
23  * @author Iwan Bron - Initial contribution
24  *
25  */
26 @NonNullByDefault
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 = "";
43 }