Klasse Comment.CommentBuilder

java.lang.Object
io.github.primelib.jira4j.restv3.model.Comment.CommentBuilder
Umschließende Klasse:
Comment

public static class Comment.CommentBuilder extends Object
  • Methodendetails

    • author

      public Comment.CommentBuilder author(CommentAuthor author)
      Gibt zurück:
      this.
    • body

      public Comment.CommentBuilder body(Object body)
      The comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).
      Gibt zurück:
      this.
    • created

      public Comment.CommentBuilder created(OffsetDateTime created)
      The date and time at which the comment was created.
      Gibt zurück:
      this.
    • id

      The ID of the comment.
      Gibt zurück:
      this.
    • jsdAuthorCanSeeRequest

      public Comment.CommentBuilder jsdAuthorCanSeeRequest(Boolean jsdAuthorCanSeeRequest)
      Whether the comment was added from an email sent by a person who is not part of the issue. See [Allow external emails to be added as comments on issues](https://support.atlassian.com/jira-service-management-cloud/docs/allow-external-emails-to-be-added-as-comments-on-issues/)for information on setting up this feature.
      Gibt zurück:
      this.
    • jsdPublic

      public Comment.CommentBuilder jsdPublic(Boolean jsdPublic)
      Whether the comment is visible in Jira Service Desk. Defaults to true when comments are created in the Jira Cloud Platform. This includes when the site doesn't use Jira Service Desk or the project isn't a Jira Service Desk project and, therefore, there is no Jira Service Desk for the issue to be visible on. To create a comment with its visibility in Jira Service Desk set to false, use the Jira Service Desk REST API [Create request comment](https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-issueIdOrKey-comment-post) operation.
      Gibt zurück:
      this.
    • properties

      public Comment.CommentBuilder properties(List<EntityProperty> properties)
      A list of comment properties. Optional on create and update.
      Gibt zurück:
      this.
    • renderedBody

      public Comment.CommentBuilder renderedBody(String renderedBody)
      The rendered version of the comment.
      Gibt zurück:
      this.
    • self

      public Comment.CommentBuilder self(String self)
      The URL of the comment.
      Gibt zurück:
      this.
    • updateAuthor

      public Comment.CommentBuilder updateAuthor(CommentUpdateAuthor updateAuthor)
      Gibt zurück:
      this.
    • updated

      public Comment.CommentBuilder updated(OffsetDateTime updated)
      The date and time at which the comment was updated last.
      Gibt zurück:
      this.
    • visibility

      public Comment.CommentBuilder visibility(Visibility visibility)
      Gibt zurück:
      this.
    • build

      public Comment build()
    • toString

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