Package com.symphony.api.model
Class V2AdminStreamInfo
- java.lang.Object
-
- com.symphony.api.model.V2AdminStreamInfo
-
public class V2AdminStreamInfo extends Object
Stream information
-
-
Constructor Summary
Constructors Constructor Description V2AdminStreamInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V2AdminStreamInfo
attributes(V2AdminStreamAttributes attributes)
V2AdminStreamInfo
crossPod(Boolean crossPod)
V2AdminStreamAttributes
getAttributes()
Get attributesString
getId()
stream idString
getOrigin()
INTERNAL if the creator of this stream belongs to the pod, EXTERNAL otherwiseString
getType()
type of stream (IM, MIM, ROOM)V2AdminStreamInfo
id(String id)
V2AdminStreamInfo
isActive(Boolean isActive)
V2AdminStreamInfo
isExternal(Boolean isExternal)
Boolean
isisCrossPod()
If true, this is a cross-pod stream.Boolean
isisIsActive()
true indicate that this stream has the status of active and false indicate this stream has the scope of inactiveBoolean
isisIsExternal()
true indicate this stream has the scope of external and false indictate this stream has the scope of internal.Boolean
isisIsPublic()
true indicate that this stream has a privacy setting of public.V2AdminStreamInfo
isPublic(Boolean isPublic)
V2AdminStreamInfo
origin(String origin)
void
setAttributes(V2AdminStreamAttributes attributes)
void
setCrossPod(Boolean crossPod)
void
setId(String id)
void
setIsActive(Boolean isActive)
void
setIsExternal(Boolean isExternal)
void
setIsPublic(Boolean isPublic)
void
setOrigin(String origin)
void
setType(String type)
String
toString()
V2AdminStreamInfo
type(String type)
-
-
-
Method Detail
-
getId
public String getId()
stream id- Returns:
- id
-
setId
public void setId(String id)
-
id
public V2AdminStreamInfo id(String id)
-
isisIsExternal
public Boolean isisIsExternal()
true indicate this stream has the scope of external and false indictate this stream has the scope of internal. Deprecated, use origin- Returns:
- isExternal
-
setIsExternal
public void setIsExternal(Boolean isExternal)
-
isExternal
public V2AdminStreamInfo isExternal(Boolean isExternal)
-
isisIsActive
public Boolean isisIsActive()
true indicate that this stream has the status of active and false indicate this stream has the scope of inactive- Returns:
- isActive
-
setIsActive
public void setIsActive(Boolean isActive)
-
isActive
public V2AdminStreamInfo isActive(Boolean isActive)
-
isisIsPublic
public Boolean isisIsPublic()
true indicate that this stream has a privacy setting of public. This only apply a ROOM stream type.- Returns:
- isPublic
-
setIsPublic
public void setIsPublic(Boolean isPublic)
-
isPublic
public V2AdminStreamInfo isPublic(Boolean isPublic)
-
getType
public String getType()
type of stream (IM, MIM, ROOM)- Returns:
- type
-
setType
public void setType(String type)
-
type
public V2AdminStreamInfo type(String type)
-
isisCrossPod
public Boolean isisCrossPod()
If true, this is a cross-pod stream.- Returns:
- crossPod
-
setCrossPod
public void setCrossPod(Boolean crossPod)
-
crossPod
public V2AdminStreamInfo crossPod(Boolean crossPod)
-
getOrigin
public String getOrigin()
INTERNAL if the creator of this stream belongs to the pod, EXTERNAL otherwise- Returns:
- origin
-
setOrigin
public void setOrigin(String origin)
-
origin
public V2AdminStreamInfo origin(String origin)
-
getAttributes
public V2AdminStreamAttributes getAttributes()
Get attributes- Returns:
- attributes
-
setAttributes
public void setAttributes(V2AdminStreamAttributes attributes)
-
attributes
public V2AdminStreamInfo attributes(V2AdminStreamAttributes attributes)
-
-