Package com.intercom.api.types
Class TicketReply.Builder
java.lang.Object
com.intercom.api.types.TicketReply.Builder
- All Implemented Interfaces:
TicketReply._FinalStage,TicketReply.CreatedAtStage,TicketReply.IdStage,TicketReply.PartTypeStage
- Enclosing class:
TicketReply
public static final class TicketReply.Builder
extends Object
implements TicketReply.IdStage, TicketReply.PartTypeStage, TicketReply.CreatedAtStage, TicketReply._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionattachments(List<PartAttachment> attachments) A list of attachments for the part.attachments(Optional<List<PartAttachment>> attachments) author(TicketPartAuthor author) author(Optional<TicketPartAuthor> author) The message body, which may contain HTML.build()createdAt(int createdAt) The time the note was created.from(TicketReply other) The id representing the part.partType(TicketReply.PartType partType) Type of the partWhether or not the ticket part has been redacted.The last time the note was updated.
-
Method Details
-
from
- Specified by:
fromin interfaceTicketReply.IdStage
-
id
The id representing the part.
- Specified by:
idin interfaceTicketReply.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
partType
Type of the part
- Specified by:
partTypein interfaceTicketReply.PartTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
The time the note was created.
- Specified by:
createdAtin interfaceTicketReply.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
redacted
Whether or not the ticket part has been redacted.
- Specified by:
redactedin interfaceTicketReply._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
redacted
- Specified by:
redactedin interfaceTicketReply._FinalStage
-
attachments
A list of attachments for the part.
- Specified by:
attachmentsin interfaceTicketReply._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachments
- Specified by:
attachmentsin interfaceTicketReply._FinalStage
-
author
- Specified by:
authorin interfaceTicketReply._FinalStage
-
author
- Specified by:
authorin interfaceTicketReply._FinalStage
-
updatedAt
The last time the note was updated.
- Specified by:
updatedAtin interfaceTicketReply._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
- Specified by:
updatedAtin interfaceTicketReply._FinalStage
-
body
The message body, which may contain HTML.
- Specified by:
bodyin interfaceTicketReply._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
- Specified by:
bodyin interfaceTicketReply._FinalStage
-
build
- Specified by:
buildin interfaceTicketReply._FinalStage
-