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