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
  • Felddetails

    • id

      protected String id
      The ID of the draft content. Required when publishing a draft.
    • title

      protected String title
    • type

      protected String type
      The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc.
    • space

      protected ContentCreateSpace space
    • status

      protected ContentCreate.StatusEnum status
      The status of the new content.
    • container

      protected ContentCreateContainer container
    • ancestors

      protected List<ContentCreateAncestorsInner> ancestors
      The parent content of the new content. If you are creating a top-level page or comment, 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

      protected ContentCreateBody body
  • Konstruktordetails

    • ContentCreate

      public ContentCreate(Consumer<ContentCreate> spec)
      Constructs a validated instance of ContentCreate.
      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 of ContentCreate.

      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 - title
      type - The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc.
      space - space
      status - The status of the new content.
      container - container
      ancestors - The parent content of the new content. If you are creating a top-level page or comment, 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

      public static ContentCreate.ContentCreateBuilder builder()
    • id

      public String id()
      The ID of the draft content. Required when publishing a draft.
    • title

      public String title()
    • type

      public String type()
      The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc.
    • space

      public ContentCreateSpace space()
    • status

      public ContentCreate.StatusEnum status()
      The status of the new content.
    • container

      public ContentCreateContainer container()
    • ancestors

      public List<ContentCreateAncestorsInner> ancestors()
      The parent content of the new content. If you are creating a top-level page or comment, 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

      public ContentCreateBody body()
    • id

      public ContentCreate id(String id)
      The ID of the draft content. Required when publishing a draft.
      Gibt zurück:
      this.
    • title

      public ContentCreate title(String title)
      Gibt zurück:
      this.
    • type

      public ContentCreate type(String 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

      public ContentCreate space(ContentCreateSpace space)
      Gibt zurück:
      this.
    • status

      public ContentCreate status(ContentCreate.StatusEnum status)
      The status of the new content.
      Gibt zurück:
      this.
    • container

      public ContentCreate container(ContentCreateContainer container)
      Gibt zurück:
      this.
    • ancestors

      public ContentCreate ancestors(List<ContentCreateAncestorsInner> ancestors)
      The parent content of the new content. If you are creating a top-level page or comment, 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

      public ContentCreate body(ContentCreateBody body)
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object