Package com.intercom.api.types
Class ConversationAttachmentFiles.Builder
java.lang.Object
com.intercom.api.types.ConversationAttachmentFiles.Builder
- All Implemented Interfaces:
ConversationAttachmentFiles._FinalStage,ConversationAttachmentFiles.ContentTypeStage,ConversationAttachmentFiles.DataStage,ConversationAttachmentFiles.NameStage
- Enclosing class:
ConversationAttachmentFiles
public static final class ConversationAttachmentFiles.Builder
extends Object
implements ConversationAttachmentFiles.ContentTypeStage, ConversationAttachmentFiles.DataStage, ConversationAttachmentFiles.NameStage, ConversationAttachmentFiles._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()contentType(String contentType) The content type of the fileThe base64 encoded file data.from(ConversationAttachmentFiles other) The name of the file.
-
Method Details
-
from
- Specified by:
fromin interfaceConversationAttachmentFiles.ContentTypeStage
-
contentType
The content type of the file
- Specified by:
contentTypein interfaceConversationAttachmentFiles.ContentTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
The base64 encoded file data.
- Specified by:
datain interfaceConversationAttachmentFiles.DataStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the file.
- Specified by:
namein interfaceConversationAttachmentFiles.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
- Specified by:
buildin interfaceConversationAttachmentFiles._FinalStage
-