Klasse Comment
java.lang.Object
io.github.primelib.jira4j.restv3.model.Comment
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Comment
extends Object
Comment
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected CommentAuthorprotected ObjectThe comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).protected OffsetDateTimeThe date and time at which the comment was created.protected StringThe ID of the comment.protected BooleanWhether the comment was added from an email sent by a person who is not part of the issue.protected BooleanWhether the comment is visible in Jira Service Desk.protected List<EntityProperty>A list of comment properties.protected StringThe rendered version of the comment.protected StringThe URL of the comment.protected CommentUpdateAuthorprotected OffsetDateTimeThe date and time at which the comment was updated last.protected Visibility -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedComment()Comment(CommentAuthor author, Object body, OffsetDateTime created, String id, Boolean jsdAuthorCanSeeRequest, Boolean jsdPublic, List<EntityProperty> properties, String renderedBody, String self, CommentUpdateAuthor updateAuthor, OffsetDateTime updated, Visibility visibility) Constructs a validated instance ofComment.Constructs a validated instance ofComment. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungauthor()author(CommentAuthor author) body()The comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).The comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).static Comment.CommentBuilderbuilder()protected booleancreated()The date and time at which the comment was created.created(OffsetDateTime created) The date and time at which the comment was created.booleaninthashCode()id()The ID of the comment.The ID of the comment.Whether the comment was added from an email sent by a person who is not part of the issue.jsdAuthorCanSeeRequest(Boolean jsdAuthorCanSeeRequest) Whether the comment was added from an email sent by a person who is not part of the issue.Whether the comment is visible in Jira Service Desk.Whether the comment is visible in Jira Service Desk.A list of comment properties.properties(List<EntityProperty> properties) A list of comment properties.The rendered version of the comment.renderedBody(String renderedBody) The rendered version of the comment.self()The URL of the comment.The URL of the comment.toString()updateAuthor(CommentUpdateAuthor updateAuthor) updated()The date and time at which the comment was updated last.updated(OffsetDateTime updated) The date and time at which the comment was updated last.visibility(Visibility visibility)
-
Felddetails
-
author
-
body
The comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/). -
created
The date and time at which the comment was created. -
id
The ID of the comment. -
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. -
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. -
properties
A list of comment properties. Optional on create and update. -
renderedBody
The rendered version of the comment. -
self
The URL of the comment. -
updateAuthor
-
updated
The date and time at which the comment was updated last. -
visibility
-
-
Konstruktordetails
-
Comment
Constructs a validated instance ofComment.- Parameter:
spec- the specification to process
-
Comment
@Internal public Comment(CommentAuthor author, Object body, OffsetDateTime created, String id, Boolean jsdAuthorCanSeeRequest, Boolean jsdPublic, List<EntityProperty> properties, String renderedBody, String self, CommentUpdateAuthor updateAuthor, OffsetDateTime updated, Visibility visibility) Constructs a validated instance ofComment.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Comment(Consumer)instead.- Parameter:
author- authorbody- The comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).created- The date and time at which the comment was created.id- The ID of the comment.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.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.properties- A list of comment properties. Optional on create and update.renderedBody- The rendered version of the comment.self- The URL of the comment.updateAuthor- updateAuthorupdated- The date and time at which the comment was updated last.visibility- visibility
-
Comment
protected Comment()
-
-
Methodendetails
-
builder
-
author
-
body
The comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/). -
created
The date and time at which the comment was created. -
id
The ID of the comment. -
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. -
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. -
properties
A list of comment properties. Optional on create and update. -
renderedBody
The rendered version of the comment. -
self
The URL of the comment. -
updateAuthor
-
updated
The date and time at which the comment was updated last. -
visibility
-
author
- Gibt zurück:
this.
-
body
The comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).- Gibt zurück:
this.
-
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
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
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
A list of comment properties. Optional on create and update.- Gibt zurück:
this.
-
renderedBody
The rendered version of the comment.- Gibt zurück:
this.
-
self
The URL of the comment.- Gibt zurück:
this.
-
updateAuthor
- Gibt zurück:
this.
-
updated
The date and time at which the comment was updated last.- Gibt zurück:
this.
-
visibility
- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-