Class LabeledContent

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

@Generated("io.github.primelib.primecodegen") public class LabeledContent extends Object
LabeledContent
  • Field Details

    • contentType

      protected String contentType
    • contentId

      protected Long contentId
    • title

      protected String title
      Title of the content.
  • Constructor Details

    • LabeledContent

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

      @Internal protected LabeledContent()
      Protected no-args constructor for use by serialization frameworks.
    • LabeledContent

      @Internal public LabeledContent(String contentType, Long contentId, String title)
      Constructs a validated instance of LabeledContent.

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

      Parameters:
      contentType - contentType
      contentId - contentId
      title - Title of the content.
  • Method Details

    • contentType

      public String contentType()
      Fluent getter for contentType.
      Returns:
      contentType
    • contentType

      public LabeledContent contentType(String contentType)
      Fluent setter for contentType.
      Parameters:
      contentType - contentType
      Returns:
      this
    • getContentType

      public String getContentType()
      Gets the value of contentType.
      Returns:
      contentType
    • setContentType

      public void setContentType(String contentType)
      Sets the value of contentType.
      Parameters:
      contentType - contentType
    • contentId

      public Long contentId()
      Fluent getter for contentId.
      Returns:
      contentId
    • contentId

      public LabeledContent contentId(Long contentId)
      Fluent setter for contentId.
      Parameters:
      contentId - contentId
      Returns:
      this
    • getContentId

      public Long getContentId()
      Gets the value of contentId.
      Returns:
      contentId
    • setContentId

      public void setContentId(Long contentId)
      Sets the value of contentId.
      Parameters:
      contentId - contentId
    • title

      public String title()
      Fluent getter for title.

      Title of the content.

      Returns:
      title
    • title

      public LabeledContent title(String title)
      Fluent setter for title.

      Title of the content.

      Parameters:
      title - title
      Returns:
      this
    • getTitle

      public String getTitle()
      Gets the value of title.

      Title of the content.

      Returns:
      title
    • setTitle

      public void setTitle(String title)
      Sets the value of title.

      Title of the content.

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