]> git.basschouten.com Git - openhab-addons.git/blob
b14b91c02b28182caa51fe3f16cfb9a75c214285
[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.squeezebox.internal.dto;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link StatusResponseDTO} is the response received from a player status request.
19  *
20  * @author Mark Hilbush - Initial contribution
21  */
22 public class StatusResponseDTO {
23
24     /**
25      * Id. Currently unused.
26      */
27     @SerializedName("id")
28     public String id;
29
30     /**
31      * Method name. Normally "slim.request"
32      */
33     @SerializedName("method")
34     public String method;
35
36     /**
37      * Parameters passed in the query. Currently unused.
38      */
39     @SerializedName("params")
40     public Object params;
41
42     /**
43      * Contains the result of the query
44      */
45     @SerializedName("result")
46     public StatusResultDTO result;
47 }