Klasse Visibility

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

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

    • identifier

      protected String identifier
      The ID of the group or the name of the role that visibility of this item is restricted to.
    • type

      protected Visibility.TypeEnum type
      Whether visibility of this item is restricted to a group or role.
    • value

      protected String value
      The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group use identifier.
  • Konstruktordetails

    • Visibility

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

      @Internal public Visibility(String identifier, Visibility.TypeEnum type, String value)
      Constructs a validated instance of Visibility.

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

      Parameter:
      identifier - The ID of the group or the name of the role that visibility of this item is restricted to.
      type - Whether visibility of this item is restricted to a group or role.
      value - The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group use identifier.
    • Visibility

      protected Visibility()
  • Methodendetails

    • builder

      public static Visibility.VisibilityBuilder builder()
    • identifier

      public String identifier()
      The ID of the group or the name of the role that visibility of this item is restricted to.
    • type

      public Visibility.TypeEnum type()
      Whether visibility of this item is restricted to a group or role.
    • value

      public String value()
      The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group use identifier.
    • identifier

      public Visibility identifier(String identifier)
      The ID of the group or the name of the role that visibility of this item is restricted to.
      Gibt zurück:
      this.
    • type

      public Visibility type(Visibility.TypeEnum type)
      Whether visibility of this item is restricted to a group or role.
      Gibt zurück:
      this.
    • value

      public Visibility value(String value)
      The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group use identifier.
      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