Klasse SetUserPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.SetUserPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetUserPropertyOperationSpec
extends Object
SetUserPropertySpec
Specification for the SetUserProperty operation.
Set user property
-
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
SetUserPropertyOperationSpec
(String propertyKey, Object body, String accountId, String userKey, String username) Constructs a validated instance ofSetUserPropertyOperationSpec
.Constructs a validated instance ofSetUserPropertyOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@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()
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
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
SetUserPropertyOperationSpec
Constructs a validated instance ofSetUserPropertyOperationSpec
.- Parameter:
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.
- Parameter:
propertyKey
- The key of the user's property. The maximum length is 255 characters.body
-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()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
propertyKey
The key of the user's property. The maximum length is 255 characters. -
body
-
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.- Gibt zurück:
this
.
-
body
- Gibt zurück:
this
.
-
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.- Gibt zurück:
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.- Gibt zurück:
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.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-