Class V1WebhookConversion
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1WebhookConversion
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1WebhookConversion
extends Object
WebhookConversion describes how to call a conversion webhook
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddconversionReviewVersionsItem
(String conversionReviewVersionsItem) Add an item to the conversionReviewVersions property in a chainable fashion.clientConfig
(ApiextensionsV1WebhookClientConfig clientConfig) Set clientConfig in a chainable fashion.conversionReviewVersions
(List<String> conversionReviewVersions) Set conversionReviewVersions in a chainable fashion.boolean
conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects.int
hashCode()
void
setClientConfig
(ApiextensionsV1WebhookClientConfig clientConfig) Set the clientConfig property valuevoid
setConversionReviewVersions
(List<String> conversionReviewVersions) Set the conversionReviewVersions property valuetoString()
-
Field Details
-
JSON_PROPERTY_CLIENT_CONFIG
- See Also:
-
JSON_PROPERTY_CONVERSION_REVIEW_VERSIONS
- See Also:
-
-
Constructor Details
-
V1WebhookConversion
-
-
Method Details
-
getClientConfig
- Returns:
- the clientConfig property value
-
setClientConfig
Set the clientConfig property value -
clientConfig
Set clientConfig in a chainable fashion.- Returns:
- The same instance of V1WebhookConversion for chaining.
-
getConversionReviewVersions
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.- Returns:
- the conversionReviewVersions property value
-
setConversionReviewVersions
Set the conversionReviewVersions property value -
conversionReviewVersions
Set conversionReviewVersions in a chainable fashion.- Returns:
- The same instance of V1WebhookConversion for chaining.
-
addconversionReviewVersionsItem
Add an item to the conversionReviewVersions property in a chainable fashion.- Returns:
- The same instance of V1WebhookConversion for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-