Package com.ironcorelabs.sdk
Class GroupMetaResult
- java.lang.Object
-
- com.ironcorelabs.sdk.GroupMetaResult
-
public final class GroupMetaResult extends java.lang.Object
Abbreviated group meta information.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
java.util.Date
getCreated()
get the date and time that the group was createdGroupId
getId()
get the unique id of the groupjava.util.Date
getLastUpdated()
get the date and time that the group was last updatedjava.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 rotationint
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
-
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
-
getCreated
public final java.util.Date getCreated()
get the date and time that the group was created
-
getLastUpdated
public final java.util.Date getLastUpdated()
get the 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
-
-