Klasse AddCustomContentPermissionsOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.AddCustomContentPermissionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddCustomContentPermissionsOperationSpec
extends Object
AddCustomContentPermissionsSpec
Specification for the AddCustomContentPermissions operation.
Add new custom content permission to space
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedConstructs a validated instance ofAddCustomContentPermissionsOperationSpec.Constructs a validated instance ofAddCustomContentPermissionsOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull SpacePermissionCustomContentbody()The permissions to be created.body(@NotNull SpacePermissionCustomContent body) The permissions to be created.builder()protected booleanbooleaninthashCode()@NotNull StringspaceKey()The key of the space to be queried for its content.The key of the space to be queried for its content.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
-
AddCustomContentPermissionsOperationSpec
@Internal public AddCustomContentPermissionsOperationSpec(Consumer<AddCustomContentPermissionsOperationSpec> spec) Constructs a validated instance ofAddCustomContentPermissionsOperationSpec.- Parameter:
spec- the specification to process
-
AddCustomContentPermissionsOperationSpec
@Internal public AddCustomContentPermissionsOperationSpec(String spaceKey, SpacePermissionCustomContent body) Constructs a validated instance ofAddCustomContentPermissionsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
spaceKey- The key of the space to be queried for its content.body- The permissions to be created.
-
AddCustomContentPermissionsOperationSpec
protected AddCustomContentPermissionsOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static AddCustomContentPermissionsOperationSpec.AddCustomContentPermissionsOperationSpecBuilder builder() -
spaceKey
The key of the space to be queried for its content. -
body
The permissions to be created. -
spaceKey
The key of the space to be queried for its content.- Gibt zurück:
this.
-
body
public AddCustomContentPermissionsOperationSpec body(@NotNull @NotNull SpacePermissionCustomContent body) The permissions to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-