copyWith method
WebApiModulesSettingsCalendarSettingsHolidayHoliday
copyWith({
- String? holidayId,
- String? holiday,
- String? countryId,
- String? country,
- bool? custom,
- bool? observed,
- String? type,
- int? fixedMonth,
- int? fixedDay,
- int? fixedYear,
- int? dayOfWeek,
- int? weekOfMonth,
- int? adjustment,
- String? offsetHolidayId,
- String? offsetHoliday,
- bool? inactive,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- dynamic urlIdentifier,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? $custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - FwStandardBusinessLogicFwBusinessLogic? original,
- List<
FwStandardDataFwTranslatedValue> ? translation, - bool? hasImport,
- bool? hasDocuments,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- String? modifiedDateTime,
Implementation
WebApiModulesSettingsCalendarSettingsHolidayHoliday copyWith({
String? holidayId,
String? holiday,
String? countryId,
String? country,
bool? custom,
bool? observed,
String? type,
int? fixedMonth,
int? fixedDay,
int? fixedYear,
int? dayOfWeek,
int? weekOfMonth,
int? adjustment,
String? offsetHolidayId,
String? offsetHoliday,
bool? inactive,
String? dateStamp,
String? auditNote,
String? recordTitle,
dynamic urlIdentifier,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? $custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
FwStandardBusinessLogicFwBusinessLogic? original,
List<FwStandardDataFwTranslatedValue>? translation,
bool? hasImport,
bool? hasDocuments,
String? createdByUserId,
String? createdByUserName,
String? createdDateTime,
String? modifiedByUserId,
String? modifiedByUserName,
String? modifiedDateTime,
}) {
return WebApiModulesSettingsCalendarSettingsHolidayHoliday(
holidayId: holidayId ?? this.holidayId,
holiday: holiday ?? this.holiday,
countryId: countryId ?? this.countryId,
country: country ?? this.country,
custom: custom ?? this.custom,
observed: observed ?? this.observed,
type: type ?? this.type,
fixedMonth: fixedMonth ?? this.fixedMonth,
fixedDay: fixedDay ?? this.fixedDay,
fixedYear: fixedYear ?? this.fixedYear,
dayOfWeek: dayOfWeek ?? this.dayOfWeek,
weekOfMonth: weekOfMonth ?? this.weekOfMonth,
adjustment: adjustment ?? this.adjustment,
offsetHolidayId: offsetHolidayId ?? this.offsetHolidayId,
offsetHoliday: offsetHoliday ?? this.offsetHoliday,
inactive: inactive ?? this.inactive,
dateStamp: dateStamp ?? this.dateStamp,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
urlIdentifier: urlIdentifier ?? this.urlIdentifier,
fields: fields ?? this.fields,
$custom: $custom ?? this.$custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
original: original ?? this.original,
translation: translation ?? this.translation,
hasImport: hasImport ?? this.hasImport,
hasDocuments: hasDocuments ?? this.hasDocuments,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}