Package net.stickycode.kuuty.model.v18
Class IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion extends Object
WebhookConversion describes how to call a conversion webhook
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CLIENT_CONFIGstatic StringJSON_PROPERTY_CONVERSION_REVIEW_VERSIONS
-
Constructor Summary
Constructors Constructor Description IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CLIENT_CONFIG
public static final String JSON_PROPERTY_CLIENT_CONFIG
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONVERSION_REVIEW_VERSIONS
public static final String JSON_PROPERTY_CONVERSION_REVIEW_VERSIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
clientConfig
public IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion clientConfig(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig clientConfig)
-
getClientConfig
@Nullable public IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig getClientConfig()
Get clientConfig- Returns:
- clientConfig
-
setClientConfig
public void setClientConfig(IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig clientConfig)
-
conversionReviewVersions
public IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion conversionReviewVersions(List<String> conversionReviewVersions)
-
addConversionReviewVersionsItem
public IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion addConversionReviewVersionsItem(String conversionReviewVersionsItem)
-
getConversionReviewVersions
public List<String> 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:
- conversionReviewVersions
-
setConversionReviewVersions
public void setConversionReviewVersions(List<String> conversionReviewVersions)
-
-