Class DeletedCollectionObject.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.DeletedCollectionObject.Builder
-
- Enclosing class:
- DeletedCollectionObject
public static final class DeletedCollectionObject.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeletedCollectionObjectbuild()DeletedCollectionObject.Builderdeleted(java.lang.Boolean deleted)DeletedCollectionObject.Builderdeleted(java.util.Optional<java.lang.Boolean> deleted)Whether the collection was deleted successfully or not.DeletedCollectionObject.Builderfrom(DeletedCollectionObject other)DeletedCollectionObject.Builderid(java.lang.String id)DeletedCollectionObject.Builderid(java.util.Optional<java.lang.String> id)The unique identifier for the collection which you provided in the URL.DeletedCollectionObject.Builderobject(java.lang.String object)DeletedCollectionObject.Builderobject(java.util.Optional<java.lang.String> object)The type of object which was deleted.
-
-
-
Method Detail
-
from
public DeletedCollectionObject.Builder from(DeletedCollectionObject other)
-
id
public DeletedCollectionObject.Builder id(java.util.Optional<java.lang.String> id)
The unique identifier for the collection which you provided in the URL.
-
id
public DeletedCollectionObject.Builder id(java.lang.String id)
-
object
public DeletedCollectionObject.Builder object(java.util.Optional<java.lang.String> object)
The type of object which was deleted. -
collection
-
object
public DeletedCollectionObject.Builder object(java.lang.String object)
-
deleted
public DeletedCollectionObject.Builder deleted(java.util.Optional<java.lang.Boolean> deleted)
Whether the collection was deleted successfully or not.
-
deleted
public DeletedCollectionObject.Builder deleted(java.lang.Boolean deleted)
-
build
public DeletedCollectionObject build()
-
-