copyWithWrapped method
WatchlistScreeningIndividualUpdateRequest
copyWithWrapped({
- Wrapped<
String> ? watchlistScreeningId, - Wrapped<
UpdateIndividualScreeningRequestSearchTerms?> ? searchTerms, - Wrapped<
String?> ? assignee, - Wrapped<
WatchlistScreeningStatus?> ? status, - Wrapped<
String?> ? clientUserId, - Wrapped<
String?> ? clientId, - Wrapped<
String?> ? secret, - Wrapped<
List< ? resetFields,String> ?>
Implementation
WatchlistScreeningIndividualUpdateRequest copyWithWrapped(
{Wrapped<String>? watchlistScreeningId,
Wrapped<UpdateIndividualScreeningRequestSearchTerms?>? searchTerms,
Wrapped<String?>? assignee,
Wrapped<enums.WatchlistScreeningStatus?>? status,
Wrapped<String?>? clientUserId,
Wrapped<String?>? clientId,
Wrapped<String?>? secret,
Wrapped<List<String>?>? resetFields}) {
return WatchlistScreeningIndividualUpdateRequest(
watchlistScreeningId: (watchlistScreeningId != null
? watchlistScreeningId.value
: this.watchlistScreeningId),
searchTerms:
(searchTerms != null ? searchTerms.value : this.searchTerms),
assignee: (assignee != null ? assignee.value : this.assignee),
status: (status != null ? status.value : this.status),
clientUserId:
(clientUserId != null ? clientUserId.value : this.clientUserId),
clientId: (clientId != null ? clientId.value : this.clientId),
secret: (secret != null ? secret.value : this.secret),
resetFields:
(resetFields != null ? resetFields.value : this.resetFields));
}