public class ListChannelsResponse extends Message<LightningApi.ListChannelsResponse>
Message
,
LightningApi.ListChannelsResponse
builder, wrapperFactory
Constructor and Description |
---|
ListChannelsResponse()
Empty Constructor
|
ListChannelsResponse(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ListChannelsResponse(LightningApi.ListChannelsResponse apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Channel> |
getChannels()
Getter for a list of channels.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setChannels(java.util.List<Channel> valueList)
Setter for list of channels.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public ListChannelsResponse()
public ListChannelsResponse(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ListChannelsResponse(LightningApi.ListChannelsResponse apiObject)
public java.util.List<Channel> getChannels() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setChannels(java.util.List<Channel> valueList)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.ListChannelsResponse>