Class PostUserByUserIDPropertyByKeyV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.PostUserByUserIDPropertyByKeyV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class PostUserByUserIDPropertyByKeyV1OperationSpec
extends Object
PostUserByUserIDPropertyByKeyV1
Creates a property for a user. For more information about user properties, see [Confluence entity properties] (https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/). `Note`, these properties stored against a user are on a Confluence site level and not space/content level. `Note:` the number of properties which could be created per app in a tenant for each user might be restricted by fixed system limits. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsConstructorDescriptionPostUserByUserIDPropertyByKeyV1OperationSpec(Consumer<PostUserByUserIDPropertyByKeyV1OperationSpec> spec) Constructs a validated instance ofPostUserByUserIDPropertyByKeyV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@NonNull Stringkey()The key of the user property.The key of the user property.@NonNull UserPropertyCreatepayload()The user property to be created.payload(@NonNull UserPropertyCreate payload) The user property to be created.toString()@NonNull StringuserId()The account ID of the user.The account ID of the user.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
-
PostUserByUserIDPropertyByKeyV1OperationSpec
@Internal public PostUserByUserIDPropertyByKeyV1OperationSpec(Consumer<PostUserByUserIDPropertyByKeyV1OperationSpec> spec) Constructs a validated instance ofPostUserByUserIDPropertyByKeyV1OperationSpec.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
userId
The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192 -
key
The key of the user property. -
payload
The user property to be created. -
userId
The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192- Returns:
this.
-
key
The key of the user property.- Returns:
this.
-
payload
The user property to be created.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-