Klasse Comment
java.lang.Object
io.github.primelib.jira4j.restv2.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 CommentAuthor
protected String
The comment text.protected OffsetDateTime
The date and time at which the comment was created.protected String
The ID of the comment.protected Boolean
Whether the comment was added from an email sent by a person who is not part of the issue.protected Boolean
Whether the comment is visible in Jira Service Desk.protected List<EntityProperty>
A list of comment properties.protected String
The rendered version of the comment.protected String
The URL of the comment.protected CommentUpdateAuthor
protected OffsetDateTime
The date and time at which the comment was updated last.protected CommentVisibility
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
Comment()
Comment
(CommentAuthor author, String body, OffsetDateTime created, String id, Boolean jsdAuthorCanSeeRequest, Boolean jsdPublic, List<EntityProperty> properties, String renderedBody, String self, CommentUpdateAuthor updateAuthor, OffsetDateTime updated, CommentVisibility visibility) Constructs a validated instance ofComment
.Constructs a validated instance ofComment
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungauthor()
author
(CommentAuthor author) body()
The comment text.The comment text.static Comment.CommentBuilder
builder()
protected boolean
created()
The date and time at which the comment was created.created
(OffsetDateTime created) The date and time at which the comment was created.boolean
int
hashCode()
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
(CommentVisibility visibility)
-
Felddetails
-
author
-
body
The comment text. -
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, String body, OffsetDateTime created, String id, Boolean jsdAuthorCanSeeRequest, Boolean jsdPublic, List<EntityProperty> properties, String renderedBody, String self, CommentUpdateAuthor updateAuthor, OffsetDateTime updated, CommentVisibility 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.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. -
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.- 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
-