copyWithWrapped method
Implementation
OnceEventV3Body copyWithWrapped(
{Wrapped<int?>? id,
Wrapped<DateTime?>? timestamp,
Wrapped<OnceEventType?>? eventType,
Wrapped<OnceEventSeverity?>? eventSeverity,
Wrapped<OnceEventSource?>? eventSource,
Wrapped<OnceOrganisation?>? organisation,
Wrapped<bool?>? alert,
Wrapped<String?>? description,
Wrapped<OnceSim?>? sim}) {
return OnceEventV3Body(
id: (id != null ? id.value : this.id),
timestamp: (timestamp != null ? timestamp.value : this.timestamp),
eventType: (eventType != null ? eventType.value : this.eventType),
eventSeverity:
(eventSeverity != null ? eventSeverity.value : this.eventSeverity),
eventSource:
(eventSource != null ? eventSource.value : this.eventSource),
organisation:
(organisation != null ? organisation.value : this.organisation),
alert: (alert != null ? alert.value : this.alert),
description:
(description != null ? description.value : this.description),
sim: (sim != null ? sim.value : this.sim));
}