org.appng.api.rest.model

## Class Permission

- java.lang.Object
- - org.appng.api.rest.model.Permission

- All Implemented Interfaces:
    Serializable

      @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
                 date="2023-03-20T12:57:47.319+01:00")
      public class Permission
      extends Object
      implements Serializable

  A permission.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Permission.ModeEnum` The mode

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Permission()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `Permission.ModeEnum` | `getMode()` The mode
    `String` | `getRef()` The reference id of the permission.
    `int` | `hashCode()`
    `Boolean` | `isValue()` The value, true if the permission is present.
    `Permission` | `mode(Permission.ModeEnum mode)`
    `Permission` | `ref(String ref)`
    `void` | `setMode(Permission.ModeEnum mode)`
    `void` | `setRef(String ref)`
    `void` | `setValue(Boolean value)`
    `String` | `toString()`
    `Permission` | `value(Boolean value)`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Permission

          public Permission()

  - ### Method Detail

    - #### mode

          public Permission mode(Permission.ModeEnum mode)

    - #### getMode

          public Permission.ModeEnum getMode()

      The mode
      Returns:
        mode

    - #### setMode

          public void setMode(Permission.ModeEnum mode)

    - #### ref

          public Permission ref(String ref)

    - #### getRef

          public String getRef()

      The reference id of the permission.
      Returns:
        ref

    - #### setRef

          public void setRef(String ref)

    - #### value

          public Permission value(Boolean value)

    - #### isValue

          public Boolean isValue()

      The value, true if the permission is present.
      Returns:
        value

    - #### setValue

          public void setValue(Boolean value)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.