public class ChannelsByServerResponse extends Object
Response object for the "list channels for a server" function of the web-service API.
This object is primarily intended to facilitate the JSON serialization of the data provided by the API controller. For this reason, it does not perform any checks on the parameters used to construct the object.
| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelsByServerResponse.ChannelItem
Individual channel item in the
ChannelsByServerResponse. |
| Constructor and Description |
|---|
ChannelsByServerResponse(List<ChannelsByServerResponse.ChannelItem> channels,
boolean statusAvailable)
Creates a new response.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ChannelsByServerResponse.ChannelItem> |
getChannels()
Returns the list of all channels that exist for the specified server.
|
int |
hashCode() |
boolean |
isStatusAvailable()
Tells whether status information is available.
|
String |
toString() |
public ChannelsByServerResponse(List<ChannelsByServerResponse.ChannelItem> channels, boolean statusAvailable)
channels - information about all channels that are defined for the
specified server.statusAvailable - true if channels contains
information about the channels' status, false if
it only contains configuration information.public List<ChannelsByServerResponse.ChannelItem> getChannels()
public boolean isStatusAvailable()
null.true if status information for the channels is
available, false otherwise.Copyright © 2011–2017 aquenos GmbH. All rights reserved.