Package com.intercom.api.types
Class CompanyAttachedSegments.Builder
- java.lang.Object
-
- com.intercom.api.types.CompanyAttachedSegments.Builder
-
- Enclosing class:
- CompanyAttachedSegments
public static final class CompanyAttachedSegments.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanyAttachedSegmentsbuild()CompanyAttachedSegments.Builderdata(java.util.List<Segment> data)CompanyAttachedSegments.Builderdata(java.util.Optional<java.util.List<Segment>> data)An array containing Segment ObjectsCompanyAttachedSegments.Builderfrom(CompanyAttachedSegments other)CompanyAttachedSegments.Buildertype(java.lang.String type)CompanyAttachedSegments.Buildertype(java.util.Optional<java.lang.String> type)The type of object -list
-
-
-
Method Detail
-
from
public CompanyAttachedSegments.Builder from(CompanyAttachedSegments other)
-
type
public CompanyAttachedSegments.Builder type(java.util.Optional<java.lang.String> type)
The type of object -
list
-
type
public CompanyAttachedSegments.Builder type(java.lang.String type)
-
data
public CompanyAttachedSegments.Builder data(java.util.Optional<java.util.List<Segment>> data)
An array containing Segment Objects
-
data
public CompanyAttachedSegments.Builder data(java.util.List<Segment> data)
-
build
public CompanyAttachedSegments build()
-
-