Klasse BlogPostCommentModel

java.lang.Object
io.github.primelib.confluence4j.rest.v2.model.BlogPostCommentModel

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class BlogPostCommentModel extends Object
BlogPostCommentModel
  • Felddetails

    • id

      protected Long id
      ID of the comment. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • status

      protected ContentStatus status
    • title

      protected String title
      Title of the comment.
    • blogPostId

      protected Long blogPostId
      ID of the blog post the comment is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • version

      protected Version version
    • body

      protected BodyBulk body
  • Konstruktordetails

    • BlogPostCommentModel

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

      @Internal public BlogPostCommentModel(Long id, ContentStatus status, String title, Long blogPostId, Version version, BodyBulk body, CommentLinks _links)
      Constructs a validated instance of BlogPostCommentModel.

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

      Parameter:
      id - ID of the comment. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      status - status
      title - Title of the comment.
      blogPostId - ID of the blog post the comment is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      version - version
      body - body
      _links - _links
    • BlogPostCommentModel

      protected BlogPostCommentModel()
  • Methodendetails

    • builder

    • id

      public Long id()
      ID of the comment. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • status

      public ContentStatus status()
    • title

      public String title()
      Title of the comment.
    • blogPostId

      public Long blogPostId()
      ID of the blog post the comment is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • version

      public Version version()
    • body

      public BodyBulk body()
    • _links

      public CommentLinks _links()
    • id

      public BlogPostCommentModel id(Long id)
      ID of the comment. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      Gibt zurück:
      this.
    • status

      public BlogPostCommentModel status(ContentStatus status)
      Gibt zurück:
      this.
    • title

      public BlogPostCommentModel title(String title)
      Title of the comment.
      Gibt zurück:
      this.
    • blogPostId

      public BlogPostCommentModel blogPostId(Long blogPostId)
      ID of the blog post the comment is in. Due to JavaScript's max integer representation of 2^53-1, the type of this field will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, serialize-ids-as-strings=true can be passed as a query param to any v2 endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      Gibt zurück:
      this.
    • version

      public BlogPostCommentModel version(Version version)
      Gibt zurück:
      this.
    • body

      public BlogPostCommentModel body(BodyBulk body)
      Gibt zurück:
      this.
    • _links

      public BlogPostCommentModel _links(CommentLinks _links)
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object