Class 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()  
      protected void finalize()  
      java.util.Date getCreated()
      get the date and time that the group was created
      GroupId getId()
      get the unique id of the group
      java.util.Date getLastUpdated()
      get the date and time that the group was last updated
      java.util.Optional<GroupName> getName()
      null if the group has no name, else the group's name
      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
      boolean isAdmin()
      true if the calling user is a group admin
      boolean isMember()
      true if the calling user is a group member
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • delete

        public void delete()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable