copyWithWrapped method
Implementation
GetGeneratorHistoricalParameterValuesResponseModel copyWithWrapped(
{Wrapped<GetGeneratorBatteryVoltageValueResponseModel?>? batteryVoltage,
Wrapped<GetGeneratorEngineCoolantTemperatureValueResponseModel?>?
engineCoolantTemperature,
Wrapped<GetGeneratorEngineFrequencyValueResponseModel?>? engineFrequency,
Wrapped<GetGeneratorLubeOilTemperatureValueResponseModel?>?
lubeOilTemperature,
Wrapped<GetGeneratorEngineOilPressureValueResponseModel?>?
engineOilPressure,
Wrapped<GetGeneratorEngineSpeedValueResponseModel?>? engineSpeed}) {
return GetGeneratorHistoricalParameterValuesResponseModel(
batteryVoltage: (batteryVoltage != null
? batteryVoltage.value
: this.batteryVoltage),
engineCoolantTemperature: (engineCoolantTemperature != null
? engineCoolantTemperature.value
: this.engineCoolantTemperature),
engineFrequency: (engineFrequency != null
? engineFrequency.value
: this.engineFrequency),
lubeOilTemperature: (lubeOilTemperature != null
? lubeOilTemperature.value
: this.lubeOilTemperature),
engineOilPressure: (engineOilPressure != null
? engineOilPressure.value
: this.engineOilPressure),
engineSpeed:
(engineSpeed != null ? engineSpeed.value : this.engineSpeed));
}