Package com.intercom.api.types
Class DeletedCollectionObject.Builder
- java.lang.Object
-
- com.intercom.api.types.DeletedCollectionObject.Builder
-
- All Implemented Interfaces:
DeletedCollectionObject._FinalStage,DeletedCollectionObject.DeletedStage,DeletedCollectionObject.IdStage
- Enclosing class:
- DeletedCollectionObject
public static final class DeletedCollectionObject.Builder extends java.lang.Object implements DeletedCollectionObject.IdStage, DeletedCollectionObject.DeletedStage, DeletedCollectionObject._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeletedCollectionObjectbuild()DeletedCollectionObject._FinalStagedeleted(boolean deleted)Whether the collection was deleted successfully or not.DeletedCollectionObject.Builderfrom(DeletedCollectionObject other)DeletedCollectionObject.DeletedStageid(java.lang.String id)The unique identifier for the collection which you provided in the URL.
-
-
-
Method Detail
-
from
public DeletedCollectionObject.Builder from(DeletedCollectionObject other)
- Specified by:
fromin interfaceDeletedCollectionObject.IdStage
-
id
public DeletedCollectionObject.DeletedStage id(@NotNull java.lang.String id)
The unique identifier for the collection which you provided in the URL.The unique identifier for the collection which you provided in the URL.
- Specified by:
idin interfaceDeletedCollectionObject.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
deleted
public DeletedCollectionObject._FinalStage deleted(boolean deleted)
Whether the collection was deleted successfully or not.Whether the collection was deleted successfully or not.
- Specified by:
deletedin interfaceDeletedCollectionObject.DeletedStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public DeletedCollectionObject build()
- Specified by:
buildin interfaceDeletedCollectionObject._FinalStage
-
-