java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.LabelCreate

@Generated("io.github.primelib.primecodegen") public class LabelCreate extends Object
LabelCreate
  • Field Details

    • prefix

      protected String prefix
      The prefix for the label. `global`, `my` `team`, etc.
    • name

      protected String name
      The name of the label, which will be shown in the UI.
  • Constructor Details

    • LabelCreate

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

      @Internal public LabelCreate(String prefix, String name)
      Constructs a validated instance of LabelCreate.

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

      Parameters:
      prefix - The prefix for the label. `global`, `my` `team`, etc.
      name - The name of the label, which will be shown in the UI.
    • LabelCreate

      protected LabelCreate()
  • Method Details

    • prefix

      public String prefix()
      The prefix for the label. `global`, `my` `team`, etc.
    • name

      public String name()
      The name of the label, which will be shown in the UI.
    • prefix

      public LabelCreate prefix(String prefix)
      The prefix for the label. `global`, `my` `team`, etc.
      Returns:
      this.
    • name

      public LabelCreate name(String name)
      The name of the label, which will be shown in the UI.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object