Class ContentRestrictionUpdate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentBase object for all content types.protected StringThe restriction operation applied to content.protected Restrictionsf477D3The users/groups that the restrictions will be applied to. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.ContentRestrictionUpdate(String operation, Restrictionsf477D3 restrictions, Content content) Constructs a validated instance ofContentRestrictionUpdate.Constructs a validated instance ofContentRestrictionUpdate. -
Method Summary
Modifier and TypeMethodDescriptioncontent()Fluent getter for content.Fluent setter for content.booleanGets the value of content.Gets the value of operation.Gets the value of restrictions.inthashCode()Fluent getter for operation.Fluent setter for operation.Fluent getter for restrictions.restrictions(Restrictionsf477D3 restrictions) Fluent setter for restrictions.voidsetContent(Content content) Sets the value of content.voidsetOperation(String operation) Sets the value of operation.voidsetRestrictions(Restrictionsf477D3 restrictions) Sets the value of restrictions.toString()
-
Field Details
-
operation
The restriction operation applied to content. -
restrictions
The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object. -
Base object for all content types. Representation of a blogpost (content)
-
-
Constructor Details
-
ContentRestrictionUpdate
Constructs a validated instance ofContentRestrictionUpdate.- Parameters:
spec- the specification to process
-
ContentRestrictionUpdate
@Internal protected ContentRestrictionUpdate()Protected no-args constructor for use by serialization frameworks. -
ContentRestrictionUpdate
@Internal public ContentRestrictionUpdate(String operation, Restrictionsf477D3 restrictions, Content content) Constructs a validated instance ofContentRestrictionUpdate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentRestrictionUpdate(Consumer)instead.- Parameters:
operation- The restriction operation applied to content.restrictions- The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.content- Base object for all content types. Representation of a blogpost (content)
-
-
Method Details
-
operation
Fluent getter for operation.The restriction operation applied to content.
- Returns:
- operation
-
operation
Fluent setter for operation.The restriction operation applied to content.
- Parameters:
operation- operation- Returns:
- this
-
getOperation
Gets the value of operation.The restriction operation applied to content.
- Returns:
- operation
-
setOperation
Sets the value of operation.The restriction operation applied to content.
- Parameters:
operation- operation
-
restrictions
Fluent getter for restrictions.The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.
- Returns:
- restrictions
-
restrictions
Fluent setter for restrictions.The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.
- Parameters:
restrictions- restrictions- Returns:
- this
-
getRestrictions
Gets the value of restrictions.The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.
- Returns:
- restrictions
-
setRestrictions
Sets the value of restrictions.The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.
- Parameters:
restrictions- restrictions
-
content
Fluent getter for content.Base object for all content types. Representation of a blogpost (content)
- Returns:
- content
-
content
Fluent setter for content.Base object for all content types. Representation of a blogpost (content)
- Parameters:
content- content- Returns:
- this
-
getContent
Gets the value of content.Base object for all content types. Representation of a blogpost (content)
- Returns:
- content
-
setContent
Sets the value of content.Base object for all content types. Representation of a blogpost (content)
- Parameters:
content- content
-
equals
-
hashCode
-
toString
-