Klasse RemoveUserFromContentRestrictionOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.RemoveUserFromContentRestrictionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveUserFromContentRestrictionOperationSpec
extends Object
RemoveUserFromContentRestrictionSpec
Specification for the RemoveUserFromContentRestriction operation.
Remove user from content restriction
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedRemoveUserFromContentRestrictionOperationSpec(String id, String operationKey, String key, String username, String accountId) Constructs a validated instance ofRemoveUserFromContentRestrictionOperationSpec.RemoveUserFromContentRestrictionOperationSpec(Consumer<RemoveUserFromContentRestrictionOperationSpec> spec) Constructs a validated instance ofRemoveUserFromContentRestrictionOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@Nullable StringThe account ID of the user.The account ID of the user.static RemoveUserFromContentRestrictionOperationSpec.RemoveUserFromContentRestrictionOperationSpecBuilderbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the content that the restriction applies to.The ID of the content that the restriction applies to.@Nullable Stringkey()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.@NotNull StringThe operation that the restriction applies to.operationKey(@NotNull String operationKey) The operation that the restriction applies to.toString()@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
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
RemoveUserFromContentRestrictionOperationSpec
@Internal public RemoveUserFromContentRestrictionOperationSpec(Consumer<RemoveUserFromContentRestrictionOperationSpec> spec) Constructs a validated instance ofRemoveUserFromContentRestrictionOperationSpec.- Parameter:
spec- the specification to process
-
RemoveUserFromContentRestrictionOperationSpec
@Internal public RemoveUserFromContentRestrictionOperationSpec(String id, String operationKey, String key, String username, String accountId) Constructs a validated instance ofRemoveUserFromContentRestrictionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content that the restriction applies to.operationKey- The operation that the restriction applies to.key- This parameter is no longer available and will be removed from the documentation soon. UseaccountIdinstead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.username- This parameter is no longer available and will be removed from the documentation soon. UseaccountIdinstead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.accountId- The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example,384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
-
RemoveUserFromContentRestrictionOperationSpec
protected RemoveUserFromContentRestrictionOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
id
The ID of the content that the restriction applies to. -
operationKey
The operation that the restriction applies to. -
key
This parameter is no longer available and will be removed from the documentation soon. UseaccountIdinstead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. -
username
This parameter is no longer available and will be removed from the documentation soon. UseaccountIdinstead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. -
accountId
The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example,384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192. -
id
The ID of the content that the restriction applies to.- Gibt zurück:
this.
-
operationKey
public RemoveUserFromContentRestrictionOperationSpec operationKey(@NotNull @NotNull String operationKey) The operation that the restriction applies to.- Gibt zurück:
this.
-
key
This parameter is no longer available and will be removed from the documentation soon. UseaccountIdinstead. See the [deprecation notice](/cloud/confluence/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. UseaccountIdinstead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.- Gibt zurück:
this.
-
accountId
public RemoveUserFromContentRestrictionOperationSpec accountId(@Nullable @Nullable String accountId) The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example,384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-