Klasse ContentCreate
java.lang.Object
io.github.primelib.confluence4j.rest.v1.model.ContentCreate
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ContentCreate
extends Object
ContentCreate
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classstatic enumThe status of the new content. -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected List<ContentCreateAncestorsInner>The parent content of the new content.protected ContentCreateBodyprotected ContentCreateContainerprotected StringThe ID of the draft content.protected ContentCreateSpaceprotected ContentCreate.StatusEnumThe status of the new content.protected Stringprotected StringThe type of the new content. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedContentCreate(String id, String title, String type, ContentCreateSpace space, ContentCreate.StatusEnum status, ContentCreateContainer container, List<ContentCreateAncestorsInner> ancestors, ContentCreateBody body) Constructs a validated instance ofContentCreate.ContentCreate(Consumer<ContentCreate> spec) Constructs a validated instance ofContentCreate. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe parent content of the new content.ancestors(List<ContentCreateAncestorsInner> ancestors) The parent content of the new content.body()body(ContentCreateBody body) builder()protected booleancontainer(ContentCreateContainer container) booleaninthashCode()id()The ID of the draft content.The ID of the draft content.space()space(ContentCreateSpace space) status()The status of the new content.status(ContentCreate.StatusEnum status) The status of the new content.title()toString()type()The type of the new content.The type of the new content.
-
Felddetails
-
id
The ID of the draft content. Required when publishing a draft. -
title
-
type
The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc. -
space
-
status
The status of the new content. -
container
-
ancestors
The parent content of the new content. If you are creating a top-levelpageorcomment, this can be left blank. If you are creating a child page, this is where the parent page id goes. If you are creating a child comment, this is where the parent comment id goes. Only one parent content id can be specified. -
body
-
-
Konstruktordetails
-
ContentCreate
Constructs a validated instance ofContentCreate.- Parameter:
spec- the specification to process
-
ContentCreate
@Internal public ContentCreate(String id, String title, String type, ContentCreateSpace space, ContentCreate.StatusEnum status, ContentCreateContainer container, List<ContentCreateAncestorsInner> ancestors, ContentCreateBody body) Constructs a validated instance ofContentCreate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentCreate(Consumer)instead.- Parameter:
id- The ID of the draft content. Required when publishing a draft.title- titletype- The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc.space- spacestatus- The status of the new content.container- containerancestors- The parent content of the new content. If you are creating a top-levelpageorcomment, this can be left blank. If you are creating a child page, this is where the parent page id goes. If you are creating a child comment, this is where the parent comment id goes. Only one parent content id can be specified.body- body
-
ContentCreate
protected ContentCreate()
-
-
Methodendetails
-
builder
-
id
The ID of the draft content. Required when publishing a draft. -
title
-
type
The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc. -
space
-
status
The status of the new content. -
container
-
ancestors
The parent content of the new content. If you are creating a top-levelpageorcomment, this can be left blank. If you are creating a child page, this is where the parent page id goes. If you are creating a child comment, this is where the parent comment id goes. Only one parent content id can be specified. -
body
-
id
The ID of the draft content. Required when publishing a draft.- Gibt zurück:
this.
-
title
- Gibt zurück:
this.
-
type
The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc.- Gibt zurück:
this.
-
space
- Gibt zurück:
this.
-
status
The status of the new content.- Gibt zurück:
this.
-
container
- Gibt zurück:
this.
-
ancestors
The parent content of the new content. If you are creating a top-levelpageorcomment, this can be left blank. If you are creating a child page, this is where the parent page id goes. If you are creating a child comment, this is where the parent comment id goes. Only one parent content id can be specified.- Gibt zurück:
this.
-
body
- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-