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