Class Label

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

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

  • Constructor Details

    • Label

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

      @Internal protected Label()
      Protected no-args constructor for use by serialization frameworks.
    • Label

      @Internal public Label(String prefix, String name, String id, String label)
      Constructs a validated instance of Label.

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

      Parameters:
      prefix - prefix
      name - name
      id - id
      label - label
  • Method Details

    • prefix

      public String prefix()
      Fluent getter for prefix.
      Returns:
      prefix
    • prefix

      public Label prefix(String prefix)
      Fluent setter for prefix.
      Parameters:
      prefix - prefix
      Returns:
      this
    • getPrefix

      public String getPrefix()
      Gets the value of prefix.
      Returns:
      prefix
    • setPrefix

      public void setPrefix(String prefix)
      Sets the value of prefix.
      Parameters:
      prefix - prefix
    • name

      public String name()
      Fluent getter for name.
      Returns:
      name
    • name

      public Label name(String name)
      Fluent setter for name.
      Parameters:
      name - name
      Returns:
      this
    • getName

      public String getName()
      Gets the value of name.
      Returns:
      name
    • setName

      public void setName(String name)
      Sets the value of name.
      Parameters:
      name - name
    • id

      public String id()
      Fluent getter for id.
      Returns:
      id
    • id

      public Label id(String id)
      Fluent setter for id.
      Parameters:
      id - id
      Returns:
      this
    • getId

      public String getId()
      Gets the value of id.
      Returns:
      id
    • setId

      public void setId(String id)
      Sets the value of id.
      Parameters:
      id - id
    • label

      public String label()
      Fluent getter for label.
      Returns:
      label
    • label

      public Label label(String label)
      Fluent setter for label.
      Parameters:
      label - label
      Returns:
      this
    • getLabel

      public String getLabel()
      Gets the value of label.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
      Sets the value of label.
      Parameters:
      label - label
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object