Class Restrictions
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Restrictions
Restrictions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expandable25A645protected ContentRestrictionprotected ContentRestriction -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Restrictions(ContentRestriction read, ContentRestriction update, Expandable25A645 additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofRestrictions.Restrictions(Consumer<Restrictions> spec) Constructs a validated instance ofRestrictions. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalExpandable.additionalExpandable(Expandable25A645 additionalExpandable) Fluent setter for additionalExpandable.Fluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.booleanGets the value of additionalExpandable.Gets the value of additionalLinks.getRead()Gets the value of read.Gets the value of update.inthashCode()read()Fluent getter for read.read(ContentRestriction read) Fluent setter for read.voidsetAdditionalExpandable(Expandable25A645 additionalExpandable) Sets the value of additionalExpandable.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidsetRead(ContentRestriction read) Sets the value of read.voidsetUpdate(ContentRestriction update) Sets the value of update.toString()update()Fluent getter for update.update(ContentRestriction update) Fluent setter for update.
-
Field Details
-
read
-
update
-
additionalExpandable
-
additionalLinks
-
-
Constructor Details
-
Restrictions
Constructs a validated instance ofRestrictions.- Parameters:
spec- the specification to process
-
Restrictions
@Internal protected Restrictions()Protected no-args constructor for use by serialization frameworks. -
Restrictions
@Internal public Restrictions(ContentRestriction read, ContentRestriction update, Expandable25A645 additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofRestrictions.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Restrictions(Consumer)instead.- Parameters:
read- readupdate- updateadditionalExpandable- additionalExpandableadditionalLinks- additionalLinks
-
-
Method Details
-
read
-
read
Fluent setter for read.- Parameters:
read- read- Returns:
- this
-
getRead
-
setRead
-
update
-
update
Fluent setter for update.- Parameters:
update- update- Returns:
- this
-
getUpdate
-
setUpdate
Sets the value of update.- Parameters:
update- update
-
additionalExpandable
Fluent getter for additionalExpandable.- Returns:
- additionalExpandable
-
additionalExpandable
Fluent setter for additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable- Returns:
- this
-
getAdditionalExpandable
Gets the value of additionalExpandable.- Returns:
- additionalExpandable
-
setAdditionalExpandable
Sets the value of additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-