Class ContentTemplateBodyCreate

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentTemplateBodyCreate

@Generated("io.github.primelib.primecodegen") public class ContentTemplateBodyCreate extends Object
ContentTemplateBodyCreate

The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.

  • Field Details

    • view

      protected Map<String,Object> view
      This object is used when creating or updating content.
    • exportView

      protected Map<String,Object> exportView
      This object is used when creating or updating content.
    • styledView

      protected Map<String,Object> styledView
      This object is used when creating or updating content.
    • storage

      protected Map<String,Object> storage
      This object is used when creating or updating content.
    • editor

      protected Map<String,Object> editor
      This object is used when creating or updating content.
    • editor2

      protected Map<String,Object> editor2
      This object is used when creating or updating content.
    • wiki

      protected Map<String,Object> wiki
      This object is used when creating or updating content.
    • atlasDocFormat

      protected Map<String,Object> atlasDocFormat
      This object is used when creating or updating content.
    • anonymousExportView

      protected Map<String,Object> anonymousExportView
      This object is used when creating or updating content.
  • Constructor Details

    • ContentTemplateBodyCreate

      public ContentTemplateBodyCreate(Consumer<ContentTemplateBodyCreate> spec)
      Constructs a validated instance of ContentTemplateBodyCreate.
      Parameters:
      spec - the specification to process
    • ContentTemplateBodyCreate

      @Internal public ContentTemplateBodyCreate(Map<String,Object> view, Map<String,Object> exportView, Map<String,Object> styledView, Map<String,Object> storage, Map<String,Object> editor, Map<String,Object> editor2, Map<String,Object> wiki, Map<String,Object> atlasDocFormat, Map<String,Object> anonymousExportView)
      Constructs a validated instance of ContentTemplateBodyCreate.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using ContentTemplateBodyCreate(Consumer) instead.

      Parameters:
      view - This object is used when creating or updating content.
      exportView - This object is used when creating or updating content.
      styledView - This object is used when creating or updating content.
      storage - This object is used when creating or updating content.
      editor - This object is used when creating or updating content.
      editor2 - This object is used when creating or updating content.
      wiki - This object is used when creating or updating content.
      atlasDocFormat - This object is used when creating or updating content.
      anonymousExportView - This object is used when creating or updating content.
    • ContentTemplateBodyCreate

      protected ContentTemplateBodyCreate()
  • Method Details