Klasse ContentUpdate
java.lang.Object
io.github.primelib.confluence4j.rest.v1.model.ContentUpdate
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ContentUpdate
extends Object
ContentUpdate
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classstatic enumThe updated status of the content. -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected List<ContentUpdateAncestorsInner>The new parent for the content.protected ContentUpdateBodyprotected ContentUpdate.StatusEnumThe updated status of the content.protected StringThe updated title of the content.protected StringThe type of content.protected ContentUpdateVersion -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedContentUpdate(ContentUpdateVersion version, String title, String type, ContentUpdate.StatusEnum status, List<ContentUpdateAncestorsInner> ancestors, ContentUpdateBody body) Constructs a validated instance ofContentUpdate.ContentUpdate(Consumer<ContentUpdate> spec) Constructs a validated instance ofContentUpdate. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe new parent for the content.ancestors(List<ContentUpdateAncestorsInner> ancestors) The new parent for the content.body()body(ContentUpdateBody body) builder()protected booleanbooleaninthashCode()status()The updated status of the content.status(ContentUpdate.StatusEnum status) The updated status of the content.title()The updated title of the content.The updated title of the content.toString()type()The type of content.The type of content.version()version(ContentUpdateVersion version)
-
Felddetails
-
version
-
title
The updated title of the content. If you are updating a non-draftpageorblogpost, title is required. If you are not changing the title, set this field to the the current title. -
type
The type of content. Set this to the current type of the content. For example, - page - blogpost - comment - attachment -
status
The updated status of the content. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated page. -
ancestors
The new parent for the content. Only one parent content 'id' can be specified. -
body
-
-
Konstruktordetails
-
ContentUpdate
Constructs a validated instance ofContentUpdate.- Parameter:
spec- the specification to process
-
ContentUpdate
@Internal public ContentUpdate(ContentUpdateVersion version, String title, String type, ContentUpdate.StatusEnum status, List<ContentUpdateAncestorsInner> ancestors, ContentUpdateBody body) Constructs a validated instance ofContentUpdate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentUpdate(Consumer)instead.- Parameter:
version- versiontitle- The updated title of the content. If you are updating a non-draftpageorblogpost, title is required. If you are not changing the title, set this field to the the current title.type- The type of content. Set this to the current type of the content. For example, - page - blogpost - comment - attachmentstatus- The updated status of the content. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated page.ancestors- The new parent for the content. Only one parent content 'id' can be specified.body- body
-
ContentUpdate
protected ContentUpdate()
-
-
Methodendetails
-
builder
-
version
-
title
The updated title of the content. If you are updating a non-draftpageorblogpost, title is required. If you are not changing the title, set this field to the the current title. -
type
The type of content. Set this to the current type of the content. For example, - page - blogpost - comment - attachment -
status
The updated status of the content. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated page. -
ancestors
The new parent for the content. Only one parent content 'id' can be specified. -
body
-
version
- Gibt zurück:
this.
-
title
The updated title of the content. If you are updating a non-draftpageorblogpost, title is required. If you are not changing the title, set this field to the the current title.- Gibt zurück:
this.
-
type
The type of content. Set this to the current type of the content. For example, - page - blogpost - comment - attachment- Gibt zurück:
this.
-
status
The updated status of the content. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated page.- Gibt zurück:
this.
-
ancestors
The new parent for the content. Only one parent content 'id' can be specified.- Gibt zurück:
this.
-
body
- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-