Class CreatePriorityDetails
java.lang.Object
io.github.primelib.jira4j.restv2.model.CreatePriorityDetails
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreatePriorityDetails
extends Object
CreatePriorityDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
The URL of an icon for the priority. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The description of the priority.protected CreatePriorityDetails.IconUrlEnum
The URL of an icon for the priority.protected String
The name of the priority.protected String
The status color of the priority in 3-digit or 6-digit hexadecimal format. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CreatePriorityDetails
(String description, CreatePriorityDetails.IconUrlEnum iconUrl, String name, String statusColor) Constructs a validated instance ofCreatePriorityDetails
.Constructs a validated instance ofCreatePriorityDetails
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
The description of the priority.description
(String description) The description of the priority.boolean
int
hashCode()
iconUrl()
The URL of an icon for the priority.iconUrl
(CreatePriorityDetails.IconUrlEnum iconUrl) The URL of an icon for the priority.name()
The name of the priority.The name of the priority.The status color of the priority in 3-digit or 6-digit hexadecimal format.statusColor
(String statusColor) The status color of the priority in 3-digit or 6-digit hexadecimal format.toString()
-
Field Details
-
description
The description of the priority. -
iconUrl
The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used. -
name
The name of the priority. Must be unique. -
statusColor
The status color of the priority in 3-digit or 6-digit hexadecimal format.
-
-
Constructor Details
-
CreatePriorityDetails
Constructs a validated instance ofCreatePriorityDetails
.- Parameters:
spec
- the specification to process
-
CreatePriorityDetails
@Internal public CreatePriorityDetails(String description, CreatePriorityDetails.IconUrlEnum iconUrl, String name, String statusColor) Constructs a validated instance ofCreatePriorityDetails
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
CreatePriorityDetails(Consumer)
instead.- Parameters:
description
- The description of the priority.iconUrl
- The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used.name
- The name of the priority. Must be unique.statusColor
- The status color of the priority in 3-digit or 6-digit hexadecimal format.
-
CreatePriorityDetails
protected CreatePriorityDetails()
-
-
Method Details
-
builder
-
description
The description of the priority. -
iconUrl
The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used. -
name
The name of the priority. Must be unique. -
statusColor
The status color of the priority in 3-digit or 6-digit hexadecimal format. -
description
The description of the priority.- Returns:
this
.
-
iconUrl
The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used.- Returns:
this
.
-
name
The name of the priority. Must be unique.- Returns:
this
.
-
statusColor
The status color of the priority in 3-digit or 6-digit hexadecimal format.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-