Class Note.Builder
java.lang.Object
com.intercom.api.resources.notes.types.Note.Builder
- All Implemented Interfaces:
Note._FinalStage,Note.AuthorStage,Note.BodyStage,Note.CreatedAtStage,Note.IdStage
- Enclosing class:
Note
public static final class Note.Builder
extends Object
implements Note.IdStage, Note.CreatedAtStage, Note.AuthorStage, Note.BodyStage, Note._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionOptional.The body text of the note.build()contact(Note.Contact contact) Represents the contact that the note was created about.contact(Optional<Note.Contact> contact) createdAt(int createdAt) The time the note was created.The id of the note.
-
Method Details
-
from
- Specified by:
fromin interfaceNote.IdStage
-
id
The id of the note.
- Specified by:
idin interfaceNote.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
The time the note was created.
- Specified by:
createdAtin interfaceNote.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
author
Optional. Represents the Admin that created the note.
- Specified by:
authorin interfaceNote.AuthorStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
The body text of the note.
- Specified by:
bodyin interfaceNote.BodyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contact
Represents the contact that the note was created about.
- Specified by:
contactin interfaceNote._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contact
- Specified by:
contactin interfaceNote._FinalStage
-
build
- Specified by:
buildin interfaceNote._FinalStage
-