Class RemoveWatcherOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.RemoveWatcherOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveWatcherOperationSpec
extends Object
RemoveWatcherSpec
Specification for the RemoveWatcher operation.
Delete watcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RemoveWatcherOperationSpec
(String issueIdOrKey, String username, String accountId) Constructs a validated instance ofRemoveWatcherOperationSpec
.Constructs a validated instance ofRemoveWatcherOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
The account ID of the user, which uniquely identifies the user across all Atlassian products.The account ID of the user, which uniquely identifies the user across all Atlassian products.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()
@Nullable String
username()
This parameter is no longer available.This parameter is no longer available.void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
RemoveWatcherOperationSpec
Constructs a validated instance ofRemoveWatcherOperationSpec
.- Parameters:
spec
- the specification to process
-
RemoveWatcherOperationSpec
Constructs a validated instance ofRemoveWatcherOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey
- The ID or key of the issue.username
- This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.accountId
- The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Required.
-
RemoveWatcherOperationSpec
protected RemoveWatcherOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key of the issue. -
username
This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. -
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Required. -
issueIdOrKey
The ID or key of the issue.- Returns:
this
.
-
username
This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.- Returns:
this
.
-
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Required.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-