public class Channel extends PushModelObject
Modifier and Type | Class and Description |
---|---|
static class |
Channel.Builder
Channel Builder
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getAddress()
Get the channel's address, a Unique identifier of the object
used as the primary ID in the delivery tier (webhook).
|
java.util.Optional<java.lang.String> |
getLocaleCountry()
Get a String representation of the locale country.
|
java.util.Optional<java.lang.String> |
getLocaleLanguage()
Get a String representation of the locale language.
|
OpenChannel |
getOpen()
Get open channel specific properties.
|
java.util.Optional<java.lang.Boolean> |
getOptIn()
Get the channel opt in status.
|
java.util.Optional<java.lang.Boolean> |
getSetTags()
Get the setTags flag.
|
java.util.Optional<<any>> |
getTags()
Get the List of String representations of tags.
|
java.util.Optional<java.lang.String> |
getTimezone()
Get a String representation of the timezone.
|
ChannelType |
getType()
Get the ChannelType.
|
int |
hashCode() |
static Channel.Builder |
newBuilder()
New Channel Builder.
|
java.lang.String |
toString() |
toJSON
toJSON
public ChannelType getType()
public java.util.Optional<java.lang.Boolean> getOptIn()
public java.util.Optional<java.lang.String> getAddress()
public java.util.Optional<java.lang.Boolean> getSetTags()
public java.util.Optional<<any>> getTags()
public java.util.Optional<java.lang.String> getTimezone()
public java.util.Optional<java.lang.String> getLocaleCountry()
public java.util.Optional<java.lang.String> getLocaleLanguage()
public OpenChannel getOpen()
public static Channel.Builder newBuilder()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object