Class PartAttachment.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.PartAttachment.Builder
-
- Enclosing class:
- PartAttachment
public static final class PartAttachment.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartAttachmentbuild()PartAttachment.BuildercontentType(java.lang.String contentType)PartAttachment.BuildercontentType(java.util.Optional<java.lang.String> contentType)The content type of the attachmentPartAttachment.Builderfilesize(java.lang.Integer filesize)PartAttachment.Builderfilesize(java.util.Optional<java.lang.Integer> filesize)The size of the attachmentPartAttachment.Builderfrom(PartAttachment other)PartAttachment.Builderheight(java.lang.Integer height)PartAttachment.Builderheight(java.util.Optional<java.lang.Integer> height)The height of the attachmentPartAttachment.Buildername(java.lang.String name)PartAttachment.Buildername(java.util.Optional<java.lang.String> name)The name of the attachmentPartAttachment.Buildertype(java.lang.String type)PartAttachment.Buildertype(java.util.Optional<java.lang.String> type)The type of attachmentPartAttachment.Builderurl(java.lang.String url)PartAttachment.Builderurl(java.util.Optional<java.lang.String> url)The URL of the attachmentPartAttachment.Builderwidth(java.lang.Integer width)PartAttachment.Builderwidth(java.util.Optional<java.lang.Integer> width)The width of the attachment
-
-
-
Method Detail
-
from
public PartAttachment.Builder from(PartAttachment other)
-
type
public PartAttachment.Builder type(java.util.Optional<java.lang.String> type)
The type of attachment
-
type
public PartAttachment.Builder type(java.lang.String type)
-
name
public PartAttachment.Builder name(java.util.Optional<java.lang.String> name)
The name of the attachment
-
name
public PartAttachment.Builder name(java.lang.String name)
-
url
public PartAttachment.Builder url(java.util.Optional<java.lang.String> url)
The URL of the attachment
-
url
public PartAttachment.Builder url(java.lang.String url)
-
contentType
public PartAttachment.Builder contentType(java.util.Optional<java.lang.String> contentType)
The content type of the attachment
-
contentType
public PartAttachment.Builder contentType(java.lang.String contentType)
-
filesize
public PartAttachment.Builder filesize(java.util.Optional<java.lang.Integer> filesize)
The size of the attachment
-
filesize
public PartAttachment.Builder filesize(java.lang.Integer filesize)
-
width
public PartAttachment.Builder width(java.util.Optional<java.lang.Integer> width)
The width of the attachment
-
width
public PartAttachment.Builder width(java.lang.Integer width)
-
height
public PartAttachment.Builder height(java.util.Optional<java.lang.Integer> height)
The height of the attachment
-
height
public PartAttachment.Builder height(java.lang.Integer height)
-
build
public PartAttachment build()
-
-