Class Container7B328B

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

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

The container of the content. Required if type isĀ `comment` or certain types of custom content. If you are trying to create a comment that is a child of another comment, specify the parent comment in the ancestors field, not in this field.

  • Field Details

    • id

      protected Object id
      The `id` of the container.
    • type

      protected String type
      The `type` of the container.
  • Constructor Details

    • Container7B328B

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

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

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

      Parameters:
      id - The `id` of the container.
      type - The `type` of the container.
    • Container7B328B

      protected Container7B328B()
  • Method Details

    • id

      public Object id()
      The `id` of the container.
    • type

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

      public Container7B328B id(Object id)
      The `id` of the container.
      Returns:
      this.
    • type

      public Container7B328B type(String type)
      The `type` of the container.
      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