Klasse UpdateRestrictionsOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.UpdateRestrictionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateRestrictionsOperationSpec
extends Object
UpdateRestrictionsSpec
Specification for the UpdateRestrictions operation.
Update restrictions
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateRestrictionsOperationSpec(String id, ContentRestrictionAddOrUpdateArray body, List<String> expand) Constructs a validated instance ofUpdateRestrictionsOperationSpec.Constructs a validated instance ofUpdateRestrictionsOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull ContentRestrictionAddOrUpdateArraybody()The updated restrictions for the content.body(@NotNull ContentRestrictionAddOrUpdateArray body) The updated restrictions for the content.builder()protected booleanbooleanexpand()A multi-value parameter indicating which properties of the content restrictions (returned in response) to expand.A multi-value parameter indicating which properties of the content restrictions (returned in response) to expand.inthashCode()@NotNull Stringid()The ID of the content to update restrictions for.The ID of the content to update restrictions for.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
-
UpdateRestrictionsOperationSpec
Constructs a validated instance ofUpdateRestrictionsOperationSpec.- Parameter:
spec- the specification to process
-
UpdateRestrictionsOperationSpec
@Internal public UpdateRestrictionsOperationSpec(String id, ContentRestrictionAddOrUpdateArray body, List<String> expand) Constructs a validated instance ofUpdateRestrictionsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content to update restrictions for.body- The updated restrictions for the content.expand- A multi-value parameter indicating which properties of the content restrictions (returned in response) to expand. -restrictions.userreturns the piece of content that the restrictions are applied to. Expanded by default. -restrictions.groupreturns the piece of content that the restrictions are applied to. Expanded by default. -contentreturns the piece of content that the restrictions are applied to.
-
UpdateRestrictionsOperationSpec
protected UpdateRestrictionsOperationSpec()
-
-
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 to update restrictions for. -
body
The updated restrictions for the content. -
expand
A multi-value parameter indicating which properties of the content restrictions (returned in response) to expand. -restrictions.userreturns the piece of content that the restrictions are applied to. Expanded by default. -restrictions.groupreturns the piece of content that the restrictions are applied to. Expanded by default. -contentreturns the piece of content that the restrictions are applied to. -
id
The ID of the content to update restrictions for.- Gibt zurück:
this.
-
body
public UpdateRestrictionsOperationSpec body(@NotNull @NotNull ContentRestrictionAddOrUpdateArray body) The updated restrictions for the content.- Gibt zurück:
this.
-
expand
A multi-value parameter indicating which properties of the content restrictions (returned in response) to expand. -restrictions.userreturns the piece of content that the restrictions are applied to. Expanded by default. -restrictions.groupreturns the piece of content that the restrictions are applied to. Expanded by default. -contentreturns the piece of content that the restrictions are applied to.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-