Klasse GetRestrictionsOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetRestrictionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetRestrictionsOperationSpec
extends Object
GetRestrictionsSpec
Specification for the GetRestrictions operation.
Get 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedConstructs a validated instance ofGetRestrictionsOperationSpec.Constructs a validated instance ofGetRestrictionsOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleanexpand()A multi-value parameter indicating which properties of the content restrictions to expand.A multi-value parameter indicating which properties of the content restrictions to expand.inthashCode()@NotNull Stringid()The ID of the content to be queried for its restrictions.The ID of the content to be queried for its restrictions.@Nullable Integerlimit()The maximum number of users and the maximum number of groups, in the returned restrictions, to return per page.The maximum number of users and the maximum number of groups, in the returned restrictions, to return per page.@Nullable Integerstart()The starting index of the users and groups in the returned restrictions.The starting index of the users and groups in the returned restrictions.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
-
GetRestrictionsOperationSpec
Constructs a validated instance ofGetRestrictionsOperationSpec.- Parameter:
spec- the specification to process
-
GetRestrictionsOperationSpec
@Internal public GetRestrictionsOperationSpec(String id, List<String> expand, Integer start, Integer limit) Constructs a validated instance ofGetRestrictionsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content to be queried for its restrictions.expand- A multi-value parameter indicating which properties of the content restrictions to expand. By default, the following objects are expanded:restrictions.user,restrictions.group. -restrictions.userreturns the piece of content that the restrictions are applied to. -restrictions.groupreturns the piece of content that the restrictions are applied to. -contentreturns the piece of content that the restrictions are applied to.start- The starting index of the users and groups in the returned restrictions.limit- The maximum number of users and the maximum number of groups, in the returned restrictions, to return per page. Note, this may be restricted by fixed system limits.
-
GetRestrictionsOperationSpec
protected GetRestrictionsOperationSpec()
-
-
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 be queried for its restrictions. -
expand
A multi-value parameter indicating which properties of the content restrictions to expand. By default, the following objects are expanded:restrictions.user,restrictions.group. -restrictions.userreturns the piece of content that the restrictions are applied to. -restrictions.groupreturns the piece of content that the restrictions are applied to. -contentreturns the piece of content that the restrictions are applied to. -
start
The starting index of the users and groups in the returned restrictions. -
limit
The maximum number of users and the maximum number of groups, in the returned restrictions, to return per page. Note, this may be restricted by fixed system limits. -
id
The ID of the content to be queried for its restrictions.- Gibt zurück:
this.
-
expand
A multi-value parameter indicating which properties of the content restrictions to expand. By default, the following objects are expanded:restrictions.user,restrictions.group. -restrictions.userreturns the piece of content that the restrictions are applied to. -restrictions.groupreturns the piece of content that the restrictions are applied to. -contentreturns the piece of content that the restrictions are applied to.- Gibt zurück:
this.
-
start
The starting index of the users and groups in the returned restrictions.- Gibt zurück:
this.
-
limit
The maximum number of users and the maximum number of groups, in the returned restrictions, to return per page. Note, this may be restricted by fixed system limits.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-