WebhookDto constructor

WebhookDto({
  1. required String id,
  2. required String userId,
  3. required bool basicAuth,
  4. String? name,
  5. String? phoneId,
  6. String? inboxId,
  7. String? requestBodyTemplate,
  8. required String url,
  9. required WebhookDtoMethodEnum method,
  10. required String payloadJsonSchema,
  11. required DateTime? createdAt,
  12. required DateTime updatedAt,
  13. WebhookDtoEventNameEnum? eventName,
  14. WebhookHeaders? requestHeaders,
  15. bool? ignoreInsecureSslCertificates,
  16. bool? useStaticIpRange,
})

Returns a new WebhookDto instance.

Implementation

WebhookDto({
  required this.id,
  required this.userId,
  required this.basicAuth,
  this.name,
  this.phoneId,
  this.inboxId,
  this.requestBodyTemplate,
  required this.url,
  required this.method,
  required this.payloadJsonSchema,
  required this.createdAt,
  required this.updatedAt,
  this.eventName,
  this.requestHeaders,
  this.ignoreInsecureSslCertificates,
  this.useStaticIpRange,
});