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