Class LabelCreate
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.LabelCreate
LabelCreate
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.LabelCreate(String prefix, String name) Constructs a validated instance ofLabelCreate.LabelCreate(Consumer<LabelCreate> spec) Constructs a validated instance ofLabelCreate. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Gets the value of name.Gets the value of prefix.inthashCode()name()Fluent getter for name.Fluent setter for name.prefix()Fluent getter for prefix.Fluent setter for prefix.voidSets the value of name.voidSets the value of prefix.toString()
-
Field Details
-
prefix
The prefix for the label. `global`, `my` `team`, etc. -
name
The name of the label, which will be shown in the UI.
-
-
Constructor Details
-
LabelCreate
Constructs a validated instance ofLabelCreate.- Parameters:
spec- the specification to process
-
LabelCreate
@Internal protected LabelCreate()Protected no-args constructor for use by serialization frameworks. -
LabelCreate
Constructs a validated instance ofLabelCreate.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.
-
-
Method Details
-
prefix
Fluent getter for prefix.The prefix for the label. `global`, `my` `team`, etc.
- Returns:
- prefix
-
prefix
Fluent setter for prefix.The prefix for the label. `global`, `my` `team`, etc.
- Parameters:
prefix- prefix- Returns:
- this
-
getPrefix
Gets the value of prefix.The prefix for the label. `global`, `my` `team`, etc.
- Returns:
- prefix
-
setPrefix
Sets the value of prefix.The prefix for the label. `global`, `my` `team`, etc.
- Parameters:
prefix- prefix
-
name
Fluent getter for name.The name of the label, which will be shown in the UI.
- Returns:
- name
-
name
Fluent setter for name.The name of the label, which will be shown in the UI.
- Parameters:
name- name- Returns:
- this
-
getName
Gets the value of name.The name of the label, which will be shown in the UI.
- Returns:
- name
-
setName
Sets the value of name.The name of the label, which will be shown in the UI.
- Parameters:
name- name
-
equals
-
hashCode
-
toString
-