Klasse PermissionScheme

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

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

    • description

      protected String description
      A description for the permission scheme.
    • expand

      protected String expand
      The expand options available for the permission scheme.
    • id

      protected Long id
      The ID of the permission scheme.
    • name

      protected String name
      The name of the permission scheme. Must be unique.
    • permissions

      protected List<PermissionGrant> permissions
      The permission scheme to create or update. See [About permission schemes and grants](../api-group-permission-schemes/#about-permission-schemes-and-grants) for more information.
    • scope

      protected PermissionSchemeScope scope
    • self

      protected URI self
      The URL of the permission scheme.
  • Konstruktordetails

    • PermissionScheme

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

      @Internal public PermissionScheme(String description, String expand, Long id, String name, List<PermissionGrant> permissions, PermissionSchemeScope scope, URI self)
      Constructs a validated instance of PermissionScheme.

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

      Parameter:
      description - A description for the permission scheme.
      expand - The expand options available for the permission scheme.
      id - The ID of the permission scheme.
      name - The name of the permission scheme. Must be unique.
      permissions - The permission scheme to create or update. See [About permission schemes and grants](../api-group-permission-schemes/#about-permission-schemes-and-grants) for more information.
      scope - scope
      self - The URL of the permission scheme.
    • PermissionScheme

      protected PermissionScheme()
  • Methodendetails

    • builder

    • description

      public String description()
      A description for the permission scheme.
    • expand

      public String expand()
      The expand options available for the permission scheme.
    • id

      public Long id()
      The ID of the permission scheme.
    • name

      public String name()
      The name of the permission scheme. Must be unique.
    • permissions

      public List<PermissionGrant> permissions()
      The permission scheme to create or update. See [About permission schemes and grants](../api-group-permission-schemes/#about-permission-schemes-and-grants) for more information.
    • scope

      public PermissionSchemeScope scope()
    • self

      public URI self()
      The URL of the permission scheme.
    • description

      public PermissionScheme description(String description)
      A description for the permission scheme.
      Gibt zurück:
      this.
    • expand

      public PermissionScheme expand(String expand)
      The expand options available for the permission scheme.
      Gibt zurück:
      this.
    • id

      public PermissionScheme id(Long id)
      The ID of the permission scheme.
      Gibt zurück:
      this.
    • name

      public PermissionScheme name(String name)
      The name of the permission scheme. Must be unique.
      Gibt zurück:
      this.
    • permissions

      public PermissionScheme permissions(List<PermissionGrant> permissions)
      The permission scheme to create or update. See [About permission schemes and grants](../api-group-permission-schemes/#about-permission-schemes-and-grants) for more information.
      Gibt zurück:
      this.
    • scope

      Gibt zurück:
      this.
    • self

      public PermissionScheme self(URI self)
      The URL of the permission scheme.
      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