Package com.sinch.sdk.domains.sms.models
Class Group
- java.lang.Object
-
- com.sinch.sdk.domains.sms.models.Group
-
public class Group extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroup.Builder
-
Constructor Summary
Constructors Constructor Description Group(String id, String name, Integer size, Instant createdAt, Instant modifiedAt, Collection<String> childGroupIds, GroupAutoUpdate autoUpdate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Group.Builderbuilder()GroupAutoUpdategetAutoUpdate()Collection<String>getChildGroupIds()InstantgetCreatedAt()StringgetId()InstantgetModifiedAt()StringgetName()IntegergetSize()StringtoString()
-
-
-
Constructor Detail
-
Group
public Group(String id, String name, Integer size, Instant createdAt, Instant modifiedAt, Collection<String> childGroupIds, GroupAutoUpdate autoUpdate)
- Parameters:
id- Unique identifier for the groupname- Name of group if setsize- The number of members currently in the groupcreatedAt- Timestamp for when the group was createdmodifiedAt- Timestamp for when the group was createdchildGroupIds- MSISDNs of child group will be included in this group. If present then this group will be auto populated. Constraints: Elements must be group IDsautoUpdate- Describes how this group is auto updated through user interaction. Isnullif the group is not auto updated.
-
-
Method Detail
-
getId
public String getId()
-
getName
public String getName()
-
getSize
public Integer getSize()
-
getCreatedAt
public Instant getCreatedAt()
-
getModifiedAt
public Instant getModifiedAt()
-
getChildGroupIds
public Collection<String> getChildGroupIds()
-
getAutoUpdate
public GroupAutoUpdate getAutoUpdate()
-
builder
public static Group.Builder builder()
-
-