Class ContentState
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentState
ContentState
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContentState(Long id, String name, String color) Constructs a validated instance ofContentState.ContentState(Consumer<ContentState> spec) Constructs a validated instance ofContentState. -
Method Summary
-
Field Details
-
id
identifier of content state. If 0, 1, or 2, this is a default space state -
name
name of content state. -
color
hex string representing color of state
-
-
Constructor Details
-
ContentState
Constructs a validated instance ofContentState.- Parameters:
spec- the specification to process
-
ContentState
Constructs a validated instance ofContentState.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentState(Consumer)instead.- Parameters:
id- identifier of content state. If 0, 1, or 2, this is a default space statename- name of content state.color- hex string representing color of state
-
ContentState
protected ContentState()
-
-
Method Details
-
id
identifier of content state. If 0, 1, or 2, this is a default space state -
name
name of content state. -
color
hex string representing color of state -
id
identifier of content state. If 0, 1, or 2, this is a default space state- Returns:
this.
-
name
name of content state.- Returns:
this.
-
color
hex string representing color of state- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-