Class LeadEndpointRequest.Builder
- java.lang.Object
-
- com.merge.api.resources.crm.leads.requests.LeadEndpointRequest.Builder
-
- All Implemented Interfaces:
LeadEndpointRequest._FinalStage,LeadEndpointRequest.ModelStage
- Enclosing class:
- LeadEndpointRequest
public static final class LeadEndpointRequest.Builder extends java.lang.Object implements LeadEndpointRequest.ModelStage, LeadEndpointRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeadEndpointRequestbuild()LeadEndpointRequest.Builderfrom(LeadEndpointRequest other)LeadEndpointRequest._FinalStageisDebugMode(java.lang.Boolean isDebugMode)Whether to include debug fields (such as log file links) in the response.LeadEndpointRequest._FinalStageisDebugMode(java.util.Optional<java.lang.Boolean> isDebugMode)LeadEndpointRequest._FinalStagemodel(LeadRequest model)LeadEndpointRequest._FinalStagerunAsync(java.lang.Boolean runAsync)Whether or not third-party updates should be run asynchronously.LeadEndpointRequest._FinalStagerunAsync(java.util.Optional<java.lang.Boolean> runAsync)
-
-
-
Method Detail
-
from
public LeadEndpointRequest.Builder from(LeadEndpointRequest other)
- Specified by:
fromin interfaceLeadEndpointRequest.ModelStage
-
model
public LeadEndpointRequest._FinalStage model(LeadRequest model)
- Specified by:
modelin interfaceLeadEndpointRequest.ModelStage
-
runAsync
public LeadEndpointRequest._FinalStage runAsync(java.lang.Boolean runAsync)
Whether or not third-party updates should be run asynchronously.
- Specified by:
runAsyncin interfaceLeadEndpointRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
runAsync
public LeadEndpointRequest._FinalStage runAsync(java.util.Optional<java.lang.Boolean> runAsync)
- Specified by:
runAsyncin interfaceLeadEndpointRequest._FinalStage
-
isDebugMode
public LeadEndpointRequest._FinalStage isDebugMode(java.lang.Boolean isDebugMode)
Whether to include debug fields (such as log file links) in the response.
- Specified by:
isDebugModein interfaceLeadEndpointRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isDebugMode
public LeadEndpointRequest._FinalStage isDebugMode(java.util.Optional<java.lang.Boolean> isDebugMode)
- Specified by:
isDebugModein interfaceLeadEndpointRequest._FinalStage
-
build
public LeadEndpointRequest build()
- Specified by:
buildin interfaceLeadEndpointRequest._FinalStage
-
-