public class OpenChannelPayload extends PushModelObject
Constructor and Description |
---|
OpenChannelPayload(Channel channel)
Create an open channel payload.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Channel |
getChannel()
Get the channel object that is the object used to create or update channels on an open platform.
|
int |
hashCode() |
java.lang.String |
toString() |
toJSON
toJSON
public OpenChannelPayload(Channel channel)
channel
- Channelpublic Channel getChannel()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object