Klasse AddPermissionToSpaceOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.AddPermissionToSpaceOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddPermissionToSpaceOperationSpec
extends Object
AddPermissionToSpaceSpec
Specification for the AddPermissionToSpace operation.
Add new 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedAddPermissionToSpaceOperationSpec(String spaceKey, SpacePermissionRequest body) Constructs a validated instance ofAddPermissionToSpaceOperationSpec.Constructs a validated instance ofAddPermissionToSpaceOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull SpacePermissionRequestbody()The permission to be created.body(@NotNull SpacePermissionRequest body) The permission 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
-
AddPermissionToSpaceOperationSpec
@Internal public AddPermissionToSpaceOperationSpec(Consumer<AddPermissionToSpaceOperationSpec> spec) Constructs a validated instance ofAddPermissionToSpaceOperationSpec.- Parameter:
spec- the specification to process
-
AddPermissionToSpaceOperationSpec
Constructs a validated instance ofAddPermissionToSpaceOperationSpec.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 permission to be created.
-
AddPermissionToSpaceOperationSpec
protected AddPermissionToSpaceOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
spaceKey
The key of the space to be queried for its content. -
body
The permission to be created. -
spaceKey
The key of the space to be queried for its content.- Gibt zurück:
this.
-
body
The permission to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-