copyWithWrapped method
WatchlistScreeningEntityProgramGetResponse
copyWithWrapped({
- Wrapped<
String> ? id, - Wrapped<
String> ? createdAt, - Wrapped<
bool> ? isRescanningEnabled, - Wrapped<
List< ? listsEnabled,EntityWatchlistCode> > - Wrapped<
String> ? name, - Wrapped<
ProgramNameSensitivity> ? nameSensitivity, - Wrapped<
WatchlistScreeningAuditTrail> ? auditTrail, - Wrapped<
bool> ? isArchived, - Wrapped<
String> ? requestId,
Implementation
WatchlistScreeningEntityProgramGetResponse copyWithWrapped(
{Wrapped<String>? id,
Wrapped<String>? createdAt,
Wrapped<bool>? isRescanningEnabled,
Wrapped<List<enums.EntityWatchlistCode>>? listsEnabled,
Wrapped<String>? name,
Wrapped<enums.ProgramNameSensitivity>? nameSensitivity,
Wrapped<WatchlistScreeningAuditTrail>? auditTrail,
Wrapped<bool>? isArchived,
Wrapped<String>? requestId}) {
return WatchlistScreeningEntityProgramGetResponse(
id: (id != null ? id.value : this.id),
createdAt: (createdAt != null ? createdAt.value : this.createdAt),
isRescanningEnabled: (isRescanningEnabled != null
? isRescanningEnabled.value
: this.isRescanningEnabled),
listsEnabled:
(listsEnabled != null ? listsEnabled.value : this.listsEnabled),
name: (name != null ? name.value : this.name),
nameSensitivity: (nameSensitivity != null
? nameSensitivity.value
: this.nameSensitivity),
auditTrail: (auditTrail != null ? auditTrail.value : this.auditTrail),
isArchived: (isArchived != null ? isArchived.value : this.isArchived),
requestId: (requestId != null ? requestId.value : this.requestId));
}