Class ContentStateRestInput
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentStateRestInput
ContentStateRestInput
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContentStateRestInput(String name, String color, Long id) Constructs a validated instance ofContentStateRestInput.Constructs a validated instance ofContentStateRestInput. -
Method Summary
-
Field Details
-
name
Name of content state. Maximum 20 characters. -
color
Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors offered in the UI are: #ff7452 (red), #2684ff (blue), #ffc400 (yellow), #57d9a3 (green), and #8777d9 (purple) -
id
id of state. This can be 0,1, or 2 if you wish to specify a default space state.
-
-
Constructor Details
-
ContentStateRestInput
Constructs a validated instance ofContentStateRestInput.- Parameters:
spec- the specification to process
-
ContentStateRestInput
Constructs a validated instance ofContentStateRestInput.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentStateRestInput(Consumer)instead.- Parameters:
name- Name of content state. Maximum 20 characters.color- Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors offered in the UI are: #ff7452 (red), #2684ff (blue), #ffc400 (yellow), #57d9a3 (green), and #8777d9 (purple)id- id of state. This can be 0,1, or 2 if you wish to specify a default space state.
-
ContentStateRestInput
protected ContentStateRestInput()
-
-
Method Details
-
name
Name of content state. Maximum 20 characters. -
color
Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors offered in the UI are: #ff7452 (red), #2684ff (blue), #ffc400 (yellow), #57d9a3 (green), and #8777d9 (purple) -
id
id of state. This can be 0,1, or 2 if you wish to specify a default space state. -
name
Name of content state. Maximum 20 characters.- Returns:
this.
-
color
Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors offered in the UI are: #ff7452 (red), #2684ff (blue), #ffc400 (yellow), #57d9a3 (green), and #8777d9 (purple)- Returns:
this.
-
id
id of state. This can be 0,1, or 2 if you wish to specify a default space state.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-