Class ContentBodyCreateStorage

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

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

This object is used when creating or updating content.

  • Field Details

    • value

      protected String value
      The body of the content in the relevant format.
    • representation

      protected String representation
      The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
  • Constructor Details

    • ContentBodyCreateStorage

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

      @Internal public ContentBodyCreateStorage(String value, String representation)
      Constructs a validated instance of ContentBodyCreateStorage.

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

      Parameters:
      value - The body of the content in the relevant format.
      representation - The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
    • ContentBodyCreateStorage

      protected ContentBodyCreateStorage()
  • Method Details

    • value

      public String value()
      The body of the content in the relevant format.
    • representation

      public String representation()
      The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
    • value

      public ContentBodyCreateStorage value(String value)
      The body of the content in the relevant format.
      Returns:
      this.
    • representation

      public ContentBodyCreateStorage representation(String representation)
      The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
      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