Class TicketingComment.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.TicketingComment.Builder
-
- Enclosing class:
- TicketingComment
public static final class TicketingComment.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TicketingCommentbuild()TicketingComment.Buildercontent(java.util.List<TicketingContent> content)Array of content associated with the commentTicketingComment.Buildercontent(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<TicketingContent>> content)Array of content associated with the commentTicketingComment.BuildercreatedAt(java.time.OffsetDateTime createdAt)The timestamp when the record was createdTicketingComment.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The timestamp when the record was createdTicketingComment.Builderid(java.lang.String id)Unique identifierTicketingComment.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierTicketingComment.Builderinternal(TicketingCommentInternal internal)Whether the comment is internalTicketingComment.Builderinternal(org.openapitools.jackson.nullable.JsonNullable<? extends TicketingCommentInternal> internal)Whether the comment is internalTicketingComment.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierTicketingComment.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierTicketingComment.BuilderticketId(java.lang.String ticketId)The ticket ID associated with the commentTicketingComment.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The timestamp when the record was last updatedTicketingComment.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The timestamp when the record was last updatedTicketingComment.BuilderuserId(java.lang.String userId)The user who created the commentTicketingComment.BuilderuserId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)The user who created the comment
-
-
-
Method Detail
-
id
public TicketingComment.Builder id(java.lang.String id)
Unique identifier
-
id
public TicketingComment.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public TicketingComment.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public TicketingComment.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
ticketId
public TicketingComment.Builder ticketId(java.lang.String ticketId)
The ticket ID associated with the comment
-
userId
public TicketingComment.Builder userId(java.lang.String userId)
The user who created the comment
-
userId
public TicketingComment.Builder userId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)
The user who created the comment
-
internal
public TicketingComment.Builder internal(TicketingCommentInternal internal)
Whether the comment is internal
-
internal
public TicketingComment.Builder internal(org.openapitools.jackson.nullable.JsonNullable<? extends TicketingCommentInternal> internal)
Whether the comment is internal
-
content
public TicketingComment.Builder content(java.util.List<TicketingContent> content)
Array of content associated with the comment
-
content
public TicketingComment.Builder content(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<TicketingContent>> content)
Array of content associated with the comment
-
createdAt
public TicketingComment.Builder createdAt(java.time.OffsetDateTime createdAt)
The timestamp when the record was created
-
createdAt
public TicketingComment.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The timestamp when the record was created
-
updatedAt
public TicketingComment.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The timestamp when the record was last updated
-
updatedAt
public TicketingComment.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The timestamp when the record was last updated
-
build
public TicketingComment build()
-
-