copyWithWrapped method

WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings copyWithWrapped({
  1. Wrapped<String?>? emailSettingsId,
  2. Wrapped<String?>? host,
  3. Wrapped<int?>? port,
  4. Wrapped<bool?>? enableSsl,
  5. Wrapped<String?>? accountPassword,
  6. Wrapped<String?>? accountUsername,
  7. Wrapped<String?>? authenticationType,
  8. Wrapped<int?>? deleteDays,
  9. Wrapped<String?>? dateStamp,
  10. Wrapped<String?>? auditNote,
  11. Wrapped<String?>? recordTitle,
  12. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  13. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  14. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
})

Implementation

WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings copyWithWrapped(
    {Wrapped<String?>? emailSettingsId,
    Wrapped<String?>? host,
    Wrapped<int?>? port,
    Wrapped<bool?>? enableSsl,
    Wrapped<String?>? accountPassword,
    Wrapped<String?>? accountUsername,
    Wrapped<String?>? authenticationType,
    Wrapped<int?>? deleteDays,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
        defaultFieldAttributes}) {
  return WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings(
      emailSettingsId: (emailSettingsId != null
          ? emailSettingsId.value
          : this.emailSettingsId),
      host: (host != null ? host.value : this.host),
      port: (port != null ? port.value : this.port),
      enableSsl: (enableSsl != null ? enableSsl.value : this.enableSsl),
      accountPassword: (accountPassword != null
          ? accountPassword.value
          : this.accountPassword),
      accountUsername: (accountUsername != null
          ? accountUsername.value
          : this.accountUsername),
      authenticationType: (authenticationType != null
          ? authenticationType.value
          : this.authenticationType),
      deleteDays: (deleteDays != null ? deleteDays.value : this.deleteDays),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      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));
}