Class Containerb524B8

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

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

The new content to attach the attachment to.

  • Field Details

    • id

      protected String id
      The `id` of the parent content.
    • type

      protected String type
      The content type. You can only attach attachments to content of type: `page`, `blogpost`.
  • Constructor Details

    • Containerb524B8

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

      @Internal public Containerb524B8(String id, String type)
      Constructs a validated instance of Containerb524B8.

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

      Parameters:
      id - The `id` of the parent content.
      type - The content type. You can only attach attachments to content of type: `page`, `blogpost`.
    • Containerb524B8

      protected Containerb524B8()
  • Method Details

    • id

      public String id()
      The `id` of the parent content.
    • type

      public String type()
      The content type. You can only attach attachments to content of type: `page`, `blogpost`.
    • id

      public Containerb524B8 id(String id)
      The `id` of the parent content.
      Returns:
      this.
    • type

      public Containerb524B8 type(String type)
      The content type. You can only attach attachments to content of type: `page`, `blogpost`.
      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