copyWithWrapped method
SandboxItemFireWebhookRequest
copyWithWrapped({
- Wrapped<
String?> ? clientId, - Wrapped<
String?> ? secret, - Wrapped<
String> ? accessToken, - Wrapped<
WebhookType?> ? webhookType, - Wrapped<
SandboxItemFireWebhookRequestWebhookCode> ? webhookCode,
Implementation
SandboxItemFireWebhookRequest copyWithWrapped(
{Wrapped<String?>? clientId,
Wrapped<String?>? secret,
Wrapped<String>? accessToken,
Wrapped<enums.WebhookType?>? webhookType,
Wrapped<enums.SandboxItemFireWebhookRequestWebhookCode>? webhookCode}) {
return SandboxItemFireWebhookRequest(
clientId: (clientId != null ? clientId.value : this.clientId),
secret: (secret != null ? secret.value : this.secret),
accessToken:
(accessToken != null ? accessToken.value : this.accessToken),
webhookType:
(webhookType != null ? webhookType.value : this.webhookType),
webhookCode:
(webhookCode != null ? webhookCode.value : this.webhookCode));
}