copyWithWrapped method

SandboxItemFireWebhookRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? accessToken,
  4. Wrapped<WebhookType?>? webhookType,
  5. 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));
}