v1UpdateWebhookEndpointIntent.fromJson constructor

v1UpdateWebhookEndpointIntent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1UpdateWebhookEndpointIntent.fromJson(Map<String, dynamic> json) {
  final _endpointId = json['endpointId'] as String;
  final _url = json['url'] as String?;
  final _name = json['name'] as String?;
  final _isActive = json['isActive'] as bool?;
  return v1UpdateWebhookEndpointIntent(
    endpointId: _endpointId,
    url: _url,
    name: _name,
    isActive: _isActive,
  );
}