WebhookDto constructor
WebhookDto({
- required String id,
- required String userId,
- required bool basicAuth,
- String? name,
- String? phoneId,
- String? inboxId,
- String? requestBodyTemplate,
- required String url,
- required WebhookDtoMethodEnum method,
- required String payloadJsonSchema,
- required DateTime? createdAt,
- required DateTime updatedAt,
- WebhookDtoEventNameEnum? eventName,
- WebhookHeaders? requestHeaders,
- bool? ignoreInsecureSslCertificates,
- 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,
});