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