Class AccountingAttachmentResponse.Builder
- java.lang.Object
-
- com.merge.api.resources.accounting.types.AccountingAttachmentResponse.Builder
-
- All Implemented Interfaces:
AccountingAttachmentResponse._FinalStage,AccountingAttachmentResponse.ModelStage
- Enclosing class:
- AccountingAttachmentResponse
public static final class AccountingAttachmentResponse.Builder extends java.lang.Object implements AccountingAttachmentResponse.ModelStage, AccountingAttachmentResponse._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public AccountingAttachmentResponse.Builder from(AccountingAttachmentResponse other)
- Specified by:
fromin interfaceAccountingAttachmentResponse.ModelStage
-
model
public AccountingAttachmentResponse._FinalStage model(AccountingAttachment model)
- Specified by:
modelin interfaceAccountingAttachmentResponse.ModelStage
-
logs
public AccountingAttachmentResponse._FinalStage logs(java.util.List<DebugModeLog> logs)
- Specified by:
logsin interfaceAccountingAttachmentResponse._FinalStage
-
logs
public AccountingAttachmentResponse._FinalStage logs(java.util.Optional<java.util.List<DebugModeLog>> logs)
- Specified by:
logsin interfaceAccountingAttachmentResponse._FinalStage
-
addAllErrors
public AccountingAttachmentResponse._FinalStage addAllErrors(java.util.List<ErrorValidationProblem> errors)
- Specified by:
addAllErrorsin interfaceAccountingAttachmentResponse._FinalStage
-
addErrors
public AccountingAttachmentResponse._FinalStage addErrors(ErrorValidationProblem errors)
- Specified by:
addErrorsin interfaceAccountingAttachmentResponse._FinalStage
-
errors
public AccountingAttachmentResponse._FinalStage errors(java.util.List<ErrorValidationProblem> errors)
- Specified by:
errorsin interfaceAccountingAttachmentResponse._FinalStage
-
addAllWarnings
public AccountingAttachmentResponse._FinalStage addAllWarnings(java.util.List<WarningValidationProblem> warnings)
- Specified by:
addAllWarningsin interfaceAccountingAttachmentResponse._FinalStage
-
addWarnings
public AccountingAttachmentResponse._FinalStage addWarnings(WarningValidationProblem warnings)
- Specified by:
addWarningsin interfaceAccountingAttachmentResponse._FinalStage
-
warnings
public AccountingAttachmentResponse._FinalStage warnings(java.util.List<WarningValidationProblem> warnings)
- Specified by:
warningsin interfaceAccountingAttachmentResponse._FinalStage
-
build
public AccountingAttachmentResponse build()
- Specified by:
buildin interfaceAccountingAttachmentResponse._FinalStage
-
-