Class WorklogVisibility
java.lang.Object
io.github.primelib.jira4j.restv2.model.WorklogVisibility
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class WorklogVisibility
extends Object
WorklogVisibility
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Whether visibility of this item is restricted to a group or role.static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The ID of the group or the name of the role that visibility of this item is restricted to.protected WorklogVisibility.TypeEnum
Whether visibility of this item is restricted to a group or role.protected String
The name of the group or role that visibility of this item is restricted to. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WorklogVisibility
(String identifier, WorklogVisibility.TypeEnum type, String value) Constructs a validated instance ofWorklogVisibility
.Constructs a validated instance ofWorklogVisibility
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
The ID of the group or the name of the role that visibility of this item is restricted to.identifier
(String identifier) The ID of the group or the name of the role that visibility of this item is restricted to.toString()
type()
Whether visibility of this item is restricted to a group or role.Whether visibility of this item is restricted to a group or role.value()
The name of the group or role that visibility of this item is restricted to.The name of the group or role that visibility of this item is restricted to.
-
Field Details
-
identifier
The ID of the group or the name of the role that visibility of this item is restricted to. -
type
Whether visibility of this item is restricted to a group or role. -
value
The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group useidentifier
.
-
-
Constructor Details
-
WorklogVisibility
Constructs a validated instance ofWorklogVisibility
.- Parameters:
spec
- the specification to process
-
WorklogVisibility
@Internal public WorklogVisibility(String identifier, WorklogVisibility.TypeEnum type, String value) Constructs a validated instance ofWorklogVisibility
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
WorklogVisibility(Consumer)
instead.- Parameters:
identifier
- The ID of the group or the name of the role that visibility of this item is restricted to.type
- Whether visibility of this item is restricted to a group or role.value
- The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group useidentifier
.
-
WorklogVisibility
protected WorklogVisibility()
-
-
Method Details
-
builder
-
identifier
The ID of the group or the name of the role that visibility of this item is restricted to. -
type
Whether visibility of this item is restricted to a group or role. -
value
The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group useidentifier
. -
identifier
The ID of the group or the name of the role that visibility of this item is restricted to.- Returns:
this
.
-
type
Whether visibility of this item is restricted to a group or role.- Returns:
this
.
-
value
The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group useidentifier
.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-