Klasse RestrictedPermission

java.lang.Object
io.github.primelib.jira4j.restv2.model.RestrictedPermission

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

    • id

      protected String id
      The ID of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-2-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-2-permissions-get) to get the list of permissions.
  • Konstruktordetails

    • RestrictedPermission

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

      @Internal public RestrictedPermission(String id, String key)
      Constructs a validated instance of RestrictedPermission.

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

      Parameter:
      id - The ID of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-2-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-2-permissions-get) to get the list of permissions.
    • RestrictedPermission

      protected RestrictedPermission()
  • Methodendetails

    • builder

    • id

      public String id()
      The ID of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-2-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-2-permissions-get) to get the list of permissions.
    • id

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

      public RestrictedPermission key(String key)
      The key of the permission. Either id or key must be specified. Use [Get all permissions](#api-rest-api-2-permissions-get) to get the list of permissions.
      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