Class SetUserPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SetUserPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetUserPropertyOperationSpec
extends Object
SetUserPropertySpec
Specification for the SetUserProperty operation.
Set user property
-
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
SetUserPropertyOperationSpec
(String propertyKey, Object body, String accountId, String userKey, String username) Constructs a validated instance ofSetUserPropertyOperationSpec
.Constructs a validated instance ofSetUserPropertyOperationSpec
. -
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.@NotNull Object
body()
The request containing the value of the property.The request containing the value of the property.builder()
protected boolean
boolean
int
hashCode()
@NotNull String
The key of the user's property.propertyKey
(@NotNull String propertyKey) The key of the user's property.toString()
@Nullable String
userKey()
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 String
username()
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.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
-
SetUserPropertyOperationSpec
Constructs a validated instance ofSetUserPropertyOperationSpec
.- Parameters:
spec
- the specification to process
-
SetUserPropertyOperationSpec
@Internal public SetUserPropertyOperationSpec(String propertyKey, Object body, String accountId, String userKey, String username) Constructs a validated instance ofSetUserPropertyOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
propertyKey
- The key of the user's property. The maximum length is 255 characters.body
- The request containing the value of the property. The value has to a valid, non-empty JSON array. The maximum length is 32768 characters.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.
-
SetUserPropertyOperationSpec
protected SetUserPropertyOperationSpec()
-
-
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. The maximum length is 255 characters. -
body
The request containing the value of the property. The value has to a valid, non-empty JSON array. The maximum length is 32768 characters. -
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. The maximum length is 255 characters.- Returns:
this
.
-
body
The request containing the value of the property. The value has to a valid, non-empty JSON array. The maximum length is 32768 characters.- 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
-