Package com.easemob.im.server.model
Class EMGroup
- java.lang.Object
-
- com.easemob.im.server.model.EMEntity
-
- com.easemob.im.server.model.EMGroup
-
public class EMGroup extends EMEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
EMGroup.Affiliation
-
Nested classes/interfaces inherited from class com.easemob.im.server.model.EMEntity
EMEntity.EntityType
-
-
Constructor Summary
Constructors Constructor Description EMGroup(java.lang.String groupId, java.lang.String name, java.lang.String description, boolean isPublic, boolean needApproveToJoin, boolean canMemberInviteOthers, java.lang.String owner, int maxMembers, int affiliationsCount, java.lang.String[] groupMembers, boolean isMute, java.lang.String custom, boolean isDisabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EMGroup.Affiliation
getAffiliations()
int
getAffiliationsCount()
boolean
getCanMemberInviteOthers()
java.lang.String
getCustom()
java.lang.String
getDescription()
java.lang.String
getGroupId()
boolean
getIsDisabled()
boolean
getIsMute()
boolean
getIsPublic()
int
getMaxMembers()
java.lang.String
getName()
boolean
getNeedApproveToJoin()
java.lang.String
getOwner()
static void
validateGroupId(java.lang.String groupId)
-
-
-
Constructor Detail
-
EMGroup
public EMGroup(java.lang.String groupId, java.lang.String name, java.lang.String description, boolean isPublic, boolean needApproveToJoin, boolean canMemberInviteOthers, java.lang.String owner, int maxMembers, int affiliationsCount, java.lang.String[] groupMembers, boolean isMute, java.lang.String custom, boolean isDisabled)
-
-
Method Detail
-
validateGroupId
public static void validateGroupId(java.lang.String groupId)
-
getGroupId
public java.lang.String getGroupId()
-
getName
public java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
getIsPublic
public boolean getIsPublic()
-
getNeedApproveToJoin
public boolean getNeedApproveToJoin()
-
getCanMemberInviteOthers
public boolean getCanMemberInviteOthers()
-
getOwner
public java.lang.String getOwner()
-
getMaxMembers
public int getMaxMembers()
-
getAffiliationsCount
public int getAffiliationsCount()
-
getAffiliations
public EMGroup.Affiliation getAffiliations()
-
getIsMute
public boolean getIsMute()
-
getCustom
public java.lang.String getCustom()
-
getIsDisabled
public boolean getIsDisabled()
-
-