Klasse UpdateContentOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.UpdateContentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateContentOperationSpec
extends Object
UpdateContentSpec
Specification for the UpdateContent operation.
Update content
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateContentOperationSpec(String id, ContentUpdate content, String status, String conflictPolicy) Constructs a validated instance ofUpdateContentOperationSpec.Constructs a validated instance ofUpdateContentOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable StringThe action that should be taken when conflicts are discovered.conflictPolicy(@Nullable String conflictPolicy) The action that should be taken when conflicts are discovered.@NotNull ContentUpdatecontent()The updated content.content(@NotNull ContentUpdate content) The updated content.booleaninthashCode()@NotNull Stringid()The ID of the content to be updated.The ID of the content to be updated.@Nullable Stringstatus()The updated status of the content.The updated status of the 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
-
UpdateContentOperationSpec
Constructs a validated instance ofUpdateContentOperationSpec.- Parameter:
spec- the specification to process
-
UpdateContentOperationSpec
@Internal public UpdateContentOperationSpec(String id, ContentUpdate content, String status, String conflictPolicy) Constructs a validated instance ofUpdateContentOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content to be updated.content- The updated content.status- The updated status of the content. Use this parameter to change the status of a piece of content without passing the entire request body.conflictPolicy- The action that should be taken when conflicts are discovered. Only used when publishing a draft page.
-
UpdateContentOperationSpec
protected UpdateContentOperationSpec()
-
-
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 updated. -
content
The updated content. -
status
The updated status of the content. Use this parameter to change the status of a piece of content without passing the entire request body. -
conflictPolicy
The action that should be taken when conflicts are discovered. Only used when publishing a draft page. -
id
The ID of the content to be updated.- Gibt zurück:
this.
-
content
The updated content.- Gibt zurück:
this.
-
status
The updated status of the content. Use this parameter to change the status of a piece of content without passing the entire request body.- Gibt zurück:
this.
-
conflictPolicy
The action that should be taken when conflicts are discovered. Only used when publishing a draft page.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-