WebhookConversion class
WebhookConversion describes how to call a conversion webhook.
Constructors
-
WebhookConversion({WebhookClientConfig? clientConfig, required List<
String> conversionReviewVersions}) -
Default constructor.
const
-
WebhookConversion.fromJson(Map<
String, dynamic> json) -
Creates a WebhookConversion from JSON data.
factory
Properties
- clientConfig → WebhookClientConfig?
-
clientConfig is the instructions for how to call the webhook if strategy is
Webhook
.final -
conversionReviewVersions
→ List<
String> -
conversionReviewVersions is an ordered list of preferred
ConversionReview
versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a WebhookConversion instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited