Package io.ably.lib.push
Class PushBase.ChannelSubscription
- java.lang.Object
-
- io.ably.lib.push.PushBase.ChannelSubscription
-
- Enclosing class:
- PushBase
public static class PushBase.ChannelSubscription extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringchanneljava.lang.StringclientIdjava.lang.StringdeviceIdprotected static HttpCore.BodyHandler<PushBase.ChannelSubscription>httpBodyHandlerprotected static HttpCore.ResponseHandler<PushBase.ChannelSubscription>httpResponseHandler
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static PushBase.ChannelSubscriptionforClientId(java.lang.String channel, java.lang.String clientId)static PushBase.ChannelSubscriptionforDevice(java.lang.String channel, java.lang.String deviceId)static PushBase.ChannelSubscriptionfromJsonObject(com.google.gson.JsonObject o)com.google.gson.JsonObjecttoJsonObject()java.lang.StringtoString()
-
-
-
Field Detail
-
channel
public final java.lang.String channel
-
deviceId
public final java.lang.String deviceId
-
clientId
public final java.lang.String clientId
-
httpResponseHandler
protected static HttpCore.ResponseHandler<PushBase.ChannelSubscription> httpResponseHandler
-
httpBodyHandler
protected static HttpCore.BodyHandler<PushBase.ChannelSubscription> httpBodyHandler
-
-
Method Detail
-
forDevice
public static PushBase.ChannelSubscription forDevice(java.lang.String channel, java.lang.String deviceId)
-
forClientId
public static PushBase.ChannelSubscription forClientId(java.lang.String channel, java.lang.String clientId)
-
toJsonObject
public com.google.gson.JsonObject toJsonObject()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
fromJsonObject
public static PushBase.ChannelSubscription fromJsonObject(com.google.gson.JsonObject o)
-
-