Class CommentVisibility
java.lang.Object
io.github.primelib.jira4j.restv3.model.CommentVisibility
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CommentVisibility
extends Object
CommentVisibility
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumWhether visibility of this item is restricted to a group or role. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe ID of the group or the name of the role that visibility of this item is restricted to.protected CommentVisibility.TypeEnumWhether visibility of this item is restricted to a group or role.protected StringThe name of the group or role that visibility of this item is restricted to. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCommentVisibility(String identifier, CommentVisibility.TypeEnum type, String value) Constructs a validated instance ofCommentVisibility.Constructs a validated instance ofCommentVisibility. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()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
-
CommentVisibility
Constructs a validated instance ofCommentVisibility.- Parameters:
spec- the specification to process
-
CommentVisibility
@Internal public CommentVisibility(String identifier, CommentVisibility.TypeEnum type, String value) Constructs a validated instance ofCommentVisibility.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
CommentVisibility(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.
-
CommentVisibility
protected CommentVisibility()
-
-
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
-