Klasse RemoveGroupFromContentRestrictionOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.RemoveGroupFromContentRestrictionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveGroupFromContentRestrictionOperationSpec
extends Object
RemoveGroupFromContentRestrictionSpec
Specification for the RemoveGroupFromContentRestriction operation.
Remove group from content restriction
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classRemoveGroupFromContentRestrictionOperationSpec.RemoveGroupFromContentRestrictionOperationSpecBuilder -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedRemoveGroupFromContentRestrictionOperationSpec(String id, String operationKey, String groupId) Constructs a validated instance ofRemoveGroupFromContentRestrictionOperationSpec.RemoveGroupFromContentRestrictionOperationSpec(Consumer<RemoveGroupFromContentRestrictionOperationSpec> spec) Constructs a validated instance ofRemoveGroupFromContentRestrictionOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic RemoveGroupFromContentRestrictionOperationSpec.RemoveGroupFromContentRestrictionOperationSpecBuilderbuilder()protected booleanboolean@NotNull StringgroupId()The id of the group to remove from the content restriction.The id of the group to remove from the content restriction.inthashCode()@NotNull Stringid()The ID of the content that the restriction applies to.The ID of the content that the restriction applies to.@NotNull StringThe operation that the restriction applies to.operationKey(@NotNull String operationKey) The operation that the restriction applies to.toString()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
-
RemoveGroupFromContentRestrictionOperationSpec
@Internal public RemoveGroupFromContentRestrictionOperationSpec(Consumer<RemoveGroupFromContentRestrictionOperationSpec> spec) Constructs a validated instance ofRemoveGroupFromContentRestrictionOperationSpec.- Parameter:
spec- the specification to process
-
RemoveGroupFromContentRestrictionOperationSpec
@Internal public RemoveGroupFromContentRestrictionOperationSpec(String id, String operationKey, String groupId) Constructs a validated instance ofRemoveGroupFromContentRestrictionOperationSpec.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.groupId- The id of the group to remove from the content restriction.
-
RemoveGroupFromContentRestrictionOperationSpec
protected RemoveGroupFromContentRestrictionOperationSpec()
-
-
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. -
groupId
The id of the group to remove from the content restriction. -
id
The ID of the content that the restriction applies to.- Gibt zurück:
this.
-
operationKey
public RemoveGroupFromContentRestrictionOperationSpec operationKey(@NotNull @NotNull String operationKey) The operation that the restriction applies to.- Gibt zurück:
this.
-
groupId
The id of the group to remove from the content restriction.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-