WebhookClientConfig class
WebhookClientConfig contains the information to make a TLS connection with the webhook.
Constructors
- WebhookClientConfig({String? caBundle, ServiceReference? service, String? url})
-
Default constructor.
const
-
WebhookClientConfig.fromJson(Map<
String, dynamic> json) -
Creates a WebhookClientConfig from JSON data.
factory
Properties
- caBundle → String?
-
caBundle
is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → ServiceReference?
-
service
is a reference to the service for this webhook. Eitherservice
orurl
must be specified.final - url → String?
-
url
gives the location of the webhook, in standard URL form (scheme://host:port/path
). Exactly one ofurl
orservice
must be specified.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a WebhookClientConfig instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited