Class Body5304Ad

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

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

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.
    • anonymousExportView

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

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

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

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

    • Body5304Ad

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

      @Internal protected Body5304Ad()
      Protected no-args constructor for use by serialization frameworks.
    • Body5304Ad

      @Internal public Body5304Ad(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> anonymousExportView, Map<String,Object> plain, Map<String,Object> atlasDocFormat, Map<String,Object> raw)
      Constructs a validated instance of Body5304Ad.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Body5304Ad(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.
      anonymousExportView - This object is used when creating or updating content.
      plain - This object is used when creating or updating content.
      atlasDocFormat - This object is used when creating or updating content.
      raw - This object is used when creating or updating content.
  • Method Details

    • view

      public Map<String,Object> view()
      Fluent getter for view.

      This object is used when creating or updating content.

      Returns:
      view
    • view

      public Body5304Ad view(Map<String,Object> view)
      Fluent setter for view.

      This object is used when creating or updating content.

      Parameters:
      view - view
      Returns:
      this
    • getView

      public Map<String,Object> getView()
      Gets the value of view.

      This object is used when creating or updating content.

      Returns:
      view
    • setView

      public void setView(Map<String,Object> view)
      Sets the value of view.

      This object is used when creating or updating content.

      Parameters:
      view - view
    • exportView

      public Map<String,Object> exportView()
      Fluent getter for exportView.

      This object is used when creating or updating content.

      Returns:
      exportView
    • exportView

      public Body5304Ad exportView(Map<String,Object> exportView)
      Fluent setter for exportView.

      This object is used when creating or updating content.

      Parameters:
      exportView - exportView
      Returns:
      this
    • getExportView

      public Map<String,Object> getExportView()
      Gets the value of exportView.

      This object is used when creating or updating content.

      Returns:
      exportView
    • setExportView

      public void setExportView(Map<String,Object> exportView)
      Sets the value of exportView.

      This object is used when creating or updating content.

      Parameters:
      exportView - exportView
    • styledView

      public Map<String,Object> styledView()
      Fluent getter for styledView.

      This object is used when creating or updating content.

      Returns:
      styledView
    • styledView

      public Body5304Ad styledView(Map<String,Object> styledView)
      Fluent setter for styledView.

      This object is used when creating or updating content.

      Parameters:
      styledView - styledView
      Returns:
      this
    • getStyledView

      public Map<String,Object> getStyledView()
      Gets the value of styledView.

      This object is used when creating or updating content.

      Returns:
      styledView
    • setStyledView

      public void setStyledView(Map<String,Object> styledView)
      Sets the value of styledView.

      This object is used when creating or updating content.

      Parameters:
      styledView - styledView
    • storage

      public Map<String,Object> storage()
      Fluent getter for storage.

      This object is used when creating or updating content.

      Returns:
      storage
    • storage

      public Body5304Ad storage(Map<String,Object> storage)
      Fluent setter for storage.

      This object is used when creating or updating content.

      Parameters:
      storage - storage
      Returns:
      this
    • getStorage

      public Map<String,Object> getStorage()
      Gets the value of storage.

      This object is used when creating or updating content.

      Returns:
      storage
    • setStorage

      public void setStorage(Map<String,Object> storage)
      Sets the value of storage.

      This object is used when creating or updating content.

      Parameters:
      storage - storage
    • editor

      public Map<String,Object> editor()
      Fluent getter for editor.

      This object is used when creating or updating content.

      Returns:
      editor
    • editor

      public Body5304Ad editor(Map<String,Object> editor)
      Fluent setter for editor.

      This object is used when creating or updating content.

      Parameters:
      editor - editor
      Returns:
      this
    • getEditor

      public Map<String,Object> getEditor()
      Gets the value of editor.

      This object is used when creating or updating content.

      Returns:
      editor
    • setEditor

      public void setEditor(Map<String,Object> editor)
      Sets the value of editor.

      This object is used when creating or updating content.

      Parameters:
      editor - editor
    • editor2

      public Map<String,Object> editor2()
      Fluent getter for editor2.

      This object is used when creating or updating content.

      Returns:
      editor2
    • editor2

      public Body5304Ad editor2(Map<String,Object> editor2)
      Fluent setter for editor2.

      This object is used when creating or updating content.

      Parameters:
      editor2 - editor2
      Returns:
      this
    • getEditor2

      public Map<String,Object> getEditor2()
      Gets the value of editor2.

      This object is used when creating or updating content.

      Returns:
      editor2
    • setEditor2

      public void setEditor2(Map<String,Object> editor2)
      Sets the value of editor2.

      This object is used when creating or updating content.

      Parameters:
      editor2 - editor2
    • wiki

      public Map<String,Object> wiki()
      Fluent getter for wiki.

      This object is used when creating or updating content.

      Returns:
      wiki
    • wiki

      public Body5304Ad wiki(Map<String,Object> wiki)
      Fluent setter for wiki.

      This object is used when creating or updating content.

      Parameters:
      wiki - wiki
      Returns:
      this
    • getWiki

      public Map<String,Object> getWiki()
      Gets the value of wiki.

      This object is used when creating or updating content.

      Returns:
      wiki
    • setWiki

      public void setWiki(Map<String,Object> wiki)
      Sets the value of wiki.

      This object is used when creating or updating content.

      Parameters:
      wiki - wiki
    • anonymousExportView

      public Map<String,Object> anonymousExportView()
      Fluent getter for anonymousExportView.

      This object is used when creating or updating content.

      Returns:
      anonymousExportView
    • anonymousExportView

      public Body5304Ad anonymousExportView(Map<String,Object> anonymousExportView)
      Fluent setter for anonymousExportView.

      This object is used when creating or updating content.

      Parameters:
      anonymousExportView - anonymousExportView
      Returns:
      this
    • getAnonymousExportView

      public Map<String,Object> getAnonymousExportView()
      Gets the value of anonymousExportView.

      This object is used when creating or updating content.

      Returns:
      anonymousExportView
    • setAnonymousExportView

      public void setAnonymousExportView(Map<String,Object> anonymousExportView)
      Sets the value of anonymousExportView.

      This object is used when creating or updating content.

      Parameters:
      anonymousExportView - anonymousExportView
    • plain

      public Map<String,Object> plain()
      Fluent getter for plain.

      This object is used when creating or updating content.

      Returns:
      plain
    • plain

      public Body5304Ad plain(Map<String,Object> plain)
      Fluent setter for plain.

      This object is used when creating or updating content.

      Parameters:
      plain - plain
      Returns:
      this
    • getPlain

      public Map<String,Object> getPlain()
      Gets the value of plain.

      This object is used when creating or updating content.

      Returns:
      plain
    • setPlain

      public void setPlain(Map<String,Object> plain)
      Sets the value of plain.

      This object is used when creating or updating content.

      Parameters:
      plain - plain
    • atlasDocFormat

      public Map<String,Object> atlasDocFormat()
      Fluent getter for atlasDocFormat.

      This object is used when creating or updating content.

      Returns:
      atlasDocFormat
    • atlasDocFormat

      public Body5304Ad atlasDocFormat(Map<String,Object> atlasDocFormat)
      Fluent setter for atlasDocFormat.

      This object is used when creating or updating content.

      Parameters:
      atlasDocFormat - atlasDocFormat
      Returns:
      this
    • getAtlasDocFormat

      public Map<String,Object> getAtlasDocFormat()
      Gets the value of atlasDocFormat.

      This object is used when creating or updating content.

      Returns:
      atlasDocFormat
    • setAtlasDocFormat

      public void setAtlasDocFormat(Map<String,Object> atlasDocFormat)
      Sets the value of atlasDocFormat.

      This object is used when creating or updating content.

      Parameters:
      atlasDocFormat - atlasDocFormat
    • raw

      public Map<String,Object> raw()
      Fluent getter for raw.

      This object is used when creating or updating content.

      Returns:
      raw
    • raw

      public Body5304Ad raw(Map<String,Object> raw)
      Fluent setter for raw.

      This object is used when creating or updating content.

      Parameters:
      raw - raw
      Returns:
      this
    • getRaw

      public Map<String,Object> getRaw()
      Gets the value of raw.

      This object is used when creating or updating content.

      Returns:
      raw
    • setRaw

      public void setRaw(Map<String,Object> raw)
      Sets the value of raw.

      This object is used when creating or updating content.

      Parameters:
      raw - raw
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object