Package com.symphony.api.model
Class ChannelSubscriber
- java.lang.Object
-
- com.symphony.api.model.ChannelSubscriber
-
public class ChannelSubscriber extends Object
-
-
Constructor Summary
Constructors Constructor Description ChannelSubscriber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSubscriberName()
User display nameLong
getTimestamp()
Timestamp when the signal was subscribed, in milliseconds since Jan 1 1970Long
getUserId()
The user ID of the subscriberBoolean
isisOwner()
True if the subscriber is the creatorBoolean
isisPushed()
True if the subscriber is allowed to unsubscribeChannelSubscriber
owner(Boolean owner)
ChannelSubscriber
pushed(Boolean pushed)
void
setOwner(Boolean owner)
void
setPushed(Boolean pushed)
void
setSubscriberName(String subscriberName)
void
setTimestamp(Long timestamp)
void
setUserId(Long userId)
ChannelSubscriber
subscriberName(String subscriberName)
ChannelSubscriber
timestamp(Long timestamp)
String
toString()
ChannelSubscriber
userId(Long userId)
-
-
-
Method Detail
-
isisPushed
public Boolean isisPushed()
True if the subscriber is allowed to unsubscribe- Returns:
- pushed
-
setPushed
public void setPushed(Boolean pushed)
-
pushed
public ChannelSubscriber pushed(Boolean pushed)
-
isisOwner
public Boolean isisOwner()
True if the subscriber is the creator- Returns:
- owner
-
setOwner
public void setOwner(Boolean owner)
-
owner
public ChannelSubscriber owner(Boolean owner)
-
getSubscriberName
public String getSubscriberName()
User display name- Returns:
- subscriberName
-
setSubscriberName
public void setSubscriberName(String subscriberName)
-
subscriberName
public ChannelSubscriber subscriberName(String subscriberName)
-
getUserId
public Long getUserId()
The user ID of the subscriber- Returns:
- userId
-
setUserId
public void setUserId(Long userId)
-
userId
public ChannelSubscriber userId(Long userId)
-
getTimestamp
public Long getTimestamp()
Timestamp when the signal was subscribed, in milliseconds since Jan 1 1970- Returns:
- timestamp
-
setTimestamp
public void setTimestamp(Long timestamp)
-
timestamp
public ChannelSubscriber timestamp(Long timestamp)
-
-