Class DashboardGadget
java.lang.Object
io.github.primelib.jira4j.restv3.model.DashboardGadget
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DashboardGadget
extends Object
DashboardGadget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe color of the gadget.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DashboardGadget.ColorEnumThe color of the gadget.protected LongThe ID of the gadget instance.protected StringThe module key of the gadget type.protected DashboardGadgetPositionprotected StringThe title of the gadget.protected StringThe URI of the gadget type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDashboardGadget(DashboardGadget.ColorEnum color, Long id, String moduleKey, DashboardGadgetPosition position, String title, String uri) Constructs a validated instance ofDashboardGadget.Constructs a validated instance ofDashboardGadget. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleancolor()The color of the gadget.color(DashboardGadget.ColorEnum color) The color of the gadget.booleaninthashCode()id()The ID of the gadget instance.The ID of the gadget instance.The module key of the gadget type.The module key of the gadget type.position()position(DashboardGadgetPosition position) title()The title of the gadget.The title of the gadget.toString()uri()The URI of the gadget type.The URI of the gadget type.
-
Field Details
-
color
The color of the gadget. Should be one ofblue,red,yellow,green,cyan,purple,gray, orwhite. -
id
The ID of the gadget instance. -
moduleKey
The module key of the gadget type. -
position
-
title
The title of the gadget. -
uri
The URI of the gadget type.
-
-
Constructor Details
-
DashboardGadget
Constructs a validated instance ofDashboardGadget.- Parameters:
spec- the specification to process
-
DashboardGadget
@Internal public DashboardGadget(DashboardGadget.ColorEnum color, Long id, String moduleKey, DashboardGadgetPosition position, String title, String uri) Constructs a validated instance ofDashboardGadget.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
DashboardGadget(Consumer)instead.- Parameters:
color- The color of the gadget. Should be one ofblue,red,yellow,green,cyan,purple,gray, orwhite.id- The ID of the gadget instance.moduleKey- The module key of the gadget type.position- positiontitle- The title of the gadget.uri- The URI of the gadget type.
-
DashboardGadget
protected DashboardGadget()
-
-
Method Details
-
builder
-
color
The color of the gadget. Should be one ofblue,red,yellow,green,cyan,purple,gray, orwhite. -
id
The ID of the gadget instance. -
moduleKey
The module key of the gadget type. -
position
-
title
The title of the gadget. -
uri
The URI of the gadget type. -
color
The color of the gadget. Should be one ofblue,red,yellow,green,cyan,purple,gray, orwhite.- Returns:
this.
-
id
The ID of the gadget instance.- Returns:
this.
-
moduleKey
The module key of the gadget type.- Returns:
this.
-
position
- Returns:
this.
-
title
The title of the gadget.- Returns:
this.
-
uri
The URI of the gadget type.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-