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 protected Containerb524B8()
      Protected no-args constructor for use by serialization frameworks.
    • 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`.
  • Method Details

    • id

      public String id()
      Fluent getter for id.

      The `id` of the parent content.

      Returns:
      id
    • id

      public Containerb524B8 id(String id)
      Fluent setter for id.

      The `id` of the parent content.

      Parameters:
      id - id
      Returns:
      this
    • getId

      public String getId()
      Gets the value of id.

      The `id` of the parent content.

      Returns:
      id
    • setId

      public void setId(String id)
      Sets the value of id.

      The `id` of the parent content.

      Parameters:
      id - id
    • type

      public String type()
      Fluent getter for type.

      The content type. You can only attach attachments to content of type: `page`, `blogpost`.

      Returns:
      type
    • type

      public Containerb524B8 type(String type)
      Fluent setter for type.

      The content type. You can only attach attachments to content of type: `page`, `blogpost`.

      Parameters:
      type - type
      Returns:
      this
    • getType

      public String getType()
      Gets the value of type.

      The content type. You can only attach attachments to content of type: `page`, `blogpost`.

      Returns:
      type
    • setType

      public void setType(String type)
      Sets the value of type.

      The content type. You can only attach attachments to content of type: `page`, `blogpost`.

      Parameters:
      type - type
    • 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