Klasse AddWatcherOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.AddWatcherOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddWatcherOperationSpec
extends Object
AddWatcherSpec
Specification for the AddWatcher operation.
Add watcher
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
AddWatcherOperationSpec
(String issueIdOrKey, String body) Constructs a validated instance ofAddWatcherOperationSpec
.Constructs a validated instance ofAddWatcherOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull String
body()
The account ID of the user.The account ID of the user.builder()
protected boolean
boolean
int
hashCode()
@NotNull String
The ID or key of the issue.issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key of the issue.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
AddWatcherOperationSpec
Constructs a validated instance ofAddWatcherOperationSpec
.- Parameter:
spec
- the specification to process
-
AddWatcherOperationSpec
Constructs a validated instance ofAddWatcherOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
issueIdOrKey
- The ID or key of the issue.body
- The account ID of the user. Note that username cannot be used due to privacy changes.
-
AddWatcherOperationSpec
protected AddWatcherOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key of the issue. -
body
The account ID of the user. Note that username cannot be used due to privacy changes. -
issueIdOrKey
The ID or key of the issue.- Gibt zurück:
this
.
-
body
The account ID of the user. Note that username cannot be used due to privacy changes.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-