com.ansys.ingress.client.api

## Enum PermissionAction

- java.lang.Object
- - java.lang.Enum<PermissionAction>
  - - com.ansys.ingress.client.api.PermissionAction

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PermissionAction>

      public enum PermissionAction
      extends java.lang.Enum<PermissionAction>

  Action defines the actions that can be used to determine if a user has permission to perform an action on an object.

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `ACCESS` Access action
    `CHECKOUT` Checkout from version control action
    `CREATE` Create action
    `DELETE` Delete action
    `DOWNLOAD` Download action
    `FULL_CONTROL` Full control action
    `MODIFY` Modify action

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static PermissionAction` | `fromString(java.lang.String actionName)` Creates a permission action from a string.
    `java.lang.String` | `toString()`
    `static PermissionAction` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static PermissionAction[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### ACCESS

          public static final PermissionAction ACCESS

      Access action

    - #### CHECKOUT

          public static final PermissionAction CHECKOUT

      Checkout from version control action

    - #### CREATE

          public static final PermissionAction CREATE

      Create action

    - #### DELETE

          public static final PermissionAction DELETE

      Delete action

    - #### DOWNLOAD

          public static final PermissionAction DOWNLOAD

      Download action

    - #### FULL_CONTROL

          public static final PermissionAction FULL_CONTROL

      Full control action

    - #### MODIFY

          public static final PermissionAction MODIFY

      Modify action

  - ### Method Detail

    - #### values

          public static PermissionAction[] 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 (PermissionAction c : PermissionAction.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static PermissionAction 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

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Enum<PermissionAction>`

    - #### fromString

          public static PermissionAction fromString(java.lang.String actionName)

      Creates a permission action from a string.
      Parameters:
        `actionName` - the action name
      Returns:
        Returns the permission action or null if an invalid action name is provided.