Package com.ironcorelabs.sdk
Class GroupCreateResult
- java.lang.Object
-
- com.ironcorelabs.sdk.GroupCreateResult
-
public final class GroupCreateResult extends java.lang.Object
Group information from creation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
GroupUserList
getAdminList()
a GroupUserList of group admins.java.util.Date
getCreated()
date and time that the group was createdPublicKey
getGroupMasterPublicKey()
public key for encrypting to the groupGroupId
getId()
get the unique id of the groupjava.util.Date
getLastUpdated()
date and time that the group was last updatedGroupUserList
getMemberList()
a GroupUserList of group members.java.util.Optional<GroupName>
getName()
null if the group has no name, else the group's namejava.util.Optional<NullableBoolean>
getNeedsRotation()
null if the calling user is not a group admin, else a NullableBoolean of if the group private key needs rotationUserId
getOwner()
owner of the groupint
hashCode()
boolean
isAdmin()
true if the calling user is a group adminboolean
isMember()
true if the calling user is a group member
-
-
-
Method Detail
-
getId
public final GroupId getId()
get the unique id of the group
-
getName
public final java.util.Optional<GroupName> getName()
null if the group has no name, else the group's name
-
getGroupMasterPublicKey
public final PublicKey getGroupMasterPublicKey()
public key for encrypting to the group
-
isAdmin
public final boolean isAdmin()
true if the calling user is a group admin
-
isMember
public final boolean isMember()
true if the calling user is a group member
-
getOwner
public final UserId getOwner()
owner of the group
-
getAdminList
public final GroupUserList getAdminList()
a GroupUserList of group admins. Group admins can change group membership.
-
getMemberList
public final GroupUserList getMemberList()
a GroupUserList of group members. Members of a group can decrypt values encrypted to the group.
-
getCreated
public final java.util.Date getCreated()
date and time that the group was created
-
getLastUpdated
public final java.util.Date getLastUpdated()
date and time that the group was last updated
-
getNeedsRotation
public final java.util.Optional<NullableBoolean> getNeedsRotation()
null if the calling user is not a group admin, else a NullableBoolean of if the group private key needs rotation
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
delete
public void delete()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-