Enum AccessScope

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AccessScope>

    public enum AccessScope
    extends java.lang.Enum<AccessScope>
    Represents the type of access that is granted on a given sheet.
    See Also:
    Access Scopes Help
    • Enum Constant Detail

      • ADMIN_SHEETS

        public static final AccessScope ADMIN_SHEETS
      • ADMIN_SIGHTS

        public static final AccessScope ADMIN_SIGHTS
      • ADMIN_USERS

        public static final AccessScope ADMIN_USERS
      • ADMIN_WEBHOOKS

        public static final AccessScope ADMIN_WEBHOOKS
      • ADMIN_WORKSPACES

        public static final AccessScope ADMIN_WORKSPACES
      • CREATE_SHEETS

        public static final AccessScope CREATE_SHEETS
      • CREATE_SIGHTS

        public static final AccessScope CREATE_SIGHTS
      • DELETE_SHEETS

        public static final AccessScope DELETE_SHEETS
      • DELETE_SIGHTS

        public static final AccessScope DELETE_SIGHTS
      • READ_CONTACTS

        public static final AccessScope READ_CONTACTS
      • READ_SHEETS

        public static final AccessScope READ_SHEETS
      • READ_SIGHTS

        public static final AccessScope READ_SIGHTS
      • READ_USERS

        public static final AccessScope READ_USERS
      • SHARE_SHEETS

        public static final AccessScope SHARE_SHEETS
      • SHARE_SIGHTS

        public static final AccessScope SHARE_SIGHTS
      • WRITE_SHEETS

        public static final AccessScope WRITE_SHEETS
    • Method Detail

      • values

        public static AccessScope[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AccessScope c : AccessScope.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AccessScope valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null