Class ConversationAttachmentFiles.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.ConversationAttachmentFiles.Builder
-
- Enclosing class:
- ConversationAttachmentFiles
public static final class ConversationAttachmentFiles.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationAttachmentFilesbuild()ConversationAttachmentFiles.BuildercontentType(java.lang.String contentType)ConversationAttachmentFiles.BuildercontentType(java.util.Optional<java.lang.String> contentType)The content type of the fileConversationAttachmentFiles.Builderdata(java.lang.String data)ConversationAttachmentFiles.Builderdata(java.util.Optional<java.lang.String> data)The base64 encoded file data.ConversationAttachmentFiles.Builderfrom(ConversationAttachmentFiles other)ConversationAttachmentFiles.Buildername(java.lang.String name)ConversationAttachmentFiles.Buildername(java.util.Optional<java.lang.String> name)The name of the file.
-
-
-
Method Detail
-
from
public ConversationAttachmentFiles.Builder from(ConversationAttachmentFiles other)
-
contentType
public ConversationAttachmentFiles.Builder contentType(java.util.Optional<java.lang.String> contentType)
The content type of the file
-
contentType
public ConversationAttachmentFiles.Builder contentType(java.lang.String contentType)
-
data
public ConversationAttachmentFiles.Builder data(java.util.Optional<java.lang.String> data)
The base64 encoded file data.
-
data
public ConversationAttachmentFiles.Builder data(java.lang.String data)
-
name
public ConversationAttachmentFiles.Builder name(java.util.Optional<java.lang.String> name)
The name of the file.
-
name
public ConversationAttachmentFiles.Builder name(java.lang.String name)
-
build
public ConversationAttachmentFiles build()
-
-