copyWithWrapped method
WebApiModulesSettingsDepartmentLocationDepartmentLocation
copyWithWrapped({
- Wrapped<
String?> ? departmentId, - Wrapped<
String?> ? locationId, - Wrapped<
String?> ? department, - Wrapped<
String?> ? location, - Wrapped<
String?> ? defaultOrderTypeId, - Wrapped<
String?> ? defaultOrderType, - Wrapped<
bool?> ? inactive, - Wrapped<
String?> ? auditNote, - Wrapped<
String?> ? recordTitle, - Wrapped<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?>
Implementation
WebApiModulesSettingsDepartmentLocationDepartmentLocation copyWithWrapped(
{Wrapped<String?>? departmentId,
Wrapped<String?>? locationId,
Wrapped<String?>? department,
Wrapped<String?>? location,
Wrapped<String?>? defaultOrderTypeId,
Wrapped<String?>? defaultOrderType,
Wrapped<bool?>? inactive,
Wrapped<String?>? auditNote,
Wrapped<String?>? recordTitle,
Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
fields,
Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
defaultFieldAttributes}) {
return WebApiModulesSettingsDepartmentLocationDepartmentLocation(
departmentId:
(departmentId != null ? departmentId.value : this.departmentId),
locationId: (locationId != null ? locationId.value : this.locationId),
department: (department != null ? department.value : this.department),
location: (location != null ? location.value : this.location),
defaultOrderTypeId: (defaultOrderTypeId != null
? defaultOrderTypeId.value
: this.defaultOrderTypeId),
defaultOrderType: (defaultOrderType != null
? defaultOrderType.value
: this.defaultOrderType),
inactive: (inactive != null ? inactive.value : this.inactive),
auditNote: (auditNote != null ? auditNote.value : this.auditNote),
recordTitle:
(recordTitle != null ? recordTitle.value : this.recordTitle),
fields: (fields != null ? fields.value : this.fields),
custom: (custom != null ? custom.value : this.custom),
defaultFieldAttributes: (defaultFieldAttributes != null
? defaultFieldAttributes.value
: this.defaultFieldAttributes));
}