Class DeleteUserPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteUserPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteUserPropertyOperationSpec
extends Object
DeleteUserPropertySpec
Specification for the DeleteUserProperty operation.
Delete user property
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeleteUserPropertyOperationSpec(String propertyKey, String accountId, String userKey, String username) Constructs a validated instance ofDeleteUserPropertyOperationSpec.Constructs a validated instance ofDeleteUserPropertyOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringThe 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 booleanbooleaninthashCode()@NotNull StringThe key of the user's property.propertyKey(@NotNull String propertyKey) The key of the user's property.toString()@Nullable StringuserKey()This parameter is no longer available and will be removed from the documentation soon.This parameter is no longer available and will be removed from the documentation soon.@Nullable Stringusername()This parameter is no longer available and will be removed from the documentation soon.This parameter is no longer available and will be removed from the documentation soon.voidvalidate()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
-
DeleteUserPropertyOperationSpec
Constructs a validated instance ofDeleteUserPropertyOperationSpec.- Parameters:
spec- the specification to process
-
DeleteUserPropertyOperationSpec
@Internal public DeleteUserPropertyOperationSpec(String propertyKey, String accountId, String userKey, String username) Constructs a validated instance ofDeleteUserPropertyOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
propertyKey- The key of the user's property.accountId- The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.userKey- This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.username- This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
-
DeleteUserPropertyOperationSpec
protected DeleteUserPropertyOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
propertyKey
The key of the user's property. -
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. -
userKey
This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. -
username
This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. -
propertyKey
The key of the user's property.- Returns:
this.
-
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.- Returns:
this.
-
userKey
This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.- Returns:
this.
-
username
This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-