copyWithWrapped method
Implementation
OktaEventV3Body copyWithWrapped(
{Wrapped<String?>? eventType,
Wrapped<String?>? eventTypeVersion,
Wrapped<String?>? source,
Wrapped<String?>? eventId,
Wrapped<OktaEventDataV3?>? data,
Wrapped<DateTime?>? eventTime,
Wrapped<String?>? contentType}) {
return OktaEventV3Body(
eventType: (eventType != null ? eventType.value : this.eventType),
eventTypeVersion: (eventTypeVersion != null
? eventTypeVersion.value
: this.eventTypeVersion),
source: (source != null ? source.value : this.source),
eventId: (eventId != null ? eventId.value : this.eventId),
data: (data != null ? data.value : this.data),
eventTime: (eventTime != null ? eventTime.value : this.eventTime),
contentType:
(contentType != null ? contentType.value : this.contentType));
}