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

      protected Body5304Ad()
  • Method Details

    • view

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

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

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

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

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

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

      public Map<String,Object> wiki()
      This object is used when creating or updating content.
    • anonymousExportView

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

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

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

      public Map<String,Object> raw()
      This object is used when creating or updating content.
    • view

      public Body5304Ad view(Map<String,Object> view)
      This object is used when creating or updating content.
      Returns:
      this.
    • exportView

      public Body5304Ad exportView(Map<String,Object> exportView)
      This object is used when creating or updating content.
      Returns:
      this.
    • styledView

      public Body5304Ad styledView(Map<String,Object> styledView)
      This object is used when creating or updating content.
      Returns:
      this.
    • storage

      public Body5304Ad storage(Map<String,Object> storage)
      This object is used when creating or updating content.
      Returns:
      this.
    • editor

      public Body5304Ad editor(Map<String,Object> editor)
      This object is used when creating or updating content.
      Returns:
      this.
    • editor2

      public Body5304Ad editor2(Map<String,Object> editor2)
      This object is used when creating or updating content.
      Returns:
      this.
    • wiki

      public Body5304Ad wiki(Map<String,Object> wiki)
      This object is used when creating or updating content.
      Returns:
      this.
    • anonymousExportView

      public Body5304Ad anonymousExportView(Map<String,Object> anonymousExportView)
      This object is used when creating or updating content.
      Returns:
      this.
    • plain

      public Body5304Ad plain(Map<String,Object> plain)
      This object is used when creating or updating content.
      Returns:
      this.
    • atlasDocFormat

      public Body5304Ad atlasDocFormat(Map<String,Object> atlasDocFormat)
      This object is used when creating or updating content.
      Returns:
      this.
    • raw

      public Body5304Ad raw(Map<String,Object> raw)
      This object is used when creating or updating content.
      Returns:
      this.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object