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