Klasse UserPermission

java.lang.Object
io.github.primelib.jira4j.restv3.model.UserPermission

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class UserPermission extends Object
UserPermission
  • Felddetails

    • deprecatedKey

      protected Boolean deprecatedKey
      Indicate whether the permission key is deprecated. Note that deprecated keys cannot be used in the permissions parameter of Get my permissions. Deprecated keys are not returned by Get all permissions.
    • description

      protected String description
      The description of the permission.
    • havePermission

      protected Boolean havePermission
      Whether the permission is available to the user in the queried context.
    • id

      protected String id
      The ID of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.
    • key

      protected String key
      The key of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.
    • name

      protected String name
      The name of the permission.
    • type

      protected UserPermission.TypeEnum type
      The type of the permission.
  • Konstruktordetails

    • UserPermission

      public UserPermission(Consumer<UserPermission> spec)
      Constructs a validated instance of UserPermission.
      Parameter:
      spec - the specification to process
    • UserPermission

      @Internal public UserPermission(Boolean deprecatedKey, String description, Boolean havePermission, String id, String key, String name, UserPermission.TypeEnum type)
      Constructs a validated instance of UserPermission.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using UserPermission(Consumer) instead.

      Parameter:
      deprecatedKey - Indicate whether the permission key is deprecated. Note that deprecated keys cannot be used in the permissions parameter of Get my permissions. Deprecated keys are not returned by Get all permissions.
      description - The description of the permission.
      havePermission - Whether the permission is available to the user in the queried context.
      id - The ID of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.
      key - The key of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.
      name - The name of the permission.
      type - The type of the permission.
    • UserPermission

      protected UserPermission()
  • Methodendetails

    • builder

      public static UserPermission.UserPermissionBuilder builder()
    • deprecatedKey

      public Boolean deprecatedKey()
      Indicate whether the permission key is deprecated. Note that deprecated keys cannot be used in the permissions parameter of Get my permissions. Deprecated keys are not returned by Get all permissions.
    • description

      public String description()
      The description of the permission.
    • havePermission

      public Boolean havePermission()
      Whether the permission is available to the user in the queried context.
    • id

      public String id()
      The ID of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.
    • key

      public String key()
      The key of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.
    • name

      public String name()
      The name of the permission.
    • type

      public UserPermission.TypeEnum type()
      The type of the permission.
    • deprecatedKey

      public UserPermission deprecatedKey(Boolean deprecatedKey)
      Indicate whether the permission key is deprecated. Note that deprecated keys cannot be used in the permissions parameter of Get my permissions. Deprecated keys are not returned by Get all permissions.
      Gibt zurück:
      this.
    • description

      public UserPermission description(String description)
      The description of the permission.
      Gibt zurück:
      this.
    • havePermission

      public UserPermission havePermission(Boolean havePermission)
      Whether the permission is available to the user in the queried context.
      Gibt zurück:
      this.
    • id

      public UserPermission id(String id)
      The ID of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.
      Gibt zurück:
      this.
    • key

      public UserPermission key(String key)
      The key of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.
      Gibt zurück:
      this.
    • name

      public UserPermission name(String name)
      The name of the permission.
      Gibt zurück:
      this.
    • type

      The type of the permission.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object