copyWithWrapped method
Implementation
PendingExpirationWebhook copyWithWrapped(
{Wrapped<String>? webhookType,
Wrapped<String>? webhookCode,
Wrapped<String>? itemId,
Wrapped<DateTime>? consentExpirationTime,
Wrapped<enums.WebhookEnvironmentValues>? environment}) {
return PendingExpirationWebhook(
webhookType:
(webhookType != null ? webhookType.value : this.webhookType),
webhookCode:
(webhookCode != null ? webhookCode.value : this.webhookCode),
itemId: (itemId != null ? itemId.value : this.itemId),
consentExpirationTime: (consentExpirationTime != null
? consentExpirationTime.value
: this.consentExpirationTime),
environment:
(environment != null ? environment.value : this.environment));
}